/* Dungaw website: dark, quiet, glass. */

:root {
  --bg: #08080A;
  --bg-2: #0E0E11;
  --ink: #EDEDEF;
  --ink-2: #9A9AA2;
  --ink-3: #85858D;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .12);

  --glass-fill: rgba(255, 255, 255, .045);
  --glass-line: rgba(255, 255, 255, .10);
  --glass-hi: rgba(255, 255, 255, .08);
  --glass-shadow: 0 24px 60px rgba(0, 0, 0, .55);

  --font: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --r: 20px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; }
code { font: 500 .88em var(--mono); color: var(--ink); background: rgba(255,255,255,.06); padding: .1em .4em; border-radius: 6px; }
::selection { background: rgba(255, 255, 255, .22); }
:focus-visible { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: 12px; top: -48px; z-index: 200; padding: 8px 14px; background: var(--ink); color: var(--bg); border-radius: 10px; }
.skip:focus { top: 12px; }

.lb {
  font: 500 11.5px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- Glass (the reference card, on dark) ---------- */
.glass {
  background: var(--glass-fill);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border-radius: var(--r);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(24, 24, 28, .92); }
}

/* Drifting light behind the glass: the reference's three blobs, in white and grey. */
.field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.field .bl { position: absolute; border-radius: 50%; width: 62vmax; aspect-ratio: 1; will-change: transform; }
.field .b1 { left: -14%; top: -30%; background: radial-gradient(circle, rgba(255,255,255,.15) 0 22%, rgba(255,255,255,0) 66%); animation: d1 11s ease-in-out infinite alternate; }
.field .b2 { right: -18%; bottom: -36%; background: radial-gradient(circle, rgba(160,166,182,.16) 0 24%, rgba(160,166,182,0) 64%); animation: d2 13s ease-in-out infinite alternate; }
.field .b3 { left: 34%; top: 30%; width: 40vmax; background: radial-gradient(circle, rgba(255,255,255,.10) 0 26%, rgba(255,255,255,0) 66%); animation: d3 9s ease-in-out infinite alternate; }
.field-soft { opacity: .6; }
/* Ambient motion pauses when nobody is using the page, or when it's off screen. */
.is-idle .field .bl, .field.is-off .bl,
.is-idle .sheen, .window.is-off .sheen,
.is-idle .scroll-hint i { animation-play-state: paused; }
@keyframes d1 { to { transform: translate(40%, 30%) scale(1.15); } }
@keyframes d2 { to { transform: translate(-44%, -28%) scale(.9); } }
@keyframes d3 { to { transform: translate(-56%, -20%) scale(1.25); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 20px;
  border-radius: 999px;
  background: var(--ink); color: #0A0A0C;
  font: 700 15px/1 var(--font);
  transition: transform .3s var(--ease-out), background-color .3s, box-shadow .3s;
  box-shadow: 0 8px 30px rgba(255, 255, 255, .08);
  white-space: nowrap;
}
.btn i { font-size: 18px; }
.btn:hover { transform: translateY(-1px); background: #fff; box-shadow: 0 10px 40px rgba(255, 255, 255, .16); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-note { font: 500 12px/1 var(--mono); opacity: .55; margin-left: 2px; }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--ink); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 var(--glass-hi); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-ghost:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 1px 0 var(--glass-hi); }
.btn-sm { height: 36px; padding: 0 15px; font-size: 14px; }
.btn-sm i { font-size: 16px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; z-index: 50;
  top: 0; left: 50%;
  width: 100%; height: var(--nav-h);
  transform: translateX(-50%);
  background-color: rgba(8, 8, 10, 1);
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  border-radius: 0;
  box-shadow: inset 0 1px 0 transparent, 0 0 0 transparent;
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  transition:
    width .6s var(--ease-out), height .6s var(--ease-out), top .6s var(--ease-out),
    border-radius .6s var(--ease-out), background-color .6s var(--ease-out),
    border-color .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.nav.is-pill {
  top: 12px;
  width: min(720px, calc(100% - 24px));
  height: 54px;
  border-radius: 999px;
  background-color: rgba(20, 20, 24, .55);
  border-color: var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 16px 44px rgba(0, 0, 0, .5);
}
.nav-in {
  height: 100%;
  max-width: 1200px; margin: 0 auto;
  padding: 0 28px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  transition: padding .6s var(--ease-out);
}
.nav.is-pill .nav-in { padding: 0 9px 0 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 17px/1 var(--font); letter-spacing: -.01em; justify-self: start; }
.brand img { flex: none; width: 28px; height: 28px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line-2); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: 14.5px; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.nav-end { display: flex; align-items: center; gap: 6px; justify-self: end; }
.icon-link { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px; color: var(--ink-2); font-size: 20px; transition: color .2s, background-color .2s; }
.icon-link:hover { color: var(--ink); background: rgba(255,255,255,.06); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 330vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; --p: 0; }

.scene2 { position: absolute; inset: 0; background: var(--bg-2); transform: scale(var(--s2s, 1.25)); will-change: transform; }
.horizon { position: absolute; left: -10%; right: -10%; bottom: 0; height: 70%; background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.07), rgba(255,255,255,0) 70%); }
/* The hero ends in the page's own colour, so there is no line where it meets the next section. */
.scene2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(180deg, rgba(8,8,10,0), var(--bg) 92%); pointer-events: none; }
.s2 {
  position: relative; z-index: 1;
  height: 100%;
  max-width: 1120px; margin: 0 auto;
  padding: calc(var(--nav-h) + 4vh) 24px 4vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 22px;
}
.pill-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid var(--line);
  font: 500 13px/1 var(--font); color: var(--ink-2);
}
.pill-tag i { font-size: 15px; color: var(--ink); }
.s2-title {
  font: 700 clamp(44px, 7.4vw, 104px)/.98 var(--font);
  letter-spacing: -.045em;
  max-width: 11.5em;
  text-wrap: balance;
}
.s2-title .w { display: inline-block; will-change: transform, opacity, filter; }
.s2-sub { max-width: 34em; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 980px; margin-top: 2.4vh; text-align: left; }
.stat { display: grid; gap: 12px; padding: 16px 17px; }
.stat-top { display: flex; justify-content: space-between; align-items: center; }
.stat-top i { font-size: 15px; color: var(--ink); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.08); }
.num { font: 700 38px/1 var(--font); letter-spacing: -.05em; display: flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; }
.num small { font: 500 14px/1 var(--mono); letter-spacing: 0; color: var(--ink-2); }
.stat-note { font-size: 13px; color: var(--ink-2); line-height: 1.3; }
.stat-plus { font: 500 11.5px/1.35 var(--mono); color: var(--ink-3); margin-top: -6px; }

/* Items that arrive as the hero finishes (opacity/translate set from --p by main.js). */
.reveal-s2 { opacity: var(--o, 0); transform: translateY(calc((1 - var(--o, 0)) * 18px)); will-change: transform, opacity; }

/* Scene 1: the wall and its window */
.wall { position: absolute; inset: 0; transform: scale(var(--ws, 1)); opacity: var(--wo, 1); will-change: transform, opacity; pointer-events: none; }
.window {
  --win-w: min(28vw, 400px, 40vh);
  position: absolute; left: 50%; top: 50%;
  width: var(--win-w); aspect-ratio: 1 / 1.35;
  transform: translate(-50%, -50%);
}
.pane {
  position: absolute; inset: 0;
  border-radius: calc(var(--win-w) / 2) calc(var(--win-w) / 2) 10px 10px;
  /* The wall is this pane's shadow: everything outside the arch. */
  box-shadow:
    0 0 0 10px #17171B,
    0 0 0 11px rgba(255,255,255,.07),
    inset 0 0 0 1px rgba(255,255,255,.10),
    inset 0 30px 60px rgba(255,255,255,.04),
    0 0 0 250vmax var(--bg);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 40%);
  overflow: hidden;
}
.sheen {
  position: absolute; top: -20%; bottom: -20%; width: 45%; left: -60%;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.07) 45%, rgba(255,255,255,.12) 50%, rgba(255,255,255,0) 60%);
  transform: skewX(-12deg);
  animation: sheen 7s var(--ease-out) infinite;
}
@keyframes sheen { 0%, 30% { left: -60%; } 70%, 100% { left: 130%; } }
.sill {
  position: absolute; left: -26px; right: -26px; top: calc(100% + 10px);
  height: 12px; border-radius: 4px;
  background: linear-gradient(180deg, #1E1E23, #121215);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 14px 30px rgba(0,0,0,.6);
}
.spill {
  position: absolute; left: 50%; top: 50%;
  width: 120vmin; height: 120vmin;
  transform: translate(-50%, -46%);
  background: radial-gradient(closest-side, rgba(255,255,255,.07), rgba(255,255,255,0));
  z-index: 1;
}
.window { z-index: 2; }

.s1 {
  position: absolute; inset: 0; pointer-events: none;
  display: grid; grid-template-rows: 1fr auto 1fr;
  justify-items: center; text-align: center;
  opacity: var(--s1o, 1); transform: translateY(calc(var(--s1y, 0) * -1px));
}
.s1-label { align-self: end; margin-bottom: calc(min(28vw, 400px, 40vh) * .675 + 34px); grid-row: 1 / 3; grid-column: 1; }
.s1-line { grid-row: 2 / 4; grid-column: 1; align-self: start; margin-top: calc(min(28vw, 400px, 40vh) * .675 + 44px); font: 700 clamp(26px, 3vw, 40px)/1.1 var(--font); letter-spacing: -.03em; }
.s1-hint { position: absolute; left: 32px; bottom: 30px; text-align: left; font-size: 13px; color: var(--ink-3); max-width: 22em; }
.scroll-hint {
  position: absolute; right: 32px; bottom: 30px;
  display: flex; align-items: center; gap: 8px; color: var(--ink-2);
  opacity: var(--s1o, 1);
}
.scroll-hint i { animation: nudge 1.8s var(--ease-out) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Showcase ---------- */
.showcase { position: relative; padding: 40px 24px 40px; display: grid; justify-items: center; gap: 22px; }
.shot-frame {
  width: min(1180px, 100%);
  padding: 0;
  transform: translateY(calc((1 - var(--sc, 1)) * 60px)) scale(calc(.94 + var(--sc, 1) * .06));
  opacity: calc(.35 + var(--sc, 1) * .65);
  will-change: transform;
}
.shot-frame { position: relative; isolation: isolate; }
/* Soft light behind the screenshot, so it lifts off the dark page. */
.shot-frame::before {
  content: ""; position: absolute; z-index: -1;
  inset: -10% -6% -14%;
  background: radial-gradient(50% 50% at 50% 45%, rgba(255,255,255,.24), rgba(255,255,255,.08) 55%, rgba(255,255,255,0) 78%);
  filter: blur(30px);
  pointer-events: none;
}
/* The edge: a faint hairline, with two glints of light that travel around it as the
   page scrolls (--glaze is set from the scroll position by main.js). */
.shot-frame {
  --glints: conic-gradient(from var(--glaze, 20deg),
    rgba(255,255,255,0) 0deg, rgba(255,255,255,.95) 34deg, rgba(255,255,255,0) 80deg,
    rgba(255,255,255,0) 180deg, rgba(255,255,255,.7) 214deg, rgba(255,255,255,0) 260deg);
}
.shot-frame::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 12px; padding: 1.5px;
  background: var(--glints), linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,.08) 40%, rgba(255,255,255,.12));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
/* The same glints, blurred behind the image, so the light spills past the edge. */
.glaze {
  position: absolute; inset: -2px; z-index: -1;
  border-radius: 14px;
  background: var(--glints);
  filter: blur(16px);
  opacity: .55;
  pointer-events: none;
}
.shot-frame img {
  border-radius: 12px; width: 100%;
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 40px 90px -20px rgba(0,0,0,.8), 0 0 60px rgba(255,255,255,.10), 0 0 140px rgba(255,255,255,.08);
}
.caption { color: var(--ink-2); font-size: 15px; text-align: center; max-width: 36em; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 140px 0 40px; }
/* The light isn't boxed in by its section: it spills into the ones around it and fades out on its own. */
.section > .field { z-index: 0; inset: -35% 0; overflow: visible; overflow-x: clip; }
.wrap { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }
.section-head { display: grid; gap: 14px; margin-bottom: 48px; }
.section-head h2 { font: 700 clamp(34px, 4.6vw, 60px)/1.02 var(--font); letter-spacing: -.04em; max-width: 14em; text-wrap: balance; }
.section-sub { color: var(--ink-2); font-size: 17px; }

/* Rise-in when scrolled into view */
.rise { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.rise.is-in { opacity: 1; transform: none; }

.chip {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  font-size: 20px; color: var(--ink);
}

/* Local panel */
.local { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; padding: 34px; margin-bottom: 16px; }
.local-text { display: grid; align-content: start; gap: 16px; }
.local h3 { font: 700 30px/1.1 var(--font); letter-spacing: -.03em; }
.local-text > p { color: var(--ink-2); }
.promises { display: flex; flex-wrap: wrap; gap: 8px; }
.promises li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: 14px; }
.promises i { font-size: 16px; color: var(--ink-2); }
.fine { font-size: 13px; color: var(--ink-3); }
.leaves { display: grid; align-content: start; gap: 14px; }
.leave-rows { display: grid; border-top: 1px solid var(--line); }
.leave-rows li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.leave-rows i { font-size: 18px; color: var(--ink-2); }
.leave-rows em { font-style: normal; color: var(--ink-2); font-size: 13.5px; text-align: right; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; display: grid; align-content: start; gap: 14px; padding: 24px; overflow: hidden; transition: border-color .3s, background-color .3s, transform .5s var(--ease-out); }
.card:hover { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.card h3 { font: 700 19px/1.2 var(--font); letter-spacing: -.02em; }
.card p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.card kbd { justify-self: start; font: 500 12px/1 var(--mono); padding: 6px 9px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1px solid var(--line); color: var(--ink); }
.card-blocker { grid-column: span 2; grid-row: span 2; padding: 32px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); }
.card-blocker h3 { font-size: 28px; letter-spacing: -.03em; max-width: 12em; }
.card-blocker p { font-size: 16px; max-width: 30em; }
.levels { display: grid; gap: 0; margin-top: auto; border-top: 1px solid var(--line); }
.levels li { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.card-wide { grid-column: span 2; }
.card-shot { grid-column: span 2; padding: 0; grid-template-rows: auto 1fr; }
.card-shot .card-copy { display: grid; gap: 14px; padding: 24px 24px 0; }
.crop { margin: 8px 0 0 24px; height: 270px; overflow: hidden; border-radius: 12px 0 0 0; border: 1px solid var(--line); border-right: 0; border-bottom: 0; }
.crop img { width: max(100%, 560px); max-width: none; height: auto; transition: transform 1.2s var(--ease-out); }
.card-shot:hover .crop img { transform: translate(-12px, -8px); }

/* ---------- Comparison ---------- */
.charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.chart { padding: 24px; display: grid; gap: 20px; align-content: start; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.chart-head h3 { font: 700 19px/1.2 var(--font); letter-spacing: -.02em; }
.chart-head .lb { font-size: 10.5px; }
.chart-note { font-size: 13px; color: var(--ink-2); margin-top: -12px; }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; gap: 7px; }
.bar-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--ink-2); }
.bar-label b { font-weight: 700; color: var(--ink); }
.bar-label .val { font: 500 13px/1 var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bar-row.is-us .bar-label .val { color: var(--ink); }
.track { height: 10px; border-radius: 999px; background: rgba(255,255,255,.05); overflow: hidden; }
.fill { display: block; height: 100%; width: 0; min-width: 0; border-radius: inherit; background: rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.bar-row.is-us .fill { background: linear-gradient(90deg, #CFCFD4, #FFFFFF); box-shadow: 0 0 18px rgba(255,255,255,.35); }
.fill.is-dot { min-width: 10px; }
.method { margin-top: 22px; color: var(--ink-3); font-size: 13px; line-height: 1.6; max-width: 70em; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { font: inherit; }
.qa button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 2px; background: none; border: 0; cursor: pointer; text-align: left;
  font: 700 clamp(17px, 1.6vw, 20px)/1.3 var(--font); letter-spacing: -.015em;
  transition: color .2s;
}
.qa button:hover { color: #fff; }
.chev {
  flex: none; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 999px; font-size: 14px;
  box-shadow: inset 0 1px 0 var(--glass-hi);
  transition: transform .52s var(--ease-spring), background-color .3s;
}
.qa button[aria-expanded="true"] .chev { transform: rotate(180deg); background: rgba(255,255,255,.1); }
.a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease-out); }
.a > div { overflow: hidden; }
.a p {
  padding: 0 52px 24px 2px; color: var(--ink-2); max-width: 44em;
  opacity: 0; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.a p a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.qa.is-open .a { grid-template-rows: 1fr; }
.qa.is-open .a p { opacity: 1; transform: none; transition: opacity .4s var(--ease-out) .12s, transform .4s var(--ease-out) .12s; }

/* ---------- Footer ---------- */
.footer { position: relative; margin-top: 140px; border-top: 1px solid var(--line); padding-top: 56px; overflow: hidden; }
.footer-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { display: grid; gap: 14px; justify-items: start; }
.footer-brand img { border-radius: 10px; box-shadow: 0 0 0 1px var(--line-2); }
.footer-brand p { color: var(--ink-2); }
.footer-cols { display: flex; gap: 72px; }
.footer-cols div { display: grid; gap: 10px; align-content: start; }
.footer-cols .lb { margin-bottom: 6px; }
.footer-cols a { color: var(--ink-2); font-size: 15px; transition: color .2s; }
.footer-cols a:hover { color: var(--ink); }
.footer-fine { margin-top: 48px; color: var(--ink-3); font-size: 13px; }
.mark-mask { position: relative; overflow: hidden; margin-top: 24px; line-height: .8; padding-top: 1vw; text-align: center; }
.mark {
  display: block;
  font: 900 24vw/.8 var(--font);
  letter-spacing: -.065em;
  padding-bottom: 4vw;
  color: #F2F2F4;
  /* Solid ink that fades toward the page's bottom edge. */
  -webkit-mask-image: linear-gradient(180deg, #000 30%, rgba(0,0,0,.6) 72%, rgba(0,0,0,.22) 100%);
  mask-image: linear-gradient(180deg, #000 30%, rgba(0,0,0,.6) 72%, rgba(0,0,0,.22) 100%);
  transform: translateY(calc((1 - var(--f, 0)) * 100%));
  will-change: transform;
  user-select: none;
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1020px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .charts { grid-template-columns: 1fr; max-width: 620px; }
  .local { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --nav-h: 58px; }
  .nav-in { padding: 0 16px; grid-template-columns: auto 1fr auto; }
  .nav-links { justify-self: center; }
  .nav-links a { padding: 8px 9px; font-size: 14px; }
  .nav.is-pill .nav-in { padding: 0 6px 0 10px; }
  .brand span { display: none; }
  .icon-link { display: none; }
  .window { --win-w: min(62vw, 38vh); }
  .s1-label { margin-bottom: calc(min(62vw, 38vh) * .675 + 30px); }
  .s1-line { margin-top: calc(min(62vw, 38vh) * .675 + 40px); }
  .s1-hint { display: none; }
  .scroll-hint { right: 50%; transform: translateX(50%); bottom: 22px; }
  .s2 { gap: 16px; padding-top: calc(var(--nav-h) + 2vh); }
  .s2-title { font-size: clamp(36px, 11vw, 56px); }
  .stats { gap: 8px; margin-top: 4px; }
  .stat { padding: 12px 13px; gap: 8px; }
  .num { font-size: 28px; }
  .stat-note { font-size: 12px; }
  .ctas .btn-ghost { display: none; }
  .bento { grid-template-columns: 1fr; }
  .card-blocker, .card-shot, .card-wide { grid-column: auto; grid-row: auto; }
  .card-blocker { padding: 24px; }
  .local { padding: 24px; }
  .leave-rows li { grid-template-columns: 22px 1fr; }
  .leave-rows em { grid-column: 2; text-align: left; }
  .section { padding-top: 100px; }
  .footer-cols { gap: 40px; }
}
@media (max-height: 760px) and (min-width: 721px) {
  .s2 { gap: 14px; }
  .stat { padding: 12px 14px; gap: 8px; }
  .num { font-size: 30px; }
}

/* ---------- Reduced motion: every effect at its end ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .hero { height: auto; }
  .stage { position: relative; height: auto; min-height: 100svh; }
  .scene2 { position: relative; transform: none; }
  .wall, .s1, .scroll-hint { display: none; }
  .reveal-s2 { opacity: 1; transform: none; }
  .shot-frame { transform: none; opacity: 1; }
  .rise { opacity: 1; transform: none; }
  .mark { transform: none; }
}
