/* Timeverse company site. One black canvas, white light, Geist. */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-200_700-normal.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #0a0a0a;
  --surface-2: #121212;
  --ink: #f5f5f5;
  --ink-2: #a3a3a3;
  --ink-3: #8a8a8a;
  --ink-4: #767676;
  --ink-dim: #5c5c5c;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.16);
  --glow: #cfe0ff;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --nav-h: 72px;
  --section: clamp(112px, 16vw, 224px);

  --fs-display: clamp(3.1rem, 1.2rem + 7.6vw, 9.75rem);
  --fs-h2: clamp(2.2rem, 1.25rem + 3.9vw, 5.6rem);
  --fs-h3: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem);
  --fs-lead: clamp(1.1rem, 0.98rem + 0.5vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-mono: 0.75rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ol, ul { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: #000; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 4px;
}

.sr-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #000; font-weight: 500;
  transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Type ---------- */

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

.mono {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
}
.overline { color: var(--ink-3); margin-bottom: clamp(20px, 2.4vw, 32px); }

.display {
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.052em;
  margin-left: -0.04em;
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 17ch;
  text-wrap: balance;
}
.h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  max-width: 34em;
  text-wrap: pretty;
}
.body { max-width: 38em; text-wrap: pretty; }
.muted, .dim { color: var(--ink-3); }
.h2 .dim, .display .dim { color: var(--ink-dim); }

.caret {
  display: inline-block;
  margin-left: 0.02em;
  animation: blink 1.1s steps(1) infinite;
}
.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

sup { font-size: 0.8em; line-height: 0; margin-left: 2px; }
sup a { color: var(--ink-3); }
sup a:hover { color: var(--ink); }

/* ---------- Buttons ---------- */

.btn {
  --h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--h);
  padding-inline: 26px;
  border-radius: 999px;
  font-size: 0.975rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
.btn--lg { --h: 56px; padding-inline: 30px; font-size: 1.02rem; }
.btn--sm { --h: 40px; padding-inline: 20px; font-size: 0.9rem; }
.btn::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--primary { background: var(--ink); color: #000; }
.btn--primary::before { background: #fff; }
.btn--primary:hover { transform: scale(1.02); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: #000; border-color: var(--ink); }
.btn__arrow { display: inline-block; transition: transform 0.5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:hover .btn__arrow:where(:not(:empty)) { transform: translate(3px, -1px); }

/* ---------- Intro + curtain ---------- */

.intro {
  position: fixed; inset: 0; z-index: 150;
  place-items: center;
  background: #000;
  pointer-events: none;
}
/* The <use> draws the symbol into a 0 0 W H viewport, so the outer viewBox
   must start at 0 0 (it used to repeat the symbol box and cropped the mark).
   The symbol box carries a 2-unit margin so curve tips are never shaved. */
.intro__mark { width: 68px; height: auto; color: var(--ink); opacity: 0; overflow: visible; }
.intro { display: none; }
.js:not(.motion-off) body.is-loading .intro { display: grid; }

.curtain {
  position: fixed; inset: 0; z-index: 140;
  background: #000;
  opacity: 0; pointer-events: none;
  transition: opacity 0.45s var(--ease-io);
}
.curtain.is-on { opacity: 1; pointer-events: auto; }

/* ---------- Nav ---------- */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.6s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  height: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
/* NK 2026-10-24: the lockup read too small next to the links; ~19px tall on
   desktop keeps it the clear anchor of the bar without crowding it. */
.nav__brand { display: inline-flex; align-items: center; }
.nav__brand img { width: clamp(168px, 14vw, 216px); height: auto; display: block; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover, .nav__links a.is-current { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; }
.nav__progress i { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; opacity: 0.6; }
.nav__toggle { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: #000;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-size: clamp(2.2rem, 10vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.12;
  padding-block: 6px;
  border-bottom: 1px solid var(--line);
}
.menu__foot { color: var(--ink-3); }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; margin-left: auto;
    border-radius: 999px; border: 1px solid var(--line-2);
  }
  .nav__toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  isolation: isolate;
}
.hero__cosmos, .hero__fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
}
.hero__fallback {
  z-index: -2;
  background:
    radial-gradient(120% 60% at 62% 118%, rgba(207, 224, 255, 0.18) 0%, rgba(207, 224, 255, 0.05) 38%, transparent 60%),
    radial-gradient(160% 100% at 50% 140%, #000 58%, transparent 58.4%),
    radial-gradient(1px 1px at 20% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 44%, rgba(255,255,255,0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 40% 12%, rgba(255,255,255,0.6) 50%, transparent 51%),
    #000;
}
.has-webgl .hero__fallback { display: none; }
.hero__content { position: relative; padding-bottom: clamp(120px, 18vh, 200px); padding-top: clamp(32px, 8vh, 96px); }
.hero__lead { margin-top: clamp(24px, 3vw, 40px); max-width: 33em; color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(32px, 4vw, 48px); }

.telemetry {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-bottom: clamp(20px, 3vh, 36px);
}
.telemetry__cell {
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}
.telemetry__cell + .telemetry__cell { padding-left: 24px; }
.telemetry__k { color: var(--ink-3); font-size: 0.6875rem; }
.telemetry__v {
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.telemetry__v--dim { color: var(--ink-2); }

@media (max-width: 760px) {
  .hero { justify-content: flex-start; }
  .hero__content { padding-top: clamp(56px, 12vh, 120px); padding-bottom: 220px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .telemetry { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .telemetry__cell--end { display: none; }
}

/* ---------- Sections ---------- */

.section { position: relative; padding-block: var(--section); }
.section__head { margin-bottom: clamp(56px, 8vw, 112px); }

/* Gap */
.ledger { border-top: 1px solid var(--line); }
.ledger__row {
  display: grid;
  grid-template-columns: minmax(150px, 1.1fr) minmax(0, 1.6fr) minmax(120px, 0.8fr) minmax(0, 2fr);
  align-items: baseline;
  gap: 24px;
  padding-block: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}
.ledger__k { color: var(--ink-2); }
.ledger__row:not(.ledger__row--open) .ledger__year { color: #6a6a6a; }
.ledger__year {
  font-size: clamp(3rem, 1.4rem + 6vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  color: var(--ink-4);
}
.ledger__status { color: var(--ink-3); }
.ledger__note { color: var(--ink-3); max-width: 28em; }
.ledger__row--open .ledger__year { color: var(--ink); }
.ledger__row--open .ledger__k, .ledger__row--open .ledger__status { color: var(--ink); }
.ledger__row--open .ledger__note { color: var(--ink-2); }
.ledger__row--open { position: relative; }
.ledger__row--open::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink) 30%, var(--ink) 70%, transparent);
  opacity: 0.6;
}
.gap__body {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(56px, 7vw, 96px);
}
@media (max-width: 900px) {
  .ledger__row { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .ledger__year { grid-column: 1 / -1; order: -1; }
  .ledger__note { grid-column: 1 / -1; }
  .gap__body { grid-template-columns: 1fr; }
}

/* Mission */
.mission__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.mission__copy .lead { margin-top: clamp(28px, 3vw, 40px); }
.facts { display: flex; gap: clamp(32px, 5vw, 64px); margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); }
.facts dt { color: var(--ink-3); margin-bottom: 6px; }
.facts dd { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); font-weight: 500; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .mission__grid { grid-template-columns: 1fr; }
}

/* Vision, four scales */
.scales { position: relative; height: 640vh; }
.scales__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.scales__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scales__layout {
  position: relative; height: 100%;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  padding-top: var(--nav-h);
}
.scales__copy { position: relative; z-index: 1; max-width: 520px; }
.steps { margin-top: clamp(32px, 4vw, 56px); border-left: 1px solid var(--line); }
.step {
  position: relative;
  padding: 14px 0 14px 24px;
  color: var(--ink-4);
  transition: color 0.6s var(--ease);
}
.step::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px;
  background: var(--ink); transform: scaleY(0); transform-origin: top;
  transition: transform 0.7s var(--ease);
}
.step p {
  max-height: 0; opacity: 0; overflow: hidden;
  color: var(--ink-2);
  transition: max-height 0.7s var(--ease), opacity 0.5s var(--ease), margin 0.7s var(--ease);
}
.step.is-active { color: var(--ink); }
.step.is-active::before { transform: scaleY(1); }
.step.is-active p { max-height: 9em; opacity: 1; margin-top: 8px; }
.scales__hud {
  position: absolute; right: var(--gutter); bottom: clamp(24px, 5vh, 48px);
  display: flex; align-items: center; gap: 16px;
  color: var(--ink-3); font-size: 0.6875rem;
}
.scales__bar { width: 120px; height: 1px; background: var(--line-2); }
.scales__bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.scales__after { padding-top: clamp(56px, 8vw, 112px); }
.scales__law {
  position: relative;
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 32em;
}
@media (max-width: 900px) {
  .scales__layout { grid-template-columns: 1fr; align-items: end; padding-bottom: 28px; }
  .scales__copy { background: linear-gradient(transparent, #000 28px); padding-top: 28px; max-width: none; }
  .scales__copy .overline { margin-bottom: 12px; }
  .scales__copy .h2 { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .steps { margin-top: 20px; }
  .step { padding: 7px 0 7px 18px; }
  .step.is-active p { margin-top: 6px; font-size: 0.98rem; line-height: 1.5; }
  .step:not(.is-active) { display: none; }
  .steps { min-height: 8.6em; }
  .scales__hud { left: var(--gutter); right: var(--gutter); bottom: auto; top: calc(var(--nav-h) + 8px); justify-content: space-between; }
  .scales__bar { width: 72px; }
}

/* Timebank */
.timebank__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 112px); align-items: center;
}
.timebank__logo { width: clamp(160px, 16vw, 220px); height: auto; margin-bottom: clamp(32px, 4vw, 48px); }
.timebank__copy .lead { margin-block: clamp(28px, 3vw, 40px) clamp(32px, 4vw, 48px); }
.dial { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: end; }
.dial__svg { width: 100%; height: 100%; overflow: visible; }
.dial__center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  pointer-events: none;
}
.dial__center .mono { font-size: 0.6875rem; color: var(--ink-3); }
.dial__center strong { font-size: clamp(2.6rem, 2rem + 2.4vw, 4.4rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.dial text { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--ink-3); }
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(72px, 9vw, 128px);
}
.pillars li { padding: 24px 24px 0 0; border-top: 1px solid var(--line-2); }
.pillars li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.pillars .mono { color: var(--ink-3); }
.pillars p { margin-top: 12px; font-size: 1.125rem; letter-spacing: -0.015em; line-height: 1.4; max-width: 15em; }
@media (max-width: 900px) {
  .timebank__grid { grid-template-columns: 1fr; }
  .dial { justify-self: center; max-width: 480px; }
  .pillars { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .pillars li:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* Trust */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.card {
  position: relative;
  background: #000;
  padding: clamp(28px, 3vw, 44px);
  min-height: clamp(300px, 28vw, 400px);
  display: flex; flex-direction: column;
  transition: background-color 0.6s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.06), transparent 45%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.card:hover::after { opacity: 1; }
.card__n { color: var(--ink-4); }
.card .h3 { margin-top: auto; padding-top: 72px; }
.card p { margin-top: 16px; color: var(--ink-2); max-width: 26em; }
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card .h3 { padding-top: 48px; }
}

/* Decade */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px; align-items: baseline;
  padding-block: clamp(28px, 3.4vw, 48px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.6s var(--ease);
}
.row__n { color: var(--ink-4); }
.row__t {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.8rem);
  font-weight: 500; letter-spacing: -0.045em; line-height: 1;
  color: var(--ink-2);
  transition: color 0.5s var(--ease), transform 0.6s var(--ease);
}
.row__d { color: var(--ink-3); max-width: 30em; transition: color 0.5s var(--ease); }
.row:hover .row__t { color: var(--ink); transform: translateX(8px); }
.row:hover .row__d { color: var(--ink-2); }
@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; gap: 12px; }
}

/* Teaser */
.teaser { min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.teaser__orbits { position: absolute; inset: 0; color: var(--ink); }
.teaser__orbits svg { width: 100%; height: 100%; }
.orbits ellipse { stroke-opacity: 0.12; stroke-width: 1; vector-effect: non-scaling-stroke; }
.orbit-dots circle { opacity: 0.9; }
.teaser__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.teaser__q { max-width: 20ch; margin-bottom: clamp(40px, 5vw, 64px); }
.teaser::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 45% at 50% 50%, rgba(0, 0, 0, 0.9), transparent 75%);
  z-index: 0;
}
.teaser__inner { z-index: 1; }

/* Contact */
.links { border-top: 1px solid var(--line); }
.links a {
  position: relative;
  display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 24px;
  padding-block: clamp(22px, 2.6vw, 36px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.links a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--surface-2);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.6s var(--ease);
}
.links a:hover::before { transform: scaleY(1); }
.links .mono { color: var(--ink-4); padding-left: 4px; }
.links__t { font-size: clamp(1.6rem, 1.1rem + 2vw, 3rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; transition: transform 0.6s var(--ease); }
.links__a { font-size: 1.6rem; color: var(--ink-3); padding-right: 8px; transition: transform 0.6s var(--ease), color 0.4s var(--ease); }
.links a:hover .links__t { transform: translateX(10px); }
.links a:hover .links__a { color: var(--ink); transform: translate(-4px, -4px); }
.links li { position: relative; z-index: 0; }
.contact__mail { margin-top: 32px; color: var(--ink-3); }
.contact__mail a { color: var(--ink); border-bottom: 1px solid var(--line-2); transition: border-color 0.3s; text-transform: none; letter-spacing: 0.02em; }
.contact__mail a:hover { border-color: var(--ink); }
@media (max-width: 760px) {
  .links a { grid-template-columns: 40px 1fr auto; gap: 12px; }
}

/* ---------- Footer ---------- */

.footer { padding-top: clamp(80px, 10vw, 144px); padding-bottom: 32px; border-top: 1px solid var(--line); }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__line { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 6.4rem); font-weight: 500; letter-spacing: -0.05em; line-height: 0.92; }
.footer__nav { display: flex; gap: clamp(40px, 6vw, 96px); flex-wrap: wrap; }
.footer__nav div { display: flex; flex-direction: column; gap: 10px; min-width: 120px; }
.footer__nav .overline { margin-bottom: 6px; color: var(--ink-4); }
.footer__nav a { color: var(--ink-2); transition: color 0.3s; width: fit-content; }
.footer__nav a:hover { color: var(--ink); }
.footer__word { width: 100%; height: auto; margin-top: clamp(72px, 10vw, 160px); opacity: 0.95; }
.footer__base {
  display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
  margin-top: clamp(28px, 3vw, 44px); padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-4); font-size: 0.6875rem;
}

/* ---------- Manifesto page ---------- */

.m-hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: var(--nav-h); padding-bottom: clamp(48px, 9vh, 112px);
  overflow: hidden; isolation: isolate;
}
.m-hero .display { max-width: 12ch; }
.m-hero__meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 72px); padding-top: 20px;
  border-top: 1px solid var(--line-2);
  color: var(--ink-3);
}
.m-body { padding-block: clamp(80px, 10vw, 160px) var(--section); }
.preamble {
  font-size: clamp(1.5rem, 1.05rem + 1.8vw, 2.75rem);
  font-weight: 400; letter-spacing: -0.03em; line-height: 1.22;
  max-width: 24em; color: var(--ink);
  text-wrap: pretty;
}
.preamble .dim { color: var(--ink-3); }
.articles { margin-top: clamp(96px, 12vw, 176px); border-top: 1px solid var(--line); }
.article {
  display: grid; grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px);
  padding-block: clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}
.article__n {
  position: sticky; top: calc(var(--nav-h) + 32px); align-self: start;
  color: var(--ink-4);
  transition: color 0.6s var(--ease);
}
.article.is-in .article__n { color: var(--ink); }
.article h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.9rem);
  font-weight: 500; letter-spacing: -0.045em; line-height: 1.02;
  max-width: 16ch; text-wrap: balance;
}
.article p { margin-top: 24px; color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.5; max-width: 32em; text-wrap: pretty; }
.article p + p { margin-top: 16px; }
.sign {
  margin-top: clamp(96px, 12vw, 176px);
  display: grid; grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px);
}
.sign__close {
  font-size: clamp(2.2rem, 1.25rem + 3.9vw, 5.6rem);
  font-weight: 500; letter-spacing: -0.05em; line-height: 0.98; max-width: 14ch;
}
.sign__by { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 4px; }
.sign__by strong { font-weight: 500; font-size: 1.125rem; letter-spacing: -0.01em; }
.sign__by span { color: var(--ink-3); }
.sign__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 760px) {
  .article, .sign { grid-template-columns: 1fr; }
  .article__n { position: static; }
}

/* ---------- 404 ---------- */

.lost { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; isolation: isolate; padding-top: var(--nav-h); }
.lost .lead { margin-top: 24px; }
.lost .btn { margin-top: 40px; align-self: flex-start; }

/* ---------- Motion states ---------- */

.js:not(.motion-off) [data-reveal] { opacity: 0; transform: translateY(24px); }
.js:not(.motion-off) [data-hero-item] { opacity: 0; }
.split-line { overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .caret, .blink { animation: none; }
}
.sign__lead { margin-top: 32px; }
.article .article__n {
  font-family: var(--sans);
  font-size: clamp(2.4rem, 1.4rem + 3vw, 4.6rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: none;
}
@media (max-width: 760px) {
  .article .article__n { font-size: 2.2rem; }
}

/* ---------- Hourglass ---------- */
.glass { display: flex; flex-direction: column; gap: 16px; }
.glass__head { display: flex; justify-content: space-between; gap: 16px; color: var(--ink-3); font-size: 0.6875rem; }
.glass__head [data-glass-count] { color: var(--ink); font-variant-numeric: tabular-nums; }
.glass__canvas { width: 100%; height: min(78vh, 720px); }
.glass__cap { color: var(--ink-2); font-size: 1rem; max-width: 28em; }
@media (max-width: 900px) { .glass__canvas { height: min(92vw, 560px); } }

/* ---------- Ground ---------- */
.bg-grid { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }

/* ---------- Cursor ---------- */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [data-scales] { cursor: none; }
.cursor { position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: 0; transition: opacity 0.3s; mix-blend-mode: difference; }
.cursor.is-on { opacity: 1; }
.cursor__dot, .cursor__ring, .cursor__label, .cursor__xy { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor__dot::before {
  content: ""; position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: #fff;
  transition: transform 0.35s var(--ease);
}
.cursor__ring::before {
  content: ""; position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: transform 0.5s var(--ease), border-color 0.4s, background-color 0.4s, border-radius 0.5s var(--ease);
}
.cursor__ring::after {
  content: ""; position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; opacity: 0;
  background:
    linear-gradient(#fff, #fff) center top / 1px 8px no-repeat,
    linear-gradient(#fff, #fff) center bottom / 1px 8px no-repeat,
    linear-gradient(#fff, #fff) left center / 8px 1px no-repeat,
    linear-gradient(#fff, #fff) right center / 8px 1px no-repeat;
  transition: opacity 0.4s, transform 0.5s var(--ease);
  transform: scale(0.7);
}
.cursor__label { font-size: 0.625rem; color: #fff; white-space: nowrap; }
.cursor__xy { font-size: 0.5625rem; color: rgba(255, 255, 255, 0.45); letter-spacing: 0.12em; white-space: nowrap; transition: opacity 0.3s; }
.cursor[data-mode="link"] .cursor__ring::before { transform: scale(1.6); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.9); }
.cursor[data-mode="link"] .cursor__dot::before { transform: scale(0); }
.cursor[data-mode="link"] .cursor__xy,
.cursor[data-mode="scope"] .cursor__xy { opacity: 0; }
.cursor[data-mode="scope"] .cursor__ring::before { transform: scale(1.3); border-color: rgba(255, 255, 255, 0.5); }
.cursor[data-mode="scope"] .cursor__ring::after { opacity: 1; transform: scale(1); }
.cursor.is-down .cursor__ring::before { transform: scale(0.7); }
.cursor.is-down[data-mode="link"] .cursor__ring::before { transform: scale(1.3); }
