/* Level Earth. Cinematic dark theme. Tokens live in DESIGN.md; do not add colours outside this block. */
:root {
  color-scheme: dark;
  --bg: #0b0d0e;
  --bg-2: #0f1214;
  --surface: #15191b;
  --surface-2: #1c2124;
  --ink: #eef0f1;
  --ink-2: #a8b0b6;
  --ink-3: #848d93;
  --line: rgb(255 255 255 / 0.09);
  --line-strong: rgb(255 255 255 / 0.2);
  --accent: #2f6fe0;        /* tarp blue: the only accent */
  --accent-hover: #3d7cf0;
  --accent-ink: #84b0ff;
  --accent-tint: rgb(47 111 224 / 0.14);
  --on-accent: #f7f9fc;
  --focus: #84b0ff;
  --shade: 8 10 11;         /* rgb channels for photo and video scrims */

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-7: 32px; --s-8: 48px; --s-9: 64px;
  --section: clamp(72px, 10vw, 144px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-nav: 40;
  --z-sticky: 50;
  --z-grain: 60;
  --z-skip: 100;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Film grain: fixed, non-interactive, never repaints on scroll */
body::after {
  content: ""; position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 88%;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}
.h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); max-width: 22ch; }
.h2--lg { font-size: clamp(2.2rem, 4.6vw, 3.75rem); max-width: 18ch; line-height: 1; }
.lede { margin-top: var(--s-5); max-width: 58ch; font-size: clamp(1.125rem, 1.3vw, 1.25rem); color: var(--ink-2); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-skip);
  padding: 10px 16px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: 0;
  font-family: var(--font-display); font-stretch: 95%; font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer; touch-action: manipulation;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn--primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16), 0 12px 28px -14px rgb(47 111 224 / 0.75);
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 16px 34px -14px rgb(47 111 224 / 0.85); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }
.btn .ph { font-size: 1.15em; transition: transform 0.2s var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(3px); }
.btn.is-loading { opacity: 0.8; pointer-events: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: rgb(255 255 255 / 0.06); }

.link-arrow {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
  text-decoration-color: rgb(255 255 255 / 0.4);
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
.link-arrow:hover { color: var(--accent-ink); text-decoration-color: currentColor; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgb(11 13 14 / 0.88); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.nav::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.nav--overlay {
  position: fixed; left: 0; right: 0;
  background: transparent; border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.nav--overlay.is-solid {
  background: rgb(11 13 14 / 0.88); border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.nav__inner { display: flex; align-items: center; gap: var(--s-6); min-height: 72px; padding-top: 3px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  font-family: var(--font-display); font-stretch: 92%; font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em;
  text-decoration: none;
}
.brand__mark {
  display: grid; place-items: center; width: 32px; height: 32px; flex: none;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-stretch: 85%; font-weight: 800; font-size: 0.875rem; letter-spacing: 0.02em; line-height: 1;
}
.nav__links { display: none; gap: 32px; }
.nav__links a { font-weight: 600; font-size: 0.9375rem; color: rgb(238 240 241 / 0.75); text-decoration: none; transition: color 0.2s var(--ease); }
.nav__links a:hover { color: var(--ink); }
@media (min-width: 860px) { .nav__links { display: flex; } }

/* Hero: full-bleed footage */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: max(620px, 100dvh); overflow: hidden; background: var(--bg); }
.hero__sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 96px; pointer-events: none; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 44% 40%; filter: saturate(0.9) contrast(1.05); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(var(--shade) / 0.9) 0%, rgb(var(--shade) / 0.66) 36%, rgb(var(--shade) / 0.2) 64%, rgb(var(--shade) / 0.08) 100%),
    linear-gradient(0deg, rgb(var(--shade) / 0.95) 0%, rgb(var(--shade) / 0.4) 36%, rgb(var(--shade) / 0) 60%),
    linear-gradient(180deg, rgb(var(--shade) / 0.6) 0%, rgb(var(--shade) / 0) 24%);
}
.hero__content { position: relative; padding-top: 128px; padding-bottom: clamp(36px, 7vh, 80px); }
.hero__title { margin-top: var(--s-4); font-size: clamp(2.5rem, 5.6vw, 4.85rem); font-weight: 800; font-stretch: 86%; line-height: 0.98; letter-spacing: -0.025em; max-width: 16ch; }
.hero__title span { display: inline; }
.hero__title-call { color: var(--accent-ink); }
@media (min-width: 960px) {
  .hero__title { max-width: none; }
  .hero__title span { display: block; }
}
.hero__sub { margin-top: var(--s-5); max-width: 38ch; font-size: clamp(1.125rem, 1.4vw, 1.3125rem); line-height: 1.5; color: rgb(238 240 241 / 0.84); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-7); margin-top: var(--s-7); }
.hero__caption { margin-top: var(--s-8); max-width: 52ch; padding-right: 64px; font-size: 0.8125rem; line-height: 1.5; color: rgb(238 240 241 / 0.6); }

/* Circular media control: the documented exception to the square-corner rule */
.media-toggle {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid rgb(255 255 255 / 0.18); border-radius: 999px;
  background: rgb(var(--shade) / 0.6); color: var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 18px; cursor: pointer; transition: transform 0.15s var(--ease), background-color 0.2s var(--ease);
}
.media-toggle:hover { background: rgb(var(--shade) / 0.85); }
.media-toggle:active { transform: scale(0.94); }
.media-toggle--hero { position: absolute; right: var(--gutter); bottom: clamp(36px, 7vh, 80px); }

figcaption { margin-top: 12px; font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); }
.credit { display: block; margin-top: 2px; font-size: 0.75rem; color: var(--ink-3); }
.credit a { text-underline-offset: 3px; }
.credit a:hover { color: var(--accent-ink); }

/* Numbers */
.numbers { padding-block: var(--section) calc(var(--section) * 0.8); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8) var(--s-6); margin: var(--s-9) 0 0; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { display: flex; flex-direction: column-reverse; gap: 8px; padding-top: var(--s-5); border-top: 1px solid var(--line-strong); }
.stat dd {
  margin: 0;
  font-family: var(--font-display); font-stretch: 75%; font-weight: 700;
  font-size: clamp(2.75rem, 5.6vw, 4.75rem); line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat dt { font-size: 1rem; color: var(--ink-2); }
.stat--accent { border-top-color: var(--accent); }
.stat--accent dd { color: var(--accent-ink); }
.source { margin-top: var(--s-8); max-width: 80ch; font-size: 0.8125rem; color: var(--ink-3); }
.source a { text-underline-offset: 3px; }
.source a:hover { color: var(--accent-ink); }

/* Damage: three clips side by side (swipeable row on phones) */
.damage { padding-block: var(--section); background: var(--bg-2); border-block: 1px solid var(--line); }
.reel {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 340px); gap: 12px;
  margin-top: var(--s-9); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .reel { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-inline: 0; padding-inline: 0; overflow: visible; }
}
.reel__item { scroll-snap-align: start; }
.reel__frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface-2); }
.reel__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); background: linear-gradient(0deg, rgb(var(--shade) / 0.45), transparent 35%); }
.reel__frame video { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.05); transition: transform 1.2s var(--ease); }
.reel__item:hover video { transform: scale(1.03); }
.reel .media-toggle { position: absolute; right: 12px; bottom: 12px; z-index: 1; }

.cta-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5) var(--s-7);
  margin-top: var(--s-9); padding-top: var(--s-7); border-top: 1px solid var(--line);
}
.cta-row p { font-family: var(--font-display); font-stretch: 90%; font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.2; max-width: 30ch; }
.cta-row--strong { padding: var(--s-7); border: 1px solid rgb(47 111 224 / 0.35); background: var(--accent-tint); }

/* Where it goes */
.where { padding-block: var(--section); }
.bento { display: grid; gap: var(--s-3); margin-top: var(--s-9); }
.cell { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-7) var(--s-6); background: var(--surface); border: 1px solid var(--line); }
.cell h3 { font-size: 1.625rem; }
.cell p { color: var(--ink-2); max-width: 34ch; }
.cell__icon { font-size: 30px; color: var(--accent-ink); margin-bottom: var(--s-2); }
.cell--tint { background: var(--accent-tint); border-color: rgb(47 111 224 / 0.35); }
.cell--tint p { color: var(--ink); }
.cell--photo { padding: 0; overflow: hidden; }
.cell--photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(0.9) contrast(1.05); }
.cell__body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-7) var(--s-6); }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .cell--photo { grid-column: 1 / 7; grid-row: 1 / 3; }
  .cell--photo img { flex: 1; aspect-ratio: auto; min-height: 260px; }
  .cell--tint { grid-column: 7 / 13; grid-row: 1; }
  .cell:nth-child(3) { grid-column: 7 / 10; grid-row: 2; }
  .cell:nth-child(4) { grid-column: 10 / 13; grid-row: 2; }
}
.fee { margin-top: var(--s-6); font-size: 0.9375rem; color: var(--ink-3); }

/* Scale: photo gallery */
.scale { padding-block: var(--section); background: var(--bg-2); border-block: 1px solid var(--line); }
.scale__lead { margin-top: var(--s-9); }
.scale__lead img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 40%; background: var(--surface-2); }
.gallery { display: grid; gap: var(--s-7) var(--s-4); margin-top: var(--s-8); }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface-2); }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; row-gap: var(--s-8); }
  .gallery__item { display: flex; flex-direction: column; }
  .gallery__item img { flex: 1; min-height: 0; aspect-ratio: auto; height: clamp(280px, 30vw, 440px); }
  .gallery__item--a { grid-column: 1 / 8; }
  .gallery__item--b { grid-column: 8 / 13; }
  .gallery__item--c { grid-column: 1 / 6; }
  .gallery__item--d { grid-column: 6 / 13; }
}
.scale__lead img, .gallery img { filter: saturate(0.92) contrast(1.04); }

/* Donate */
.donate { position: relative; isolation: isolate; padding-block: var(--section); overflow: hidden; }
.donate::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 75% 40%, rgb(47 111 224 / 0.14), transparent 70%);
}
.donate__grid { display: grid; gap: var(--s-8); }
@media (min-width: 960px) { .donate__grid { grid-template-columns: 5fr 6fr; gap: var(--s-9); align-items: start; } }
.flow { list-style: none; margin: var(--s-8) 0 0; padding: 0; }
.flow li { display: grid; grid-template-columns: 36px 1fr; gap: var(--s-3); align-items: start; padding-block: var(--s-5); border-top: 1px solid var(--line); }
.flow .ph { font-size: 26px; color: var(--accent-ink); margin-top: 1px; }
.flow p { font-size: 1.0625rem; color: var(--ink-2); }
.flow strong { color: var(--ink); font-weight: 700; }

.donate__panel {
  padding: clamp(22px, 3vw, 40px);
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  box-shadow: 0 40px 90px -40px rgb(0 0 0 / 0.8), 0 30px 70px -45px rgb(47 111 224 / 0.45);
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.frequency { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 var(--s-6); padding: 4px; border: 1px solid var(--line-strong); background: var(--bg); min-width: 0; }
.frequency__opt { position: relative; display: block; }
.frequency__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.frequency__opt span {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  font-family: var(--font-display); font-stretch: 92%; font-weight: 700; font-size: 1rem; color: var(--ink-2);
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.frequency__opt:hover span { color: var(--ink); }
.frequency__opt input:checked + span { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 -2px 0 var(--accent); }
.frequency__opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.amount .per { display: none; margin-left: 2px; font-size: 0.75em; font-weight: 600; opacity: 0.8; }
.picker.is-monthly .amount .per { display: inline; }
.inline-link { color: var(--accent-ink); text-underline-offset: 3px; }
.inline-link:hover { color: var(--ink); }
.amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 var(--s-5); padding: 0; border: 0; min-width: 0; }
@media (min-width: 520px) { .amounts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.amounts legend { margin-bottom: var(--s-3); padding: 0; font-weight: 600; font-size: 1rem; }
.amount { position: relative; display: block; }
.amount--other { grid-column: 1 / -1; }
.amount input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.amount span {
  display: flex; align-items: center; justify-content: center; min-height: 60px;
  border: 1px solid var(--line-strong); background: var(--bg);
  font-family: var(--font-display); font-stretch: 90%; font-weight: 700; font-size: 1.3125rem;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.amount--other span { font-size: 1.0625rem; }
.amount:hover span { border-color: rgb(255 255 255 / 0.42); }
.amount input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.amount input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.picker__hint { min-height: 1.5em; margin-top: var(--s-3); font-size: 0.9375rem; color: var(--ink-2); }
.picker__test { margin-top: var(--s-3); padding: var(--s-3) var(--s-4); border-left: 3px solid #e0a82f; background: rgb(224 168 47 / 0.1); font-size: 0.875rem; color: var(--ink-2); }
.picker__test strong { color: var(--ink); }
.picker__setup { margin-top: var(--s-3); padding: var(--s-3) var(--s-4); border-left: 3px solid var(--accent); background: var(--accent-tint); font-size: 0.9375rem; }
.picker__secure { display: flex; gap: 8px; align-items: flex-start; margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--ink-2); }
.picker__secure .ph { font-size: 18px; margin-top: 3px; color: var(--ink); }
.picker__legal { margin-top: var(--s-3); font-size: 0.875rem; color: var(--ink-3); }

/* FAQ */
.faq { padding-block: var(--section); background: var(--bg-2); border-top: 1px solid var(--line); }
.faq__list { max-width: 820px; margin-top: var(--s-8); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 68px; padding-block: var(--s-4);
  font-family: var(--font-display); font-stretch: 92%; font-weight: 700; font-size: 1.1875rem;
  cursor: pointer; list-style: none; transition: color 0.2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { flex: none; font-size: 20px; color: var(--ink-2); transition: transform 0.25s var(--ease); }
.faq details[open] summary .ph { transform: rotate(180deg); }
.faq summary:hover { color: var(--accent-ink); }
.faq details p { padding-bottom: var(--s-6); max-width: 64ch; color: var(--ink-2); }

/* Footer */
.footer { padding-block: var(--s-9) calc(var(--s-9) + 72px); border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--ink-2); }
@media (min-width: 860px) { .footer { padding-bottom: var(--s-9); } }
.footer .brand { color: var(--ink); }
.footer__grid { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1fr auto; align-items: start; } }
.footer__tag { margin-top: var(--s-2); }
.footer__contact { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); }
.footer__contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-weight: 600; color: var(--ink); }
.footer__contact a:hover { color: var(--accent-ink); }
.footer__contact .ph { font-size: 20px; }
.footer__legal { grid-column: 1 / -1; padding-top: var(--s-6); border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-3); max-width: 90ch; }

/* Sticky Donate: full-width bar on phones, floating button on desktop */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgb(11 13 14 / 0.9); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateY(120%); visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
.sticky-cta .btn { display: flex; width: 100%; }
.sticky-cta.is-visible { transform: none; visibility: visible; transition: transform 0.35s var(--ease); }
@media (min-width: 860px) {
  .sticky-cta { left: auto; right: 28px; bottom: 28px; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sticky-cta .btn {
    width: auto; min-height: 56px; padding: 14px 30px; font-size: 1.0625rem;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16), 0 18px 40px -16px rgb(0 0 0 / 0.8), 0 12px 32px -12px rgb(47 111 224 / 0.8);
  }
}

/* Thank-you page */
.thanks { padding-block: clamp(48px, 8vw, 112px) var(--section); }
.thanks__grid { display: grid; gap: var(--s-8); }
@media (min-width: 900px) { .thanks__grid { grid-template-columns: 6fr 6fr; align-items: center; } }
.thanks h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); font-weight: 800; }
.thanks__body { margin-top: var(--s-5); font-size: 1.25rem; color: var(--ink-2); max-width: 36ch; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-7); }
.thanks__back { margin-top: var(--s-6); }
.thanks img { filter: saturate(0.9) contrast(1.05); }

/* Motion: entrance and scroll reveals, off when the visitor asks for less motion */
@media (prefers-reduced-motion: no-preference) {
  [data-hero] { animation: rise 0.9s var(--ease) both; }
  [data-hero="2"] { animation-delay: 0.08s; }
  [data-hero="3"] { animation-delay: 0.18s; }
  [data-hero="4"] { animation-delay: 0.3s; }
  .js [data-reveal] {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
