/* Self-hosted Google Fonts — Fraunces / Inter / JetBrains Mono (latin + latin-ext) */

/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/Fraunces-400-italic-latin-ext-edcb53.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/Fraunces-400-italic-latin-0b848d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/Fraunces-400-normal-latin-ext-1fba8b.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/Fraunces-400-normal-latin-63f165.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/Fraunces-500-normal-latin-ext-1fba8b.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/Fraunces-500-normal-latin-63f165.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/Inter-400-normal-latin-ext-749a30.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/Inter-400-normal-latin-1ab1ad.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/Inter-500-normal-latin-ext-749a30.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/Inter-500-normal-latin-1ab1ad.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/JetBrainsMono-400-normal-latin-ext-76306e.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/JetBrainsMono-400-normal-latin-1cd702.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/JetBrainsMono-500-normal-latin-ext-76306e.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/JetBrainsMono-500-normal-latin-1cd702.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* =========================================================
   Ad Astra Human Performance — design system
   Aviation-inspired editorial · Navy #17304A / Gold #DFBF5A
   ========================================================= */

:root {
  --navy: #17304A;
  --navy-deep: #0F2236;
  --navy-soft: #1E3C5C;
  --navy-line: rgba(244, 239, 225, 0.08);
  --gold: #DFBF5A;
  --gold-dim: #B9A04A;
  --gold-wash: rgba(223, 191, 90, 0.12);
  --cream: #F4EFE1;
  --cream-soft: #FAF6EC;
  --cream-line: rgba(14, 31, 51, 0.1);
  --ink: #0E1F33;
  --ink-mute: #516379;
  --ink-soft: #8A96A5;

  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 8px;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  --font-serif: "Fraunces", "Canela", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--navy); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow-dim { color: var(--ink-mute); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.015em; }
.display-xl { font-size: clamp(44px, 7vw, 88px); font-weight: 400; line-height: 0.98; letter-spacing: -0.025em; }
.display-l { font-size: clamp(36px, 5.5vw, 64px); font-weight: 400; line-height: 1.02; letter-spacing: -0.02em; }
.display-m { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; }
h2 { font-size: clamp(28px, 3.5vw, 40px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
.italic { font-style: italic; color: var(--gold); }
p { margin: 0 0 1.1em; max-width: 62ch; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: rgba(244, 239, 225, 0.82); }
.muted { color: rgba(244, 239, 225, 0.65); }
.cream-section .muted { color: var(--ink-mute); }
.cream-section p { color: var(--ink); }
.cream-section .lead { color: var(--ink-mute); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 48, 74, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--navy-line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 14px; letter-spacing: 0.2em; font-size: 13px; font-weight: 500; color: var(--cream); }
.brand-mark {
  width: 45px; height: 45px; flex: none;
  color: var(--gold); display: inline-flex; align-items: center; justify-content: center;
  transition: transform 240ms var(--ease);
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand:hover .brand-mark { transform: rotate(8deg); }
/* Footer brand can use the mark too */
.footer-brand-mark { width: 57px; height: 57px; color: var(--gold); margin-bottom: 14px; display: inline-flex; }
.footer-brand-mark svg { width: 100%; height: 100%; display: block; }

/* About page · "Privately held" full-width banner statement */
.banner-statement {
  margin: 56px 0 0;
  padding: 36px 40px;
  border-top: 1px solid var(--cream-line);
  border-bottom: 1px solid var(--cream-line);
  text-align: left;
}
.cream-section .banner-statement { border-color: var(--cream-line); }
.banner-statement .eyebrow { display: block; margin-bottom: 16px; }
.banner-statement p {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
  max-width: 1080px;
}
.banner-statement em { color: var(--gold-dim); font-style: italic; }
.banner-statement strong { color: var(--ink); font-weight: 500; }

/* Courses page · Formats table — full-width 2-col, titles single-line, descriptions all left-aligned */
.formats-table { margin: 0; padding: 0; }
.format-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-top: 1px solid var(--navy-line);
  align-items: baseline;
}
.format-row:last-child { border-bottom: 1px solid var(--navy-line); }
.format-row dt {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.8vw, 24px);
  color: var(--cream);
  white-space: nowrap;
  margin: 0;
}
.format-row dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(244, 239, 225, 0.78);
  text-align: left;
}
@media (max-width: 720px) {
  .format-row { grid-template-columns: 1fr; gap: 6px; }
  .format-row dt { white-space: normal; }
}

/* Courses page · "Read & forget" strapline */
.strapline {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.35;
  color: var(--cream);
  margin: 24px 0 8px;
  max-width: 760px;
  letter-spacing: -0.005em;
}
.strapline .italic { color: var(--gold); font-style: italic; }
.strapline-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(244, 239, 225, 0.6);
  font-style: normal;
  margin-top: 6px;
}
.strapline-sub em { color: var(--gold); font-style: italic; font-weight: 500; }

/* Approach page · "unfair advantage" pull line */
.unfair-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  color: var(--gold);
  text-align: center;
  margin: 36px auto 0;
  max-width: 760px;
}
.nav-links { display: flex; gap: 30px; font-size: 13.5px; }
.nav-links a { color: rgba(244, 239, 225, 0.75); transition: color 140ms var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; }

/* Sign-in link in nav (members area) */
.signin-link {
  font-size: 13.5px; color: rgba(244, 239, 225, 0.7); margin-right: 18px;
  transition: color 140ms var(--ease);
}
.signin-link:hover { color: var(--gold); }
@media (max-width: 720px) { .signin-link { display: none; } }

/* Mobile nav toggle (hamburger) — static button in HTML.
   Sized large enough to remain a real tap target even if iOS Safari
   renders the page at a wide virtual viewport ("Request Desktop Site"
   mode) and scales it down. */
.nav-toggle {
  display: none;
  width: 56px; height: 56px;
  background: rgba(244,239,225,0.06);
  border: 1px solid rgba(244,239,225,0.35);
  border-radius: var(--radius-lg);
  color: var(--cream);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  flex: none;
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
  /* Make the whole element a tappable target on iOS */
  -webkit-tap-highlight-color: rgba(223, 191, 90, 0.3);
  touch-action: manipulation;
}
.nav-toggle:hover { border-color: var(--gold); color: var(--gold); background: rgba(223, 191, 90, 0.08); }
.nav-toggle svg { width: 28px; height: 28px; display: block; pointer-events: none; }
.nav-toggle .icon-close { display: none; }
.nav.nav-open .nav-toggle .icon-open { display: none; }
.nav.nav-open .nav-toggle .icon-close { display: block; }

/* Mobile / narrow viewports — hamburger replaces inline nav.
   Triggers on width OR on coarse-pointer devices (iPhone in 'Request
   Desktop Site' mode reports a wide viewport but is still a touch
   device, so the pointer query catches it). */
@media (max-width: 1023px), (pointer: coarse) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(15, 34, 54, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px var(--gutter) 12px;
    border-bottom: 1px solid var(--navy-line);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 240ms var(--ease), visibility 0s linear 240ms;
  }
  .nav.nav-open .nav-links {
    max-height: 480px;
    visibility: visible;
    transition: max-height 280ms var(--ease), visibility 0s linear 0s;
  }
  .nav-links a {
    padding: 14px 4px;
    border-top: 1px solid var(--navy-line);
    font-size: 16px;
    color: var(--cream);
  }
  .nav-links a:first-child { border-top: none; }
  .nav-links a[aria-current="page"] { color: var(--gold); }
}

/* Sector accordion targets — give them breathing room so anchored
   scrolling lands them just below the sticky nav, not behind it. */
details.sector-detail { scroll-margin-top: 96px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: var(--radius);
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 160ms var(--ease), background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
  font-family: inherit;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: #EBCB6A; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(244, 239, 225, 0.25); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--navy); color: var(--cream); }
.btn-dark:hover { background: var(--navy-soft); }
.btn-sm { padding: 9px 16px; font-size: 12.5px; }
.arrow::after { content: "→"; display: inline-block; transition: transform 160ms var(--ease); }
.btn:hover .arrow::after, a.with-arrow:hover::after { transform: translateX(3px); }
a.with-arrow { color: var(--gold); font-weight: 500; font-size: 14px; }
a.with-arrow::after { content: " →"; display: inline-block; transition: transform 160ms var(--ease); }

/* ---------- Sections ---------- */
section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 760px; margin: 0 0 48px; }
.section-head .eyebrow { display: block; margin-bottom: 16px; }

/* Compact variant — for transitional / mid-page heads that don't need full hero weight */
.section-head.is-compact { margin-bottom: 28px; }
.section-head.is-compact h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 0 0 6px;
}
.section-head.is-compact p {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  max-width: 720px;
}
.section-head.is-compact .eyebrow { margin-bottom: 8px; }

/* High-impact variant — used on the Practice Areas heading */
.section-head.is-impact { max-width: 980px; margin-bottom: 56px; position: relative; padding-top: 24px; }
.section-head.is-impact::before {
  content: ""; position: absolute; left: 0; top: 0; width: 80px; height: 2px; background: var(--gold);
}
.section-head.is-impact .eyebrow { margin-bottom: 20px; }
.section-head.is-impact h2 {
  font-size: clamp(36px, 4.6vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 880px;
}
.section-head.is-impact .lead { max-width: 640px; }

.cream-section { background: var(--cream); color: var(--ink); }
.cream-section h1, .cream-section h2, .cream-section h3, .cream-section h4 { color: var(--ink); }
.cream-section .eyebrow { color: var(--gold-dim); }
.cream-section .lead { color: var(--ink-mute); }
.cream-section .italic { color: var(--gold-dim); }
.cream-section .btn-ghost { color: var(--ink); border-color: rgba(14, 31, 51, 0.2); }
.cream-section .btn-ghost:hover { color: var(--gold-dim); border-color: var(--gold-dim); }

.deep-section { background: var(--navy-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(90px, 11vw, 160px) 0 clamp(80px, 10vw, 140px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--navy-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--navy-line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-headline { max-width: 900px; margin: 20px 0 28px; }
.hero-sub { max-width: 560px; margin: 0 0 40px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta {
  display: flex; gap: 28px; margin-top: 64px; padding-top: 24px;
  border-top: 1px solid var(--navy-line);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: rgba(244, 239, 225, 0.55);
}
.hero-meta span strong { color: var(--gold); font-weight: 500; }

.hud {
  position: absolute; right: var(--gutter); top: clamp(100px, 12vw, 180px);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em;
  color: rgba(223, 191, 90, 0.5); text-align: right; line-height: 2;
  pointer-events: none;
}
.hud hr { border: none; border-top: 1px solid rgba(223, 191, 90, 0.25); margin: 8px 0; }
@media (max-width: 900px) { .hud { display: none; } }

/* ---------- Trust strip ---------- */
.trust {
  padding: 28px 0; border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: rgba(244, 239, 225, 0.5);
}
.trust-inner { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 32px; color: rgba(244, 239, 225, 0.75); }
.trust-logos span { font-family: var(--font-sans); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; }

/* ---------- Client logo marquee ---------- */
.logo-marquee {
  overflow: hidden;
  padding: 12px 0;
  border-bottom: 1px solid var(--navy-line);
  background: var(--navy-deep);
  position: relative;
  line-height: 1;
}
.logo-marquee::before, .logo-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.logo-marquee::before { left: 0; background: linear-gradient(to right, var(--navy-deep), transparent); }
.logo-marquee::after { right: 0; background: linear-gradient(to left, var(--navy-deep), transparent); }
.logo-track {
  display: flex;
  gap: 56px;
  align-items: center;
  width: max-content;
  animation: logo-marquee 90s linear infinite;
  will-change: transform;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: rgba(244, 239, 225, 0.55);
  white-space: nowrap;
  flex: none;
  transition: color 220ms var(--ease), transform 220ms var(--ease);
}
.logo-mark:hover { color: var(--gold); transform: translateY(-1px); }

/* Image-based logos (when you swap text for SVG/PNG files in /logos/) */
.logo-mark img {
  display: block;
  height: 22px;
  width: auto;
  flex: none;
  /* Renders any single-tone or transparent-bg logo as muted slate.
     Remove `filter` if logos are already correctly tinted. */
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 220ms var(--ease), filter 220ms var(--ease);
}
.logo-mark:hover img {
  opacity: 1;
  /* Recolour to gold #DFBF5A on hover via CSS filter chain */
  filter: brightness(0) invert(1) sepia(1) saturate(4) hue-rotate(355deg) brightness(0.95);
}
/* Per-logo height tweaks where the source SVG has different proportions */
.logo-mark img[src*="rangers-fc"] { height: 30px; }   /* tall crest */
.logo-mark img[src*="starr"]      { height: 18px; }   /* short wordmark */
.logo-mark img[src*="orchard"]    { height: 24px; }   /* dense, needs slightly more */
.logo-mark img[src*="wrat"]       { height: 20px; }   /* compact wordmark */
.logo-mark img[src*="scottish-fa"] { height: 30px; }  /* tall shield with banner */

@keyframes logo-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}

/* ---------- Big stat block ---------- */
.stat-block { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.stat-number {
  font-family: var(--font-serif); font-size: clamp(120px, 18vw, 240px); line-height: 0.85;
  letter-spacing: -0.05em; color: var(--gold); font-weight: 400;
}
.stat-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; color: var(--gold-dim); margin: 0 0 16px; }
@media (max-width: 780px) { .stat-block { grid-template-columns: 1fr; } }

/* ---------- Services grid (Practice Areas — discrete cards) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; background: transparent; border: none; border-radius: 0; overflow: visible; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  background: var(--cream);
  padding: 28px 26px 26px;
  display: flex; flex-direction: column; gap: 12px; min-height: 230px;
  border: 1px solid var(--cream-line);
  border-top: 2px solid var(--gold-dim);
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform 320ms var(--ease), border-color 320ms var(--ease), background 320ms var(--ease), box-shadow 320ms var(--ease);
}
.svc:hover {
  background: var(--cream-soft);
  border-color: rgba(185, 160, 74, 0.55);
  border-top-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -22px rgba(14, 31, 51, 0.30);
  z-index: 2;
}

/* Practice Areas grid · navy variant (used on home page) */
.deep-section .svc {
  background: rgba(30, 60, 92, 0.45);
  border: 1px solid var(--navy-line);
  border-top: 2px solid var(--gold-dim);
}
.deep-section .svc:hover {
  background: rgba(30, 60, 92, 0.78);
  border-color: rgba(223, 191, 90, 0.45);
  border-top-color: var(--gold);
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.6);
}
.deep-section .svc-icon { color: var(--gold); border-color: rgba(223, 191, 90, 0.5); }
.deep-section .svc:hover .svc-icon { background: rgba(223, 191, 90, 0.12); border-color: var(--gold); transform: rotate(-6deg) scale(1.06); }
.deep-section .svc-num { color: var(--gold); }
.deep-section .svc-title { color: var(--cream); }
.deep-section .svc-body { color: rgba(244, 239, 225, 0.92); }
.deep-section .svc-stat { color: var(--gold); border-top-color: var(--navy-line); }
.svc-num { font-family: var(--font-mono); font-size: 11px; color: var(--gold-dim); letter-spacing: 0.2em; }
.svc-title { font-family: var(--font-serif); font-size: 22px; line-height: 1.12; letter-spacing: -0.01em; }
.svc-body { font-size: 14px; color: var(--ink-mute); line-height: 1.55; margin: 0; }
.svc-link { margin-top: auto; font-size: 13px; color: var(--gold-dim); font-weight: 500; }

/* ---------- Sector tiles ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.sector-tile {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 24px 22px; border: 1px solid var(--navy-line); border-radius: var(--radius-lg);
  background: rgba(30, 60, 92, 0.35); color: var(--cream);
  transition: all 180ms var(--ease); position: relative; overflow: hidden;
}
.sector-tile::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform 240ms var(--ease);
}
.sector-tile:hover { background: rgba(30, 60, 92, 0.7); border-color: rgba(223, 191, 90, 0.4); }
.sector-tile:hover::before { transform: scaleY(1); transform-origin: top; }
.sector-name { font-family: var(--font-serif); font-size: 19px; }
.sector-meta { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; color: rgba(223, 191, 90, 0.7); margin-top: 6px; }
.sector-arrow { font-size: 18px; color: rgba(244, 239, 225, 0.35); transition: color 180ms var(--ease), transform 180ms var(--ease); }
.sector-tile:hover .sector-arrow { color: var(--gold); transform: translateX(4px); }

/* ---------- Testimonial ---------- */
.quote {
  border-left: 2px solid var(--gold); padding: 4px 0 4px 36px;
  max-width: 820px; margin: 0 auto;
}
.quote p {
  font-family: var(--font-serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35;
  color: var(--cream); margin: 0 0 24px; font-weight: 400;
}
.cream-section .quote p { color: var(--ink); }
.attrib { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.04em; color: var(--gold); font-style: normal; }
.attrib b { color: var(--cream); font-weight: 500; display: block; margin-bottom: 2px; }
.cream-section .attrib b { color: var(--ink); }
.cream-section .attrib { color: var(--gold-dim); }

/* ---------- Method / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: stp; }
.step { counter-increment: stp; padding-top: 28px; border-top: 1px solid var(--cream-line); position: relative; }
.step::before {
  content: "0" counter(stp);
  font-family: var(--font-mono); font-size: 11px; color: var(--gold-dim); letter-spacing: 0.2em;
  position: absolute; top: -20px; left: 0; background: var(--cream); padding-right: 12px;
}
.step h3 { margin: 8px 0 12px; }
.step p { font-size: 15px; line-height: 1.6; margin: 0; }

/* In a deep-section, plain .step renders as a discrete card matching the
   Practice Areas / MTA-rich style — gold rule top, border, hover lift. */
.deep-section .step {
  background: rgba(30, 60, 92, 0.45);
  border: 1px solid var(--navy-line);
  border-top: 2px solid var(--gold-dim);
  border-radius: var(--radius-lg);
  padding: 32px 26px 28px;
  transition: transform 320ms var(--ease), border-color 320ms var(--ease), background 320ms var(--ease), box-shadow 320ms var(--ease);
}
.deep-section .step::before {
  top: -12px; left: 26px;
  background: var(--navy-deep);
  color: var(--gold);
  padding: 0 10px;
}
.deep-section .step:hover {
  transform: translateY(-6px);
  background: rgba(30, 60, 92, 0.78);
  border-color: rgba(223, 191, 90, 0.45);
  border-top-color: var(--gold);
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.6);
}
.deep-section .step h3 { color: var(--cream); margin: 0 0 12px; }
.deep-section .step p { color: rgba(244, 239, 225, 0.92); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

/* Feature-list two-column table variant — the OUTER <ul> is the grid.
   Each <li> is display:contents so its three children (bullet, strong, span)
   flow as direct grid items into a single shared three-track grid. That's
   what makes every body description start at the same x, regardless of
   how wide its bold label is. */
.feature-list-table {
  display: grid;
  grid-template-columns: 14px 150px 1fr;
  column-gap: 20px;
  row-gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.55;
}
.feature-list-table > li {
  display: contents;
}
.feature-list-table .bullet {
  display: block;
  width: 8px; height: 8px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  margin-top: 7px;
}
.feature-list-table strong {
  font-weight: 600;
  min-width: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}
.feature-list-table span {
  color: rgba(244, 239, 225, 0.78);
  min-width: 0;
}
.cream-section .feature-list-table span { color: var(--ink-mute); }
@media (max-width: 720px) {
  .feature-list-table {
    grid-template-columns: 14px 1fr;
    column-gap: 14px;
    row-gap: 14px;
  }
  .feature-list-table strong { grid-column: 2; margin-bottom: -10px; }
  .feature-list-table span { grid-column: 2; }
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: clamp(72px, 9vw, 120px) 0; text-align: center;
  border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line);
  background:
    radial-gradient(circle at 20% 30%, var(--gold-wash), transparent 50%),
    radial-gradient(circle at 80% 70%, var(--gold-wash), transparent 50%),
    var(--navy);
}
.cta-band h2 { max-width: 700px; margin: 0 auto 24px; }
.cta-band .cta-actions { margin-top: 36px; display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Cards (courses, approach) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

/* Forced-column variants — used where "auto-fit" produces an orphan card */
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .card-grid.cols-4 { grid-template-columns: 1fr; }
  .card-grid.cols-2 { grid-template-columns: 1fr; }
}
.card {
  background: var(--cream); color: var(--ink); border-radius: var(--radius-lg);
  padding: 32px 28px 34px; display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--cream-line);
}
.deep-section .card, .navy-bg .card, .card.navy-bg {
  background: rgba(30, 60, 92, 0.45); color: var(--cream); border-color: var(--navy-line);
}
.card h3 { color: inherit; }
.card-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--gold); }

/* Library access markers — small leading dot signals open vs members-only */
.access-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
.access-tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
}
.access-tag.is-public { color: #74a888; }
.access-tag.is-public::before { background: #74a888; box-shadow: 0 0 0 3px rgba(116, 168, 136, 0.18); }
.access-tag.is-members { color: var(--gold); }
.access-tag.is-members::before { background: var(--gold); box-shadow: 0 0 0 3px rgba(223, 191, 90, 0.18); }
.cream-section .access-tag.is-public { color: #4a7a5c; }
.cream-section .access-tag.is-members { color: var(--gold-dim); }
.card p { font-size: 15px; line-height: 1.6; margin: 0; color: var(--ink-mute); }
/* The card-on-dark variant is matched by THREE patterns:
     .deep-section .card p   (card sits inside a navy section)
     .card.navy-bg p         (card itself carries navy-bg modifier — about/contact)
     section[class*="deep"] .card p  (defensive)
   The earlier `.navy-bg .card` selector required navy-bg to be an
   ancestor, but on the About page the article is BOTH classes at once. */
.deep-section .card p, .card.navy-bg p { color: rgba(244, 239, 225, 0.96); }
.deep-section .card .card-meta, .card.navy-bg .card-meta { color: var(--gold); }
.deep-section .card h3, .card.navy-bg h3 { color: var(--cream); }

/* ---------- Hover animations on every card variant ---------- */
.card {
  position: relative; overflow: hidden;
  transition: transform 320ms var(--ease), border-color 320ms var(--ease), background 320ms var(--ease), box-shadow 320ms var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 320ms var(--ease);
}
.card:hover { transform: translateY(-6px); background: var(--cream-soft); border-color: rgba(185, 160, 74, 0.55); box-shadow: 0 22px 44px -22px rgba(0, 0, 0, 0.55); }
.card:hover::before { transform: scaleX(1); }
.cream-section .card:hover { background: var(--cream-soft); border-color: rgba(185, 160, 74, 0.55); box-shadow: 0 18px 38px -22px rgba(14, 31, 51, 0.28); }
.deep-section .card:hover, .card.navy-bg:hover { background: rgba(30, 60, 92, 0.78); border-color: rgba(223, 191, 90, 0.55); box-shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.6); }

/* Game tile hover — same lift + gold rule */
.game { transition: transform 320ms var(--ease), border-color 320ms var(--ease), background 320ms var(--ease); }
.game::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 320ms var(--ease);
}
.game:hover { transform: translateY(-3px); background: var(--cream-soft); border-color: rgba(185, 160, 74, 0.4); }
.game:hover::before { transform: scaleX(1); }
.game:hover .game-icon { color: var(--gold); }

/* Cohort table rows — light hover already on tbody tr */
.assessment-rows .a-row { transition: transform 280ms var(--ease), border-color 280ms var(--ease), background 280ms var(--ease); }
.assessment-rows .a-row:hover { transform: translateY(-2px); border-color: rgba(223, 191, 90, 0.4); background: rgba(30, 60, 92, 0.55); }

/* Outcome cards (home page "What changes") */
.outcome { transition: transform 320ms var(--ease), border-color 320ms var(--ease), background 320ms var(--ease); position: relative; overflow: hidden; }
.outcome::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 320ms var(--ease);
}
.outcome:hover { transform: translateY(-3px); border-color: rgba(185, 160, 74, 0.45); background: var(--cream-soft); }
.outcome:hover::before { transform: scaleX(1); }

/* Numbers strip cells — subtle glow on hover */
.numbers .num { transition: background 280ms var(--ease); }
.numbers .num:hover { background: rgba(223, 191, 90, 0.05); }

/* fa-card (Pressure Profile detail cards) */
.fa-card { transition: transform 280ms var(--ease), border-color 280ms var(--ease), background 280ms var(--ease); }
.fa-card:hover { transform: translateY(-2px); border-color: rgba(223, 191, 90, 0.35); background: rgba(223, 191, 90, 0.10); }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex; gap: 14px; font-size: 15px; line-height: 1.55;
}
.feature-list li::before {
  content: ""; flex: none; width: 8px; height: 8px; border: 1.5px solid var(--gold); border-radius: 50%;
  margin-top: 7px;
}

/* ---------- Two-col layout ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Divider ---------- */
.horizon {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.28em; color: var(--gold-dim);
  margin: 0 auto 24px; max-width: 640px;
}
.horizon::before, .horizon::after { content: ""; flex: 1; height: 1px; background: rgba(223, 191, 90, 0.4); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); padding: 72px 0 40px; border-top: 1px solid var(--navy-line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; color: var(--gold); margin-bottom: 16px; font-weight: 500; text-transform: uppercase; }
.footer a { display: block; color: rgba(244, 239, 225, 0.7); font-size: 14px; padding: 4px 0; transition: color 140ms var(--ease); }
.footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--navy-line); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 12px; color: rgba(244, 239, 225, 0.5); font-family: var(--font-mono); letter-spacing: 0.08em; }
.footer-brand { font-family: var(--font-serif); font-size: 22px; color: var(--cream); margin-bottom: 12px; }
.footer-tag { font-size: 14px; color: rgba(244, 239, 225, 0.6); max-width: 280px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.22em; color: var(--gold-dim); text-transform: uppercase; }
.field input, .field select, .field textarea {
  background: transparent; border: none; border-bottom: 1px solid rgba(244, 239, 225, 0.25);
  padding: 12px 0 10px; font: inherit; color: var(--cream); transition: border-color 160ms var(--ease);
}
.cream-section .field input, .cream-section .field select, .cream-section .field textarea { color: var(--ink); border-bottom-color: rgba(14, 31, 51, 0.2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field textarea { min-height: 120px; resize: vertical; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px) scale(0.985); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Slow gentle drift on the hero photo (subtle parallax feel) */
@keyframes ad-astra-drift {
  0%   { transform: scale(1.02) translate3d(0, 0, 0); }
  50%  { transform: scale(1.04) translate3d(-1.5%, -1%, 0); }
  100% { transform: scale(1.02) translate3d(0, 0, 0); }
}
.hero.hero-photo {
  animation: ad-astra-drift 30s ease-in-out infinite;
  will-change: transform;
}
.hero.hero-photo .container,
.hero.hero-photo .hud,
.hero.hero-photo .photo-credit { animation: none; }

/* Brand mark slow rotate when hovered in nav (was 240ms) */
.brand-mark { transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1); }
.brand:hover .brand-mark { transform: rotate(45deg) scale(1.06); }

/* Sector tile hover gets stronger lift */
.sector-tile { transition: all 280ms var(--ease); }
.sector-tile:hover { transform: translateY(-3px); }

/* Buttons get a tiny press bounce */
.btn:active { transform: translateY(1px) scale(0.99); }

/* CTA arrows breathe */
@keyframes arrow-breathe {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(3px); }
}
.btn-primary .arrow::after { animation: arrow-breathe 2.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Page header ---------- */
.page-header { padding: clamp(100px, 11vw, 160px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--navy-line); position: relative; overflow: hidden; }
.page-header .eyebrow { display: block; margin-bottom: 18px; }
.page-header h1 { max-width: 880px; margin-bottom: 20px; }
.page-header p { max-width: 620px; }

/* ---------- Accordion (sector detail) ---------- */
details.sector-detail {
  border-top: 1px solid var(--cream-line); padding: 14px 0; cursor: pointer;
}
details.sector-detail:last-of-type { border-bottom: 1px solid var(--cream-line); }
details.sector-detail summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  list-style: none; cursor: pointer;
}
details.sector-detail summary::-webkit-details-marker { display: none; }
details.sector-detail summary .s-name { font-family: var(--font-serif); font-size: clamp(18px, 1.6vw, 21px); color: var(--ink); flex: 1; line-height: 1.2; }
details.sector-detail summary .s-toggle { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--gold-dim); }
details.sector-detail[open] summary .s-toggle::after { content: " —"; }
details.sector-detail:not([open]) summary .s-toggle::after { content: " +"; }
details.sector-detail .s-body { padding-top: 14px; max-width: 760px; color: var(--ink-mute); font-size: 15px; line-height: 1.65; }
details.sector-detail .s-body p { color: var(--ink-mute); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }
.center { text-align: center; }
.inline-stat { font-family: var(--font-serif); font-size: 1.2em; color: var(--gold); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid rgba(223, 191, 90, 0.4); border-radius: 100px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; }
.cream-section .badge { color: var(--gold-dim); border-color: rgba(185, 160, 74, 0.45); }

/* ===========================================================
   v2 additions — hero photo, illustrations, expanded steps
   =========================================================== */

/* Editorial hero with background photo */
.hero.hero-photo {
  background-image:
    linear-gradient(90deg, rgba(15, 34, 54, 0.92) 0%, rgba(15, 34, 54, 0.78) 32%, rgba(15, 34, 54, 0.32) 70%, rgba(15, 34, 54, 0.18) 100%),
    linear-gradient(180deg, rgba(15, 34, 54, 0.55) 0%, rgba(15, 34, 54, 0.35) 50%, rgba(23, 48, 74, 0.85) 100%),
    url("./hero-cockpit.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center right;
}
.hero.hero-photo::before { opacity: 0.25; }

/* Service icon */
.svc { gap: 12px; }
.svc-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(185, 160, 74, 0.4);
  border-radius: 50%;
  margin-bottom: 4px;
  color: var(--gold-dim);
  transition: transform 320ms var(--ease), border-color 320ms var(--ease), background 320ms var(--ease);
}
.svc:hover .svc-icon { transform: rotate(-6deg) scale(1.06); border-color: var(--gold-dim); background: rgba(223,191,90,0.08); }
.svc-icon svg { width: 18px; height: 18px; }
.svc-stat {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--cream-line);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--gold-dim);
}

/* Mitigate-trap-avoid ladder + expanded steps */
.ladder-svg {
  width: 100%; height: auto; margin: 0 auto 56px; max-width: 980px; display: block;
}

/* Eight-competencies threading diagram */
.threads-svg {
  width: 100%; height: auto; margin: 8px auto 0; max-width: 1000px; display: block;
}
/* Use subgrid so the four content rows (h3, body, example, cost) align horizontally
   across all three step cards — fallback to plain auto for older browsers. */
.steps.steps-rich {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto auto;
  column-gap: 28px;
  row-gap: 16px;
}
.step.step-rich {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  align-content: start;
  background: rgba(30, 60, 92, 0.45);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 32px 26px 26px;
  border-top: 2px solid var(--gold-dim);
  position: relative;
  transition: transform 320ms var(--ease), border-color 320ms var(--ease), background 320ms var(--ease), box-shadow 320ms var(--ease);
}
.step.step-rich:hover {
  transform: translateY(-6px);
  background: rgba(30, 60, 92, 0.78);
  border-color: rgba(223, 191, 90, 0.45);
  border-top-color: var(--gold);
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.6);
}
@supports not (grid-template-rows: subgrid) {
  .steps.steps-rich { grid-template-rows: none; row-gap: 0; }
  .step.step-rich   { grid-template-rows: auto; grid-row: auto; gap: 12px; }
}
@media (max-width: 780px) {
  .steps.steps-rich { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 0; }
  .step.step-rich   { grid-template-rows: auto; grid-row: auto; }
}
.step.step-rich::before { background: transparent; padding: 0; top: -32px; left: 26px; color: var(--gold); }
.step.step-rich h3 { color: var(--cream); margin: 0 0 0; align-self: end; }
.step.step-rich > p { color: rgba(244, 239, 225, 0.92); margin: 0; align-self: start; }
.step-example {
  margin: 0; padding: 14px 16px;
  border-left: 2px solid var(--gold);
  background: rgba(223, 191, 90, 0.06);
  font-size: 13.5px; line-height: 1.55; color: rgba(244, 239, 225, 0.85);
  font-style: italic;
  align-self: end;
}
.step-example b { font-style: normal; color: var(--gold); display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; margin-bottom: 6px; font-weight: 500; }
.step-cost { margin: 0; display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--navy-line); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; color: rgba(244, 239, 225, 0.5); align-self: end; }
.step-cost b { color: var(--gold); font-weight: 500; }

/* Trajectory chart */
.trajectory {
  background: var(--cream-soft);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px; margin-top: 28px;
}
.trajectory-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.trajectory-header h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; color: var(--gold-dim); font-weight: 500; }
.trajectory-header span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--ink-soft); }
.trajectory svg { width: 100%; height: auto; display: block; }

/* Numbers strip */
.numbers {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; padding: 0;
  border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line);
}
.numbers .num {
  padding: 36px 24px; border-right: 1px solid var(--navy-line);
}
.numbers .num:last-child { border-right: none; }
.numbers .v { font-family: var(--font-serif); font-size: clamp(38px, 4.2vw, 56px); line-height: 1; color: var(--gold); margin: 0 0 8px; letter-spacing: -0.02em; }
.numbers .l { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; color: rgba(244, 239, 225, 0.55); margin: 0 0 4px; }
.numbers .d { font-size: 13.5px; line-height: 1.45; color: rgba(244, 239, 225, 0.75); margin: 0; }
@media (max-width: 900px) { .numbers { grid-template-columns: repeat(2, 1fr); } .numbers .num:nth-child(2) { border-right: none; } .numbers .num:nth-child(1), .numbers .num:nth-child(2) { border-bottom: 1px solid var(--navy-line); } }
@media (max-width: 540px) { .numbers { grid-template-columns: 1fr; } .numbers .num { border-right: none; border-bottom: 1px solid var(--navy-line); } .numbers .num:last-child { border-bottom: none; } }

/* Outcome before/after */
.outcomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.outcome {
  background: var(--cream); border: 1px solid var(--cream-line); border-radius: var(--radius-lg);
  padding: 26px 24px; display: grid; grid-template-rows: auto 1fr auto; gap: 12px;
}
.outcome .o-cap { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--ink-soft); }
.outcome .o-before { font-family: var(--font-serif); font-size: 18px; color: var(--ink-mute); line-height: 1.35; }
.outcome .o-after  { font-family: var(--font-serif); font-size: 22px; color: var(--ink); line-height: 1.3; padding-top: 14px; border-top: 1px solid var(--cream-line); position: relative; }
.outcome .o-after::before { content: "↓"; position: absolute; top: -12px; left: 0; background: var(--cream); padding-right: 8px; color: var(--gold-dim); font-family: var(--font-mono); font-size: 14px; }

/* iCal flow blocks */
.ics-info {
  margin-top: 20px; padding: 16px 18px;
  background: var(--gold-wash); border: 1px solid rgba(223, 191, 90, 0.3); border-radius: var(--radius);
  font-size: 13.5px; line-height: 1.55; color: rgba(244, 239, 225, 0.85);
}
.ics-info b { color: var(--gold); display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; margin-bottom: 6px; }

/* Hero photo overlay variant — keep grid subtle on photo bg */
.hero.hero-photo::before {
  background-image:
    linear-gradient(to right, rgba(244, 239, 225, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 239, 225, 0.04) 1px, transparent 1px);
}

/* Stronger hero meta on photo bg */
.hero.hero-photo .hero-meta { border-top-color: rgba(244, 239, 225, 0.18); }

/* Photo credit */
.photo-credit {
  position: absolute; bottom: 12px; right: var(--gutter);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.18em;
  color: rgba(244, 239, 225, 0.35); pointer-events: auto;
}
.photo-credit a { color: inherit; }
.photo-credit a:hover { color: var(--gold); }
