/* ==========================================================================
   Krignal — v4
   The painted edition, carried further. Colour, type and buttons come from
   the v1 painted page (every colour sampled from the hero painting); what is
   new is depth. The hero painting is cut into its planes and walked into,
   the product is shown working rather than described, and every section
   moves at its own pace. Motion lives in v4.js; this file only sets the
   stage and the resting states.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  --sky-deep: #063f64;
  --sky: #1c668c;
  --sky-mid: #2e779c;
  --cloud: #cbc5b1;
  --canvas: #f6f3ea;
  --canvas-2: #efebdd;
  --canvas-3: #e7e2d0;
  --gold: #dfbf73;
  --gold-lt: #f0dcab;
  --gold-dk: #9c7a26;
  --brick: #742d1f;
  --meadow: #ad9129;
  --moss: #5b5e3e;
  --ink: #12303a;
  --ink-2: #2f5462;
  --ink-3: #64818b;
  --cream: #eee9dc;
  --night: #0b2029;
  --night-2: #0f2a36;
  --line: rgba(18, 48, 58, .14);
  --line-2: rgba(18, 48, 58, .08);
  --line-inv: rgba(238, 233, 220, .18);

  --serif: "Bodoni Moda", "Didot", "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --r: 12px;
  --r-lg: 20px;
  --shadow-s: 0 2px 10px rgba(18, 48, 58, .07), 0 1px 2px rgba(18, 48, 58, .05);
  --shadow: 0 22px 48px -24px rgba(18, 48, 58, .36), 0 2px 8px rgba(18, 48, 58, .06);
  --shadow-l: 0 50px 100px -40px rgba(12, 36, 46, .5), 0 8px 24px -12px rgba(12, 36, 46, .18);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hd-h: 72px;
}

/* ---------- 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--canvas);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg use { pointer-events: none; }
:focus-visible { outline: 2px solid var(--gold-dk); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%); z-index: 300;
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 0 0 8px 8px;
  transition: top .2s var(--ease);
}
.skip:focus { top: 0; }
.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); flex: none; }
.eyebrow--inv { color: rgba(238, 233, 220, .66); }

.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 4.3vw, 3.25rem); line-height: 1.08; letter-spacing: -.02em;
  text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--gold-dk); }

.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .42; mix-blend-mode: overlay;
  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='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

/* ---------- 3. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: .82rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold {
  background: linear-gradient(140deg, var(--gold-lt), var(--gold)); color: #2a1c05;
  box-shadow: 0 12px 28px -12px rgba(165, 118, 42, .85), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn--gold:hover { box-shadow: 0 20px 36px -12px rgba(165, 118, 42, .9), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn--glass {
  color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .36);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .2); border-color: var(--gold-lt); }
.btn--line { color: var(--cream); border-color: rgba(240, 220, 171, .45); }
.btn--line:hover { border-color: var(--gold-lt); background: rgba(255, 255, 255, .06); }
.btn--sm { padding: 10px 18px; font-size: .72rem; }

.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.tlink svg { transition: transform .35s var(--ease); }
a:hover .tlink svg, .tlink:hover svg { transform: translateX(4px); }

/* ---------- 4. Header ---------------------------------------------------- */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hd-h);
  color: #fff; transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.hd::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 28, 46, .45), rgba(4, 28, 46, 0));
  transition: opacity .4s var(--ease);
}
.hd--solid {
  color: var(--ink); background: rgba(246, 243, 234, .86);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.hd--solid::before { opacity: 0; }
.hd--dark {
  color: #fff; background: rgba(8, 26, 38, .55);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.hd--dark::before { opacity: 0; }
.hd--dark .hd__nav a:hover, .hd--dark .hd__login:hover, .hd--dark .hd__ver:hover { color: var(--gold-lt); }
.hd__in {
  height: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--pad);
  display: flex; align-items: center; gap: 28px;
}
.hd__logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.hd__logo img { width: 24px; height: 28px; object-fit: contain; }
.hd__logo span {
  font-family: var(--serif); font-weight: 600; font-size: 1.02rem; letter-spacing: .3em; text-transform: uppercase;
}
.hd__nav { display: flex; gap: 26px; margin-left: 20px; }
.hd__nav a, .hd__login, .hd__ver {
  font-size: .78rem; font-weight: 500; letter-spacing: .04em; opacity: .88; transition: opacity .25s, color .25s;
}
.hd__nav a:hover, .hd__login:hover, .hd__ver:hover { opacity: 1; color: var(--gold-lt); }
.hd--solid .hd__nav a:hover, .hd--solid .hd__login:hover, .hd--solid .hd__ver:hover { color: var(--gold-dk); }
.hd__end { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.hd__ver {
  padding: 6px 12px; border-radius: 999px; border: 1px solid currentColor; opacity: .6;
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
}
.hd__burger {
  display: none; width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: inherit; position: relative;
}
.hd--solid .hd__burger { background: rgba(18, 48, 58, .07); }
.hd__burger span, .hd__burger span::before, .hd__burger span::after {
  position: absolute; left: 50%; width: 18px; height: 1.6px; margin-left: -9px; background: currentColor;
  border-radius: 2px; transition: transform .35s var(--ease), opacity .2s;
}
.hd__burger span { top: 50%; }
.hd__burger span::before, .hd__burger span::after { content: ""; left: 0; margin-left: 0; }
.hd__burger span::before { transform: translateY(-6px); }
.hd__burger span::after { transform: translateY(6px); }
.menu-open .hd__burger span { background: transparent; }
.menu-open .hd__burger span::before { transform: rotate(45deg); background: var(--ink); }
.menu-open .hd__burger span::after { transform: rotate(-45deg); background: var(--ink); }

.mnav {
  position: fixed; inset: 0; z-index: 90; background: var(--canvas);
  padding: calc(var(--hd-h) + 24px) var(--pad) 40px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mnav a:not(.btn) {
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.5rem; color: var(--ink);
}
.mnav .btn { margin-top: 24px; }
.menu-open .mnav { opacity: 1; visibility: visible; transform: none; }
.menu-open .hd { color: var(--ink); }
.menu-open .hd::before { opacity: 0; }

/* ---------- 5. The hero: a painting in planes -------------------------- */
.hero { position: relative; height: 215vh; }
.hero__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  isolation: isolate; background: var(--sky-deep); color: #fff;
}
.scene { position: absolute; inset: 0; z-index: 0; --k: 1; --ix: 0px; --iy: 0px; --iw: 100%; --ih: 100%; --lx: 68%; --ly: 22%; }
.scene__layer {
  position: absolute; inset: 0; transform-origin: var(--lx) var(--ly);
  will-change: transform; backface-visibility: hidden;
}
.scene__layer img {
  position: absolute; left: var(--ix); top: var(--iy); width: var(--iw); height: var(--ih);
  max-width: none; user-select: none; -webkit-user-drag: none;
}
.scene__layer[data-layer="clouds"] img { animation: drift 64s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(-1.1%); } to { transform: translateX(1.1%); } }

/* The lamp. It sits on the tower's plane, so it travels with it; its rays
   turn slowly, and the glow breathes. */
.lamp {
  position: absolute; width: 0; height: 0; pointer-events: none;
  left: calc(var(--ix) + var(--k) * 1312px); top: calc(var(--iy) + var(--k) * 240px);
}
.lamp__rays, .lamp__glow { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.lamp__rays {
  width: calc(var(--k) * 1700px); height: calc(var(--k) * 1700px);
  background: repeating-conic-gradient(from 0deg, rgba(255, 226, 150, .0) 0deg 7deg, rgba(255, 226, 150, .55) 8.5deg, rgba(255, 226, 150, 0) 10deg 22deg);
  -webkit-mask: radial-gradient(closest-side, #000 4%, rgba(0, 0, 0, .55) 18%, rgba(0, 0, 0, 0) 70%);
          mask: radial-gradient(closest-side, #000 4%, rgba(0, 0, 0, .55) 18%, rgba(0, 0, 0, 0) 70%);
  mix-blend-mode: screen; opacity: var(--rays, .32);
  animation: turn 48s linear infinite;
}
@keyframes turn { to { transform: translate(-50%, -50%) rotate(360deg); } }
.lamp__glow {
  width: calc(var(--k) * 300px); height: calc(var(--k) * 300px);
  background: radial-gradient(closest-side, rgba(255, 250, 225, .95), rgba(255, 222, 140, .5) 38%, rgba(255, 210, 120, 0) 72%);
  mix-blend-mode: screen; opacity: var(--glow, .75);
  animation: breathe 4.2s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: calc(var(--glow, .75) * .72); transform: translate(-50%, -50%) scale(.92); } }

.hero__veil {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(4, 30, 50, .88) 0%, rgba(4, 30, 50, .7) 28%, rgba(4, 30, 50, .3) 50%, rgba(4, 30, 50, 0) 66%),
    linear-gradient(180deg, rgba(4, 30, 50, .4) 0%, rgba(4, 30, 50, 0) 22%);
}
.hero__stage > .grain { z-index: 6; }
.hero__fade {
  position: absolute; inset: 0; z-index: 9; pointer-events: none;
  background: linear-gradient(180deg, rgba(246, 243, 234, 0) 30%, var(--canvas) 96%);
  opacity: 0;
}

.hero__copy {
  position: absolute; z-index: 7; left: 0; top: 0; bottom: 0;
  width: min(660px, 100%);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: calc(var(--hd-h) + 20px) var(--pad) 72px max(var(--pad), calc((100vw - 1360px) / 2 + var(--pad)));
  will-change: transform, opacity;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(240, 220, 171, .34);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-lt);
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(223, 191, 115, .7); animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(223, 191, 115, .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(223, 191, 115, 0); } }
.hero__h {
  margin-top: 26px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.025em;
  text-wrap: balance; text-shadow: 0 2px 40px rgba(4, 26, 50, .35);
}
.hero__h em { font-style: italic; color: var(--gold-lt); }
.hero__lede {
  margin-top: 22px; max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.62; color: rgba(255, 255, 255, .88);
}
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; color: rgba(255, 255, 255, .74);
}
.hero__note svg { color: var(--gold-lt); }

/* A request, out in the painting, being worked */
.req {
  position: absolute; z-index: 2;
  left: calc(var(--ix) + var(--k) * 1440px); top: calc(var(--iy) + var(--k) * 395px);
  width: 300px; padding: 16px 18px 15px; border-radius: 16px;
  background: rgba(252, 250, 244, .9); color: var(--ink);
  box-shadow: 0 30px 60px -28px rgba(8, 30, 48, .6), 0 2px 6px rgba(8, 30, 48, .12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .7);
}
.req__k { display: flex; align-items: center; gap: 6px; font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.req__t { margin-top: 8px; min-height: 2.7em; font-family: var(--serif); font-size: 1.08rem; line-height: 1.3; }
.req__s { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; color: var(--gold-dk); }
.caret {
  display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.16em;
  background: var(--gold-dk); animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }
.pulse {
  position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none;
}
.pulse::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--gold);
  animation: halo 1.8s var(--ease) infinite;
}
@keyframes halo { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

.toast {
  position: absolute; z-index: 8; right: max(var(--pad), calc((100vw - 1360px) / 2 + var(--pad))); top: calc(var(--hd-h) + 18px);
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; max-width: 330px;
  border-radius: 16px; background: rgba(10, 32, 46, .72); color: #fff;
  border: 1px solid rgba(240, 220, 171, .28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(-12px) scale(.98);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }
.toast__mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: linear-gradient(150deg, #173b4c, #0b2029); border: 1px solid rgba(240, 220, 171, .3);
}
.toast__mark img { width: 18px; height: 20px; object-fit: contain; }
.toast__txt { display: flex; flex-direction: column; line-height: 1.35; }
.toast__txt b { font-size: .86rem; font-weight: 600; color: var(--gold-lt); }
.toast__txt span { font-size: .78rem; color: rgba(255, 255, 255, .8); }

.hero__scroll {
  position: absolute; z-index: 8; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .6rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .8);
}
.hero__scroll svg { transform: rotate(90deg); animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: rotate(90deg) translateX(5px); } }

/* ---------- 6. The problem ------------------------------------------------ */
.problem { position: relative; background: var(--canvas); padding: clamp(90px, 11vw, 140px) 0 clamp(80px, 10vw, 120px); overflow: hidden; }
.problem__head { text-align: center; max-width: 900px; }
.problem__head .h2 { margin-top: 18px; }
.quotes { margin-top: clamp(48px, 6vw, 72px); display: flex; flex-direction: column; gap: 18px; }
.quotes__row { display: flex; gap: 18px; width: max-content; will-change: transform; }
.quotes__row:nth-child(2) { margin-left: -240px; }
.q {
  width: 330px; flex: none; padding: 22px 24px 24px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-s);
}
.q figcaption {
  display: flex; align-items: center; gap: 10px;
  font-size: .64rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-3);
}
.q__av {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: .9rem; letter-spacing: 0; color: #fff;
  background: linear-gradient(150deg, var(--sky-mid), var(--sky-deep));
}
.q:nth-child(even) .q__av { background: linear-gradient(150deg, var(--gold), var(--gold-dk)); }
.q blockquote { margin-top: 14px; font-family: var(--serif); font-size: 1.16rem; line-height: 1.38; color: var(--ink); }
.problem__close {
  margin-top: clamp(48px, 6vw, 72px); text-align: center; padding-inline: var(--pad);
  font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2;
}
.problem__close em { font-style: italic; color: var(--gold-dk); }

/* ---------- 7. How it works: the product, pinned ----------------------- */
.how { position: relative; height: 620vh; background: var(--canvas-2); }
.how__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; align-items: center; isolation: isolate;
}
.how__sky {
  position: absolute; inset: -10% -20%; z-index: -1; opacity: .11; pointer-events: none;
  -webkit-mask: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 20%, #000 75%);
          mask: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 20%, #000 75%);
}
.how__sky img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) brightness(1.05); will-change: transform; }
.how__grid {
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding: var(--hd-h) var(--pad) 40px;
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 80px); align-items: center;
}
.how__h { margin-top: 16px; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.steps { margin-top: clamp(24px, 3.4vh, 40px); counter-reset: s; }
.step {
  display: grid; grid-template-columns: 46px 1fr; gap: 0 10px; padding: 14px 0;
  border-top: 1px solid var(--line); opacity: .42; transition: opacity .5s var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--serif); font-size: 1.05rem; color: var(--ink-3); padding-top: 1px; transition: color .5s var(--ease); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.3; }
.step p {
  max-height: 0; overflow: hidden; opacity: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.55;
  transition: max-height .6s var(--ease), margin .6s var(--ease), opacity .6s var(--ease);
}
.step.is-on { opacity: 1; }
.step.is-on .step__n { color: var(--gold-dk); }
.step.is-on p { max-height: 8em; margin-top: 6px; opacity: 1; }

.how__rail {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(18, 48, 58, .08);
}
.how__rail i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-dk), var(--gold)); }

/* the app window */
.app {
  position: relative; height: clamp(440px, 64vh, 580px); border-radius: 22px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-l);
  will-change: transform;
}
.app__bar {
  height: 46px; display: flex; align-items: center; gap: 14px; padding: 0 16px;
  background: var(--canvas); border-bottom: 1px solid var(--line-2);
}
.app__dots { display: flex; gap: 6px; }
.app__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(18, 48, 58, .14); }
.app__title {
  display: flex; align-items: center; gap: 8px; margin-inline: auto;
  font-family: var(--serif); font-weight: 600; font-size: .82rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2);
}
.app__title img { width: 13px; height: 15px; object-fit: contain; }
.app__priv { display: inline-flex; align-items: center; gap: 5px; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.app__body { position: absolute; inset: 46px 0 0 0; }

.scr {
  position: absolute; inset: 0; padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 32px);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.985);
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s;
}
.scr.is-on { opacity: 1; visibility: visible; transform: none; }
.scr__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scr__k {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}
.scr__time { font-size: .72rem; color: var(--ink-3); }
.tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
  font-size: .66rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-2);
  background: var(--canvas); border: 1px solid var(--line-2);
}
.tag--lock { color: var(--gold-dk); background: #fbf6e8; border-color: rgba(156, 122, 38, .22); }

/* 01 · the request */
.ask__text {
  margin-top: 18px; min-height: 4.2em;
  font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.3; color: var(--ink);
}
.ask__chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; padding: 7px 13px; border-radius: 999px;
  font-size: .8rem; font-weight: 500; color: var(--ink);
  background: var(--canvas); border: 1px solid var(--line);
  opacity: 0; transform: translateY(8px) scale(.96);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.chip.is-in { opacity: 1; transform: none; }
.chip--gold { background: #fbf6e8; border-color: rgba(156, 122, 38, .28); color: #6d5419; }
.ask__offer { margin-top: 18px; opacity: 0; transition: opacity .5s var(--ease); }
.ask__offer.is-in { opacity: 1; }
.ask__offer .ask__chips { margin-top: 8px; }
.ask__foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.ask__vis { display: inline-flex; align-items: center; gap: 9px; font-size: .78rem; color: var(--ink-2); }
.switch { width: 34px; height: 20px; border-radius: 999px; background: var(--gold); position: relative; flex: none; }
.switch i { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.ask__btn { position: relative; display: inline-grid; }
.ask__go, .ask__on {
  grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 18px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.ask__go { background: linear-gradient(140deg, var(--gold-lt), var(--gold)); color: #2a1c05; box-shadow: 0 10px 22px -12px rgba(165, 118, 42, .8); }
.ask__on { background: var(--ink); color: var(--gold-lt); opacity: 0; transform: scale(.94); }
.ask__btn.is-active .ask__go { opacity: 0; transform: scale(1.04); }
.ask__btn.is-active .ask__on { opacity: 1; transform: none; }
.ask__btn.is-press .ask__go { transform: scale(.95); }

/* 02 · the map */
.map {
  position: relative; margin-top: 20px; flex: 1;
  display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; gap: 0 clamp(24px, 3vw, 44px);
}
.map__col { display: flex; flex-direction: column; gap: 9px; position: relative; z-index: 1; }
.map__h { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.map__col--r .map__h { text-align: right; }
.mchip {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 12px; border-radius: 10px; font-size: .82rem; font-weight: 500;
  background: var(--canvas); border: 1px solid var(--line);
  opacity: 0; transform: translateX(-10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.map__col--r .mchip { transform: translateX(10px); flex-direction: row-reverse; }
.map__col--r .mchip--gold { flex-direction: column; align-items: flex-end; }
.mchip.is-in { opacity: 1; transform: none; }
.mchip small { font-size: .56rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dk); }
.mchip--gold { background: #fbf6e8; border-color: rgba(156, 122, 38, .26); flex-direction: column; align-items: flex-end; gap: 1px; text-align: right; }
.map__you {
  position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.1rem; color: #fff;
  background: radial-gradient(circle at 35% 30%, #2d6c86, var(--ink));
  box-shadow: 0 0 0 6px rgba(223, 191, 115, .22), 0 0 0 1px var(--gold), 0 18px 40px -16px rgba(12, 36, 46, .6);
}
.map__you::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(223, 191, 115, .45);
  animation: halo 2.6s var(--ease) infinite;
}
.map__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.map__lines path { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; }
.map__facts {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .78rem; color: var(--ink-2);
  opacity: 0; transition: opacity .5s var(--ease);
}
.map__facts.is-in { opacity: 1; }
.map__facts b { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* 03 · the search */
.radar {
  position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--gold); overflow: hidden; flex: none;
}
.radar i {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(223, 191, 115, 0) 0deg, rgba(223, 191, 115, .9) 70deg, rgba(223, 191, 115, 0) 72deg);
  animation: spin 1.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cands { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.cand {
  display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  opacity: 0; transform: translateX(18px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), background-color .45s;
}
.cand.is-in { opacity: 1; transform: none; }
.cand.is-no { opacity: .42; }
.cand__b { display: flex; flex-direction: column; min-width: 0; }
.cand__b b { font-size: .86rem; font-weight: 600; }
.cand__b small { font-size: .76rem; color: var(--ink-2); line-height: 1.4; }
.cand__v { display: grid; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: right; }
.cand__v em, .cand__v strong { grid-area: 1 / 1; font-style: normal; transition: opacity .35s; }
.cand__v em { color: var(--ink-3); font-weight: 600; }
.cand__v strong { opacity: 0; color: var(--ink-3); }
.cand.is-done .cand__v em { opacity: 0; }
.cand.is-done .cand__v strong { opacity: 1; }
.cand--yes.is-done { border-color: var(--gold); background: #fffaf0; box-shadow: 0 16px 34px -20px rgba(156, 122, 38, .6), 0 0 0 3px rgba(223, 191, 115, .18); }
.cand--yes.is-done .cand__v strong { color: var(--gold-dk); }
.av {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--serif); font-size: .95rem; color: #fff;
  background: linear-gradient(150deg, #5f8795, #2f5462);
}
.cand--yes .av { background: linear-gradient(150deg, var(--gold), var(--gold-dk)); }
.scan__foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .76rem; color: var(--ink-2);
}
.scan__foot span { display: inline-flex; align-items: center; gap: 7px; }
.scan__foot svg { color: var(--gold-dk); }

/* 04 · the match */
.found {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: #6d5419; background: #fbf3dc; border: 1px solid rgba(156, 122, 38, .3);
}
.pair { margin-top: 18px; display: grid; grid-template-columns: 1fr 44px 1fr; align-items: stretch; }
.side {
  padding: 14px 16px 16px; border-radius: 14px; background: var(--canvas); border: 1px solid var(--line);
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.side.is-in { opacity: 1; transform: none; }
.side__k { margin-top: 10px; font-size: .6rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }
.side__t { margin-top: 4px; font-family: var(--serif); font-size: clamp(.95rem, 1.35vw, 1.08rem); line-height: 1.3; }
.av--you { background: linear-gradient(150deg, #2d6c86, var(--ink)); font-size: .72rem; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; }
.av--hidden { background: #203c47; color: var(--gold-lt); }
.pair__link { position: relative; align-self: center; height: 2px; margin: 0 -2px; }
.pair__link i {
  position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold-dk), var(--gold), var(--gold-dk));
  transform: scaleX(var(--link, 0)); transform-origin: 50% 50%; border-radius: 2px;
  box-shadow: 0 0 12px rgba(223, 191, 115, .8);
}
.why { margin-top: 16px; }
.why ul { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.why li {
  display: flex; align-items: center; gap: 9px; font-size: .84rem; color: var(--ink);
  opacity: 0; transform: translateX(-8px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.why li.is-in { opacity: 1; transform: none; }
.why li svg { color: var(--gold-dk); flex: none; }
.match__foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  opacity: 0; transition: opacity .5s var(--ease);
}
.match__foot.is-in { opacity: 1; }
.lockline { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; color: var(--ink-2); }
.lockline svg { color: var(--gold-dk); }
.btnpair { display: inline-flex; gap: 8px; }
.b { padding: 9px 15px; border-radius: 999px; font-size: .74rem; font-weight: 600; transition: transform .3s var(--ease), box-shadow .3s; }
.b--ghost { border: 1px solid var(--line); color: var(--ink-2); }
.b--gold { background: linear-gradient(140deg, var(--gold-lt), var(--gold)); color: #2a1c05; }
.b--gold.is-press { transform: scale(.94); box-shadow: 0 0 0 5px rgba(223, 191, 115, .3); }

/* 05 · the introduction */
.scr--intro { align-items: center; text-align: center; }
.intro { margin-top: clamp(10px, 3vh, 30px); display: flex; align-items: center; justify-content: center; gap: 0; width: 100%; }
.person { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.av--lg { width: 68px; height: 68px; font-size: .86rem; }
.av--them { position: relative; overflow: hidden; background: #203c47; color: var(--gold-lt); }
.av__lock, .av__name { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .6s var(--ease), filter .6s var(--ease); }
.av__name { opacity: 0; filter: blur(6px); font-family: var(--serif); font-size: 1.2rem; color: #fff; background: linear-gradient(150deg, var(--gold), var(--gold-dk)); }
.av--them.is-open .av__lock { opacity: 0; }
.av--them.is-open .av__name { opacity: 1; filter: none; }
.yes {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; color: #6d5419; background: #fbf3dc; border: 1px solid rgba(156, 122, 38, .3);
  opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.yes.is-in { opacity: 1; transform: none; }
.intro__beam { position: relative; width: clamp(80px, 16vw, 180px); height: 2px; margin: 0 14px 34px; background: var(--line); border-radius: 2px; }
.intro__beam i {
  position: absolute; inset: 0; border-radius: 2px; transform-origin: 0 50%; transform: scaleX(var(--beam, 0));
  background: linear-gradient(90deg, var(--gold-dk), var(--gold)); box-shadow: 0 0 14px rgba(223, 191, 115, .85);
}
.intro__done {
  margin-top: clamp(14px, 3vh, 26px); display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--ink);
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.intro__done svg { color: var(--gold-dk); }
.intro__done.is-in, .intro__who.is-in, .thread.is-in, .intro__foot.is-in { opacity: 1; transform: none; }
.intro__who { margin-top: 4px; font-size: .84rem; color: var(--ink-2); opacity: 0; transition: opacity .5s var(--ease); }
.intro__who b { color: var(--ink); }
.thread {
  margin-top: clamp(12px, 2.4vh, 22px); max-width: 420px; padding: 14px 16px; border-radius: 16px 16px 16px 4px;
  background: var(--canvas); border: 1px solid var(--line); text-align: left;
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.thread__k { font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dk); }
.thread p { margin-top: 4px; font-size: .86rem; line-height: 1.5; color: var(--ink); }
.intro__foot { margin-top: auto; font-size: .74rem; color: var(--ink-3); opacity: 0; transition: opacity .5s var(--ease); }

/* ---------- 8. Private by default ----------------------------------------- */
.privacy {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--night);
  padding: clamp(110px, 13vw, 170px) 0 clamp(70px, 8vw, 110px);
}
.privacy__art { position: absolute; inset: -14% 0; z-index: -2; }
.privacy__art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; will-change: transform; }
.privacy__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(4, 22, 34, .9) 0%, rgba(4, 22, 34, .66) 42%, rgba(4, 22, 34, .3) 100%),
    linear-gradient(180deg, rgba(4, 22, 34, .5), rgba(4, 22, 34, .15) 40%, rgba(4, 22, 34, .75));
}
.privacy__in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.privacy__copy .h2 { margin-top: 18px; }
.privacy__copy .h2 em { color: var(--gold-lt); }
.privacy__copy > p:not(.eyebrow) { margin-top: 20px; max-width: 44ch; font-size: 1.06rem; color: rgba(255, 255, 255, .84); }
.pcards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pcard {
  display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 24px; border-radius: 18px;
  background: rgba(8, 28, 42, .52); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.pcard:nth-child(even) { margin-top: 34px; }
.pcard svg { color: var(--gold-lt); margin-bottom: 8px; }
.pcard b { font-family: var(--serif); font-weight: 500; font-size: 1.18rem; }
.pcard span { font-size: .88rem; line-height: 1.5; color: rgba(255, 255, 255, .76); }
.privacy__rules {
  margin-top: clamp(56px, 7vw, 90px); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px;
  padding-inline: var(--pad);
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(240, 220, 171, .82);
}
.privacy__rules span { display: inline-flex; align-items: center; gap: 12px; }
.privacy__rules span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- 9. Who it's for ---------------------------------------------- */
.who { background: var(--canvas); padding: clamp(90px, 11vw, 140px) 0; }
.who__head { max-width: 780px; }
.who__head .h2 { margin-top: 18px; }
.who__grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 28px); align-items: start; }
.wcard {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: clamp(26px, 3.6vw, 44px); border-radius: 24px;
  background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.wcard--ink { background: linear-gradient(160deg, #163845, var(--night)); color: var(--cream); border-color: rgba(255, 255, 255, .06); margin-top: 60px; }
.wcard__k { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dk); }
.wcard--ink .wcard__k { color: var(--gold); }
.wcard h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.15; letter-spacing: -.01em; }
.wcard > p { color: var(--ink-2); }
.wcard--ink > p { color: rgba(238, 233, 220, .8); }
.tagset { width: 100%; }
.tagset > p { margin: 10px 0 8px; font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 5px 11px; border-radius: 999px; font-size: .76rem; background: var(--canvas); border: 1px solid var(--line-2); }
.mandates { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mandates div { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.mandates b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1rem; color: #fff; }
.mandates span { display: block; margin-top: 4px; font-size: .78rem; color: rgba(238, 233, 220, .7); }
.ticks { display: flex; flex-direction: column; gap: 8px; }
.ticks li { display: flex; align-items: flex-start; gap: 9px; font-size: .9rem; }
.ticks svg { color: var(--gold-dk); margin-top: 4px; flex: none; }
.wcard--ink .ticks svg { color: var(--gold); }
.wcard__meta { font-size: .76rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); }

/* ---------- 10. Beyond matching ------------------------------------------ */
.beyond { background: var(--canvas-2); padding: clamp(90px, 11vw, 140px) 0; }
.beyond__head .h2 { margin-top: 18px; max-width: 720px; }
.beyond__grid { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(18px, 2.4vw, 28px); }
.tvcard {
  position: relative; display: block; min-height: 520px; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: #000; color: #fff; box-shadow: var(--shadow);
}
.tvcard__art { position: absolute; inset: -10% 0; z-index: -1; }
.tvcard__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; will-change: transform; transition: transform 1.2s var(--ease); }
.tvcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .85)); }
.tvcard__rec {
  position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.tvcard__rec i { width: 7px; height: 7px; border-radius: 50%; background: #e0493a; animation: breathe2 1.6s ease-in-out infinite; }
@keyframes breathe2 { 50% { opacity: .3; } }
.tvcard__b { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.tvcard__b b { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1; letter-spacing: -.01em; }
.tvcard__b > span:not(.tlink) { font-size: .92rem; color: rgba(255, 255, 255, .8); max-width: 36ch; }
.tvcard .tlink { margin-top: 6px; color: var(--gold-lt); }
.events { display: flex; flex-direction: column; gap: 16px; }
.events__lede { font-size: 1.02rem; color: var(--ink-2); max-width: 52ch; }
.events__lede b { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--ink); }
.ecards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ecard {
  display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 18px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-s);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ecard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ecard__art { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
.ecard__art img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.ecard__tag, .ecard b, .ecard > span:last-child { padding-inline: 8px; }
.ecard__tag { font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dk); }
.ecard b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.ecard > span:last-child { font-size: .82rem; line-height: 1.45; color: var(--ink-2); }

/* ---------- 11. FAQ ------------------------------------------------------- */
.faq { background: var(--canvas); padding: clamp(90px, 11vw, 140px) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); }
.faq__aside .h2 { margin-top: 18px; }
.faq__aside p { margin-top: 18px; color: var(--ink-2); }
.faq__aside a { color: var(--gold-dk); border-bottom: 1px solid var(--gold); }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-family: var(--serif); font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex: none; color: var(--gold-dk); transition: transform .4s var(--ease); }
.qa[open] summary svg { transform: rotate(45deg); }
.qa__a { padding: 0 40px 24px 0; color: var(--ink-2); }

/* ---------- 12. Closing: the same hill at dusk -------------------------- */
.closer { position: relative; height: 180vh; }
.closer__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate;
  background: #16223a; color: #fff; display: grid; place-items: center;
}
.scene--dusk .scene__layer[data-layer="sky"] img { filter: saturate(1.15) hue-rotate(14deg) brightness(.5) contrast(1.12); }
.scene--dusk .scene__layer[data-layer="clouds"] img { filter: sepia(.65) saturate(1.8) hue-rotate(-30deg) brightness(.82); animation: none; }
.scene--dusk .scene__layer[data-layer="hill"] img { filter: sepia(.45) saturate(1.2) hue-rotate(-18deg) brightness(.5) contrast(1.1); }
.scene--dusk .lamp { --glow: 1; --rays: .5; }
.closer__veil {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 55%, rgba(8, 18, 34, .6), rgba(8, 18, 34, 0) 70%),
    linear-gradient(180deg, rgba(10, 20, 44, .72) 0%, rgba(40, 30, 60, .25) 45%, rgba(10, 16, 28, .82) 100%);
}
.closer__stage > .grain { z-index: 5; }
.closer__copy { position: relative; z-index: 6; max-width: 760px; padding: 0 var(--pad); text-align: center; display: flex; flex-direction: column; align-items: center; }
.closer__copy .h2 { margin-top: 18px; font-size: clamp(2.3rem, 5.2vw, 4rem); text-shadow: 0 2px 30px rgba(0, 0, 0, .4); }
.closer__copy .h2 em { color: var(--gold-lt); }
.closer__copy > p:not(.eyebrow) { margin-top: 18px; max-width: 48ch; color: rgba(255, 255, 255, .84); font-size: 1.06rem; }
.closer__cta { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- 13. Footer ----------------------------------------------------- */
.ft { background: var(--night); color: rgba(238, 233, 220, .78); padding: 70px 0 30px; }
.ft__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.ft .hd__logo { color: #fff; }
.ft__brand p { margin-top: 16px; max-width: 34ch; font-size: .9rem; }
.ft__col p { font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.ft__col ul { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; font-size: .9rem; }
.ft__col a:hover { color: var(--gold-lt); }
.ft__bot {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-inv);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .74rem; color: rgba(238, 233, 220, .55);
}

/* ---------- 14. Reveal ---------------------------------------------------- */
.js [data-rv] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-rv].is-in { opacity: 1; transform: none; }
/* parallax items own their transform; they reveal by opacity alone */
.js [data-rv][data-par] { transform: none; transition: opacity 1s var(--ease); }

/* ---------- 15. Responsive ------------------------------------------------- */
@media (max-width: 1080px) {
  .hd__nav { display: none; }
  .req { display: none; }
}
@media (max-width: 860px) {
  :root { --hd-h: 64px; }
  .hd__login, .hd__ver, .hd__cta { display: none; }
  .hd__burger { display: block; }

  .hero { height: 190vh; }
  .hero__veil {
    background:
      linear-gradient(180deg, rgba(4, 30, 50, .82) 0%, rgba(4, 30, 50, .62) 34%, rgba(4, 30, 50, .12) 60%, rgba(4, 30, 50, 0) 72%),
      linear-gradient(0deg, rgba(4, 30, 50, .5), rgba(4, 30, 50, 0) 30%);
  }
  .hero__copy { justify-content: flex-start; padding-top: calc(var(--hd-h) + 18px); width: 100%; }
  .hero__h { margin-top: 18px; font-size: clamp(2.2rem, 9.4vw, 3.2rem); }
  .hero__lede { margin-top: 14px; font-size: .98rem; }
  .hero__cta { margin-top: 22px; }
  .hero__cta .btn { padding: 13px 20px; font-size: .74rem; }
  .toast { top: auto; bottom: 64px; right: var(--pad); left: var(--pad); max-width: none; }

  .how { height: 560vh; }
  .how__grid { display: flex; flex-direction: column; justify-content: center; gap: 16px; height: 100%; padding-bottom: 22px; }
  .how__text { flex: none; }
  .how__text .eyebrow, .how__h { display: none; }
  .steps { margin-top: 0; }
  .step { display: none; padding: 0; border: 0; opacity: 1; }
  .step:last-child { border: 0; }
  .step.is-on { display: grid; }
  .step p { max-height: none; }
  .app { width: 100%; height: auto; flex: 1; min-height: 0; max-height: 560px; }

  .privacy__in { grid-template-columns: 1fr; }
  .pcards { grid-template-columns: 1fr 1fr; }
  .who__grid, .beyond__grid, .faq__grid { grid-template-columns: 1fr; }
  .wcard--ink { margin-top: 0; }
  .tvcard { min-height: 440px; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
  .ft__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hero__lede { font-size: .94rem; }
  .q { width: 272px; padding: 18px; }
  .q blockquote { font-size: 1.02rem; }
  .pcards { grid-template-columns: 1fr; }
  .pcard:nth-child(even) { margin-top: 0; }
  .mandates { grid-template-columns: 1fr; }
  .ecards { grid-template-columns: 1fr; }
  .scr { padding: 16px 16px 18px; }
  .ask__text { font-size: 1.18rem; min-height: 4.6em; margin-top: 12px; }
  .chip { font-size: .74rem; padding: 6px 10px; }
  .map { grid-template-columns: 1fr 64px 1fr; gap: 0 14px; margin-top: 12px; }
  .map__you { width: 64px; height: 64px; font-size: .9rem; }
  .mchip { font-size: .72rem; padding: 7px 8px; }
  .mchip small { display: none; }
  .map__facts span:last-child { display: none; }
  .cand { grid-template-columns: 32px 1fr; padding: 9px 11px; gap: 10px; }
  .cand .av { width: 32px; height: 32px; }
  .cand__v { grid-column: 2; text-align: left; }
  .cand__b small { display: none; }
  .pair { grid-template-columns: 1fr; gap: 0; }
  .pair__link { height: 20px; width: 2px; justify-self: center; margin: 0; }
  .pair__link i { transform: scaleY(var(--link, 0)); }
  .side { padding: 10px 12px; display: grid; grid-template-columns: 34px 1fr; gap: 0 10px; align-items: center; }
  .side .av { width: 34px; height: 34px; grid-row: span 2; }
  .side__k { margin-top: 0; }
  .why { margin-top: 10px; }
  .why li { font-size: .78rem; }
  .match__foot .lockline { display: none; }
  .av--lg { width: 54px; height: 54px; }
  .thread p { font-size: .8rem; }
  .ft__grid { grid-template-columns: 1fr; }
}
@media (max-height: 700px) and (max-width: 860px) {
  .step p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-rv] { opacity: 1; transform: none; }
}
