/* Sunspi — ocean / sun theme. Static, no build step. */

:root {
  --abyss: #021120;
  --navy: #04192e;
  --deep: #072a48;
  --ocean: #0b4f7a;
  --ocean-2: #0e6aa0;
  --teal: #19c3b1;
  --teal-2: #4fe0cf;
  --sun: #ffc23d;
  --sun-2: #ffd773;
  --coral: #ff7a59;
  --white: #ffffff;
  --sand: #f6f3ec;
  --mist: #eef5f8;
  --ink: #0b1a29;
  --ink-2: #44566a;
  --line: rgba(11, 26, 41, .12);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;

  --nav-h: 56px;
  --radius: 28px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.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: 12px; top: -60px; z-index: 100;
  background: var(--sun); color: var(--navy); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 48px, 820px); }

/* ---------- Type ---------- */
.h-xxl, .h-xl, .h-md, .hero__title {
  font-family: var(--display);
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-weight: 800;
}
.h-xxl { font-size: clamp(2.5rem, 6.4vw, 5.5rem); }
.h-xl  { font-size: clamp(2.25rem, 5vw, 4rem); }
.h-md  { font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.1; letter-spacing: -0.025em; }
.lead  { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.4; font-weight: 500; max-width: 46ch; margin-top: 22px; }
.eyebrow {
  font-weight: 700; font-size: .95rem; letter-spacing: .02em; margin-bottom: 18px;
}
.eyebrow--pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--white);
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(255,194,61,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,194,61,0); } 100% { box-shadow: 0 0 0 0 rgba(255,194,61,0); } }

.text-sun { color: var(--sun); }
.text-teal { color: var(--teal); }
.section--light .text-teal { color: #0a8f82; }
.text-ocean { color: var(--ocean); }
.fine { font-size: .8rem; line-height: 1.45; opacity: .72; margin-top: 14px; }
.fine--center { text-align: center; }

sup { font-size: .5em; line-height: 0; vertical-align: super; margin-left: 1px; font-weight: 600; letter-spacing: 0; }
.fn { text-decoration: none; opacity: .75; padding: 0 1px; }
.fn:hover, .fn:focus-visible { opacity: 1; text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 0; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sun { background: var(--sun); color: var(--navy); box-shadow: 0 8px 24px -10px rgba(255,194,61,.8); }
.btn--sun:hover { background: var(--sun-2); }
.btn--ghost { color: var(--white); background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--sm { min-height: 34px; padding: 0 16px; font-size: .85rem; }

/* ---------- Local nav ---------- */
.localnav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(4, 25, 46, .72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--white);
}
.localnav__inner {
  height: 100%; display: flex; align-items: center; gap: 16px;
  width: min(100% - 40px, var(--container)); margin-inline: auto;
}
.wordmark {
  position: relative; font-family: var(--display); font-weight: 900; font-size: 1.45rem;
  letter-spacing: -0.04em; text-decoration: none; color: inherit; margin-right: auto; line-height: 1;
  padding-right: 10px;
}
.wordmark__sun {
  position: absolute; right: 0; top: -1px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 12px 2px rgba(255,194,61,.6);
}
.localnav__menu ul { display: flex; gap: 26px; list-style: none; }
.localnav__menu a {
  font-size: .82rem; font-weight: 500; text-decoration: none; opacity: .82;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: opacity .2s, border-color .2s;
}
.localnav__menu a:hover { opacity: 1; }
.localnav__menu a[aria-current="true"] { opacity: 1; border-color: var(--sun); }
.localnav__toggle {
  display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; border-radius: 8px;
}
.localnav__toggle svg { transition: transform .25s var(--ease); }
.localnav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

@media (max-width: 860px) {
  .localnav__toggle { display: inline-flex; order: 2; }
  .localnav__cta { order: 3; }
  .localnav__menu {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    background: rgba(4, 25, 46, .97); border-bottom: 1px solid rgba(255,255,255,.08);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .22s, transform .22s var(--ease), visibility 0s .22s;
  }
  .localnav__menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .22s, transform .22s var(--ease); }
  .localnav__menu ul { flex-direction: column; gap: 0; padding: 8px 24px 18px; }
  .localnav__menu a { display: block; font-size: 1.05rem; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .localnav__menu a[aria-current="true"] { color: var(--sun); border-color: rgba(255,255,255,.08); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: grid; place-items: end start;
  color: var(--white); overflow: hidden;
  margin-top: calc(var(--nav-h) * -1); padding-top: var(--nav-h);
  min-height: 100svh;
  background: var(--navy);
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; object-position: 50% 40%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
/* Video sits over the still fallback; if the media 404s the still shows through. */
.hero__video { object-fit: cover; object-position: 50% 50%; background: transparent; }
.hero--no-video .hero__video { display: none; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(4,25,46,.6) 0%, rgba(4,25,46,.08) 28%, rgba(7,42,72,.3) 55%, rgba(2,17,32,.94) 100%),
    linear-gradient(90deg, rgba(2,17,32,.55) 0%, rgba(2,17,32,0) 65%),
    radial-gradient(ellipse at 70% 20%, rgba(255,194,61,.14), transparent 55%);
}
.hero__content {
  width: min(100% - 48px, var(--container)); margin-inline: auto;
  padding-bottom: clamp(64px, 12vh, 140px);
}
.hero__title { font-size: clamp(3.4rem, 11vw, 9.5rem); letter-spacing: -0.05em; line-height: .92; margin-top: 8px; text-shadow: 0 2px 40px rgba(2,17,32,.35); }
.hero__sub { font-size: clamp(1.25rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.25; max-width: 30ch; margin-top: 26px; letter-spacing: -0.01em; }
.hero__meta { font-size: clamp(1rem, 1.3vw, 1.15rem); opacity: .86; margin-top: 14px; max-width: 52ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__content > * { animation: rise .9s var(--ease) both; }
.hero__content > *:nth-child(2) { animation-delay: .08s; }
.hero__content > *:nth-child(3) { animation-delay: .18s; }
.hero__content > *:nth-child(4) { animation-delay: .26s; }
.hero__content > *:nth-child(5) { animation-delay: .34s; }
.hero__content > *:nth-child(n+6) { animation-delay: .42s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__scroll {
  position: absolute; bottom: 22px; left: 50%; translate: -50% 0;
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255,255,255,.6);
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { position: relative; isolation: isolate; padding: clamp(88px, 13vw, 168px) 0; overflow: hidden; }
.section--light { background: var(--white); color: var(--ink); }
.section--light + .section--light { background: var(--mist); }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark .lead, .section--dark p { color: rgba(255,255,255,.9); }
.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.section__bg, .section__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.section__bg { z-index: -2; }
.section__bg img { object-fit: cover; }
.section--photo::before, .section--reef::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.section--photo::before { background: linear-gradient(180deg, rgba(4,25,46,.93) 0%, rgba(4,25,46,.78) 50%, rgba(2,17,32,.95) 100%); }
.section--reef::before { background: linear-gradient(180deg, rgba(2,17,32,.95) 0%, rgba(7,42,72,.82) 45%, rgba(4,40,60,.9) 100%); }

/* ---------- Highlights gallery ---------- */
.highlights { padding-bottom: clamp(56px, 8vw, 96px); }
.highlights .section-head { margin-bottom: 36px; }
.gallery { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline-offset: -3px; }
.gallery::-webkit-scrollbar { display: none; }
.gallery__track {
  list-style: none; display: flex; gap: 20px;
  padding-inline: max(24px, calc((100vw - var(--container)) / 2));
  padding-bottom: 8px;
}
.hl-card {
  position: relative; flex: 0 0 auto; scroll-snap-align: center;
  width: min(84vw, 380px); height: min(118vw, 620px);
  border-radius: var(--radius); overflow: hidden; isolation: isolate;
  color: var(--white); background: var(--navy);
  display: flex; align-items: flex-end;
  box-shadow: 0 20px 50px -30px rgba(4,25,46,.6);
}
.hl-card picture, .hl-card img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hl-card img { object-fit: cover; transition: transform 1.2s var(--ease); }
.hl-card:hover img { transform: scale(1.04); }
.hl-card--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,17,32,0) 35%, rgba(2,17,32,.88) 100%); }
.hl-card--sun { background: radial-gradient(circle at 70% 18%, #fff3c4 0, var(--sun) 28%, #f39a2b 72%, #e0662f 100%); color: var(--navy); }
.hl-card--teal { background: linear-gradient(160deg, #3be0cc 0%, var(--teal) 30%, #0b7f8f 100%); color: var(--navy); }
.hl-card--navy { background: radial-gradient(circle at 30% 10%, var(--ocean-2), var(--navy) 70%); }
.hl-card__body { padding: 32px; }
.hl-card__kicker, .tile__kicker { font-size: .85rem; font-weight: 700; letter-spacing: .02em; opacity: .85; margin-bottom: 10px; }
.hl-card h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1.02; letter-spacing: -0.035em; }
.hl-card__big { font-size: clamp(3rem, 6vw, 4.4rem) !important; }
.hl-card p:last-child { margin-top: 14px; font-size: 1rem; line-height: 1.4; opacity: .92; }
.gallery__controls { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.gallery__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--mist); color: var(--ink); display: grid; place-items: center;
  transition: background-color .2s, opacity .2s;
}
.gallery__btn:hover { background: #dde9ef; }
.gallery__btn:disabled { opacity: .35; cursor: default; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px); }
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.stats--4 { grid-template-columns: repeat(4, 1fr); }
.stat { border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; }
.stat--light { border-color: var(--line); }
.stat__num {
  font-family: var(--display); font-weight: 900; letter-spacing: -0.05em; line-height: .95;
  font-size: clamp(3.2rem, 7vw, 6rem);
  background: linear-gradient(180deg, #fff 30%, #ffe2a0 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section--light .stat__num { background: none; color: var(--ocean); }
.stat__num.text-teal { background: linear-gradient(180deg, var(--teal-2), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__num--sm { font-size: clamp(3rem, 6vw, 5rem); }
.stat__label { margin-top: 12px; font-size: 1.05rem; line-height: 1.4; font-weight: 500; max-width: 30ch; }

.problem { background: radial-gradient(ellipse at 85% 0%, rgba(14,106,160,.45), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(255,194,61,.12), transparent 50%), var(--navy); }
.split {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(64px, 9vw, 120px); padding: clamp(32px, 4vw, 56px);
  border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.split__col p:not(.stat__num):not(.fine) { margin-top: 16px; font-size: 1.1rem; }
.split .h-md { margin-bottom: 4px; }

/* ---------- Missed spots ---------- */
.missed { background: linear-gradient(180deg, var(--white) 0%, var(--sand) 100%) !important; }
.missed__grid { display: grid; grid-template-columns: minmax(280px, 0.9fr) 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.missed__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 36px; }
.missed__stats .stat__num { font-size: clamp(2.8rem, 5vw, 4.4rem); }
.bodymap {
  margin: 0; position: sticky; top: calc(var(--nav-h) + 24px);
  background: radial-gradient(circle at 50% 0%, #0e6aa0 0%, var(--deep) 55%, var(--navy) 100%);
  border-radius: var(--radius); padding: 24px 24px 22px; color: var(--white);
  box-shadow: 0 30px 60px -40px rgba(4,25,46,.8);
}
.bodymap__toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.1); margin-bottom: 8px; }
.bodymap__toggle button {
  border: 0; background: transparent; color: rgba(255,255,255,.8); font-weight: 700; font-size: .9rem;
  padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: background-color .25s, color .25s;
}
.bodymap__toggle button.is-active { background: var(--white); color: var(--navy); }
.bodymap__svg { display: block; width: 100%; max-height: 460px; margin: 6px auto 0; }
.bodymap__skin { fill: #e9c9a8; }
.bodymap__coat { opacity: .82; transition: opacity .6s var(--ease); }
.bodymap__misses ellipse { fill: var(--coral); opacity: .95; transition: opacity .6s var(--ease), transform .6s var(--ease); transform-box: fill-box; transform-origin: center; }
.bodymap__svg[data-mode="hand"] .bodymap__misses ellipse { animation: missBlink 2.4s ease-in-out infinite; }
.bodymap__svg[data-mode="sunspi"] .bodymap__misses ellipse { opacity: 0; transform: scale(.4); animation: none; }
.bodymap__svg[data-mode="sunspi"] .bodymap__coat { opacity: 1; }
@keyframes missBlink { 50% { opacity: .55; } }
.bodymap__cap { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: .85rem; margin-top: 12px; }
.bodymap__cap .fine { flex-basis: 100%; margin-top: 4px; }
.legend { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.legend::before { content: ""; width: 12px; height: 12px; border-radius: 50%; }
.legend--miss::before { background: var(--coral); }
.legend--coat::before { background: linear-gradient(180deg, var(--sun-2), var(--teal)); }

/* ---------- Habits ---------- */
.callout {
  margin-top: clamp(56px, 7vw, 88px); font-family: var(--display); font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.2; letter-spacing: -0.02em; max-width: 36ch;
}
.callout strong { color: var(--sun); }

/* ---------- How it works ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: clamp(56px, 8vw, 96px); counter-reset: none; }
.step { padding: 36px 32px 40px; border-radius: var(--radius); background: var(--mist); position: relative; }
.step__num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  font-family: var(--display); font-weight: 900; font-size: 1.6rem; color: var(--navy);
  background: linear-gradient(140deg, var(--sun-2), var(--sun)); margin-bottom: 28px;
  box-shadow: 0 10px 24px -12px rgba(243,154,43,.9);
}
.step:nth-child(2) .step__num { background: linear-gradient(140deg, var(--teal-2), var(--teal)); box-shadow: 0 10px 24px -12px rgba(25,195,177,.9); }
.step:nth-child(3) .step__num { background: linear-gradient(140deg, #6fb7e6, var(--ocean-2)); color: var(--white); box-shadow: 0 10px 24px -12px rgba(14,106,160,.9); }
.step h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.035em; line-height: 1; }
.step p { margin-top: 14px; color: var(--ink-2); font-size: 1.05rem; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius);
  padding: 36px; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); background: var(--navy);
}
.tile--wide { grid-column: span 2; }
.tile h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -0.035em; line-height: 1.04; }
.tile p:not(.tile__kicker) { margin-top: 12px; font-size: 1.02rem; opacity: .92; }
.tile__big { font-size: clamp(3rem, 5.5vw, 4.6rem) !important; }
.tile--img picture, .tile--img img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.tile--img img { object-fit: cover; transition: transform 1.2s var(--ease); }
.tile--img:hover img { transform: scale(1.03); }
.tile--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,17,32,0) 30%, rgba(2,17,32,.8) 100%); }
.tile--sun { background: radial-gradient(circle at 80% 10%, #fff3c4 0, var(--sun) 30%, #f39a2b 100%); color: var(--navy); }
.tile--teal { background: linear-gradient(160deg, #3be0cc, var(--teal) 40%, #0b7f8f); color: var(--navy); }
.tile--ocean { background: linear-gradient(160deg, var(--ocean-2), var(--deep)); }
.tile--navy { background: radial-gradient(circle at 20% 0%, #12406a, var(--navy) 70%); }

/* ---------- Reef ---------- */
.reef__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.reef__card {
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius);
  background: rgba(2,17,32,.55); border: 1px solid rgba(79,224,207,.22);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.reef__card > p { margin-top: 18px; font-size: 1.07rem; }
.reef__card > .fine { font-size: .8rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips li { padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; background: rgba(255,122,89,.16); border: 1px solid rgba(255,122,89,.45); color: #ffd2c4; }
.timeline { list-style: none; margin-top: 24px; display: grid; gap: 22px; }
.timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.timeline__year { font-family: var(--display); font-weight: 900; font-size: 1.6rem; letter-spacing: -0.03em; color: var(--teal-2) !important; line-height: 1.1; }
.reef__pledge {
  margin-top: clamp(64px, 9vw, 112px); text-align: center;
  font-family: var(--display); font-weight: 900; letter-spacing: -0.045em; line-height: 1;
  font-size: clamp(2.4rem, 6vw, 5rem); color: var(--white) !important;
}

/* ---------- One step ---------- */
.section--sun {
  color: var(--navy);
  background:
    radial-gradient(circle at 50% -10%, #fff7d6 0, rgba(255,247,214,0) 45%),
    linear-gradient(180deg, var(--sun-2) 0%, var(--sun) 45%, #f7a53a 100%);
}
.section--sun .h-xxl { font-size: clamp(3rem, 9vw, 8rem); }
.solves { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.solve { background: rgba(255,255,255,.55); border-radius: 22px; padding: 28px 24px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.solve__problem { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #8a4b05; }
.solve__answer { margin-top: 10px; font-family: var(--display); font-weight: 800; font-size: 1.45rem; line-height: 1.12; letter-spacing: -0.02em; }
.section--sun .fine { margin-top: 36px; opacity: .8; }

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.team-card { padding: clamp(32px, 4vw, 52px); border-radius: var(--radius); min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.team-card--eng { background: linear-gradient(160deg, var(--ocean-2), var(--navy)); color: var(--white); }
.team-card--med { background: linear-gradient(160deg, #d8f6f1, #a7ebe1); color: var(--navy); }
.team-card__icon { width: 52px; height: 52px; margin-bottom: auto; }
.team-card--eng .team-card__icon { color: var(--sun); }
.team-card--med .team-card__icon { color: #0a8f82; }
.team-card h3 { margin-top: 48px; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 2.8vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.05; }
.team-card p { margin-top: 14px; font-size: 1.07rem; opacity: .9; max-width: 40ch; }

/* ---------- Waitlist ---------- */
.waitlist__form { max-width: 560px; margin-inline: auto; }
.field {
  display: flex; gap: 8px; padding: 6px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.field:focus-within { border-color: var(--sun); }
.field input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--white);
  font: inherit; font-size: 1.05rem; padding: 0 18px; outline: none;
}
.field input::placeholder { color: rgba(255,255,255,.6); }
.field__error { margin-top: 12px; text-align: center; color: #ffb4a1 !important; font-weight: 600; }
.waitlist__thanks { text-align: center; padding: 32px; border-radius: var(--radius); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); max-width: 560px; margin-inline: auto; }
.waitlist__thanks p + p { margin-top: 10px; }
.waitlist__thanks:focus { outline: none; }

/* ---------- FAQ ---------- */
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.02em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -10px;
  border-right: 2.5px solid var(--ocean); border-bottom: 2.5px solid var(--ocean);
  transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s;
}
.faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq__list details p { padding: 0 48px 28px 0; color: var(--ink-2); font-size: 1.07rem; max-width: 65ch; }

/* ---------- Footer / sources ---------- */
.footer { background: var(--abyss); color: rgba(255,255,255,.7); padding: 72px 0 40px; font-size: .78rem; line-height: 1.55; }
.sources__title { font-size: .85rem; font-weight: 700; color: var(--white); margin-bottom: 18px; letter-spacing: .02em; }
.sources__list { padding-left: 22px; display: grid; gap: 8px; columns: 1; }
.sources__list li { padding-left: 4px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.sources__list li:target { color: var(--white); background: rgba(255,194,61,.12); border-radius: 6px; }
.sources__list a { color: var(--teal-2); text-underline-offset: 2px; }
.sources__note { margin-top: 20px; max-width: 90ch; }
.footer__bottom {
  margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px;
}
.wordmark--footer { color: var(--white); margin-right: 0; font-size: 1.3rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--white); text-decoration: underline; }
.footer__legal { flex-basis: 100%; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stats--4 { grid-template-columns: repeat(2, 1fr); }
  .solves { grid-template-columns: repeat(2, 1fr); }
  .missed__grid { grid-template-columns: 1fr; }
  .bodymap { position: relative; top: 0; max-width: 460px; margin-inline: auto; width: 100%; }
}
@media (max-width: 860px) {
  .stats--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile--wide { grid-column: span 2; }
  .reef__grid, .team__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container, .container--narrow { width: min(100% - 40px, var(--container)); }
  .localnav__cta { padding: 0 12px; font-size: .78rem; }
  .stats--3, .stats--4, .missed__stats { grid-template-columns: 1fr; gap: 36px; }
  .tiles { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .tile { min-height: 280px; padding: 28px; }
  .solves { grid-template-columns: 1fr; }
  .field { flex-direction: column; border-radius: 24px; padding: 8px; }
  .field input { min-height: 48px; text-align: center; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .gallery__controls { justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
  .sound-toggle .wave { animation: none !important; }
}
.tile--care { background: linear-gradient(160deg, #ffffff, #e3f4f8); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 560px) { .h-xxl br { display: none; } }

/* =====================================================================
   Pass 2: hero sound/video controls, faults, fixes, mission, learn more
   ===================================================================== */

/* ---------- Hero ambient controls ---------- */
.hero__ambient { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.sound-toggle, .video-toggle {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  min-height: 44px; border-radius: 999px; color: var(--white);
  background: rgba(2,17,32,.35); border: 1px solid rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .25s, border-color .25s, transform .2s var(--ease);
}
.sound-toggle { padding: 0 18px 0 14px; font-size: .92rem; font-weight: 600; letter-spacing: .005em; }
.video-toggle { width: 44px; justify-content: center; padding: 0; }
.sound-toggle:hover, .video-toggle:hover { background: rgba(2,17,32,.55); border-color: rgba(255,255,255,.55); }
.sound-toggle:active, .video-toggle:active { transform: scale(.97); }
.sound-toggle__icon { flex: none; }
.sound-toggle__icon--on, .sound-toggle[data-state="on"] .sound-toggle__icon--off { display: none; }
.sound-toggle[data-state="on"] .sound-toggle__icon--on { display: block; }
.sound-toggle[data-state="on"] { background: rgba(25,195,177,.24); border-color: rgba(79,224,207,.7); }
.sound-toggle .wave { animation: wavePulse 1.8s ease-in-out infinite; }
.sound-toggle .wave--2 { animation-delay: .3s; }
@keyframes wavePulse { 50% { opacity: .35; } }
.video-toggle__icon--play, .video-toggle[data-state="paused"] .video-toggle__icon--pause { display: none; }
.video-toggle[data-state="paused"] .video-toggle__icon--play { display: block; }
.hero__note {
  display: flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: .85rem; opacity: .8; max-width: 52ch;
}
.hero__note svg { flex: none; }
.hero__title, .hero__sub, .hero__meta { text-shadow: 0 2px 24px rgba(2,17,32,.45); }
@media (max-height: 940px) and (min-width: 561px) {
  .hero__title { font-size: clamp(3.2rem, 8.5vw, 7rem); }
  .hero__sub { margin-top: 18px; font-size: clamp(1.2rem, 2vw, 1.65rem); }
  .hero__ctas { margin-top: 24px; }
  .hero__content { padding-bottom: clamp(56px, 9vh, 96px); }
}

/* ---------- Problem: gut-punch numbers ---------- */
.gut { margin-top: clamp(40px, 6vw, 72px); max-width: 920px; }
.gut--right { margin-left: auto; text-align: right; }
.gut--right .gut__line, .gut--right .gut__aside { margin-left: auto; }
.gut__num {
  font-family: var(--display); font-weight: 900; letter-spacing: -0.06em; line-height: .85;
  font-size: clamp(5rem, 17vw, 13rem);
  background: linear-gradient(180deg, #fff 35%, #ffd98a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gut__num .text-sun { -webkit-text-fill-color: var(--sun); }
.gut__line { margin-top: 18px; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.8vw, 2.3rem); line-height: 1.15; letter-spacing: -0.02em; max-width: 26ch; }
.gut__line strong { color: var(--sun); }
.gut__aside { margin-top: 14px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 44ch; color: rgba(255,255,255,.72) !important; }

.story { margin: clamp(72px, 10vw, 128px) 0; max-width: 760px; }
.story p { font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; }
.story p + p { margin-top: 1.1em; }
.story strong { color: var(--sun); }

.survival {
  margin-top: clamp(72px, 10vw, 120px); padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius); background: linear-gradient(120deg, rgba(25,195,177,.14), rgba(255,122,89,.14));
  border: 1px solid rgba(255,255,255,.12);
}
.survival__intro { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.1; }
.survival__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(16px, 3vw, 40px); margin-top: 32px; }
.survival__num { font-family: var(--display); font-weight: 900; letter-spacing: -0.05em; line-height: .9; font-size: clamp(3.6rem, 9vw, 7rem); color: var(--teal-2) !important; }
.survival__num span { font-size: .5em; vertical-align: top; }
.survival__cell--dark .survival__num { color: #ff9d82 !important; }
.survival__label { margin-top: 10px; font-size: 1.05rem; font-weight: 500; max-width: 28ch; }
.survival__arrow { width: clamp(40px, 8vw, 110px); height: 2px; background: linear-gradient(90deg, var(--teal-2), #ff9d82); position: relative; }
.survival__arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 9px solid #ff9d82; border-right: 0; }
.survival__outro { margin-top: 28px; font-size: 1.15rem; font-weight: 600; }
.split__col p + p:not(.fine) { margin-top: 12px; }

/* ---------- Faults ---------- */
.faults__index {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: -24px 0 clamp(56px, 8vw, 96px);
}
.faults__index a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--mist); text-decoration: none; font-weight: 600; font-size: .92rem;
  transition: background-color .2s;
}
.faults__index a:hover { background: #dde9ef; }
.faults__index span, .fix__fault span, .fault__tag {
  font-family: var(--display); font-weight: 800; font-size: .78rem; letter-spacing: .04em; color: #0a8f82;
}
.fault__tag { color: inherit; margin-right: 6px; opacity: .8; }
.fault {
  display: grid; grid-template-columns: auto 1fr minmax(240px, .8fr); gap: clamp(20px, 4vw, 56px); align-items: start;
  padding-top: 32px; border-top: 1px solid var(--line); margin-bottom: clamp(56px, 8vw, 96px);
}
.fault--head { grid-template-columns: auto 1fr; margin-bottom: 40px; }
.fault__num { font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 2vw, 1.8rem); color: #0a8f82; letter-spacing: -0.02em; line-height: 1.3; }
.fault__body p { margin-top: 14px; font-size: 1.1rem; color: var(--ink-2); max-width: 54ch; }
.fault__stat .stat__num { font-size: clamp(3rem, 6vw, 5rem); }
.fault-missed { scroll-margin-top: calc(var(--nav-h) + 16px); }
.fault, .fault-card { scroll-margin-top: calc(var(--nav-h) + 16px); }
.bodymap__neckline { stroke: rgba(255,255,255,.85); stroke-width: 1.5; stroke-dasharray: 4 4; }
.legend--self::before { background: #e9c9a8; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.8); }

.fault-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fault-card { padding: clamp(28px, 3.5vw, 44px); border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.fault-card h3 { margin-top: 10px; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.05; }
.fault-card p:not(.fault__num) { margin-top: 14px; color: var(--ink-2); font-size: 1.05rem; }
.fault-card--reef { background: linear-gradient(160deg, #e7f8f5, #d3efeb); box-shadow: none; }

/* ---------- Fixes ---------- */
.section--ocean {
  color: var(--white);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,194,61,.18), transparent 50%),
    linear-gradient(180deg, var(--ocean) 0%, var(--deep) 60%, var(--navy) 100%);
}
.section--ocean p { color: rgba(255,255,255,.92); }
.fixes__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fix { padding: 26px 24px 28px; border-radius: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.fix__fault { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7) !important; }
.fix__fault span { color: var(--sun); margin-right: 4px; }
.fix__answer { margin-top: 10px; font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.02em; color: var(--white) !important; }
.selfnote {
  margin: clamp(40px, 6vw, 64px) auto 0; max-width: 62ch; text-align: center; font-size: 1.05rem;
  padding: 18px 24px; border-radius: 18px; border: 1px dashed rgba(255,255,255,.4);
}
.selfnote strong { color: var(--sun); }

/* ---------- Face / scalp note ---------- */
.facenote {
  display: flex; gap: 22px; align-items: center; margin: 0 auto clamp(56px, 8vw, 96px); max-width: 860px;
  padding: 24px 28px; border-radius: 22px; background: var(--sand); border: 1px solid #ecdfc4;
}
.facenote__icon { width: 52px; height: 52px; flex: none; color: #c27a12; }
.facenote__title { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.facenote p:not(.facenote__title) { margin-top: 6px; color: var(--ink-2); }

/* ---------- Reef: emotional ---------- */
.story--reef { margin: 0 0 clamp(56px, 8vw, 96px); }
.harm { margin-bottom: clamp(56px, 8vw, 96px); }
.harm__intro { font-size: 1.1rem; font-weight: 600; color: var(--teal-2) !important; }
.harm__list { list-style: none; margin-top: 18px; }
.harm__list li {
  font-family: var(--display); font-weight: 900; letter-spacing: -0.045em; line-height: 1.02;
  font-size: clamp(2.4rem, 7vw, 5.6rem); color: rgba(255,255,255,.9);
}
.harm__list li:nth-child(2) { color: rgba(255,255,255,.75); }
.harm__list li:nth-child(3) { color: rgba(255,255,255,.6); }
.harm__list li:nth-child(4) { color: rgba(255,255,255,.45); }
.harm__list .harm__last { color: #ff9d82; }
.harm .fine { max-width: 70ch; }
.reef__hope { margin-top: clamp(64px, 9vw, 112px); text-align: center; }
.reef__hope .reef__pledge { margin-top: 0; }
.reef__hope-line { margin: 24px auto 0; max-width: 52ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }

/* ---------- Learn more (blog teasers) ---------- */
.learn { background: radial-gradient(ellipse at 100% 0%, rgba(14,106,160,.4), transparent 55%), var(--navy); }
.post-cards { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.post-card a {
  height: 100%; display: flex; flex-direction: column; text-decoration: none;
  padding: 28px 26px; border-radius: 24px; min-height: 340px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.post-card a:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0,0,0,.6); }
.post-card__kicker { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.post-card h3 { margin-top: 14px; font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.02em; }
.post-card p { color: inherit !important; }
.post-card p:not(.post-card__kicker) { margin-top: 12px; font-size: .98rem; line-height: 1.45; opacity: .88; }
.post-card__more { margin-top: auto; padding-top: 20px; font-weight: 700; font-size: .95rem; }
.post-card__more::after { content: " →"; }
.post-card--sun a { background: radial-gradient(circle at 80% 0%, #fff3c4, var(--sun) 45%, #f39a2b); color: var(--navy); }
.post-card--teal a { background: linear-gradient(160deg, #3be0cc, var(--teal) 45%, #0b7f8f); color: var(--navy); }
.post-card--ocean a { background: linear-gradient(160deg, var(--ocean-2), var(--deep)); color: var(--white); }
.post-card--navy a { background: linear-gradient(160deg, #12406a, #0a2340); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.learn__all { margin-top: 36px; }

/* ---------- Mission ---------- */
.mission { background: linear-gradient(180deg, var(--sand), #fffaf0) !important; }
.mission .section-head { margin-bottom: 40px; }
.mission .h-xxl { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
.mission__places { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mission__places li { padding: 10px 18px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px #ecdfc4; font-weight: 600; }
.mission__places li:last-child { background: var(--sun); box-shadow: none; }
.mission__line { margin-top: clamp(40px, 6vw, 64px); text-align: center; font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.12; }
.mission__line span { color: #0a8f82; }

@media (max-width: 1024px) {
  .post-cards { grid-template-columns: 1fr 1fr; }
  .fault { grid-template-columns: auto 1fr; }
  .fault__stat { grid-column: 2; }
}
@media (max-width: 860px) {
  .fault-cards { grid-template-columns: 1fr; }
  .gut--right { text-align: left; margin-left: 0; }
  .gut--right .gut__line, .gut--right .gut__aside { margin-left: 0; }
}
@media (max-width: 560px) {
  .hero__ambient { flex-wrap: wrap; }
  .post-cards { grid-template-columns: 1fr; }
  .post-card a { min-height: 0; }
  .survival__row { grid-template-columns: 1fr; }
  .survival__arrow { width: 2px; height: 36px; margin-left: 24px; background: linear-gradient(180deg, var(--teal-2), #ff9d82); }
  .survival__arrow::after { right: auto; top: auto; left: -5px; bottom: -2px; border: 6px solid transparent; border-top: 9px solid #ff9d82; border-bottom: 0; }
  .fault, .fault--head { grid-template-columns: 1fr; gap: 8px; }
  .fault__stat { grid-column: auto; margin-top: 12px; }
  .facenote { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   Blog: index + article pages
   ===================================================================== */
.blog-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white);
  margin-top: calc(var(--nav-h) * -1); padding: calc(var(--nav-h) + clamp(72px, 12vw, 150px)) 0 clamp(64px, 9vw, 110px);
  background:
    radial-gradient(ellipse at 85% 0%, rgba(255,194,61,.22), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(25,195,177,.22), transparent 55%),
    linear-gradient(180deg, var(--navy), var(--deep));
}
.blog-hero__title { font-family: var(--display); font-weight: 900; letter-spacing: -0.05em; line-height: .95; font-size: clamp(3.2rem, 9vw, 7rem); }
.blog-hero .lead { color: rgba(255,255,255,.88); }
.blog-hero__note { margin-top: 20px; font-size: .9rem; opacity: .75; max-width: 60ch; }

.post-list { list-style: none; display: grid; gap: 20px; }
.post-row a {
  display: grid; grid-template-columns: 180px 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center;
  padding: clamp(26px, 3.5vw, 40px); border-radius: var(--radius); text-decoration: none;
  background: var(--mist); transition: background-color .25s, transform .3s var(--ease);
}
.post-row a:hover { background: #e2eef3; transform: translateY(-2px); }
.post-row__num { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 6vw, 5rem); letter-spacing: -0.05em; line-height: .9; color: var(--ocean); }
.post-row__kicker { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #0a8f82; }
.post-row h2 { margin-top: 8px; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.1; }
.post-row p:not(.post-row__kicker) { margin-top: 10px; color: var(--ink-2); max-width: 62ch; }
.post-row__go { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ocean); }
.post-row:nth-child(2) .post-row__num { color: #0a8f82; }
.post-row:nth-child(3) .post-row__num { color: var(--ocean-2); }
.post-row:nth-child(4) .post-row__num { color: #c27a12; }

/* Article header */
.article-hero { padding-bottom: clamp(56px, 8vw, 96px); }
.article-hero .container { max-width: 760px; }
.article-hero__kicker { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; font-size: .9rem; color: var(--sun); margin-bottom: 20px; }
.article-hero__kicker a { color: rgba(255,255,255,.75); text-decoration: none; }
.article-hero__kicker a:hover { color: var(--white); text-decoration: underline; }
.article-hero__title { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; font-size: clamp(2.4rem, 6vw, 4.6rem); }
.article-hero__dek { margin-top: 24px; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.42; font-weight: 500; color: rgba(255,255,255,.88); max-width: 40em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 28px; font-size: .9rem; color: rgba(255,255,255,.7); }
.article-meta > *:not(:empty) + *:not(:empty)::before { content: "·"; margin-right: 18px; opacity: .6; }
.article-meta:empty, .article-meta > :empty { display: none; }

/* Long-form body */
.article-wrap { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.prose { width: min(100% - 48px, 760px); margin-inline: auto; font-size: clamp(1.06rem, 1.25vw, 1.17rem); line-height: 1.72; color: #1d2c3b; }
.prose > * + * { margin-top: 1.25em; }
.prose h1, .prose > .dek { display: none; } /* drafts include their own h1/dek; the header shows them */
.prose h2 {
  margin-top: 2.2em; font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.12; letter-spacing: -0.03em; color: var(--ink);
}
.prose h3 { margin-top: 1.8em; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure { margin-bottom: 0; }
.prose a { color: var(--ocean); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ocean-2); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: #0a8f82; font-weight: 700; }
.prose sup a { text-decoration: none; font-weight: 700; color: #0a8f82; padding: 0 1px; }
.prose blockquote {
  margin-left: 0; margin-right: 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--sun);
  font-family: var(--display); font-weight: 700; font-size: 1.35em; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink);
}
.prose figure { margin-left: 0; margin-right: 0; }
.prose figure img { border-radius: 18px; }
.prose figcaption { margin-top: 10px; font-size: .85rem; color: var(--ink-2); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; color: var(--ink); }
.prose .callout-stat { padding: 28px; border-radius: 22px; background: var(--mist); }
.prose .callout-stat strong { display: block; font-family: var(--display); font-weight: 900; font-size: 3rem; line-height: 1; letter-spacing: -0.04em; color: var(--ocean); }
/* Drafts end with <h2>References</h2><ol>…</ol>; style it like the sources block. */
.prose h2#references, .prose h2#sources, .prose h2:has(+ ol > li[id^="ref-"]) { font-size: 1.1rem; letter-spacing: 0; text-transform: uppercase; color: var(--ink-2); padding-top: 1.5em; border-top: 1px solid var(--line); }
.prose li[id^="ref-"], .article-refs li { font-size: .88rem; line-height: 1.55; color: var(--ink-2); overflow-wrap: anywhere; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose li[id^="ref-"]:target, .article-refs li:target { background: rgba(255,194,61,.18); border-radius: 6px; }

.article-refs { width: min(100% - 48px, 760px); margin: clamp(48px, 7vw, 80px) auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.article-refs__title { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.article-refs ol { margin-top: 16px; padding-left: 22px; display: grid; gap: 10px; }
.article-refs a { color: var(--ocean); }
.article-note { margin-top: 24px; font-size: .82rem; color: var(--ink-2); }

.placeholder-note {
  padding: 28px; border-radius: 22px; background: var(--sand); border: 1px dashed #d9c49a; text-align: center;
}
.placeholder-note p + p { margin-top: 8px; }
.placeholder-note .h-md { color: var(--ink); }

.more-articles .post-cards { grid-template-columns: repeat(3, 1fr); }
.more-articles .section-head { margin-bottom: 36px; }

@media (max-width: 860px) {
  .post-row a { grid-template-columns: 1fr; gap: 12px; }
  .post-row__go { display: none; }
  .more-articles .post-cards { grid-template-columns: 1fr; }
}
.article-refs--note { border-top: 0; padding-top: 0; margin-top: 32px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.pager__link { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 20px; background: var(--mist); text-decoration: none; transition: background-color .2s; }
.pager__link:hover { background: #e2eef3; }
.pager__link--next { text-align: right; grid-column: 2; }
.pager__dir { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #0a8f82; }
.pager__link--prev .pager__dir::before { content: "← "; }
.pager__link--next .pager__dir::after { content: " →"; }
.pager__title { font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager__link--next { grid-column: auto; } }
