/*
Theme Name: Cyberaton by Dr.D
Theme URI: https://cyberaton.com
Author: Cyberaton
Description: Founder-led venture growth and investor readiness website for Cyberaton.
Version: 3.4
Text Domain: cyberaton
*/

:root {
  --ink: #101418;
  --ink-soft: #394149;
  --paper: #f5f2ea;
  --white: #ffffff;
  --line: #d9d5cc;
  --accent: #b8ff5a;
  --accent-dark: #7abf2d;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; line-height: 1.55; }
img { display: block; width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.section-shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 0 32px; background: rgba(245,242,234,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(16,20,24,.08); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 40px; width: auto; display: block; }
.nav { display: flex; gap: 26px; font-size: .92rem; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.site-header > .button { justify-self: end; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 22px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); text-decoration: none; border-radius: 999px; font-weight: 600; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); background: #20262c; }
.button-small { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--white); }
.text-link { display: inline-flex; align-items: center; padding: 12px 0; font-weight: 600; text-underline-offset: 5px; }
.eyebrow { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; color: #687079; }
h1, h2 { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; letter-spacing: -.035em; line-height: .98; }
h1 { margin: 0; font-size: clamp(3.6rem, 7vw, 6.9rem); max-width: 800px; }
h2 { margin: 0; font-size: clamp(2.5rem, 4.2vw, 4.8rem); }
h3 { margin: 0; font-size: 1.18rem; }
p { margin-top: 0; }
.hero { min-height: calc(100vh - 74px); display: grid; grid-template-columns: 1.35fr .65fr; gap: 72px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero-sub { max-width: 730px; margin: 28px 0 28px; font-size: clamp(1.15rem, 1.7vw, 1.45rem); color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 40px; }
.hero-proof span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; color: #59616a; background: rgba(255,255,255,.35); }
.hero-portrait { margin: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.hero-portrait img { aspect-ratio: .82 / 1; object-fit: cover; object-position: center 15%; border-radius: 2px; }
.hero-portrait figcaption { display: grid; gap: 2px; margin-top: 14px; font-size: .88rem; color: #606870; }
.hero-portrait figcaption strong { color: var(--ink); font-size: 1.35rem; }
.statement { background: var(--ink); color: var(--white); }
.statement-inner { max-width: 960px; padding-top: 110px; padding-bottom: 110px; }
.statement .eyebrow { color: #aab1b8; }
.statement h2 { max-width: 860px; }
.statement p:not(.eyebrow) { max-width: 790px; color: #d7d9db; font-size: 1.12rem; }
.statement .statement-lead { margin: 24px 0 10px; color: var(--accent); font-size: 1.55rem; font-weight: 600; }
.signature { margin-top: 28px; font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-size: 2.2rem; color: var(--accent); transform: rotate(-3deg); transform-origin: left center; width: fit-content; }
.split-section { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; padding-top: 120px; padding-bottom: 120px; align-items: start; }
.split-media { position: sticky; top: 108px; }
.split-media img { aspect-ratio: 1.2 / 1; object-fit: cover; object-position: 56% 40%; }
.photo-note { margin-top: 8px; color: #777f86; font-size: .78rem; }
.section-intro { margin: 22px 0 34px; color: var(--ink-soft); font-size: 1.14rem; }
.work-list { border-top: 1px solid var(--line); }
.work-list article { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.work-list article > span { font-size: .78rem; color: #8b9298; padding-top: 3px; }
.work-list h3 { margin-bottom: 5px; }
.work-list p { margin: 0; color: var(--ink-soft); }
.path-section { background: #e7e2d8; padding: 88px 0 94px; }
.path-section h2 { max-width: 680px; }
.path { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto; gap: 14px; align-items: center; margin-top: 52px; font-weight: 600; }
.path span { white-space: nowrap; }
.path i { height: 1px; background: #9ba096; position: relative; }
.path i:after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid #9ba096; border-right: 1px solid #9ba096; transform: rotate(45deg); }
.engagement { padding-top: 116px; padding-bottom: 116px; }
.section-heading { display: grid; grid-template-columns: .55fr 1.45fr; gap: 36px; align-items: start; margin-bottom: 52px; }
.section-heading .eyebrow { padding-top: 8px; }
.engagement-list { border-top: 1px solid var(--ink); }
.engagement-list article { display: grid; grid-template-columns: .8fr 1.35fr .7fr; gap: 30px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.engagement-name { display: flex; gap: 14px; align-items: baseline; }
.engagement-name span { font-size: .75rem; color: #888f95; }
.engagement-list p { margin: 0; color: var(--ink-soft); }
.engagement-meta { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.engagement-meta span { font-size: .82rem; color: #7e858b; }
.engagement-note { margin: 20px 0 0 auto; max-width: 650px; color: #777e84; font-size: .88rem; }
.investor-section { background: #dfe9d3; padding: 116px 0; }
.investor-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.investor-copy h2 { max-width: 580px; }
.investor-copy > p:not(.eyebrow) { margin-top: 26px; color: #334039; font-size: 1.08rem; }
.investor-copy ul { margin: 24px 0 30px; padding-left: 20px; }
.investor-copy li { margin: 8px 0; }
.investor-images { display: block; }
.investor-image-main { width: 100%; aspect-ratio: 1.15 / 1; object-fit: cover; object-position: center; }
.investor-image-small { display: none; }
.about-section { display: grid; grid-template-columns: 1fr .78fr; gap: 80px; padding-top: 120px; padding-bottom: 120px; align-items: center; }
.about-copy { max-width: 690px; }
.about-name { margin: 8px 0 28px; font-size: 1.25rem; color: var(--ink-soft); }
.about-copy > p { font-size: 1.05rem; }
.credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.credentials span { display: flex; flex-direction: column; color: var(--ink-soft); font-size: .9rem; }
.credentials strong { color: var(--ink); font-size: 1.45rem; }
.about-photo img { aspect-ratio: 1 / .92; object-fit: cover; object-position: 45% center; }
.apply-section { background: var(--white); border-top: 1px solid var(--line); }
.apply-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; padding-top: 110px; padding-bottom: 120px; }
.apply-copy { position: sticky; top: 110px; align-self: start; }
.apply-copy > p:not(.eyebrow) { margin-top: 24px; color: var(--ink-soft); font-size: 1.08rem; }
.small-note { font-size: .85rem !important; color: #7c8389 !important; max-width: 520px; }
.apply-form { display: grid; gap: 18px; }
.apply-form label { display: grid; gap: 7px; font-size: .85rem; font-weight: 600; }
.apply-form input, .apply-form select, .apply-form textarea { width: 100%; border: 1px solid #cfd3d5; background: #fbfbfa; color: var(--ink); padding: 13px 14px; border-radius: 0; outline: none; }
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.apply-form .button { justify-self: start; margin-top: 4px; }
.form-status { min-height: 1.5em; margin: 0; font-size: .9rem; }
.form-status.success { color: #23723a; }
.form-status.error { color: #a22d2d; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.investor-dialog { width: min(720px, calc(100% - 32px)); border: 0; padding: 0; background: transparent; }
.investor-dialog::backdrop { background: rgba(16,20,24,.72); backdrop-filter: blur(4px); }
.dialog-card { position: relative; background: var(--paper); padding: 38px; max-height: 88vh; overflow-y: auto; }
.dialog-card h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); margin-bottom: 26px; }
.dialog-close { position: absolute; top: 14px; right: 18px; border: 0; background: transparent; font-size: 2rem; cursor: pointer; color: #666; }
.footer { background: var(--ink); color: #d3d6d8; padding: 52px 0; }

.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-logo { width: min(220px, 100%); height: auto; display: block; }
.footer-grid { display: grid; grid-template-columns: .7fr .6fr 1.3fr; gap: 42px; }
.footer strong { color: var(--white); letter-spacing: .08em; }
.footer p { margin: 6px 0 0; font-size: .84rem; color: #9ea5aa; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links a { text-decoration: none; font-size: .9rem; }
.footer-legal { text-align: right; }
@media (max-width: 950px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 20px; }
  .nav { display: none; }
  .section-shell { width: min(calc(100% - 32px), var(--max)); }
  .hero { grid-template-columns: 1fr; gap: 42px; min-height: auto; padding-top: 70px; }
  .hero-portrait { max-width: 560px; }
  .split-section, .investor-grid, .about-section, .apply-grid { grid-template-columns: 1fr; gap: 50px; }
  .split-media, .apply-copy { position: static; }
  .section-heading { grid-template-columns: 1fr; gap: 6px; }
  .engagement-list article { grid-template-columns: 1fr; gap: 12px; }
  .engagement-meta { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 680px) {
  .site-header { height: 66px; }
  .site-header .button { display: none; }
  h1 { font-size: clamp(3.2rem, 15vw, 4.9rem); }
  .hero { padding-top: 48px; padding-bottom: 56px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 6px; }
  .hero-portrait img { aspect-ratio: 1 / 1; object-position: center 18%; }
  .statement-inner, .split-section, .engagement, .about-section { padding-top: 78px; padding-bottom: 78px; }
  .path-section, .investor-section { padding-top: 78px; padding-bottom: 78px; }
  .path { grid-template-columns: 1fr; gap: 8px; }
  .path i { width: 1px; height: 18px; margin-left: 4px; }
  .path i:after { display: none; }
  .investor-images { grid-template-columns: 1fr; }
  .investor-image-small { display: none; }
  .credentials, .form-row { grid-template-columns: 1fr; }
  .apply-grid { padding-top: 78px; padding-bottom: 86px; }
  .dialog-card { padding: 30px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { grid-column: auto; }
}
.footer-logo { filter: brightness(0) invert(1); opacity: .96; }
@media (max-width: 680px) {
  .brand-logo { height: 32px; }
}

/* ------------------------------------------------------------------
   Regular pages (page.php / index.php): Privacy policy, Terms, 404...
   ------------------------------------------------------------------ */
.page-main { background: var(--paper); }
.page-article { max-width: 840px; padding: 90px 0 120px; }
.page-header { margin-bottom: 40px; }
.page-title { font-size: clamp(3rem, 7vw, 5rem); max-width: none; }
.page-content { font-size: 1.05rem; color: var(--ink); }
.page-content > * { max-width: 100%; }
.page-content p, .page-content ul, .page-content ol, .page-content blockquote, .page-content table, .page-content figure { margin: 0 0 1.15em; }
.page-content h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.08; margin: 1.6em 0 .55em; }
.page-content h3 { font-size: 1.3rem; margin: 1.5em 0 .5em; }
.page-content h4 { font-size: 1.08rem; margin: 1.3em 0 .4em; }
.page-content ul, .page-content ol { padding-left: 1.3em; }
.page-content li { margin: .35em 0; }
.page-content a:not(.button):not(.wp-block-button__link) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-dark); }
.page-content a:not(.button):not(.wp-block-button__link):hover { text-decoration-color: var(--ink); }
.page-content strong { font-weight: 700; }
.page-content blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; color: var(--ink-soft); font-size: 1.12rem; }
.page-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.page-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.page-content th, .page-content td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.page-content img { width: auto; max-width: 100%; height: auto; }
.page-content figcaption { font-size: .82rem; color: #777f86; margin-top: 8px; }
.page-content .wp-block-button__link { display: inline-flex; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 600; }
.page-content .alignwide, .page-content .alignfull { max-width: 100%; }
.page-content > :last-child { margin-bottom: 0; }
.post-list { list-style: none; padding: 0 !important; border-top: 1px solid var(--line); }
.post-list li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; margin: 0; border-bottom: 1px solid var(--line); }
.post-list li span { color: #7e858b; font-size: .88rem; white-space: nowrap; }
.footer-brand a { display: inline-block; }
@media (max-width: 680px) {
  .page-article { padding: 60px 0 80px; }
  .page-title { font-size: clamp(2.6rem, 12vw, 3.6rem); }
}

/* Third-party badges (e.g. "Verified by MonsterInsights") must not be stretched by the global img rule */
img[src*="monsterinsights-badge"] { width: auto; max-width: 250px; margin: 16px auto; }

/* ------------------------------------------------------------------
   Protect the theme typography from plugin globals
   (e.g. Elementor "Site Settings > Typography" sets h1-h6 fonts on .elementor-kit-*)
   ------------------------------------------------------------------ */
body.wp-theme-cyberaton { font-family: "DM Sans", Arial, sans-serif; }
body.wp-theme-cyberaton h1,
body.wp-theme-cyberaton h2 { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; letter-spacing: -.035em; }
body.wp-theme-cyberaton h3,
body.wp-theme-cyberaton h4,
body.wp-theme-cyberaton h5,
body.wp-theme-cyberaton h6 { font-family: "DM Sans", Arial, sans-serif; }
