/* Layout: navy bands frame warm-white reading sections; one gold accent for actions. */
:root {
  --paper: #F4F6F9;
  --surface: #FFFFFF;
  --ink: #18223A;
  --muted: #4A5468;
  --line: #D8DEE8;
  --band: #1B2A4A;
  --band-2: #22345A;
  --on-band: #FFFFFF;
  --on-band-muted: #C8D1E2;
  --gold: #D4A548;
  --gold-ink: #8A6418;
  --gold-soft: #F3E7CB;
  --btn-fg: #16203A;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E1525; --surface: #162036; --ink: #E7EBF3; --muted: #A9B3C7; --line: #2A3652;
    --band: #17233F; --band-2: #1F2D4E; --on-band: #FFFFFF; --on-band-muted: #BCC6DA;
    --gold: #D9AE52; --gold-ink: #E6C67E; --gold-soft: #2B2A26; --btn-fg: #16203A; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E1525; --surface: #162036; --ink: #E7EBF3; --muted: #A9B3C7; --line: #2A3652;
  --band: #17233F; --band-2: #1F2D4E; --on-band: #FFFFFF; --on-band-muted: #BCC6DA;
  --gold: #D9AE52; --gold-ink: #E6C67E; --gold-soft: #2B2A26; --btn-fg: #16203A; color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--gold-ink); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.4rem; }
p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2.5rem; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

/* Header */
.site-header { background: var(--band); color: var(--on-band); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 18px; }
.brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--on-band); }
.brand b { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.brand span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 0.98rem; font-weight: 500; }
.nav a { color: var(--on-band); text-decoration: none; padding-block: 10px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav a.btn { border-bottom: 0; padding: 11px 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 26px; border-radius: 6px; background: var(--gold); color: var(--btn-fg); font-weight: 700; text-decoration: none; transition: filter 0.15s ease; }
.btn:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--on-band); border: 1.5px solid var(--on-band-muted); }
.btn-dark { background: var(--band); color: var(--on-band); }
.link-arrow { font-weight: 700; color: var(--ink); text-decoration: none; padding-block: 10px; display: inline-block; }
.link-arrow:hover { text-decoration: underline; }
.band .link-arrow { color: var(--on-band); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* Bands and sections */
.band { background: var(--band); color: var(--on-band); }
.band .eyebrow { color: var(--gold); }
.band .lede, .band .muted { color: var(--on-band-muted); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.rule { border-top: 1px solid var(--line); }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: clamp(48px, 7vw, 96px); }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-side { flex: 1 1 320px; min-width: 0; max-width: 440px; }
.page-hero .wrap { padding-block: clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: 18px; }

/* Photo frame placeholder */
.photo { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 10px; background: var(--band-2); border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: flex-end; padding: 20px; color: var(--on-band-muted); font-size: 0.9rem; }
.portrait { display: block; width: 100%; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: 10px; }
.photo-band { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.photo-band img { display: block; width: 100%; max-width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 40%; border-radius: 10px; }
@media (max-width: 640px) { .photo-band img { aspect-ratio: 4 / 3; } }
.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.photo-row img { display: block; width: 100%; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
figcaption { font-size: 0.88rem; color: var(--muted); }
.photo-light { background: var(--surface); border: 1px dashed var(--line); color: var(--muted); }

/* Five lenses scorecard */
.lenses { background: var(--band-2); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 14px; border: 1px solid rgba(255,255,255,0.12); }
.lenses h3 { font-size: 1.15rem; color: var(--on-band); }
.lens { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; font-size: 0.95rem; color: var(--on-band); }
.lens small { grid-column: 1 / -1; color: var(--on-band-muted); font-size: 0.82rem; line-height: 1.4; }
.lens .meter { display: flex; gap: 3px; }
.lens .meter i { width: 14px; height: 6px; border-radius: 2px; background: rgba(255,255,255,0.18); }
.lens .meter i.on { background: var(--gold); }
.lenses .note { font-size: 0.8rem; color: var(--on-band-muted); border-top: 1px solid rgba(255,255,255,0.12); padding-top: 12px; }

/* Grids and cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card.featured { background: var(--band); color: var(--on-band); border-color: var(--band); }
.card.featured .eyebrow { color: var(--gold); }
.card.featured p, .card.featured li { color: var(--on-band-muted); }
.card ul { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.card p { color: var(--muted); }
.card .for { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); }
.card.featured .for { color: var(--gold); }

/* Credentials strip */
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.creds div { padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); }
.creds div:last-child { border-right: 0; }
.creds b { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.creds span { font-size: 0.9rem; color: var(--muted); }

/* Checks */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checks svg { margin-top: 4px; stroke: var(--gold-ink); }

/* Recruiting calendar */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.timeline > div { padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); min-width: 0; }
.timeline > div:last-child { border-right: 0; }
.timeline .grade { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--gold-ink); }
.timeline .grade sup { font-size: 0.5em; }
.timeline h3 { font-size: 1.1rem; }
.timeline p { font-size: 0.95rem; color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid var(--gold); }
.steps li::before { content: "Step " counter(step); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.steps p { color: var(--muted); font-size: 0.97rem; }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-ink); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 68ch; }

/* Callout */
.callout { background: var(--gold-soft); border-radius: 12px; padding: clamp(28px, 5vw, 52px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.callout > div { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.callout p { color: var(--muted); }

/* Stat */
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat b { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; line-height: 1; color: var(--gold-ink); font-variant-numeric: tabular-nums; }

/* Contact block */
.contact-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.email { font-family: var(--sans); font-weight: 600; user-select: all; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; }
.band .email { background: var(--band-2); border-color: rgba(255,255,255,0.18); color: var(--on-band); }

/* Checklist offer */
.cover { display: block; width: 100%; height: auto; max-width: 360px; margin-inline: auto; border-radius: 6px; box-shadow: 0 18px 40px rgba(10, 18, 36, 0.28); transform: rotate(-2deg); }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select { font: inherit; font-size: 1rem; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); width: 100%; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.row-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; align-self: flex-start; }
.hidden-field { position: absolute; left: -9999px; }
.thanks { background: var(--gold-soft); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.strip > div { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.strip b { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }

/* Footer */
.site-footer { background: var(--band); color: var(--on-band-muted); font-size: 0.9rem; }
.site-footer .wrap { padding-block: 40px; display: flex; flex-direction: column; gap: 14px; }
.site-footer .row { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.site-footer b { color: var(--on-band); }
.site-footer a { color: var(--gold); }
.site-footer .fine { font-size: 0.82rem; max-width: 900px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
