/* ==========================================================================
   Hector Villicana: personal site (DRAFT v3)
   Plain CSS, mobile first. Light theme by default, automatic dark mode.
   Fonts (self-hosted, SIL OFL, Latin subsets): Source Serif 4 (display),
   Source Sans 3 (body). No external requests.
   Spacing follows an 8px scale; type follows a fluid clamp() scale.
   ========================================================================== */

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-var-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens: "Pacific Ink, muted copper" ---------- */
:root {
  color-scheme: light dark;

  /* Surfaces */
  --paper: #F7F4EE;          /* page background */
  --tint: #EFE8DC;           /* alternating warm section */
  --surface: #FFFFFF;        /* cards, form panel */
  --field: #FFFFFF;
  --choice-on: #F6EEE6;      /* selected radio tile */

  /* Text */
  --ink: #15233B;            /* 14.3:1 on paper, 12.9:1 on tint */
  --muted: #4A5568;          /* 6.9:1 on paper, 6.2:1 on tint, 7.5:1 on white */
  --accent: #955629;         /* copper for text: 5.3:1 on paper, 4.7:1 on tint, 5.9:1 on white */
  --copper: #B06A3B;         /* copper for rules, numerals and blocks (large/non-text: 3.9:1) */
  --copper-soft: #E6CDB8;    /* decorative block behind the portrait */

  /* Lines */
  --line: #DDD5C8;
  --line-strong: #C9BFAF;
  --field-border: #8C8578;   /* 3.7:1 on white (WCAG 1.4.11) */

  /* Buttons */
  --btn-bg: #15233B;
  --btn-fg: #F7F4EE;
  --btn-hover: #0C1628;

  /* Navy band */
  --band: #15233B;
  --band-surface: #1D2D49;
  --band-text: #F7F4EE;      /* 14.3:1 */
  --band-muted: #B8C1D1;     /* 8.7:1 on band, 7.6:1 on band surface */
  --band-accent: #E0A276;    /* 7.2:1 on band, 6.3:1 on band surface */
  --band-line: rgba(247, 244, 238, 0.16);

  --footer: #15233B;

  /* Status + tag colours */
  --tag-draft-bg: #FBE3D3; --tag-draft-fg: #7A3212; --tag-draft-line: #E7B89A;
  --tag-confirm-bg: #FFF1B8; --tag-confirm-fg: #4B3A00; --tag-confirm-line: #E3CF7A;
  --tag-needs-bg: #E4E9F4; --tag-needs-fg: #1F3563; --tag-needs-line: #B3C0DC;
  --ok-bg: #E3EFE6; --ok-fg: #1E4D2B; --ok-line: #9BC3A6;
  --err-bg: #FBE7E4; --err-fg: #8A1C14; --err-line: #E3A59C; --err: #B3261E;

  --shadow-sm: 0 1px 2px rgba(21, 35, 59, 0.05), 0 4px 14px -8px rgba(21, 35, 59, 0.14);
  --shadow-md: 0 2px 4px rgba(21, 35, 59, 0.05), 0 22px 44px -22px rgba(21, 35, 59, 0.30);
  --shadow-portrait: 0 30px 60px -30px rgba(21, 35, 59, 0.45);

  /* Type */
  --font-display: "Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --step--2: 0.8125rem;                                      /* 13px labels */
  --step--1: clamp(0.9375rem, 0.91rem + 0.12vw, 1rem);       /* 15-16px */
  --step-0:  clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);   /* 17-19px body */
  --step-1:  clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem);    /* 19-23px */
  --step-2:  clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);      /* 22-30px */
  --step-3:  clamp(2rem, 1.55rem + 1.9vw, 3.25rem);          /* 32-52px section titles */
  --step-4:  clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem);         /* 40-68px hero display */

  /* 8px spacing scale */
  --sp-1: 0.5rem;  --sp-2: 1rem;  --sp-3: 1.5rem;  --sp-4: 2rem;
  --sp-5: 3rem;    --sp-6: 4rem;  --sp-7: 6rem;    --sp-8: 8rem;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem);

  --container: 76rem;
  --gutter: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  --measure: 65ch;
  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 4.5rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #10151F;
    --tint: #151B27;
    --surface: #1A2231;
    --field: #121824;
    --choice-on: #2A2622;

    --ink: #ECE8E1;          /* 15.0:1 */
    --muted: #A9B1BD;        /* 8.5:1 on paper, 7.7:1 on surface */
    --accent: #E0A276;       /* 8.4:1 */
    --copper: #C98452;
    --copper-soft: #3A2A1F;

    --line: #283142;
    --line-strong: #3A4456;
    --field-border: #6B778A; /* 3.5:1 on surface */

    --btn-bg: #E0A276;
    --btn-fg: #10151F;       /* 8.4:1 */
    --btn-hover: #EBB690;

    --band: #1B2536;
    --band-surface: #222E43;
    --band-text: #ECE8E1;
    --band-muted: #A9B1BD;   /* 7.1:1 / 6.3:1 */
    --band-accent: #E0A276;  /* 6.9:1 / 6.2:1 */
    --band-line: rgba(236, 232, 225, 0.14);

    --footer: #0B0F17;

    --tag-draft-bg: #3A2418; --tag-draft-fg: #F6C8AC; --tag-draft-line: #6B3F28;
    --tag-confirm-bg: #332B0C; --tag-confirm-fg: #F3DC8A; --tag-confirm-line: #5E5018;
    --tag-needs-bg: #1B2640; --tag-needs-fg: #C4D2F0; --tag-needs-line: #34467A;
    --ok-bg: #12291A; --ok-fg: #B7E0C2; --ok-line: #2F5A3C;
    --err-bg: #34150F; --err-fg: #F5BDB3; --err-line: #6E2A20; --err: #FF8A7A;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 18px -10px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.3), 0 24px 48px -22px rgba(0, 0, 0, 0.7);
    --shadow-portrait: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0;
  letter-spacing: -0.01em; text-wrap: balance; font-optical-sizing: auto;
}
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
a { color: inherit; }
strong { font-weight: 600; }
::selection { background: var(--copper); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.section--band :focus-visible, .site-footer :focus-visible, .draft-banner :focus-visible { outline-color: var(--band-accent); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin: 0 0 var(--sp-3);
  font: 600 var(--step--2)/1.3 var(--font-body);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; flex: none; width: 2rem; height: 1px; background: currentColor; }
.section-title {
  font-size: var(--step-3); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em;
  max-width: 20ch;
}
.section-intro { color: var(--muted); font-size: var(--step-0); max-width: 44ch; margin: 0; }
.lead { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.45; color: var(--ink); }
.prose p { max-width: var(--measure); }
.prose p:not(.lead) { color: var(--muted); }

.text-link {
  color: var(--accent); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}
.text-link:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.section--band .text-link { color: var(--band-accent); }

/* ---------- Draft markers ---------- */
.draft-banner {
  background: var(--footer); color: var(--band-muted);
  font-size: 0.875rem; line-height: 1.5; text-align: center; padding: 0.5rem var(--gutter);
}
.draft-banner p { margin: 0; }
.draft-banner strong { color: var(--band-text); }
.tag {
  display: inline-block; vertical-align: 0.12em; white-space: nowrap;
  font-family: var(--font-body); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.05rem 0.5rem; border-radius: 999px; line-height: 1.5; border: 1px solid;
}
.tag--draft { background: var(--tag-draft-bg); color: var(--tag-draft-fg); border-color: var(--tag-draft-line); }
.tag--confirm { background: var(--tag-confirm-bg); color: var(--tag-confirm-fg); border-color: var(--tag-confirm-line); }
.tag--needs { background: var(--tag-needs-bg); color: var(--tag-needs-fg); border-color: var(--tag-needs-line); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 3.25rem; padding: 0.875rem 1.625rem;
  border-radius: var(--radius); border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-body); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
}
.button__arrow { display: inline-block; font-size: 1.1em; line-height: 1; }
.button--primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); box-shadow: var(--shadow-sm); }
.button--primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.button--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.button--secondary:hover { background: var(--ink); color: var(--paper); }
.button--band-primary { background: var(--band-accent); color: #15233B; border-color: var(--band-accent); }
.button--band-primary:hover { background: #EBB690; border-color: #EBB690; }
.button--band-secondary { background: transparent; color: var(--band-text); border-color: color-mix(in srgb, var(--band-text) 70%, transparent); }
.button--band-secondary:hover { background: var(--band-text); color: var(--band); border-color: var(--band-text); }
.button:disabled { opacity: 0.6; cursor: progress; }
.placeholder-button {
  display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.375rem 1rem; border-radius: var(--radius);
  border: 1.5px dashed currentColor; font-weight: 600; font-size: var(--step--1); cursor: not-allowed; opacity: 0.9;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
@supports (background: color-mix(in srgb, red 50%, transparent)) and ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    -webkit-backdrop-filter: saturate(1.3) blur(12px); backdrop-filter: saturate(1.3) blur(12px);
  }
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; min-height: 44px; }
.brand__mark {
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid var(--copper); color: var(--accent);
  font: 600 0.8125rem/1 var(--font-display); letter-spacing: 0.04em;
}
.brand__name { font: 500 1.1875rem/1 var(--font-display); letter-spacing: -0.005em; }
.brand__role {
  display: none; padding-left: 0.75rem; border-left: 1px solid var(--line-strong);
  font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600;
}
@media (min-width: 68em) { .brand__role { display: inline; } }

.site-nav { position: relative; }
.site-nav__list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.75rem; }
.site-nav__list a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 0.9375rem; font-weight: 600; text-decoration: none; color: var(--ink);
  background: linear-gradient(var(--copper), var(--copper)) left calc(100% - 10px) / 0 1.5px no-repeat;
}
.site-nav__list a:hover { background-size: 100% 1.5px; }
.site-nav__list a.site-nav__cta {
  padding: 0 1.125rem; min-height: 2.5rem; border: 1.5px solid var(--ink); border-radius: var(--radius); background: none;
}
.site-nav__list a.site-nav__cta:hover { background: var(--ink); color: var(--paper); }
.site-nav__toggle {
  display: none; align-items: center; gap: 0.625rem; min-height: 44px; padding: 0 0.875rem;
  background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  font: 600 0.9375rem/1 var(--font-body); cursor: pointer;
}
.site-nav__toggle-bars, .site-nav__toggle-bars::before, .site-nav__toggle-bars::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; content: "";
}
.site-nav__toggle-bars::before { position: absolute; top: -6px; }
.site-nav__toggle-bars::after { position: absolute; top: 6px; }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bars { background: transparent; }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bars::before { top: 0; transform: rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 55.99em) {
  .js .site-nav__toggle:not([hidden]) { display: inline-flex; }
  .js .site-nav__list {
    display: none; position: absolute; right: 0; top: calc(100% + 0.75rem);
    min-width: 16rem; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  }
  .js .site-nav__list.is-open { display: flex; }
  .js .site-nav__list a { width: 100%; padding: 0 1rem; background: none; border-radius: var(--radius); }
  .js .site-nav__list a:hover { background: var(--tint); }
  .js .site-nav__list a.site-nav__cta { margin-top: 0.5rem; justify-content: center; }
  /* No JS: header scrolls away and nav links sit on their own row */
  .no-js .site-header { position: static; }
  .no-js .site-header__inner { flex-wrap: wrap; row-gap: 0; padding-block: 0.25rem 0.5rem; }
  .no-js .site-nav { width: 100%; }
  .no-js .site-nav__list { gap: 0 1.25rem; justify-content: flex-start; }
  .no-js .site-nav__list a.site-nav__cta { border: 0; padding: 0; min-height: 44px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 1rem + 4vw, 5rem) clamp(4rem, 2rem + 5vw, 6.5rem); isolation: isolate; }
.hero__grid { display: grid; gap: var(--sp-6); align-items: center; }
.hero__title { margin: 0 0 var(--sp-4); }
.hero__eyebrow { display: flex; margin-bottom: var(--sp-3); }
.hero__eyebrow > span { min-width: 0; }
.hero__eyebrow-sep { opacity: 0.6; }
.hero__display {
  display: block;
  font-size: var(--step-4); font-weight: 500; line-height: 1.04; letter-spacing: -0.028em;
  max-width: 18ch; font-variation-settings: "opsz" 60;
}
.hero__accent { color: var(--accent); }
.hero__lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink); max-width: 34em; margin-bottom: var(--sp-2); }
.hero__sub { color: var(--muted); max-width: 38em; margin-bottom: var(--sp-5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-4); margin-bottom: var(--sp-5); }
.hero__action { display: flex; flex-direction: column; gap: 0.625rem; }
.hero__action-for { font-size: var(--step--2); letter-spacing: 0.04em; color: var(--muted); padding-left: 0.125rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.875rem;
  padding-top: var(--sp-3); border-top: 1px solid var(--line);
  font-size: var(--step--1); color: var(--muted);
}
@media (max-width: 35.99em) { .hero__meta { flex-direction: column; align-items: flex-start; gap: 0.375rem; } .hero__meta .dot { display: none; } }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--copper); }

/* Portrait: 4:5 photo, offset copper block, caption plate */
.hero__media { position: relative; margin: 0; justify-self: center; width: min(100%, 27rem); padding: 0 1.5rem 3.5rem 0; }
.portrait { position: relative; }
.portrait::before {
  content: ""; position: absolute; z-index: -1;
  top: -1.5rem; right: -1.5rem; width: 68%; height: 58%;
  background: var(--copper-soft); border-radius: var(--radius);
}
.portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-portrait);
  background: var(--tint);
}
.portrait__card {
  position: absolute; right: 0; bottom: 0; width: min(19rem, 82%);
  display: grid; gap: 0.25rem;
  padding: 1.125rem 1.375rem 1.25rem;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-md);
  border-top: 3px solid var(--copper);
}
.portrait__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.portrait__role { font: 500 1.0625rem/1.3 var(--font-display); color: var(--ink); text-wrap: balance; }
.portrait__org { font-size: 0.875rem; color: var(--muted); }

@media (min-width: 56em) {
  .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(3rem, 4.5vw, 4.5rem); }
  .hero__media { justify-self: end; width: 100%; max-width: 29rem; }
}
@media (max-width: 55.99em) {
  .hero__media { width: min(100%, 24rem); padding-right: 1rem; }
  .portrait::before { right: -1rem; top: -1rem; }
}

/* ---------- Scope band ---------- */
.scope-band { border-block: 1px solid var(--line); background: var(--paper); }
.scope { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scope li {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: var(--sp-4) var(--sp-3) var(--sp-4) 0;
}
.scope li:nth-child(even) { padding-left: var(--sp-3); border-left: 1px solid var(--line); }
.scope li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.scope__num {
  font: 500 clamp(2.25rem, 1.8rem + 1.8vw, 3.25rem)/1 var(--font-display);
  letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: lining-nums;
  font-variation-settings: "opsz" 60;
}
.scope__num::after { content: ""; display: block; width: 1.5rem; height: 2px; margin-top: 0.875rem; background: var(--copper); }
.scope__label { font-size: var(--step--1); line-height: 1.45; color: var(--muted); max-width: 25ch; }
@media (min-width: 56em) {
  .scope { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .scope li { padding: var(--sp-5) var(--sp-4); border-bottom: 0 !important; }
  .scope li:first-child { padding-left: 0; }
  .scope li + li { border-left: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--tint); }
.section--band { background: var(--band); color: var(--band-text); }
.section--band .eyebrow { color: var(--band-accent); }
.section--band .section-intro { color: var(--band-muted); }
.section-head { display: grid; gap: var(--sp-3); margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section-head .eyebrow { margin-bottom: var(--sp-3); }
@media (min-width: 56em) {
  .section-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--sp-6); }
  .section-head--split .section-intro { padding-bottom: 0.375rem; }
}

/* ---------- About ---------- */
.about { display: grid; gap: var(--sp-6); }
.about .section-title { margin-bottom: var(--sp-4); max-width: 16ch; }
.about .lead { margin-bottom: var(--sp-3); max-width: 30em; }
.focus__heading {
  font: 600 var(--step--2)/1.3 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); padding-bottom: var(--sp-2); border-bottom: 1px solid var(--ink);
}
.focus { list-style: none; }
.focus__item { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: var(--sp-2); padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
.focus__num { font: 500 1rem/1.6 var(--font-display); color: var(--accent); font-variant-numeric: lining-nums tabular-nums; }
.focus__item h4 { font-size: var(--step-1); margin-bottom: 0.375rem; }
.focus__item p { margin: 0; font-size: var(--step--1); color: var(--muted); max-width: 48ch; }
@media (min-width: 64em) {
  .about { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(4rem, 8vw, 8rem); align-items: start; }
  .about__focus { padding-top: 0.5rem; }
}

/* ---------- Outcome cards ---------- */
.cards { display: grid; gap: var(--sp-3); }
@media (min-width: 44em) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72em) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-3); } }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.card::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px;
  background: var(--copper); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card__top { display: flex; align-items: baseline; gap: 0.875rem; margin-bottom: var(--sp-2); }
.card__num { font: 500 1.5rem/1 var(--font-display); color: var(--copper); font-variant-numeric: lining-nums; font-variation-settings: "opsz" 60; }
.card__eyebrow { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card__title { font-size: var(--step-1); line-height: 1.28; margin-bottom: var(--sp-3); }
.card dl { margin: 0; }
.card dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.card dd { margin: 0; }
.card__facts { display: grid; gap: var(--sp-2); font-size: var(--step--1); line-height: 1.55; }
.card__facts dd { color: var(--ink); }
.card__award {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin: var(--sp-3) 0 0; padding: 0.875rem 1rem;
  background: var(--tint); border-radius: var(--radius);
  font-size: 0.9375rem; line-height: 1.5; color: var(--ink);
}
.card__award-icon { flex: none; color: var(--accent); margin-top: 0.1rem; }
.card__result { margin-top: auto !important; }
.card__result > div { border-top: 1px solid var(--line); padding-top: var(--sp-3); margin-top: var(--sp-3); }
.card__result dt { color: var(--accent); }
.card__result dd { font: 500 var(--step-0)/1.45 var(--font-display); color: var(--ink); }

/* Styled native disclosure (cards + timeline) */
.card__how, .timeline__more { margin-top: var(--sp-3); }
.card__how { border-top: 1px solid var(--line); }
.card__how > summary, .timeline__more > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 48px; cursor: pointer; list-style: none;
  font-size: var(--step--1); font-weight: 600; color: var(--accent);
}
.timeline__more > summary { justify-content: flex-start; min-height: 44px; }
.card__how > summary::-webkit-details-marker, .timeline__more > summary::-webkit-details-marker { display: none; }
.card__how > summary::after, .timeline__more > summary::before {
  content: ""; flex: none; width: 1.625rem; height: 1.625rem; border-radius: 50%;
  border: 1px solid currentColor;
  background:
    linear-gradient(currentColor, currentColor) center / 10px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 10px no-repeat;
}
.card__how[open] > summary::after, .timeline__more[open] > summary::before { transform: rotate(45deg); }
.card__how > summary:hover, .timeline__more > summary:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.card__how ul, .timeline__more ul {
  list-style: none; display: grid; gap: 0.625rem;
  padding: 0.25rem 0 0.5rem 1rem; border-left: 2px solid var(--copper);
  font-size: var(--step--1); line-height: 1.55; color: var(--muted);
}
.card__how ul { margin-bottom: 0.25rem; }

.also {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: baseline;
  margin: var(--sp-5) 0 0; padding-top: var(--sp-3); border-top: 1px solid var(--line-strong);
  font-size: var(--step--1); color: var(--muted); max-width: none;
}
.also__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.also > span:last-child { flex: 1 1 30rem; max-width: 80ch; }

/* ---------- Two ways to work together (band) ---------- */
.paths { display: grid; gap: var(--sp-3); }
@media (min-width: 60em) { .paths { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: var(--sp-4); } }
.path {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  border-radius: var(--radius-lg);
}
.path--primary { background: var(--band-surface); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.6); }
.path--primary::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--band-accent); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.path--draft { border: 1px dashed color-mix(in srgb, var(--band-text) 32%, transparent); }
.path__for { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--band-accent); margin-bottom: var(--sp-2); }
.path__title { font-size: var(--step-2); color: var(--band-text); margin-bottom: var(--sp-4); }
.path__block { padding-top: var(--sp-3); margin-top: var(--sp-3); border-top: 1px solid var(--band-line); }
.path__block:first-of-type { margin-top: 0; }
.path__label { font: 700 0.75rem/1.3 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--band-muted); margin-bottom: var(--sp-2); }
.path__list { display: grid; gap: 0.75rem; font-size: var(--step--1); line-height: 1.55; color: var(--band-text); }
.path__list li { position: relative; padding-left: 1.5rem; }
.path__list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.75rem; height: 1.5px; background: var(--band-accent); }
.path__roles { font: 500 var(--step-2)/1.2 var(--font-display); color: var(--band-text); margin-bottom: 0.25rem; }
.path__roles span { color: var(--band-accent); padding-inline: 0.25rem; }
.path__muted { color: var(--band-muted); font-size: var(--step--1); }
.path__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-bottom: var(--sp-4); font-size: var(--step--1); color: var(--band-muted); }
.path__links li { display: inline-flex; align-items: center; gap: 0.5rem; }
.path__links .placeholder-button { color: var(--band-muted); }
.path .button { align-self: flex-start; margin-top: auto; }
.path__note { color: var(--band-muted); font-size: var(--step--1); font-style: normal; margin-bottom: var(--sp-3); }
.services { display: grid; margin-bottom: var(--sp-4); }
.services li { padding: var(--sp-2) 0; border-top: 1px solid var(--band-line); }
.services li:last-child { border-bottom: 1px solid var(--band-line); }
.services h4 { font-size: var(--step-0); font-weight: 500; color: var(--band-text); margin-bottom: 0.25rem; }
.services p { margin: 0; font-size: var(--step--1); line-height: 1.5; color: var(--band-muted); }
.path--draft .button { margin-top: auto; }

/* ---------- Experience timeline ---------- */
.experience { display: grid; gap: var(--sp-6); }
@media (min-width: 64em) { .experience { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.timeline { list-style: none; border-top: 1px solid var(--ink); }
.timeline__item { display: grid; gap: 0.5rem var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 44em) { .timeline__item { grid-template-columns: 8.5rem minmax(0, 1fr); } }
.timeline__years {
  margin: 0; padding-top: 0.3rem;
  font-size: var(--step--1); font-weight: 700; letter-spacing: 0.06em; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.timeline__role { font-size: var(--step-2); line-height: 1.2; margin-bottom: 0.5rem; }
.timeline__org { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; font-weight: 600; font-size: var(--step--1); color: var(--ink); margin-bottom: 0.25rem; }
.timeline__badge {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.05rem 0.55rem;
}
.timeline__sub, .timeline__scope { font-size: var(--step--1); color: var(--muted); margin-bottom: 0.25rem; max-width: 60ch; }
.timeline__more { margin-top: var(--sp-1); }
.timeline__more > summary { gap: 0.75rem; }
.timeline__more ul { margin: 0.25rem 0 0.5rem 0.75rem; max-width: 62ch; }

.experience__aside { display: grid; gap: var(--sp-3); }
@media (min-width: 64em) { .experience__aside { position: sticky; top: calc(var(--header-h) + 2rem); } }
.aside-card { padding: var(--sp-4); background: var(--tint); border-radius: var(--radius-lg); }
.aside-card__title {
  font: 700 0.75rem/1.3 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: var(--sp-3);
}
.education { display: grid; gap: var(--sp-3); }
.education p { margin: 0; }
.education__degree { font: 500 var(--step-1)/1.3 var(--font-display); margin-bottom: 0.25rem !important; }
.education__school { font-size: var(--step--1); color: var(--muted); }
.service-list { display: grid; gap: 0.875rem; font-size: var(--step--1); line-height: 1.5; }
.service-list span { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Testimonials (hidden until approved quotes exist) ---------- */
.quotes { display: grid; gap: var(--sp-3); }
@media (min-width: 56em) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .quote--feature { grid-column: 1 / -1; } }
.testimonials { border-top: 1px solid var(--line); }
.quote { margin: 0; padding: var(--sp-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.quote blockquote::before { content: "\201C"; display: block; height: 2.25rem; font: 500 4rem/1 var(--font-display); color: var(--copper); }
.quote blockquote { margin: 0 0 var(--sp-3); font: 400 var(--step-1)/1.45 var(--font-display); }
.quote--feature blockquote { font-size: var(--step-2); }
.quote figcaption { display: grid; gap: 0.125rem; font-size: var(--step--1); }
.quote__name { font-weight: 700; }
.quote__title { color: var(--muted); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: var(--sp-5); }
@media (min-width: 60em) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.contact .section-title { margin-bottom: var(--sp-3); }
.contact__points { display: grid; gap: var(--sp-2); margin: var(--sp-4) 0; padding: var(--sp-3) 0; border-block: 1px solid var(--line-strong); font-size: var(--step--1); color: var(--muted); }
.contact__point-label { display: block; font-weight: 700; color: var(--ink); }
.contact__alt { font-size: var(--step--1); color: var(--muted); }
.contact__panel {
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.contact-form { display: grid; gap: var(--sp-3); }
.field { display: grid; gap: 0.5rem; margin: 0; align-content: start; }
.field-row { display: grid; gap: var(--sp-3); }
@media (min-width: 40em) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .choices legend { font-weight: 600; font-size: var(--step--1); color: var(--ink); }
.req { color: var(--accent); }
.optional { font-weight: 400; color: var(--muted); }
.field input:not([type="radio"]), .field textarea {
  width: 100%; min-height: 3.125rem; padding: 0.75rem 0.875rem;
  font: 400 1.0625rem/1.4 var(--font-body); color: var(--ink);
  background: var(--field); border: 1px solid var(--field-border); border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:not([type="radio"]):hover, .field textarea:hover { border-color: var(--ink); }
.field input:not([type="radio"]):focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field input:not([type="radio"])[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); border-width: 2px; }
.hint { font-size: 0.875rem; color: var(--muted); margin: 0; }
.field-error { font-size: 0.9375rem; font-weight: 600; color: var(--err); margin: 0; }

.choices { border: 0; padding: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 0.625rem; }
.choices__grid { display: grid; gap: 0.625rem; }
@media (min-width: 30em) { .choices__grid { grid-template-columns: 1fr 1fr; } }
.choice {
  display: flex; align-items: center; gap: 0.75rem; min-height: 3.25rem; padding: 0.625rem 1rem;
  border: 1px solid var(--field-border); border-radius: var(--radius); background: var(--field);
  font-size: var(--step--1); font-weight: 600 !important; cursor: pointer;
}
.choice:hover { border-color: var(--ink); }
.choice input { flex: none; width: 1.125rem; height: 1.125rem; margin: 0; accent-color: var(--accent); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--choice-on); box-shadow: inset 0 0 0 1px var(--accent); }
.choice:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice input:focus-visible { outline: none; }
.choices[aria-invalid="true"] .choice, .choice:has(input[aria-invalid="true"]) { border-color: var(--err); }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2); padding-top: var(--sp-1); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { border-top: 1px solid var(--line); padding-top: var(--sp-2); }
.form-status { border-radius: var(--radius); padding: 0.875rem 1rem; font-size: 1rem; border: 1px solid; }
.form-status:focus { outline: none; }
.form-status.is-success { background: var(--ok-bg); color: var(--ok-fg); border-color: var(--ok-line); }
.form-status.is-error { background: var(--err-bg); color: var(--err-fg); border-color: var(--err-line); }
.form-status.is-pending { background: var(--tint); color: var(--ink); border-color: var(--line); }
.form-status .text-link { color: inherit; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--band-muted); font-size: var(--step--1); }
.site-footer p { margin: 0; }
.site-footer a { color: var(--band-text); text-decoration: none; }
.site-footer a:hover { color: var(--band-accent); text-decoration: underline; text-underline-offset: 0.2em; }
.site-footer__top {
  display: grid; gap: var(--sp-4); padding-block: var(--sp-6) var(--sp-5);
  border-bottom: 1px solid var(--band-line);
}
.site-footer__name { font: 500 var(--step-2)/1.2 var(--font-display); color: var(--band-text); margin-bottom: 0.5rem !important; }
.site-footer__tag { max-width: 32ch; }
.site-footer__nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: var(--sp-3) var(--sp-4); font-size: 0.875rem; }
.site-footer__bottom a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
@media (min-width: 56em) { .site-footer__top { grid-template-columns: 1fr auto; align-items: end; } }


/* ==========================================================================
   v3: "alive, not flashy"
   Static (reduced-motion) design first; every animation lives in the
   prefers-reduced-motion: no-preference block further down and only
   animates transform and opacity.
   ========================================================================== */
:root {
  --hero: #0F1A2E;
  --glow-copper: rgba(201, 132, 82, 0.30);
  --glow-blue: rgba(84, 120, 186, 0.30);
  --spot: rgba(176, 106, 59, 0.11);
  --ease-out: cubic-bezier(0.16, 0.84, 0.24, 1);
  --ease-inout: cubic-bezier(0.7, 0, 0.2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root {
    --hero: #0A0F18;
    --glow-copper: rgba(201, 132, 82, 0.24);
    --glow-blue: rgba(84, 120, 186, 0.26);
    --spot: rgba(224, 162, 118, 0.10);
  }
}
.grain {
  position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); background-size: 180px 180px;
  opacity: 0.13; mix-blend-mode: overlay;
}

/* ---------- Buttons: pill shape, fill sweeps in from the left ---------- */
.button, .placeholder-button, .site-nav__list a.site-nav__cta { border-radius: 999px; }
.button { position: relative; isolation: isolate; overflow: clip; }
.button::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--sweep, transparent); transform: scaleX(0); transform-origin: right center;
}
.button:hover::before { transform: scaleX(1); transform-origin: left center; }
.button--primary { --sweep: var(--btn-hover); }
.button--primary:hover { background: var(--btn-bg); border-color: var(--btn-hover); }
.button--secondary { --sweep: var(--ink); }
.button--secondary:hover { background: transparent; color: var(--paper); }
.button--band-primary { --sweep: #F0C3A2; }
.button--band-primary:hover { background: var(--band-accent); border-color: #F0C3A2; }
.button--band-secondary { --sweep: var(--band-text); }
.button--band-secondary:hover { background: transparent; color: var(--band); }

/* ---------- Header: deep-navy glass across the whole page ---------- */
.site-header {
  --paper: var(--hero); --ink: var(--band-text); --muted: var(--band-muted);
  --line: var(--band-line); --line-strong: rgba(247, 244, 238, 0.3);
  --copper: var(--band-accent); --accent: var(--band-accent);
  --surface: var(--band-surface); --tint: rgba(247, 244, 238, 0.08);
  color: var(--band-text);
}
.brand__mark { background: rgba(224, 162, 118, 0.08); }
.site-nav__list a:not(.site-nav__cta) { position: relative; background: none; }
.site-nav__list a:not(.site-nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1.5px;
  background: var(--copper); transform: scaleX(0); transform-origin: right center;
}
.site-nav__list a:not(.site-nav__cta):hover::after,
.site-nav__list a.is-active::after { transform: scaleX(1); transform-origin: left center; }
@media (max-width: 55.99em) { .js .site-nav__list a::after { display: none; } }
.scroll-progress { display: none; }

/* ---------- Hero: deep navy, gradient mesh, grain, architectural lines ---------- */
.hero {
  --ink: var(--band-text); --muted: var(--band-muted); --accent: var(--band-accent);
  --copper: var(--band-accent); --line: var(--band-line); --paper: var(--hero);
  --btn-bg: var(--band-accent); --btn-fg: #15233B; --btn-hover: #F0C3A2;
  background: var(--hero); color: var(--band-text);
  padding-block: clamp(3rem, 1.5rem + 4.5vw, 6rem) 0;
  overflow: clip;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: clip; }
.hero__glow { position: absolute; border-radius: 50%; }
.hero__glow--a { width: 64rem; height: 64rem; right: -20rem; top: -28rem; background: radial-gradient(closest-side, var(--glow-copper), transparent); }
.hero__glow--b { width: 58rem; height: 58rem; left: -24rem; bottom: -32rem; background: radial-gradient(closest-side, var(--glow-blue), transparent); }
.hero__glow--c { width: 34rem; height: 34rem; left: 34%; top: 18%; background: radial-gradient(closest-side, rgba(224, 162, 118, 0.10), transparent); }
.hero__lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(247, 244, 238, 0.045) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%; background-position: calc(100% / 12) 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
}
.hero__status {
  display: inline-flex; align-items: center; gap: 0.625rem;
  margin: 0 0 var(--sp-4); padding: 0.4375rem 1rem 0.4375rem 0.875rem;
  border: 1px solid rgba(224, 162, 118, 0.38); border-radius: 999px; background: rgba(224, 162, 118, 0.08);
  font: 600 0.8125rem/1.3 var(--font-body); letter-spacing: 0.05em; color: var(--band-text);
}
.hero__status-dot { position: relative; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--band-accent); }
.hero__status-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--band-accent); opacity: 0; }
.hero__eyebrow { color: var(--band-accent); }
.hero__display {
  font-size: clamp(2.625rem, 1.3rem + 4.3vw, 4.875rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.034em;
  max-width: 15ch; color: var(--band-text);
}
.hero__display .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero__display .w > span { display: inline-block; }
.hero__accent { color: var(--band-accent); }
.hero__lede { color: var(--band-text); }
.hero__sub { color: var(--band-muted); }
.hero__meta { border-top-color: var(--band-line); }

/* Portrait: masked frame, offset copper outline, navy caption plate */
.hero__media { padding: 1.25rem 1.25rem 3.5rem 0; }
.portrait::before {
  top: -1.25rem; right: -1.25rem; width: 100%; height: 100%;
  background: none; border: 1px solid rgba(224, 162, 118, 0.45); border-radius: var(--radius-lg);
}
.portrait__frame { position: relative; overflow: clip; border-radius: var(--radius-lg); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.75); }
.portrait__frame picture { display: block; }
.portrait img { border-radius: 0; box-shadow: none; background: #1D2D49; }
.portrait__slats { display: none; }
.portrait__card {
  background: var(--band-surface); color: var(--band-text);
  border: 1px solid var(--band-line); border-top: 3px solid var(--band-accent);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7);
}
.portrait__label { color: var(--band-accent); }
.portrait__role { color: var(--band-text); }
.portrait__org { color: var(--band-muted); }

@media (min-width: 56em) {
  .hero { display: flex; flex-direction: column; min-height: calc(100svh - 7rem); }
  .hero > .hero__grid { flex: 1 0 auto; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); }
  .hero__media { max-width: 28rem; }
}

/* ---------- Focus marquee (text only) ---------- */
.marquee {
  position: relative; display: flex; align-items: center; gap: var(--sp-2);
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  border-top: 1px solid var(--band-line);
  padding: 1.125rem var(--gutter);
}
.marquee__viewport { flex: 1; min-width: 0; display: flex; overflow: clip; }
.marquee__track {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.5rem 0; margin: 0 auto; padding: 0;
}
.marquee__track li {
  display: inline-flex; align-items: center; gap: 1.5rem; padding-inline: 0.75rem 0.75rem;
  font: 400 clamp(1.0625rem, 0.9rem + 0.7vw, 1.5rem)/1.3 var(--font-display);
  letter-spacing: -0.005em; color: var(--band-text); white-space: nowrap;
}
.marquee__track li::before {
  content: ""; flex: none; width: 0.4375rem; height: 0.4375rem;
  background: var(--band-accent); transform: rotate(45deg);
}
.marquee__track--dup { display: none; }
.motion-toggle {
  flex: none; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 1rem;
  background: transparent; color: var(--band-muted); border: 1px solid var(--band-line); border-radius: 999px;
  font: 600 0.8125rem/1 var(--font-body); letter-spacing: 0.04em; cursor: pointer;
}
.motion-toggle:hover { color: var(--band-text); border-color: rgba(247, 244, 238, 0.4); }
.motion-toggle__icon { width: 10px; height: 10px; border-inline: 3px solid currentColor; }
.motion-toggle[data-paused="true"] .motion-toggle__icon {
  border: 0; width: 0; height: 0;
  border-left: 9px solid currentColor; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent;
}
@media (max-width: 35.99em) { .motion-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .motion-toggle { padding: 0 0.875rem; } }

/* ---------- Scope band: oversized numerals ---------- */
.scope-band { background: var(--paper); border-top: 0; }
.scope__num {
  font-size: clamp(2.5rem, 1.25rem + 3.2vw, 4rem); font-weight: 400; line-height: 0.95; letter-spacing: -0.035em;
}
.scope__num::after { width: 2.5rem; transform-origin: left center; }
@media (min-width: 56em) { .scope li { padding: var(--sp-5) var(--sp-3); } }

/* ---------- Section titles: masked line rise ---------- */
.reveal-title { overflow: clip; padding-bottom: 0.12em; }
.reveal-title > span { display: block; }

/* ---------- Outcome cards: bento grid with spotlight ---------- */
.cards { grid-auto-flow: dense; }
.card { isolation: isolate; overflow: clip; --mx: -30rem; --my: -30rem; }
.card::before { left: 0; right: 0; top: 0; border-radius: 0; transform-origin: left center; }
.card::after, .path::after {
  content: ""; position: absolute; z-index: -1; left: 0; top: 0;
  width: 30rem; height: 30rem; margin: -15rem 0 0 -15rem; border-radius: 50%;
  background: radial-gradient(closest-side, var(--spot), transparent);
  transform: translate(var(--mx), var(--my)); opacity: 0; pointer-events: none;
}
.card:hover::after, .path:hover::after { opacity: 1; }
.card:hover { border-color: var(--line-strong); }
.card__top { align-items: flex-end; gap: 1rem; margin-bottom: var(--sp-3); }
.card__num { font-size: clamp(2.5rem, 2rem + 1.6vw, 3.5rem); font-weight: 400; line-height: 0.85; letter-spacing: -0.04em; }
.card__eyebrow { padding-bottom: 0.25rem; }
.card__result { margin-top: auto; }

/* Feature tile (Canvas + award): deep navy card inside the warm section */
.card--feature {
  --surface: #15233B; --ink: #F7F4EE; --muted: #B8C1D1; --accent: #E0A276; --copper: #E0A276;
  --line: rgba(247, 244, 238, 0.16); --line-strong: rgba(247, 244, 238, 0.32); --tint: rgba(247, 244, 238, 0.07);
  --spot: rgba(224, 162, 118, 0.2);
  background: var(--surface); color: var(--ink); border-color: #15233B;
  box-shadow: 0 30px 60px -36px rgba(21, 35, 59, 0.6);
}
.card--feature .card__title { font-size: var(--step-2); max-width: 26ch; }
.card--feature .grain { opacity: 0.08; z-index: -1; }
@media (prefers-color-scheme: dark) {
  .card--feature { --surface: #1F2C44; border-color: #2E3D59; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.8); }
}

.also {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-3);
  margin: 0; padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); border-top: 0;
  background: transparent; font-size: var(--step-0); color: var(--ink);
  box-shadow: inset 0 3px 0 var(--copper);
}
.also p { margin: 0; }
.also__label { font-size: 0.75rem; }
.also__text { font: 400 var(--step-1)/1.45 var(--font-display); color: var(--ink); max-width: 44ch; }

@media (min-width: 44em) {
  .card--feature { grid-column: 1 / -1; }
}
@media (min-width: 72em) {
  .card--wide { grid-column: span 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); align-content: start; }
  .card--end { grid-column: 2 / span 2; grid-row: 3; }
  .card--wide > * { grid-column: 1 / -1; }
  .card--wide .card__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); }
  .card--feature .card__facts { grid-column: 1; grid-template-columns: 1fr; }
  .card--feature .card__award { grid-column: 2; grid-row: 3; margin-top: 0; align-self: start; }
  .card--wide .card__result { align-self: end; }
  .card--wide .card__result dd { font-size: var(--step-1); max-width: 46ch; }
  .card--feature .card__title { font-size: var(--step-3); max-width: 22ch; }
}

/* Navy band: glow + grain, spotlight on the path cards */
.section--band { position: relative; isolation: isolate; overflow: clip; }
.band-bg { position: absolute; inset: 0; z-index: -1; overflow: clip; }
.band-bg__glow { position: absolute; width: 64rem; height: 64rem; right: -22rem; top: -34rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(224, 162, 118, 0.14), transparent); }
.path { isolation: isolate; overflow: clip; --mx: -30rem; --my: -30rem; --spot: rgba(224, 162, 118, 0.12); }

/* ---------- Timeline: rail + progress line + dots ---------- */
.timeline { position: relative; padding-left: 2.5rem; border-top: 0; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; left: 0.5rem; top: 0.5rem; bottom: 0.5rem; width: 2px; border-radius: 2px;
  background: var(--line);
}
.timeline::after { background: linear-gradient(var(--copper), var(--accent)); transform-origin: top center; }
.timeline__item { position: relative; }
.timeline__item:first-child { padding-top: 0.25rem; }
.timeline__item::before, .timeline__item::after {
  content: ""; position: absolute; left: calc(-2.5rem + 0.5rem + 1px - 0.5625rem); top: calc(var(--sp-4) + 0.3rem);
  width: 1.125rem; height: 1.125rem; border-radius: 50%;
}
.timeline__item:first-child::before, .timeline__item:first-child::after { top: 0.55rem; }
.timeline__item::before { background: var(--paper); border: 2px solid var(--copper); }
.timeline__item::after { background: var(--copper); transform: scale(0.45); }

/* ---------- Footer: oversized wordmark ---------- */
.site-footer { position: relative; overflow: clip; }
.site-footer__mark {
  margin: 0; padding-top: var(--sp-5); overflow: clip; white-space: nowrap;
  font: 400 clamp(2.75rem, 9.8vw, 10.5rem)/0.95 var(--font-display);
  letter-spacing: -0.045em; color: var(--band-text); font-variation-settings: "opsz" 60;
}
.site-footer__mark span { display: inline-block; }


/* v3 tuning */
.site-header { background: color-mix(in srgb, var(--hero) 96%, transparent); }
@supports (background: color-mix(in srgb, red 50%, transparent)) and ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: color-mix(in srgb, var(--hero) 92%, transparent); }
}
.hero { padding-top: clamp(2.5rem, 1rem + 3.5vw, 4rem); }
.hero__title { margin-bottom: var(--sp-3); }
.hero__lede { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem); max-width: 33em; margin-bottom: var(--sp-4); }
.hero__actions { margin-bottom: var(--sp-4); }
.hero__meta { padding-top: var(--sp-2); }
.hero__media { display: grid; }
.hero__status {
  position: absolute; z-index: 2; left: -1.25rem; top: 2.75rem; margin: 0; max-width: min(21rem, 88%);
  border-radius: var(--radius-lg); padding: 0.625rem 0.875rem; align-items: flex-start;
  background: #1D2D49; border-color: rgba(224, 162, 118, 0.45); line-height: 1.4; letter-spacing: 0.02em;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
}
.hero__status-dot { margin-top: 0.375rem; }
@media (max-width: 55.99em) { .hero__status { left: 0.75rem; top: 2rem; } }
.marquee { margin-top: clamp(2.5rem, 1.5rem + 2.5vw, 3.5rem); }
.card--feature .card__title { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem); max-width: 30ch; }
@media (min-width: 72em) { .card--feature .card__title { font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.5rem); max-width: 28ch; } }
.also__label { font: 400 var(--step-3)/1 var(--font-display); letter-spacing: -0.03em; text-transform: none; color: var(--accent); }
.also__text { font-size: var(--step-0); }
.site-footer__mark { font-size: clamp(2.75rem, 13vw, 12.5rem); padding-top: var(--sp-4); line-height: 1; }

.site-header { background: var(--hero); }
@supports (background: color-mix(in srgb, red 50%, transparent)) and ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: color-mix(in srgb, var(--hero) 97%, transparent); }
}
.hero__status { top: 56%; }
.hero__display { font-size: clamp(2.625rem, 1.3rem + 4vw, 4.5rem); }
.hero__meta { font-size: 0.9375rem; gap: 0.5rem 0.75rem; }
.marquee { margin-top: clamp(2rem, 1rem + 2.5vw, 3rem); padding-block: 1rem; }
@media (min-width: 56em) {
  .hero > .hero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}

.hero { padding-top: clamp(2rem, 0.5rem + 3vw, 3rem); }
.hero__lede, .hero__actions { margin-bottom: var(--sp-3); }
.hero__display { line-height: 1; }
.hero__status { top: 58%; max-width: none; white-space: nowrap; align-items: center; }
.hero__status-dot { margin-top: 0; }
.marquee { margin-top: clamp(1.75rem, 0.5rem + 2vw, 2.25rem); }
@media (max-width: 35.99em) { .hero__status { white-space: normal; max-width: 85%; } }

@media (max-width: 55.99em) { .hero__status { top: -0.5rem; left: 0.5rem; } }

.also { justify-content: flex-start; }
.also__list { display: grid; gap: var(--sp-3); margin-top: auto; }
.also__list li { padding-top: var(--sp-3); border-top: 1px solid var(--line-strong); font: 400 var(--step-0)/1.5 var(--font-display); color: var(--ink); }

/* ==========================================================================
   MOTION (only when the visitor has not asked for reduced motion)
   Everything below animates transform and opacity only.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Micro-interactions */
  .button, .choice, .site-nav__list a, .site-nav__toggle, .text-link, .field input, .field textarea, .motion-toggle {
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.2s ease, text-decoration-color 0.2s ease, translate 0.45s var(--ease-out);
  }
  .button::before, .site-nav__list a::after { transition: transform 0.55s var(--ease-out); }
  .button__arrow { transition: transform 0.35s var(--ease-out); }
  .button:hover .button__arrow { transform: translateX(4px); }
  .card, .path { transition: translate 0.5s var(--ease-out), border-color 0.3s ease; }
  .card:hover { translate: 0 -6px; }
  .card::after, .path::after { transition: opacity 0.4s ease; }
  .card__how > summary::after, .timeline__more > summary::before { transition: transform 0.3s var(--ease-out); }

  /* --- Hero entrance (CSS only, runs once on load) --- */
  @keyframes v3-fade-up { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
  @keyframes v3-word-up { from { transform: translateY(108%); } to { transform: none; } }
  @keyframes v3-slat { to { transform: scaleY(0); } }
  @keyframes v3-settle { from { transform: scale(1.14); } to { transform: none; } }
  @keyframes v3-fade { from { opacity: 0; } to { opacity: 1; } }
  .hero__eyebrow { animation: v3-fade-up 0.9s var(--ease-out) 0.2s both; }
  .hero__display .w > span { animation: v3-word-up 1s var(--ease-out) both; }
  .hero__display .d1 > span { animation-delay: 0.30s; }
  .hero__display .d2 > span { animation-delay: 0.37s; }
  .hero__display .d3 > span { animation-delay: 0.44s; }
  .hero__display .d4 > span { animation-delay: 0.51s; }
  .hero__display .d5 > span { animation-delay: 0.58s; }
  .hero__display .d6 > span { animation-delay: 0.70s; }
  .hero__display .d7 > span { animation-delay: 0.77s; }
  .hero__lede { animation: v3-fade-up 1s var(--ease-out) 0.85s both; }
  .hero__sub { animation: v3-fade-up 1s var(--ease-out) 0.95s both; }
  .hero__actions { animation: v3-fade-up 1s var(--ease-out) 1.05s both; }
  .hero__meta { animation: v3-fade-up 1s var(--ease-out) 1.15s both; }
  .hero__bg { animation: v3-fade 1.6s ease both; }
  .portrait::before { animation: v3-fade 1.2s ease 1.1s both; }
  .portrait__frame picture { animation: v3-settle 1.8s var(--ease-out) 0.2s both; }
  .portrait__slats { display: flex; position: absolute; inset: 0; pointer-events: none; }
  .portrait__slats i { flex: 1 1 0; margin-right: -1px; background: var(--hero); transform-origin: top center; animation: v3-slat 1.1s var(--ease-inout) both; }
  .portrait__slats i:nth-child(1) { animation-delay: 0.30s; }
  .portrait__slats i:nth-child(2) { animation-delay: 0.38s; }
  .portrait__slats i:nth-child(3) { animation-delay: 0.46s; }
  .portrait__slats i:nth-child(4) { animation-delay: 0.54s; }
  .portrait__slats i:nth-child(5) { animation-delay: 0.62s; }
  .portrait__card { animation: v3-fade-up 1s var(--ease-out) 1.25s both; }
  .hero__status { animation: v3-fade-up 0.9s var(--ease-out) 1.4s both; }
  .marquee { animation: v3-fade 1.2s ease 1.3s both; }

  /* --- Ambient: slow gradient-mesh drift + status pulse (paused by the toggle) --- */
  @keyframes v3-drift-a { to { transform: translate3d(-7rem, 5rem, 0) scale(1.1); } }
  @keyframes v3-drift-b { to { transform: translate3d(8rem, -4rem, 0) scale(1.14); } }
  @keyframes v3-drift-c { to { transform: translate3d(-5rem, -6rem, 0) scale(0.88); } }
  @keyframes v3-pulse { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
  .hero__glow--a { animation: v3-drift-a 22s ease-in-out infinite alternate; }
  .hero__glow--b { animation: v3-drift-b 27s ease-in-out infinite alternate; }
  .hero__glow--c { animation: v3-drift-c 19s ease-in-out infinite alternate; }
  .band-bg__glow { animation: v3-drift-b 30s ease-in-out infinite alternate; }
  .hero__status-dot::after { animation: v3-pulse 2.6s ease-out 1.2s 5; }
  .is-motion-paused .hero__glow, .is-motion-paused .band-bg__glow, .is-motion-paused .hero__status-dot::after,
  .is-motion-paused .marquee__track { animation-play-state: paused; }

  /* --- Marquee: only with JS, which provides the Pause control --- */
  @keyframes v3-marquee { to { transform: translateX(-100%); } }
  .js .marquee__viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }
  .js .marquee__track { flex: none; flex-wrap: nowrap; justify-content: flex-start; margin: 0; animation: v3-marquee 55s linear infinite; }
  .js .marquee__track li { padding-inline: 0.75rem 0.75rem; }
  .js .marquee__track--dup { display: flex; }
  .js .marquee:hover .marquee__track { animation-play-state: paused; }

  /* --- Scroll-driven (Chrome/Edge 115+, Safari 26+). Other browsers: JS IntersectionObserver fallback below. --- */
  @supports (animation-timeline: view()) {
    @keyframes v3-rise { from { opacity: 0; transform: translateY(2rem); } to { opacity: 1; transform: none; } }
    @keyframes v3-line-up { from { transform: translateY(105%); } to { transform: none; } }
    @keyframes v3-grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    @keyframes v3-grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
    @keyframes v3-dot { from { transform: scale(0); } to { transform: scale(0.45); } }
    @keyframes v3-drift-in { from { opacity: 0; transform: translateX(6%); } to { opacity: 1; transform: none; } }
    @keyframes v3-parallax { from { transform: translateY(0) scale(1.08); } to { transform: translateY(7%) scale(1.08); } }

    .reveal, .focus__item, .timeline__item, .aside-card, .scope li, .contact__panel {
      animation: v3-rise linear both; animation-timeline: view(); animation-range: entry 5% cover 30%;
    }
    .cards > :nth-child(3n+2), .scope li:nth-child(2), .paths > :nth-child(2) { animation-range: entry 12% cover 36%; }
    .cards > :nth-child(3n), .scope li:nth-child(3) { animation-range: entry 19% cover 42%; }
    .scope li:nth-child(4) { animation-range: entry 26% cover 48%; }
    .scope__num::after, .card::before { animation: v3-grow-x linear both; animation-timeline: view(); animation-range: entry 40% cover 45%; }

    .reveal-title { view-timeline: --title block; }
    .reveal-title > span { animation: v3-line-up linear both; animation-timeline: --title; animation-range: entry 20% cover 32%; }

    .timeline { view-timeline: --tl block; }
    .timeline::after { animation: v3-grow-y linear both; animation-timeline: --tl; animation-range: cover 45vh cover calc(100% - 45vh); }
    .timeline__item::after { animation: v3-dot linear both; animation-timeline: view(); animation-range: cover calc(55vh - 3rem) cover 55vh; }

    .portrait img { animation: v3-parallax linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }

    .site-footer__mark span { animation: v3-drift-in linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  }
  @supports (animation-timeline: scroll()) {
    .scroll-progress {
      display: block; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
      background: linear-gradient(90deg, var(--band-accent), #F0C3A2); transform-origin: left center;
      animation: v3-grow-x linear both; animation-timeline: scroll(root);
    }
  }
  /* Fallback for browsers without scroll-driven animations: JS adds .io-reveal and toggles .is-in */
  .io-reveal .reveal, .io-reveal .focus__item, .io-reveal .timeline__item, .io-reveal .aside-card, .io-reveal .scope li, .io-reveal .contact__panel {
    opacity: 0; transform: translateY(2rem); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), translate 0.5s var(--ease-out), border-color 0.3s ease;
  }
  .io-reveal .is-in { opacity: 1 !important; transform: none !important; }

  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    .card__how::details-content, .timeline__more::details-content {
      height: 0; overflow: clip;
      transition: height 0.35s var(--ease-out), content-visibility 0.35s allow-discrete;
    }
    .card__how[open]::details-content, .timeline__more[open]::details-content { height: auto; }
  }
}

/* ---------- Print ---------- */
@media print {
  :root { --paper: #fff; --tint: #fff; --surface: #fff; --ink: #000; --muted: #333; --band: #fff; --band-surface: #fff; --band-text: #000; --band-muted: #333; --band-accent: #000; --footer: #fff; }
  .site-header, .draft-banner, .hero__actions, .contact__panel, .skip-link, .portrait::before, .portrait::after, .placeholder-button, .button { display: none !important; }
  .hero { background: none !important; }
  .section { padding-block: 1.25rem; }
  .card { box-shadow: none; break-inside: avoid; }
  details > *:not(summary) { display: block; }
  .reveal, .reveal-title > span, .focus__item, .timeline__item, .aside-card, .scope li { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero__bg, .band-bg, .marquee, .scroll-progress, .site-footer__mark, .portrait__slats { display: none !important; }
  .hero, .hero * { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; font-weight: 400; }
}

/* ---------- thanks.html (no-JS form fallback) ---------- */
.thanks { min-height: 100vh; display: grid; align-items: center; }
.thanks .section-title { margin-bottom: var(--sp-3); }
.thanks .lead { margin-bottom: var(--sp-4); }

/* Canvas card figures (course sites migrated + archive), added 2026-09-29 */
.card__figures { list-style: none; margin: 0 0 var(--sp-3); padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: var(--sp-3); }
.card__figures li { display: flex; flex-direction: column; gap: 0.35rem; padding-left: 0.875rem; border-left: 2px solid var(--copper); }
.card__fig-num { font: 500 clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem)/1 var(--font-display); color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.card__fig-label { font-size: var(--step--1); line-height: 1.4; color: var(--muted); max-width: 30ch; }

/* ==========================================================================
   AI advisory page (ai-advisory.html) + homepage teaser, added 2026-09-29.
   Reuses the v3 tokens and components (hero, band, cards, reveal, spotlight).
   Static layout first; motion lives in the reduced-motion guard at the end.
   ========================================================================== */

/* Header nav: six items need a little less gap between 56em and 75em */
@media (min-width: 56em) and (max-width: 74.99em) {
  .site-nav__list { gap: 0.25rem 1.125rem; }
}

/* ---------- Hero ---------- */
.adv-hero__display { max-width: 18ch; }
.adv-hero__tagline {
  display: flex; flex-wrap: wrap; gap: 0.25rem 0.625rem; margin: 0 0 var(--sp-3);
  font: 600 0.8125rem/1.5 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--band-muted);
}
.adv-hero__tagline span[aria-hidden] { color: var(--band-accent); }
.hero__lede.adv-hero__lede {
  font: 400 clamp(1.3125rem, 1.1rem + 0.8vw, 1.75rem)/1.3 var(--font-display); letter-spacing: -0.01em;
  max-width: 26em; margin-bottom: var(--sp-2);
}
.hero__sub.adv-hero__intro { font-size: var(--step--1); line-height: 1.65; max-width: 40em; margin-bottom: var(--sp-4); }

.adv-start {
  position: relative; align-self: center; justify-self: stretch; max-width: 30rem;
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
  background: var(--band-surface); color: var(--band-text);
  border: 1px solid var(--band-line); border-top: 3px solid var(--band-accent); border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.75);
}
.adv-start__label { margin: 0 0 var(--sp-1); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--band-accent); }
.adv-start__title { font-size: var(--step-2); line-height: 1.2; color: var(--band-text); margin-bottom: var(--sp-3); }
.adv-start__list { display: grid; margin-bottom: var(--sp-3); }
.adv-start__list li {
  display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.5rem; align-items: baseline;
  padding: 0.75rem 0; border-top: 1px solid var(--band-line); font-size: var(--step--1); line-height: 1.45; color: var(--band-text);
}
.adv-start__list li span { font: 500 1rem/1 var(--font-display); color: var(--band-accent); font-variant-numeric: lining-nums tabular-nums; }
.adv-start__link { color: var(--band-accent); font-size: var(--step--1); }
.adv-start :focus-visible { outline-color: var(--band-accent); }
@media (min-width: 56em) { .adv-start { justify-self: end; } }

.adv-strip {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  margin-top: clamp(2.5rem, 1.5rem + 2.5vw, 3.5rem); padding: 1rem var(--gutter);
  border-top: 1px solid var(--band-line);
}
.adv-strip__text { margin: 0; font: 400 clamp(1.0625rem, 0.9rem + 0.7vw, 1.5rem)/1.3 var(--font-display); color: var(--band-text); display: inline-flex; align-items: center; gap: 1rem; }
.adv-strip__text::before { content: ""; flex: none; width: 0.4375rem; height: 0.4375rem; background: var(--band-accent); transform: rotate(45deg); }

/* ---------- Problem framing + questions ---------- */
.adv-challenge { display: grid; gap: var(--sp-5); }
.adv-challenge .section-title { margin-bottom: var(--sp-4); max-width: 17ch; }
.adv-challenge .lead { margin-bottom: var(--sp-3); max-width: 30em; }
.adv-questions { padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.5rem); background: var(--tint); border-radius: var(--radius-lg); }
.adv-questions__title {
  font: 700 0.75rem/1.3 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  padding-bottom: var(--sp-2); margin-bottom: 0.25rem; border-bottom: 1px solid var(--ink);
}
.adv-questions__list { display: grid; column-gap: var(--sp-4); }
.adv-questions__list li {
  display: flex; gap: 0.75rem; align-items: baseline; padding: 0.625rem 0; border-bottom: 1px solid var(--line-strong);
  font: 400 var(--step--1)/1.45 var(--font-display); color: var(--ink);
}
.adv-questions__list li::before { content: ""; flex: none; width: 0.375rem; height: 0.375rem; background: var(--copper); transform: rotate(45deg) translateY(-0.1em); }
@media (min-width: 40em) { .adv-questions__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) {
  .adv-challenge { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
}

/* ---------- Philosophy (band) ---------- */
.adv-philosophy__grid { display: grid; gap: var(--sp-5); }
.adv-philosophy__title { max-width: 20ch; margin-bottom: var(--sp-4); }
.adv-philosophy__lead { font: 400 var(--step-2)/1.3 var(--font-display); color: var(--band-accent); max-width: 22em; margin: 0; }
.adv-steps { display: grid; }
.adv-steps__item { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: var(--sp-2); padding: var(--sp-3) 0; border-top: 1px solid var(--band-line); }
.adv-steps__item:last-child { border-bottom: 1px solid var(--band-line); }
.adv-steps__num { font: 400 1.75rem/1 var(--font-display); color: var(--band-accent); letter-spacing: -0.03em; font-variant-numeric: lining-nums; }
.adv-steps__item h3 { font-size: var(--step-1); color: var(--band-text); margin-bottom: 0.25rem; }
.adv-steps__item p { margin: 0; font-size: var(--step--1); color: var(--band-muted); max-width: 44ch; }
@media (min-width: 60em) {
  .adv-philosophy__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
}

/* ---------- Featured engagement ---------- */
.adv-offer { display: grid; gap: var(--sp-5); padding: clamp(1.75rem, 1.2rem + 2vw, 3.5rem); }
.adv-offer__col { display: flex; flex-direction: column; }
.adv-offer__label { font: 700 0.75rem/1.3 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--sp-2); }
.adv-offer__steps { display: grid; }
.adv-offer__steps li {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline;
  padding: 0.875rem 0; border-top: 1px solid var(--line); font: 400 var(--step-1)/1.35 var(--font-display); color: var(--ink);
}
.adv-offer__steps li:last-child { border-bottom: 1px solid var(--line); }
.adv-offer__steps li span { font: 400 1.125rem/1 var(--font-display); color: var(--accent); font-variant-numeric: lining-nums tabular-nums; }
.adv-offer__gets { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.adv-offer__gets li { display: grid; gap: 0.375rem; padding-left: 1rem; border-left: 2px solid var(--copper); font-size: var(--step--1); line-height: 1.5; color: var(--muted); }
.adv-offer__big { font: 400 clamp(2.25rem, 1.6rem + 2vw, 3.25rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: lining-nums; }
.adv-offer__big--word { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.adv-offer__next { font-size: var(--step--1); line-height: 1.7; color: var(--ink); margin-bottom: var(--sp-4); max-width: 44ch; }
.adv-offer__next span { color: var(--accent); padding-inline: 0.125rem; }
.adv-offer .button { align-self: flex-start; margin-top: auto; }
@media (min-width: 60em) { .adv-offer { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); } }

/* ---------- Five practices ---------- */
.adv-card__text { font-size: var(--step--1); line-height: 1.6; color: var(--ink); max-width: 62ch; }
.adv-card__emph {
  margin: 0 0 1em; padding-left: 1rem; border-left: 2px solid var(--copper);
  font: 500 var(--step-0)/1.45 var(--font-display); color: var(--ink); max-width: 46ch;
}
.adv-card__label { font: 700 0.75rem/1.3 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: var(--sp-2) 0 0.625rem; }
.adv-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.adv-chips li {
  padding: 0.25rem 0.75rem; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.875rem; line-height: 1.45; color: var(--ink);
}
.adv-sessions { display: grid; gap: 0.375rem; padding-left: 1rem; border-left: 2px solid var(--copper); }
.adv-sessions li { font: 400 var(--step--1)/1.4 var(--font-display); color: var(--ink); }
.adv-practices .card__how { margin-top: var(--sp-3); }

/* Procurement: full-width navy feature with pull quote */
.adv-procure { grid-column: 1 / -1; display: grid; gap: var(--sp-4); padding: clamp(1.75rem, 1.2rem + 2vw, 3.5rem); }
.card--feature .card__title.adv-procure__title { font-size: var(--step-2); max-width: 22ch; margin-bottom: var(--sp-4); }
.adv-quote { margin: 0; }
.adv-quote blockquote { margin: 0; }
.adv-quote blockquote::before { content: "\201C"; display: block; height: 2.5rem; font: 500 5rem/1 var(--font-display); color: var(--copper); }
.adv-quote p {
  font: 400 clamp(1.75rem, 1.2rem + 2vw, 3rem)/1.12 var(--font-display); letter-spacing: -0.025em; color: var(--ink);
  max-width: 18ch; text-wrap: balance;
}
.adv-proof { display: grid; gap: 0.625rem; }
.adv-proof li { position: relative; padding-left: 1.5rem; font-size: var(--step--1); line-height: 1.55; color: var(--ink); }
.adv-proof li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.75rem; height: 1.5px; background: var(--copper); }
@media (min-width: 60em) {
  .adv-procure { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
}

/* Fractional CIO: visually secondary (outlined, no shadow, muted top rule) */
.adv-fractional {
  grid-column: 1 / -1; display: grid; gap: var(--sp-2);
  background: transparent; box-shadow: none; border-color: var(--line-strong);
}
.adv-fractional::before { background: var(--line-strong); }
.adv-fractional .card__num { font-size: clamp(2rem, 1.7rem + 1vw, 2.5rem); color: var(--muted); }
.adv-fractional .card__title { font-size: var(--step-1); margin-bottom: 0; max-width: 20ch; }
.adv-fractional .adv-card__text { color: var(--muted); }
@media (min-width: 60em) {
  .adv-fractional { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
}
@media (min-width: 44em) and (max-width: 71.99em) {
  .adv-practices > .card:nth-child(3) { grid-column: 1 / -1; }
}

/* ---------- Who I work with ---------- */
.adv-sectors { display: grid; gap: var(--sp-3); }
@media (min-width: 44em) { .adv-sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72em) { .adv-sectors { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.adv-sector {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: clamp(1.5rem, 1.1rem + 1vw, 2rem);
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--copper);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.adv-sector__num { font: 400 clamp(2rem, 1.6rem + 1.2vw, 2.75rem)/1 var(--font-display); color: var(--copper); letter-spacing: -0.04em; margin-bottom: var(--sp-2); }
.adv-sector h3 { font-size: var(--step-1); line-height: 1.25; }
.adv-sector p { margin: 0; font-size: var(--step--1); line-height: 1.55; color: var(--muted); }

/* ---------- Experience beyond AI (band) + closing statement ---------- */
.adv-exp { display: grid; gap: var(--sp-3); }
@media (min-width: 56em) { .adv-exp { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); } }
.adv-exp__col { padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.5rem); background: var(--band-surface); border-radius: var(--radius-lg); border-top: 3px solid var(--band-accent); }
.adv-exp__label { font: 700 0.75rem/1.3 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--band-accent); margin-bottom: var(--sp-3); }
.adv-statement {
  margin: clamp(3.5rem, 2rem + 5vw, 6rem) 0 0; padding-top: var(--sp-5); border-top: 1px solid var(--band-line);
  font: 400 clamp(2rem, 1.1rem + 3.4vw, 4.25rem)/1.06 var(--font-display); letter-spacing: -0.03em; color: var(--band-text);
  font-variation-settings: "opsz" 60;
}
.adv-statement .reveal-title { display: block; }
.adv-statement__last { color: var(--band-accent); }

/* ---------- Closing CTA ---------- */
.adv-cta__inner { display: grid; gap: var(--sp-3); }
.adv-cta .eyebrow { margin-bottom: 0; }
.adv-cta .section-title { max-width: 18ch; }
.adv-cta .section-intro { max-width: 46ch; }
.adv-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-4); }
@media (min-width: 56em) {
  .adv-cta__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 6rem); align-items: end; }
  .adv-cta__inner > .eyebrow, .adv-cta__inner > .section-title { grid-column: 1; }
  .adv-cta__inner > .section-intro { grid-column: 2; grid-row: 2; align-self: start; }
  .adv-cta__inner > .adv-cta__actions { grid-column: 2; grid-row: 3; }
  .adv-cta__inner > .section-title { grid-row: 2 / span 2; align-self: start; }
}

/* ---------- Homepage teaser (replaces the former placeholder advisory path) ---------- */
.path--advisory { border: 1px solid color-mix(in srgb, var(--band-text) 26%, transparent); background: rgba(247, 244, 238, 0.025); }
.path--advisory .path__title { margin-bottom: var(--sp-2); }
.path__lede { font: 400 var(--step-1)/1.4 var(--font-display); color: var(--band-text); max-width: 30em; margin-bottom: var(--sp-3); }
.path__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); margin-top: auto; }
.path__actions .button { margin-top: 0; }
.services__flag { display: inline-block; margin-left: 0.5rem; vertical-align: 0.12em; font: 700 0.6875rem/1.5 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--band-accent); }

/* ---------- Motion for the advisory page (reduced motion gets the static layout) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .adv-hero__tagline { animation: v3-fade-up 1s var(--ease-out) 0.8s both; }
  .adv-start { animation: v3-fade-up 1.1s var(--ease-out) 1.15s both; }
  .adv-strip { animation: v3-fade 1.2s ease 1.3s both; }
  .adv-sector, .adv-exp__col { transition: translate 0.5s var(--ease-out), border-color 0.3s ease; }
  .adv-sector:hover { translate: 0 -6px; }
  @supports (animation-timeline: view()) {
    .adv-steps > :nth-child(2), .adv-sectors > :nth-child(2), .adv-exp > :nth-child(2) { animation-range: entry 12% cover 36%; }
    .adv-steps > :nth-child(3), .adv-sectors > :nth-child(3) { animation-range: entry 19% cover 42%; }
    .adv-steps > :nth-child(4), .adv-sectors > :nth-child(4) { animation-range: entry 26% cover 48%; }
  }
}
@media print {
  .adv-strip, .adv-start__link { display: none !important; }
  .adv-statement .reveal-title > span { animation: none !important; transform: none !important; }
}
