/* ============================================================
   THIS IS A CHILD — "Quiet Gravity"
   Documentary by Focus on the Family × Them Before Us
   ============================================================ */

/* ---------- Brand sans: Greycliff CF (self-hosted, Bold) ---------- */
@font-face {
  font-family: "Greycliff CF";
  src: url("assets/fonts/Greycliff-Bold.otf") format("opentype"),
       url("assets/fonts/Greycliff-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ----------
   Identity is committed by the FOTF / CRTV Lab creative system (May 2026).
   Brand hexes are the source of truth; all neutrals are tinted, never pure black/white. */
:root {
  --navy:        #11384D;   /* Anchored Blue — base surface */
  --navy-deep:   #0C2A39;   /* letterbox / lowest layer */
  --navy-raised: #163F55;   /* raised panel on dark */
  --navy-line:   rgba(143, 210, 216, 0.16);  /* aqua-tinted hairline on dark */
  --teal:        #2C8BA8;   /* Bullseye Blue family — links / active */
  --aqua:        #8FD2D8;   /* Ice Blue — the one bright accent */
  --aqua-soft:   #AAC8CF;
  --slate:       #719DA5;   /* parent-shadow blue */

  --creme:       #F4EEE1;   /* warm light surface — registration card */
  --creme-deep:  #ECE3D2;   /* creme inset / hairline */
  --paper:       #FBF7EF;

  --cloud:       #EAF0F1;   /* Redeeming White (tinted) — primary text on navy */
  --cloud-dim:   #AEC4CC;   /* secondary on navy (~6:1) */
  --cloud-faint: #98B1B9;   /* metadata / legal on navy (~4.6:1 AA) */

  --ink:         #11384D;   /* primary text on creme */
  --ink-dim:     #46606D;   /* secondary on creme */
  --ink-faint:   #6A7F89;   /* tertiary on creme */
  --error:       #B14A33;   /* harmonised terracotta */

  /* Type */
  --f-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --f-brand: "Greycliff CF", "Manrope", system-ui, sans-serif;
  --f-sans:  "Manrope", system-ui, -apple-system, sans-serif;

  /* Fluid scale (~1.3) */
  --t-d1:    clamp(2.1rem, 1.2rem + 4.4vw, 3.9rem);
  --t-d2:    clamp(1.55rem, 1.1rem + 1.9vw, 2.35rem);
  --t-quote: clamp(2rem, 1.2rem + 3.9vw, 3.6rem);
  --t-body:  clamp(1.04rem, 0.99rem + 0.26vw, 1.2rem);
  --t-small: 0.95rem;
  --t-label: 0.76rem;

  /* Space */
  --margin:  clamp(1.25rem, 0.5rem + 4vw, 5.5rem);
  --section: clamp(5rem, 3rem + 9vw, 9.5rem);
  --maxw:    1240px;

  /* Shape */
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;

  --ease:       cubic-bezier(0.16, 1, 0.3, 1);   /* ease-out-expo */
  --ease-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--navy);
  color: var(--cloud);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
strong { font-weight: 700; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--aqua); color: var(--navy); }

:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }

/* Skip link */
.skip-link {
  position: fixed; top: 0; left: 50%; transform: translate(-50%, -130%);
  z-index: 12000;
  background: var(--aqua); color: var(--navy);
  font-family: var(--f-brand); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.7rem 1.4rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); outline-offset: -4px; }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 11000;
  height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--teal), var(--aqua));
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform;
}

/* Quiet film grain */
.grain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.eyebrow {
  font-family: var(--f-brand);
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--aqua);
  display: flex; align-items: center; gap: 0.9rem;
}
.eyebrow::before {
  content: ""; width: clamp(1.4rem, 4vw, 2.6rem); height: 1px;
  background: var(--aqua); opacity: 0.65; flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }

.display {
  font-family: var(--f-serif);
  font-weight: 460;
  font-size: var(--t-d1);
  line-height: 1.04;
  letter-spacing: -0.012em;
  font-optical-sizing: auto;
  color: var(--cloud);
}
.display em { font-style: italic; color: var(--aqua); }

.prose {
  font-family: var(--f-sans);
  color: var(--cloud-dim);
  max-width: 56ch;
  line-height: 1.72;
}
.prose--wide { max-width: 66ch; }
.prose p + p { margin-top: 1.05em; }
.prose strong { color: var(--cloud); }
.prose em { font-style: italic; color: var(--aqua-soft); }

.accent { color: var(--aqua); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--f-brand); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cloud);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--navy-line);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.link-arrow::after { content: "\2192"; transition: transform 0.4s var(--ease); }
.link-arrow:hover { color: var(--aqua); border-color: var(--aqua); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--f-brand); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  font-size: 0.92rem; line-height: 1;
  padding: 1.05rem 1.9rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.4s var(--ease), background-color 0.35s var(--ease),
              color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn--sm { padding: 0.72rem 1.2rem; font-size: 0.78rem; }
.btn--lg { padding: 1.15rem 2.3rem; font-size: 0.98rem; }

.btn--primary { background: var(--cloud); color: var(--navy); }
.btn--primary:hover { background: var(--aqua); transform: translateY(-2px); box-shadow: 0 14px 34px -16px rgba(143, 210, 216, 0.6); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost { background: transparent; color: var(--cloud); border-color: var(--navy-line); }
.btn--ghost:hover { border-color: var(--aqua); color: var(--aqua); background: rgba(143, 210, 216, 0.06); }

.btn--invert { background: var(--navy); color: var(--cloud); }
.btn--invert:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 16px 36px -18px rgba(17, 56, 77, 0.7); }
.btn--invert:active { transform: translateY(0); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1.05rem var(--margin);
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease),
              backdrop-filter 0.5s var(--ease), padding 0.5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(12, 42, 57, 0.82);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--navy-line);
  padding-top: 0.8rem; padding-bottom: 0.8rem;
}
.nav__brand { display: flex; align-items: center; gap: 0.7rem; }
.nav__mark { width: 38px; height: 38px; border-radius: var(--r-sm); flex: none; }
.nav__wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav__this {
  font-family: var(--f-brand); font-weight: 700;
  font-size: 0.92rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--cloud);
}
.nav__sub {
  font-family: var(--f-brand); font-weight: 700;
  font-size: 0.58rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--aqua); margin-top: 0.32rem;
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-family: var(--f-brand); font-weight: 700;
  font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--cloud-dim);
  transition: color 0.3s var(--ease);
}
.nav__links a:hover { color: var(--cloud); }
.nav__links-cta { display: none; }
.nav__right { display: flex; align-items: center; gap: 1.1rem; }
.nav__tag {
  font-family: var(--f-brand); font-weight: 700;
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--aqua);
  padding: 0.42rem 0.8rem; border: 1px solid var(--navy-line); border-radius: 100px;
}
.nav__toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 6rem var(--margin) 4.5rem;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.06);
  animation: heroDrift 28s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.4%, -1.6%, 0); }
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,42,57,0.62) 0%, rgba(12,42,57,0.42) 32%, rgba(17,56,77,0.66) 68%, var(--navy) 100%),
    linear-gradient(90deg, rgba(12,42,57,0.55), rgba(12,42,57,0.18) 50%, rgba(12,42,57,0.55));
}
.hero__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 95% at 50% 42%, transparent 38%, rgba(12,42,57,0.55) 100%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 1000px; }
.hero__inner .eyebrow { margin-bottom: clamp(1rem, 3vw, 1.7rem); }

.hero__lockup { line-height: 0; }
.hero__lockup img {
  width: clamp(255px, 44vw, 530px); height: auto;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.4));
}
.hero__tagline {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.2rem, 0.9rem + 1.5vw, 1.85rem);
  color: var(--cloud);
  margin-top: clamp(1.2rem, 3vw, 1.9rem);
  letter-spacing: 0.005em;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center;
  margin-top: clamp(1.5rem, 3.5vw, 2.2rem);
}
.hero__note {
  font-family: var(--f-brand); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cloud-faint);
  margin-top: clamp(1.3rem, 3vw, 1.9rem);
}
.hero__scroll {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  z-index: 1; width: 26px; height: 44px;
  border: 1.5px solid var(--navy-line); border-radius: 100px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span {
  width: 3px; height: 8px; border-radius: 100px; background: var(--aqua);
  animation: scrollPulse 1.9s var(--ease) infinite;
}
@keyframes scrollPulse { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(10px); } }

/* ============================================================
   SECTIONS — base
   ============================================================ */
.section { padding: var(--section) var(--margin); }
.section > * { position: relative; }

/* Offset anchored targets so the fixed nav never covers a heading */
#invitation, #film, #matters, #access, #register { scroll-margin-top: 84px; }

/* ---------- INVITATION / BRIDGE ---------- */
.invite { max-width: calc(var(--maxw) + 2 * var(--margin)); margin: 0 auto; }
.invite__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
}
.invite__copy .display { margin: 1.1rem 0 1.5rem; }
.invite__copy .link-arrow { margin-top: 1.8rem; }
.invite__figure { position: relative; }
.invite__figure img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r); border: 1px solid var(--navy-line);
}
.invite__figure figcaption {
  font-family: var(--f-sans); font-size: 0.82rem; line-height: 1.5;
  color: var(--cloud-faint); margin-top: 0.9rem; max-width: 42ch;
}

/* ---------- THE FILM ---------- */
.film { background: var(--navy-deep); }
.film__inner { max-width: 940px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.film__inner .eyebrow { margin-bottom: clamp(2rem, 5vw, 3rem); }
.film__quote {
  font-family: var(--f-serif); font-weight: 400;
  font-size: var(--t-quote); line-height: 1.12; letter-spacing: -0.01em;
  color: var(--cloud);
}
.film__line { display: block; }
.film__line.accent { color: var(--aqua); font-style: italic; }
.film__synopsis { margin: clamp(2.4rem, 6vw, 3.6rem) auto 0; text-align: left; }
.film__synopsis .prose, .film__synopsis p { color: var(--cloud-dim); }
.film__synopsis p { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.32rem); line-height: 1.74; }
.film__synopsis p + p { margin-top: 1.1em; }
.film__synopsis em { font-style: italic; color: var(--aqua-soft); }

/* Cinematic word reveal */
[data-cinematic-quote] .word { display: inline-block; overflow: hidden; vertical-align: top; }
[data-cinematic-quote] .word__inner {
  display: inline-block;
  opacity: 0; transform: translateY(0.9em);
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
}
[data-cinematic-quote].is-revealed .word__inner { opacity: 1; transform: translateY(0); }

/* ---------- MOSAIC BAND ---------- */
.band { position: relative; height: clamp(280px, 46vw, 520px); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--navy-deep) 0%, rgba(12,42,57,0.5) 22%, rgba(12,42,57,0.5) 78%, var(--navy) 100%),
    radial-gradient(80% 120% at 50% 50%, rgba(12,42,57,0.2), rgba(12,42,57,0.78));
}
.band__line {
  position: relative; z-index: 1;
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 0.9rem + 2vw, 2.4rem);
  color: var(--cloud); text-align: center; max-width: 22ch;
  padding: 0 var(--margin); text-shadow: 0 6px 30px rgba(0,0,0,0.5);
}

/* ---------- WHY IT MATTERS ---------- */
.matters { max-width: calc(var(--maxw) + 2 * var(--margin)); margin: 0 auto; }
.matters__head { max-width: 60ch; }
.matters__head .display { margin: 1.1rem 0 1.4rem; }
.tenets {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--navy-line); padding-top: clamp(2.5rem, 6vw, 4rem);
}
.tenet__num {
  font-family: var(--f-brand); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.1em; color: var(--aqua);
}
.tenet h3 {
  font-family: var(--f-serif); font-weight: 460; font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem);
  color: var(--cloud); margin: 0.9rem 0 0.7rem; line-height: 1.15;
}
.tenet p { color: var(--cloud-dim); font-size: 1rem; line-height: 1.62; max-width: 34ch; }

/* ---------- WHAT PRIVATE ACCESS INCLUDES ---------- */
.access { background: var(--navy-deep); }
.access__inner { max-width: 880px; margin: 0 auto; }
.access__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.access__head .eyebrow { margin-bottom: 1.4rem; }
.access__title { margin-bottom: 1rem; }
.access__lead { color: var(--cloud-dim); }
.terms {
  display: grid; gap: 1rem;
  margin: clamp(2.6rem, 6vw, 3.6rem) 0 clamp(2.4rem, 5vw, 3.2rem);
}
.term {
  display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start;
  background: var(--navy-raised);
  border: 1px solid var(--navy-line); border-radius: var(--r);
  padding: clamp(1.4rem, 3vw, 1.9rem);
}
.term__mark {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(143, 210, 216, 0.1); color: var(--aqua);
  border: 1px solid var(--navy-line);
}
.term h3 {
  font-family: var(--f-serif); font-weight: 460; font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem);
  color: var(--cloud); line-height: 1.15; margin-bottom: 0.4rem;
}
.term p { color: var(--cloud-dim); font-size: 1rem; line-height: 1.6; }
.access__cta { display: flex; width: max-content; max-width: 100%; margin: 0 auto; }

/* ============================================================
   REGISTER — the conversion card (steps into daylight)
   ============================================================ */
.register {
  background:
    radial-gradient(120% 80% at 50% 0%, var(--navy-raised), var(--navy) 60%);
}
.register__inner { max-width: 760px; margin: 0 auto; }

/* nested "double frame" — the one premium flourish, an official mounted invitation */
.card {
  background: var(--creme-deep);
  border-radius: var(--r-lg);
  padding: 10px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04);
}
.card__inner {
  background: var(--creme);
  border-radius: calc(var(--r-lg) - 6px);
  padding: clamp(1.7rem, 5vw, 3.4rem);
  border: 1px solid rgba(17, 56, 77, 0.08);
}
/* ActiveCampaign form 620 — themed to the creme card (AC's bundled <style> is omitted) */
#_form_620_ { font-family: var(--f-sans); color: var(--ink); max-width: none; width: 100%; margin: 0; padding: 0; text-align: left; position: relative; background: transparent; }
#_form_620_ *, #_form_620_ *::before, #_form_620_ *::after { box-sizing: border-box; }
#_form_620_ ._form-content { margin: 0; }
#_form_620_ ._form_element { position: relative; margin-bottom: 1.05rem; max-width: 100%; }
#_form_620_ ._clear-element { clear: both; }

/* Title + intro copy */
#_form_620_ ._field_header { margin-bottom: 0.5rem; }
#_form_620_ ._form-title {
  font-family: var(--f-serif); font-weight: 460; font-size: clamp(1.55rem, 1.1rem + 1.9vw, 2.35rem);
  line-height: 1.1; letter-spacing: -0.015em; color: var(--ink); text-align: center; margin-bottom: 1rem;
}
#_form_620_ ._field_html { margin-bottom: 1.5rem; }
#_form_620_ ._html-code { font-family: var(--f-sans); color: var(--ink-dim); font-size: 0.96rem; line-height: 1.62; }
#_form_620_ ._html-code p { margin-bottom: 0.7em; }
#_form_620_ ._html-code p:last-child { margin-bottom: 0; }
#_form_620_ ._html-code strong { color: var(--ink); font-weight: 700; letter-spacing: 0.02em; }
#_form_620_ ._x62487441 ._html-code { font-size: 0.8rem; color: var(--ink-faint); line-height: 1.5; }

/* Labels + required */
#_form_620_ ._form-label {
  display: block; font-family: var(--f-brand); font-weight: 700;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 0.45rem;
}
#_form_620_ .field-required { color: var(--teal); margin-left: 3px; }

/* Inputs */
#_form_620_ ._field-wrapper { position: relative; }
#_form_620_ input[type="text"] {
  display: block; width: 100%; font-family: var(--f-sans); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid rgba(17, 56, 77, 0.18); border-radius: var(--r-sm);
  padding: 0.85rem 0.95rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
#_form_620_ input::placeholder { color: var(--ink-faint); }
#_form_620_ input[type="text"]:hover { border-color: rgba(17, 56, 77, 0.34); }
#_form_620_ input[type="text"]:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(44, 139, 168, 0.18); background: #fff; }
#_form_620_ input._has_error { border-color: var(--error); box-shadow: 0 0 0 3px rgba(177, 74, 51, 0.14); }

/* reCAPTCHA */
#_form_620_ .g-recaptcha { margin-top: 0.3rem; }

/* Submit (brand invert button) */
#_form_620_ ._button-wrapper { margin-top: 1.5rem; }
#_form_620_ ._submit {
  width: 100%; cursor: pointer; font-family: var(--f-brand); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.98rem; line-height: 1;
  background: var(--navy); color: var(--cloud); border: 0; border-radius: var(--r-sm);
  padding: 1.15rem 2.2rem;
  transition: transform 0.4s var(--ease), background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
#_form_620_ ._submit:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 16px 36px -18px rgba(17, 56, 77, 0.7); }
#_form_620_ ._submit:active { transform: translateY(0); }
#_form_620_ ._submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

/* Validation errors (rendered statically below the field) */
#_form_620_ ._error { position: static; margin-top: 5px; }
#_form_620_ ._error-arrow { display: none; }
#_form_620_ ._error-inner { font-family: var(--f-sans); font-size: 0.8rem; font-weight: 500; color: var(--error); }
#_form_620_ ._error-inner._form_error { margin-bottom: 0.6rem; text-align: center; }

/* Success message */
#_form_620_ ._form-thank-you {
  text-align: center; font-family: var(--f-serif); font-size: 1.25rem; line-height: 1.5;
  color: var(--ink); padding: 1.5rem 0; outline: none;
}

/* Hide AC branding */
#_form_620_ ._form-branding { display: none !important; }

@media (max-width: 430px) {
  #_form_620_ .g-recaptcha { transform: scale(0.86); transform-origin: left top; margin-bottom: -10px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-deep); padding: clamp(3.5rem, 7vw, 5.5rem) var(--margin) 2.5rem; border-top: 1px solid var(--navy-line); }
.footer__top {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem 3rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--navy-line);
}
.footer__presented, .footer__context-label {
  font-family: var(--f-brand); font-weight: 700; font-size: 0.62rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--aqua); margin-bottom: 0.7rem;
}
.footer__orgs { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer__orgs span:not(.footer__div) { font-family: var(--f-brand); font-weight: 700; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem); letter-spacing: 0.04em; text-transform: uppercase; color: var(--cloud); }
.footer__div { width: 1px; height: 1.1em; background: var(--slate); opacity: 0.6; }
.footer__context { text-align: right; }
.footer__context-val { font-family: var(--f-sans); color: var(--cloud-dim); font-size: 0.95rem; max-width: 30ch; }
.footer__terms { max-width: var(--maxw); margin: 2.5rem auto; }
.footer__terms p { font-family: var(--f-sans); color: var(--cloud-faint); font-size: 0.86rem; line-height: 1.7; max-width: 90ch; }
.footer__terms strong { color: var(--cloud-dim); }
.footer__legal {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem;
  font-family: var(--f-brand); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cloud-faint);
}
.footer__legal-links { display: flex; gap: 1.5rem; }
.footer__legal-links a { transition: color 0.3s var(--ease); }
.footer__legal-links a:hover { color: var(--aqua); }

/* ============================================================
   REVEAL — scroll-in
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 0 0 auto 0; top: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(12, 42, 57, 0.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 6rem var(--margin) 2.5rem;
    transform: translateY(-100%); transition: transform 0.55s var(--ease);
    border-bottom: 1px solid var(--navy-line);
    height: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { width: 100%; padding: 1.1rem 0; font-size: 1rem; border-bottom: 1px solid var(--navy-line); color: var(--cloud); }
  .nav__links-cta { display: block; color: var(--aqua) !important; }
  .nav__tag { display: none; }
  .nav__right .btn--sm { display: none; }
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; align-items: center; z-index: 1001;
  }
  .nav__toggle span { display: block; width: 24px; height: 2px; background: var(--cloud); border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.3s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .invite__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .invite__figure { order: -1; max-width: 440px; }
  .tenets { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer__top { flex-direction: column; }
  .footer__context { text-align: left; }
}

@media (max-width: 560px) {
  .hero { padding-top: 6rem; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
  .reg__row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .nav__right .btn { width: auto; }
  .term { grid-template-columns: 1fr; gap: 0.9rem; }
  .term__mark { width: 42px; height: 42px; }
}

/* ============================================================
   MOTION PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero__img { animation: none; transform: scale(1.04); }
  .hero__scroll span { animation: none; opacity: 0.7; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  [data-cinematic-quote] .word__inner { opacity: 1 !important; transform: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   LEGAL PAGE (privacy notice) + privacy UI
   ============================================================ */
.legal-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.2rem var(--margin); border-bottom: 1px solid var(--navy-line);
}
.legal-nav__back { border-bottom: none; }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) var(--margin) clamp(4rem, 9vw, 7rem); }
.legal .eyebrow { margin-bottom: 1rem; }
.legal__title { font-family: var(--f-serif); font-weight: 460; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); line-height: 1.05; letter-spacing: -0.015em; color: var(--cloud); }
.legal__meta { font-family: var(--f-brand); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cloud-faint); margin-top: 1rem; }
.legal__lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.28rem); color: var(--cloud-dim); line-height: 1.7; margin: 2rem 0 1rem; }
.legal h2 { font-family: var(--f-serif); font-weight: 460; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); color: var(--cloud); line-height: 1.2; margin: 2.6rem 0 0.9rem; }
.legal p { color: var(--cloud-dim); line-height: 1.7; margin-bottom: 1rem; max-width: 70ch; }
.legal ul { margin: 0 0 1.2rem; padding-left: 0; display: flex; flex-direction: column; gap: 0.6rem; max-width: 70ch; }
.legal li { position: relative; padding-left: 1.5rem; color: var(--cloud-dim); line-height: 1.65; }
.legal li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); }
.legal strong { color: var(--cloud); }
.legal a { color: var(--aqua); border-bottom: 1px solid rgba(143, 210, 216, 0.35); transition: border-color 0.3s var(--ease); }
.legal a:hover { border-bottom-color: var(--aqua); }
.legal__fine { font-size: 0.88rem; color: var(--cloud-faint); }
.legal__home { margin-top: 3rem; }
.legal__home .link-arrow { color: var(--cloud); }

.legal__table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: 0.92rem; }
.legal__table th, .legal__table td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--navy-line); vertical-align: top; }
.legal__table th { font-family: var(--f-brand); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aqua); }
.legal__table td { color: var(--cloud-dim); line-height: 1.5; }

/* Privacy line at the form */
.card__privacy { font-family: var(--f-sans); font-size: 0.82rem; line-height: 1.55; color: var(--ink-faint); text-align: center; max-width: 52ch; margin: 1.4rem auto 0; }
.card__privacy a { color: var(--teal); border-bottom: 1px solid rgba(44, 139, 168, 0.4); }
.card__privacy a:hover { border-bottom-color: var(--teal); }

/* Transparency banner */
.cookie-banner {
  position: fixed; left: 50%; bottom: clamp(1rem, 3vw, 1.8rem); transform: translateX(-50%);
  z-index: 10500; width: min(680px, calc(100% - 2 * var(--margin)));
  display: flex; align-items: center; gap: 1.2rem;
  background: rgba(12, 42, 57, 0.96); backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid var(--navy-line); border-radius: var(--r);
  padding: 1rem 1.2rem; box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
  animation: bannerIn 0.6s var(--ease) both;
}
@keyframes bannerIn { from { opacity: 0; transform: translateX(-50%) translateY(16px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.cookie-banner__text { font-size: 0.84rem; line-height: 1.55; color: var(--cloud-dim); margin: 0; }
.cookie-banner__text strong { color: var(--cloud); }
.cookie-banner__text a { color: var(--aqua); border-bottom: 1px solid rgba(143, 210, 216, 0.4); }
.cookie-banner__text a:hover { border-bottom-color: var(--aqua); }
.cookie-banner .btn { flex: none; }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 0.9rem; }
  .cookie-banner .btn { width: 100%; }
}
