/* ==========================================================================
   Clinical Foresight — design system
   Layout concept: white editorial pages punctuated by deep-navy "instrument"
   bands; one teal accent reserved for the finding that matters.
   ========================================================================== */

:root {
  /* Color */
  --ink:        #0B1B33;   /* deep navy — headings, primary buttons, bands */
  --ink-deep:   #06111F;   /* darkest navy — band gradients */
  --ink-soft:   #1A2E4F;   /* raised surfaces inside navy bands */
  --slate:      #4B5A70;   /* body text */
  --mute:       #7C8A9F;   /* captions, metadata */
  --line:       #DCE3EC;   /* hairlines on white */
  --line-dark:  rgba(255,255,255,0.12);
  --mist:       #F3F6FA;   /* hue-biased neutral surface */
  --paper:      #FFFFFF;
  --teal:       #0F9D93;   /* the single accent */
  --teal-ink:   #0B7A72;   /* accent on white when it must pass AA as text */
  --teal-light: #5ED1C5;   /* accent on navy */
  --amber:      #C98A06;   /* semantic: review */
  --rose:       #D14B4B;   /* semantic: critical */

  /* Type */
  --font-display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-body:    "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  /* Scale */
  --step--1: clamp(0.84rem, 0.80rem + 0.2vw, 0.94rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.20rem, 1.10rem + 0.5vw, 1.40rem);
  --step-2:  clamp(1.50rem, 1.30rem + 1vw, 1.95rem);
  --step-3:  clamp(1.95rem, 1.60rem + 1.8vw, 2.75rem);
  --step-4:  clamp(2.40rem, 1.80rem + 3vw, 3.75rem);
  --step-5:  clamp(2.80rem, 2.00rem + 4.2vw, 4.75rem);

  --container: 1180px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11,27,51,0.06), 0 12px 32px -12px rgba(11,27,51,0.18);
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; text-wrap: balance; line-height: 1.1; }
h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--step-5); letter-spacing: -0.015em; }
h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--step-4); letter-spacing: -0.012em; }
h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--step-2); letter-spacing: -0.01em; line-height: 1.2; }
h4 { font-family: var(--font-body); font-weight: 600; font-size: var(--step-1); line-height: 1.3; }
p { margin: 0; }
a { color: var(--teal-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--gutter-l); top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--mist { background: var(--mist); }
.band { background: linear-gradient(160deg, var(--ink) 0%, var(--ink-deep) 100%); color: rgba(255,255,255,0.78); }
.band h1, .band h2, .band h3, .band h4, .band strong { color: #fff; }
.band a { color: var(--teal-light); }
.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.grid > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.split > * { min-width: 0; }
.measure { max-width: 62ch; }
.center { text-align: center; margin-inline: auto; }
.stack { display: grid; gap: 16px; }
.stack--lg { gap: 28px; }

/* ---------- Type helpers ---------- */
.eyebrow { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-ink); }
.band .eyebrow { color: var(--teal-light); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--slate); max-width: 58ch; }
.band .lede { color: rgba(255,255,255,0.78); }
.small { font-size: var(--step--1); color: var(--mute); }
.mono { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.01em; }
.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head--center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-deep); box-shadow: 0 10px 24px -10px rgba(11,27,51,0.5); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.band .btn--primary { background: #fff; color: var(--ink); }
.band .btn--primary:hover { background: #F3F6FA; }
.band .btn--ghost { color: #fff; border-color: var(--line-dark); }
.band .btn--ghost:hover { border-color: #fff; }
.btn--accent { background: var(--teal); color: #06111F; }
.btn--accent:hover { background: var(--teal-light); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header / nav ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.header.is-scrolled { border-bottom-color: var(--line); }
.header--dark { background: rgba(6,17,31,0.72); }
.header--dark.is-scrolled { border-bottom-color: var(--line-dark); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: 0.06em; font-size: 0.88rem; text-transform: uppercase; }
.header--dark .brand { color: #fff; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.nav__links { display: none; align-items: center; gap: 4px; }
.nav__links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.92rem; padding: 8px 12px; border-radius: 8px; transition: background .2s; }
.nav__links a:hover { background: var(--mist); }
.nav__links a[aria-current="page"] { color: var(--teal-ink); }
.header--dark .nav__links a { color: rgba(255,255,255,0.85); }
.header--dark .nav__links a:hover { background: rgba(255,255,255,0.08); }
.header--dark .nav__links a[aria-current="page"] { color: var(--teal-light); }
.nav__cta { display: none; }
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: 10px; cursor: pointer; color: var(--ink); }
.header--dark .nav__toggle { color: #fff; border-color: var(--line-dark); }
.nav__toggle span { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), opacity .3s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.nav__mobile { display: none; border-top: 1px solid var(--line); background: #fff; }
.header--dark .nav__mobile { background: var(--ink-deep); border-color: var(--line-dark); }
.nav__mobile.is-open { display: block; }
.nav__mobile ul { display: grid; gap: 4px; padding-block: 12px; }
.nav__mobile a { display: block; padding: 12px 14px; border-radius: 10px; font-weight: 500; color: var(--ink); text-decoration: none; }
.header--dark .nav__mobile a { color: #fff; }
.nav__mobile .btn { margin: 8px 14px 4px; width: calc(100% - 28px); }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle, .nav__mobile { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__inner { position: relative; padding-block: clamp(72px, 10vw, 140px) clamp(64px, 8vw, 110px); display: grid; gap: 28px; max-width: 820px; }
.hero__canvas { position: absolute; inset: 0; z-index: -1; opacity: 0.9; }
.hero__canvas canvas { width: 100%; height: 100%; display: block; }
.hero__fade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 20% 30%, rgba(6,17,31,0.0) 0%, rgba(6,17,31,0.55) 60%, rgba(6,17,31,0.92) 100%); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--teal-light); }
.hero .lede { color: rgba(255,255,255,0.82); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255,255,255,0.6); font-size: 0.85rem; padding-top: 8px; }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-light); }

/* Product-page hero (compact) */
.page-hero { position: relative; overflow: hidden; }
.page-hero__inner { padding-block: clamp(64px, 8vw, 110px) clamp(48px, 6vw, 80px); display: grid; gap: 22px; max-width: 820px; }
.page-hero h1 { color: #fff; font-size: var(--step-4); }
.page-hero .lede { color: rgba(255,255,255,0.8); }

/* ---------- Tag line strip ---------- */
.strip { border-block: 1px solid var(--line); }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; padding-block: 18px; font-family: var(--font-display); font-size: var(--step-1); color: var(--ink); text-align: center; }
.strip__inner span { display: inline-flex; align-items: center; gap: 14px; }
.strip__inner span + span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
@media (max-width: 640px) { .strip__inner { flex-direction: column; gap: 4px; } .strip__inner span + span::before { display: none; } }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #C9D3E0; }
.card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--teal-ink); }
.card__icon svg { width: 22px; height: 22px; }
.card--link { text-decoration: none; color: inherit; }
.card--link .card__more { color: var(--teal-ink); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; margin-top: 6px; }
.card--link:hover .card__more .arrow { transform: translateX(3px); }
.card--link .arrow { transition: transform .25s var(--ease); }
.band .card { background: rgba(255,255,255,0.04); border-color: var(--line-dark); color: rgba(255,255,255,0.78); }
.band .card:hover { border-color: rgba(255,255,255,0.3); box-shadow: none; }
.band .card__icon { background: rgba(255,255,255,0.08); color: var(--teal-light); }

/* Product pathway cards */
.pathway { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.pathway > * { min-width: 0; }
.pathway__card { position: relative; display: grid; gap: 18px; padding: clamp(28px, 4vw, 44px); border-radius: 20px; text-decoration: none; color: inherit; border: 1px solid var(--line); background: var(--paper); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pathway__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pathway__card--ink { background: linear-gradient(160deg, var(--ink) 0%, var(--ink-deep) 100%); color: rgba(255,255,255,0.78); border-color: transparent; }
.pathway__card--ink h3, .pathway__card--ink strong { color: #fff; }
.pathway__card--ink .eyebrow { color: var(--teal-light); }
.pathway__card h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--step-3); line-height: 1.08; }
.pathway__card ul { display: grid; gap: 8px; }
.pathway__card li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.pathway__card li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--teal); }
.pathway__card--ink li::before { background: var(--teal-light); }
.pathway__card .card__more { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--ink); margin-top: 6px; }
.pathway__card--ink .card__more { color: #fff; }
.pathway__card .arrow { transition: transform .25s var(--ease); }
.pathway__card:hover .arrow { transform: translateX(4px); }
.pathway__card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(15,157,147,0.12), transparent 70%); pointer-events: none; }

/* ---------- Workflow steps (a true sequence) ---------- */
.steps { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.steps > * { min-width: 0; }
.step { position: relative; padding: 28px 28px 32px 0; display: grid; gap: 12px; align-content: start; border-top: 1px solid var(--line); }
.band .step { border-top-color: var(--line-dark); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 2px; background: var(--teal); }
.step__n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--teal-ink); letter-spacing: 0.08em; }
.band .step__n { color: var(--teal-light); }
.step h3 { font-size: var(--step-1); }
.step p { font-size: 0.97rem; }
@media (min-width: 900px) { .step { padding-right: 40px; } }

/* ---------- Interface mockup (synthetic data) ---------- */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; color: var(--ink); font-size: 0.86rem; }
.band .mock { border-color: rgba(255,255,255,0.1); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.mock__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--mist); }
.mock__bar .mono { color: var(--mute); }
.mock__title { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.mock__title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(15,157,147,0.18); }
.mock__body { display: grid; gap: 0; grid-template-columns: 1fr; }
.mock__aside { padding: 16px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; background: #fff; }
.mock__aside dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; align-content: start; }
.mock__aside dt { color: var(--mute); } .mock__aside dd { margin: 0; font-weight: 500; }
.mock__main { padding: 16px; display: grid; gap: 10px; }
.finding { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.finding__sev { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; }
.finding__sev--critical { background: var(--rose); }
.finding__sev--review { background: var(--amber); }
.finding__sev--cdi { background: var(--teal); }
.finding__head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; justify-content: space-between; }
.finding__head strong { font-size: 0.9rem; }
.chip { display: inline-block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--mist); color: var(--slate); }
.finding p { color: var(--slate); font-size: 0.84rem; line-height: 1.5; margin-top: 4px; }
.finding__q { margin-top: 6px; padding: 8px 10px; border-left: 2px solid var(--teal); background: var(--mist); border-radius: 0 8px 8px 0; font-style: italic; color: var(--ink); font-size: 0.84rem; }
.mock__foot { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; color: var(--mute); font-size: 0.78rem; }
.mock__foot .chip { background: rgba(15,157,147,0.12); color: var(--teal-ink); }
@media (min-width: 700px) {
  .mock__body { grid-template-columns: 220px 1fr; }
  .mock__aside { border-bottom: 0; border-right: 1px solid var(--line); }
}

/* ---------- Phases (autonomy roadmap) ---------- */
.phases { display: grid; gap: 18px; }
.phase { display: grid; gap: 14px; grid-template-columns: 1fr; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.band .phase { background: rgba(255,255,255,0.04); border-color: var(--line-dark); }
.phase__meta { display: grid; gap: 6px; align-content: start; }
.phase__meta .mono { color: var(--teal-ink); }
.band .phase__meta .mono { color: var(--teal-light); }
.phase__status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--slate); }
.band .phase__status { color: rgba(255,255,255,0.7); }
.phase__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.phase__status--planned::before { background: transparent; border: 2px solid var(--teal); }
.phase__status--future::before { background: transparent; border: 2px dashed var(--mute); }
.phase__body { display: grid; gap: 10px; }
.phase__body ul { display: grid; gap: 6px; }
.phase__body li { display: flex; gap: 10px; font-size: 0.95rem; }
.phase__body li::before { content: "–"; color: var(--teal-ink); }
.band .phase__body li::before { color: var(--teal-light); }
@media (min-width: 820px) { .phase { grid-template-columns: 240px 1fr; gap: 32px; } }

/* ---------- Comparison (then / now) ---------- */
.compare { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.compare > * { min-width: 0; }
.compare__col { padding: clamp(24px, 3vw, 36px); border-radius: 18px; display: grid; gap: 14px; align-content: start; border: 1px solid var(--line); }
.compare__col--now { background: var(--mist); }
.compare__col--next { background: linear-gradient(160deg, var(--ink) 0%, var(--ink-deep) 100%); color: rgba(255,255,255,0.8); border-color: transparent; }
.compare__col--next h3, .compare__col--next strong { color: #fff; }
.compare__col--next .eyebrow { color: var(--teal-light); }
.compare__col ul { display: grid; gap: 10px; }
.compare__col li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.97rem; }
.compare__col li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.compare__col--now li svg { color: var(--mute); }
.compare__col--next li svg { color: var(--teal-light); }

/* ---------- Feature list ---------- */
.features { display: grid; gap: 28px 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.features > * { min-width: 0; }
.feature { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.band .feature { border-top-color: var(--line-dark); }
.feature h4 { font-size: 1.05rem; }
.feature p { font-size: 0.95rem; }

/* ---------- Founder ---------- */
.founder { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); align-items: center; }
.founder > * { min-width: 0; }
.founder__quote { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; color: var(--ink); font-weight: 500; }
.band .founder__quote { color: #fff; }
.founder__quote::before { content: "“"; color: var(--teal); font-size: 1.4em; line-height: 0; vertical-align: -0.3em; margin-right: 2px; }
.founder__name { display: grid; gap: 2px; }
.founder__name strong { font-size: 1rem; }
.founder__portrait { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; border-radius: 20px; background: linear-gradient(160deg, var(--ink) 0%, var(--ink-deep) 100%); position: relative; overflow: hidden; display: grid; place-items: end start; padding: 24px; color: rgba(255,255,255,0.7); }
.founder__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder__portrait .mono { position: relative; }
.founder__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,17,31,0.75), transparent 55%); }
.founder__portrait .mono { z-index: 1; }
.founder__portrait::before { content: "DF"; position: absolute; right: -6%; top: -4%; font-family: var(--font-display); font-style: italic; font-size: clamp(160px, 40vw, 300px); line-height: 1; color: rgba(255,255,255,0.05); pointer-events: none; }

/* ---------- Status note ---------- */
.status { display: grid; gap: 10px; padding: 22px 26px; border-radius: 14px; border: 1px solid var(--line); background: var(--mist); font-size: 0.93rem; }
.status strong { display: inline-flex; align-items: center; gap: 8px; }
.status strong::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.band .status { background: rgba(255,255,255,0.05); border-color: var(--line-dark); color: rgba(255,255,255,0.75); }

/* ---------- CTA band ---------- */
.cta { text-align: center; display: grid; gap: 22px; justify-items: center; }
.cta h2 { max-width: 22ch; }
.cta .btn-row { justify-content: center; }
.cta__email { font-family: var(--font-mono); color: var(--teal-light); font-size: 0.95rem; }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,157,147,0.18); }
.field textarea { min-height: 140px; resize: vertical; }
.form__note { font-size: 0.85rem; color: var(--mute); }
.contact-aside { display: grid; gap: 22px; align-content: start; }
.contact-aside .email { font-family: var(--font-mono); font-size: 1rem; word-break: break-all; }
.contact-list { display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.contact-list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--teal); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-deep); color: rgba(255,255,255,0.65); padding-block: clamp(48px, 6vw, 72px) 32px; }
.footer__grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer__grid > * { min-width: 0; }
.footer__brand { grid-column: 1 / -1; display: grid; gap: 14px; }
.footer__brand .brand { color: #fff; }
.footer__tag { font-family: var(--font-display); font-size: var(--step-1); color: #fff; max-width: 32ch; }
.footer h4 { color: #fff; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.95rem; }
.footer a:hover { color: #fff; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 0.82rem; }
.footer__legal { max-width: 72ch; font-size: 0.8rem; line-height: 1.55; color: rgba(255,255,255,0.5); margin-top: 18px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer__brand { grid-column: auto; } }

/* ---------- Reveal motion ---------- */
/* Content is visible at rest; JS only hides elements that start below the fold, then reveals them on scroll. */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.reveal--pending { opacity: 0; transform: translateY(18px); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal[data-delay="1"] { transition-delay: .1s; }
  .js .reveal[data-delay="2"] { transition-delay: .2s; }
  .js .reveal[data-delay="3"] { transition-delay: .3s; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .card, .pathway__card { transition: none; } }
