/* =====================================================================
   Twelve Sittings
   Archivo is served from assets/fonts (SIL Open Font License, see OFL.txt)
   ===================================================================== */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"), url("fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* The same font pinned to its narrowest, heaviest cut, for the words drawn inside the film */
@font-face {
  font-family: "ArchivoXC";
  font-style: normal;
  font-display: block;
  font-weight: 820;
  font-stretch: 62%;
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
}

:root {
  --ink: #111216;
  --paper: #F4EDE6;
  --paper-2: #ECE4DA;
  --plaster: #E4DCD1;
  --clay: #5E5A54;
  --blue: #0F37A5;
  --blue-deep: #0A2878;
  --blue-glow: #2F58E8;
  --blue-lite: #A9BBFF;
  --night: #0D0E11;
  --night-2: #16181D;
  --sans: "Archivo", "Arial Narrow", Arial, Helvetica, sans-serif;
  --ease: cubic-bezier(0.16, 0.84, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.18, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --gut: clamp(1rem, 3.2vw, 2.75rem);
  --wide: 92rem;
  --measure: 36rem;
  --head-h: 4.25rem;

  --bg: var(--paper);
  --fg: var(--ink);
  --muted: var(--clay);
  --rule: rgba(17, 18, 22, 0.16);
  --link: var(--blue);
  --stroke: rgba(17, 18, 22, 0.55);
  --now: var(--blue);
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-hover: var(--blue-deep);
}
.theme-night {
  --bg: var(--night);
  --fg: var(--paper);
  --muted: rgba(244, 237, 230, 0.6);
  --rule: rgba(244, 237, 230, 0.16);
  --link: var(--blue-lite);
  --stroke: rgba(244, 237, 230, 0.5);
  --now: var(--blue-glow);
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  --btn-hover: #fff;
}
.theme-blue {
  --bg: var(--blue);
  --fg: var(--paper);
  --muted: rgba(244, 237, 230, 0.74);
  --rule: rgba(244, 237, 230, 0.28);
  --link: #fff;
  --stroke: rgba(244, 237, 230, 0.6);
  --now: #fff;
  --btn-bg: var(--paper);
  --btn-fg: var(--blue-deep);
  --btn-hover: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 1rem); background: var(--night); }
html.motion { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--night); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--blue-glow); outline-offset: 3px; }
::selection { background: var(--blue); color: var(--paper); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 300; background: var(--paper); color: var(--ink); padding: 0.5rem 0.75rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; color: var(--muted); }
main, .foot { position: relative; z-index: 2; }

/* ================= The stage: one fixed WebGL canvas behind the page ================= */
.gl { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 1; display: block; pointer-events: none; opacity: 0; transition: opacity 0.6s linear; }
.gl.on { opacity: 1; }

/* ================= Loader: the 12 is poured, then the mould opens ================= */
.loader { display: none; }
.motion .loader { display: block; position: fixed; inset: 0; z-index: 200; perspective: 1400px; }
.loader.done { display: none; }
.lh { position: absolute; top: 0; bottom: 0; width: 50.1%; overflow: hidden; background: var(--paper); color: var(--ink); transition: transform 1.25s var(--ease-io), opacity 0.5s linear 0.75s; will-change: transform; backface-visibility: hidden; }
.lh.l { left: 0; transform-origin: 0% 50%; }
.lh.r { right: 0; transform-origin: 100% 50%; }
.lh::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease-io); pointer-events: none; }
.lh.l::after { background: linear-gradient(to left, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 70%); }
.lh.r::after { background: linear-gradient(to right, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 70%); }
.loader.open .lh::after { opacity: 1; }
.li { position: absolute; top: 0; bottom: 0; width: 100vw; }
.lh.l .li { left: 0; }
.lh.r .li { right: 0; }
.l12 { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); font-stretch: 62%; font-weight: 850; font-size: min(66vh, 74vw); line-height: 0.78; letter-spacing: -0.035em; white-space: nowrap; opacity: 0; transition: opacity 0.5s; }
.fonts-in .l12, .l12.show { opacity: 1; }
.l12 .o { display: block; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.l12 .f { position: absolute; inset: 0; color: var(--blue); clip-path: inset(100% 0 0 0); }
.lmeta { position: absolute; left: var(--gut); right: var(--gut); bottom: max(1.4rem, env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: baseline; font-size: 0.85rem; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.lmeta b { font-stretch: 62%; font-weight: 800; font-size: 1.35rem; letter-spacing: 0; }
.seam { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform 0.4s var(--ease-io), opacity 0.3s; z-index: 2; }
.loader.seam-on .seam { transform: scaleY(1); }
.loader.open .lh.l { transform: rotateY(68deg) translateX(-12%); opacity: 0; }
.loader.open .lh.r { transform: rotateY(-68deg) translateX(12%); opacity: 0; }
.loader.open .seam { opacity: 0; }

/* ================= Header ================= */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 60; color: var(--hfg, var(--paper)); transition: color 0.5s var(--ease); }
.top::before { content: ""; position: absolute; inset: 0; background: var(--hbg, transparent); opacity: var(--hbgo, 0); transition: opacity 0.5s var(--ease), background-color 0.5s; pointer-events: none; }
.top[data-tone="film"] { --hfg: var(--paper); --hbgo: 0; }
.top[data-tone="night"] { --hfg: var(--paper); --hbg: rgba(13, 14, 17, 0.72); --hbgo: 1; }
.top[data-tone="paper"] { --hfg: var(--ink); --hbg: rgba(244, 237, 230, 0.8); --hbgo: 1; }
.top[data-tone="blue"] { --hfg: var(--paper); --hbg: rgba(15, 55, 165, 0.84); --hbgo: 1; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .top:not([data-tone="film"])::before { -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
}
html:not(.motion) .top { --hfg: var(--paper); --hbg: rgba(13, 14, 17, 0.92); --hbgo: 1; }
.top-inner { position: relative; max-width: var(--wide); margin: 0 auto; padding: 0.85rem var(--gut) 0.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 2rem; }
.brand { color: inherit; text-decoration: none; font-stretch: 62%; font-weight: 800; font-size: 1.4rem; line-height: 1; letter-spacing: -0.005em; }
.nav { order: 2; display: flex; gap: 1.35rem; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { position: relative; color: inherit; text-decoration: none; white-space: nowrap; font-size: 0.93rem; padding: 0.2rem 0; opacity: 0.78; transition: opacity 0.25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.nav a:hover, .nav a.active { opacity: 1; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.raised { order: 3; display: inline-flex; align-items: baseline; gap: 0.4rem; text-decoration: none; color: inherit; white-space: nowrap; }
.raised-num { font-stretch: 62%; font-weight: 850; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.raised-label { font-size: 0.88rem; opacity: 0.85; }
.sound { order: 4; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0; background: none; border: 0; color: inherit; font: inherit; font-size: 0.88rem; cursor: pointer; opacity: 0.8; transition: opacity 0.25s; }
.sound:hover, .sound[aria-pressed="true"] { opacity: 1; }
.sound[hidden] { display: none; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 0.8rem; }
.eq i { display: block; width: 2px; height: 100%; background: currentColor; transform-origin: bottom; transform: scaleY(0.22); transition: transform 0.12s linear; }
.goal-track { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(128, 128, 128, 0.2); }
.goal-fill { display: block; height: 100%; width: 0; background: var(--gfill, var(--blue-glow)); transition: width 2s var(--ease) 0.4s, background-color 0.5s; }
.top[data-tone="paper"] { --gfill: var(--blue); }
.top[data-tone="blue"] { --gfill: var(--paper); }
@media (max-width: 1100px) {
  .top-inner { column-gap: 1.3rem; }
  .nav { gap: 1.05rem; }
  .sound .sound-label { display: none; }
}
@media (max-width: 760px) {
  .top-inner { gap: 0.2rem 1.1rem; padding-top: 0.7rem; padding-bottom: 0.55rem; }
  .raised { order: 2; margin-left: auto; }
  .raised-label { font-size: 0.8rem; }
  .sound { order: 3; }
  .nav { order: 4; margin-left: 0; width: 100%; gap: 1.1rem; }
}

/* ================= Buttons ================= */
.actions { margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.1rem; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 0.5em; padding: 0.85rem 1.25rem; border: 1.5px solid var(--btn-bg); border-radius: 3px; background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; font: inherit; font-weight: 650; line-height: 1.2; cursor: pointer; overflow: hidden; isolation: isolate; transition: color 0.35s var(--ease), border-color 0.35s, background-color 0.9s var(--ease), transform 0.5s var(--ease); }
.btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--btn-hover); transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease); }
.btn:hover::before { transform: scaleY(1); }
.btn:active { transform: scale(0.96); }
.btn.quiet { background: transparent; color: var(--btn-bg); }
.btn.quiet::before { background: var(--btn-bg); }
.btn.quiet:hover { color: var(--btn-fg); }
.btn .arr { display: inline-block; transition: transform 0.5s var(--ease); }
.btn:hover .arr { transform: translateX(0.25em); }
.textlink { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; cursor: pointer; }

/* ================= Shared section scaffolding ================= */
.sec { position: relative; background: var(--bg); color: var(--fg); }
.sec-inner { max-width: var(--wide); margin: 0 auto; padding: clamp(5rem, 14vh, 9.5rem) var(--gut); display: grid; gap: 1.6rem; }
@media (min-width: 900px) {
  .sec-inner { grid-template-columns: minmax(11rem, 3fr) minmax(0, 9fr); column-gap: 3rem; }
  .sec-inner > .sec-head { position: sticky; top: calc(var(--head-h) + 2rem); align-self: start; }
}
.sec-head { display: flex; flex-direction: column; gap: 0.7rem; }
.sec-n { display: flex; align-items: center; gap: 0.7rem; font-size: 0.78rem; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; color: var(--muted); }
.sec-n::after { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: 0.6; }
.sec-head h2, .h2 { margin: 0; font-stretch: 62%; font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 5.2rem); line-height: 0.88; letter-spacing: -0.01em; }
.content > p { max-width: var(--measure); margin: 0 0 0.9rem; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.wi { display: inline-block; }
.motion .reveal .wi { transform: translateY(112%); }
.motion .reveal.in .wi { transform: none; transition: transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 60ms); }
.motion .rise { opacity: 0; transform: translateY(1.2rem); }
.motion .rise.in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0ms); }

/* ================= The opening ================= */
.hero { position: relative; z-index: 1; background: transparent; color: var(--paper); }
main > .sec { z-index: 3; }
main > .why { z-index: 6; }
.hero a:not(.btn) { color: var(--paper); }
.hero .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-hover: #fff; }
.hero-pin { position: relative; }
.safe { max-width: var(--wide); margin: 0 auto; padding: calc(var(--head-h) + clamp(3rem, 9vw, 7rem)) var(--gut) 2rem; }
.hero h1 { margin: 0; font-stretch: 62%; font-weight: 850; font-size: clamp(3rem, 9.5vw, 8.4rem); line-height: 0.86; letter-spacing: -0.008em; word-spacing: 0.03em; max-width: 11.5em; text-wrap: balance; }
.question { margin: 1.2rem 0 0; font-stretch: 75%; font-weight: 400; font-size: clamp(1.3rem, 2.5vw, 2.15rem); line-height: 1.08; max-width: 20em; text-wrap: balance; }
.lede { margin: 0.8rem 0 0; font-size: 1.05rem; max-width: var(--measure); color: rgba(244, 237, 230, 0.8); }
.ai-note { margin: 0.6rem 0 0; font-size: 0.78rem; line-height: 1.4; color: rgba(244, 237, 230, 0.6); }
.strip { list-style: none; max-width: var(--wide); margin: 0 auto; padding: 1rem var(--gut); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; }
.strip li { margin: 0; }
.strip img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--night-2); }
.strip span { display: block; margin-top: 0.45rem; font-size: 0.85rem; color: rgba(244, 237, 230, 0.8); }
.strip b { font-weight: 500; font-variant-numeric: tabular-nums; margin-right: 0.4rem; color: rgba(244, 237, 230, 0.5); }
.hero .strip-note { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gut) clamp(2.5rem, 7vw, 4.5rem); }
@media (max-width: 760px) {
  .strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .strip li { scroll-snap-align: start; }
}
.rail, .cue, .film-ui, .shade, .dim { display: none; }
.reel-note { display: none; }

/* The film on a scroll-driven stage */
.reel .hero { height: 720vh; height: 720svh; }
.reel .hero-pin { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.reel .strip, .reel .strip-note { display: none; }
.reel .reel-note { display: block; }
.reel .safe { position: absolute; left: 0; right: 0; top: 0; height: 100vh; height: 100svh; max-width: none; margin: 0; padding: 0; pointer-events: none; }
.reel .safe a, .reel .safe button { pointer-events: auto; }
.reel .shade { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(13, 14, 17, 0.92) 0%, rgba(13, 14, 17, 0.66) 30%, rgba(13, 14, 17, 0) 60%); }
.reel.hw .shade { background: linear-gradient(to right, rgba(13, 14, 17, 0.55), rgba(13, 14, 17, 0) 34%, rgba(13, 14, 17, 0) 66%, rgba(13, 14, 17, 0.55)), linear-gradient(to top, rgba(13, 14, 17, 0.5), rgba(13, 14, 17, 0) 40%); }
.reel .hero-copy { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(4.75rem, 12svh, 7.5rem); display: flex; flex-direction: column; z-index: 5; }
.reel .hero h1 { font-size: clamp(2.7rem, 12.4vw, 6.2rem); max-width: none; }
.reel .hero-sub { max-width: 30rem; }
.reel .question { font-size: clamp(1.15rem, 5vw, 1.6rem); margin-top: 1rem; }
.reel .lede { font-size: 0.98rem; }
.reel .hero .actions { margin-top: 1.1rem; }
.reel.hw .hero-copy { top: calc(var(--head-h) + 1.5rem); bottom: auto; flex-direction: row; justify-content: space-between; align-items: flex-start; }
.reel.hw .hero h1 { width: var(--zone); font-size: min(calc(var(--zone) * 0.232), 8.4rem); }
.reel.hw .hero-sub { width: var(--zone); max-width: none; padding-top: 0.5rem; }
.reel.hw .question { font-size: min(calc(var(--zone) * 0.072), 2.3rem); margin-top: 0; }

.motion .hero h1 .wi { transform: translateY(112%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--d) * 70ms + 120ms); }
.motion.go .hero h1 .wi { transform: none; }
.motion .fade { opacity: 0; transform: translateY(0.8rem); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delay, 0ms); }
.motion.go .fade { opacity: 1; transform: none; }
.motion.go .hero-copy.out h1 .wi { transform: translateY(-112%); transition-duration: 0.7s; transition-timing-function: var(--ease-in); transition-delay: calc(var(--d) * 28ms); }
.motion.go .hero-copy.out .fade { opacity: 0; transform: translateY(-1rem); transition-duration: 0.5s; transition-delay: 0ms; }
.hero-copy.out { visibility: hidden; transition: visibility 0s linear 0.8s; }

/* Steps rail */
.reel .rail { display: flex; position: absolute; z-index: 5; list-style: none; margin: 0; padding: 0; left: var(--gut); right: var(--gut); bottom: 4.1rem; justify-content: space-between; gap: 0.6rem; font-size: 0.8rem; letter-spacing: 0.02em; opacity: 0; transition: opacity 0.7s var(--ease); }
.reel .rail.in { opacity: 1; }
.rail li { flex: 1 1 0; min-width: 0; white-space: nowrap; color: rgba(244, 237, 230, 0.42); transition: color 0.4s; }
.rail .rn { font-variant-numeric: tabular-nums; margin-right: 0.4rem; }
.rail .rb { display: block; position: relative; height: 1px; margin-top: 0.45rem; background: rgba(244, 237, 230, 0.22); overflow: hidden; }
.rail .rb i { position: absolute; inset: 0; background: var(--paper); transform-origin: left; transform: scaleX(0); }
.rail li.done { color: rgba(244, 237, 230, 0.72); }
.rail li.done .rb i { transform: scaleX(1); }
.rail li.now { color: var(--paper); }
.rail.on-blue li { color: rgba(244, 237, 230, 0.7); }
.rail.on-blue li.now { color: #fff; }
@media (max-width: 420px) { .rail .rn { display: none; } }
.reel.hw .rail { left: 50%; right: auto; width: min(44rem, 70vw); transform: translateX(-50%); bottom: 2.1rem; gap: 1.1rem; font-size: 0.85rem; }

.reel .cue { display: flex; position: absolute; z-index: 5; right: var(--gut); bottom: 1.3rem; margin: 0; flex-direction: column; align-items: center; gap: 0.55rem; font-size: 0.78rem; letter-spacing: 0.06em; color: rgba(244, 237, 230, 0.78); transition: opacity 0.5s; }
.reel.hw .cue { left: 50%; right: auto; transform: translateX(-50%); }
.cue::after { content: ""; width: 1px; height: 2.4rem; background: linear-gradient(currentColor, transparent); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.cue.gone { opacity: 0; }
.reel .hero .ai-note { position: absolute; z-index: 5; left: var(--gut); bottom: 1.1rem; margin: 0; max-width: min(19rem, 62vw); transition: opacity 0.6s; }
.reel.hw .hero .ai-note { left: auto; right: var(--gut); text-align: right; }
.reel .dim { display: block; position: absolute; inset: 0; z-index: 8; background: #000; opacity: 0; pointer-events: none; }

/* Registration marks, timecode and frame count around the film */
.reel .film-ui { display: block; position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; }
.film-ui > * { position: absolute; left: 0; top: 0; will-change: transform; }
.crop { width: 14px; height: 14px; border: 0 solid rgba(244, 237, 230, 0.75); }
.crop.tl { border-left-width: 1px; border-top-width: 1px; }
.crop.tr { border-right-width: 1px; border-top-width: 1px; }
.crop.bl { border-left-width: 1px; border-bottom-width: 1px; }
.crop.br { border-right-width: 1px; border-bottom-width: 1px; }
.tc, .fc { font-size: 0.72rem; line-height: 1; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; color: rgba(244, 237, 230, 0.75); white-space: nowrap; }

/* ================= Why: a sheet of paper poured over the film ================= */
.why { z-index: 6; --bg: var(--paper); --fg: var(--ink); --muted: var(--clay); background: var(--paper); color: var(--ink); }
.reel .why { margin-top: -100vh; margin-top: -100svh; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.reel .why > .sec-inner { width: 100%; }
.why-edge { display: none; }
.reel .why-edge { display: block; position: absolute; left: 0; right: 0; bottom: 100%; height: 9vh; margin-bottom: -1px; pointer-events: none; }
.why-edge svg { width: 100%; height: 100%; display: block; }
.why-edge path { fill: var(--paper); }
.why .big { margin: 0 0 2.6rem; font-stretch: 75%; font-weight: 600; font-size: clamp(1.9rem, 4.3vw, 4.3rem); line-height: 1.03; letter-spacing: -0.012em; max-width: 17em; }
.why .big .wd { display: inline-block; }
.cols { display: grid; gap: 1.1rem 2.75rem; }
.cols p { margin: 0; max-width: var(--measure); }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; } .cols p:first-child { grid-row: span 2; } }
.motion .carve > p { clip-path: polygon(0 0, 0 0, -25% 100%, -25% 100%); transition: clip-path 1.2s var(--ease); }
.motion .carve.in > p { clip-path: polygon(0 0, 125% 0, 100% 100%, -25% 100%); }
.motion .carve.in > p:nth-child(2) { transition-delay: 0.16s; }
.motion .carve.in > p:nth-child(3) { transition-delay: 0.32s; }

/* ================= The chain ================= */
.chain { --bg: var(--paper); background: var(--paper); }
.wire .chain { background: transparent; }
.chain-top { background: var(--paper); }
.wire .chain-top .sec-inner { padding-bottom: clamp(2rem, 6vh, 4rem); }
.chain-intro p { max-width: 33rem; }
.legend { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; font-size: 0.9rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 0.55rem; }
.legend i { display: inline-block; width: 1.9rem; height: 0.75rem; border-radius: 0.4rem; border: 1.5px solid #8c8f96; background: linear-gradient(#f6f6f6, #9a9da3); background-clip: padding-box; }
.legend i.wire { background: none; border-color: #9a9ea6; }
.legend i.next { background: none; border-color: var(--blue); }
.legend i.cast { border-color: #1d3f45; background: linear-gradient(135deg, #2c5d63, #0f2629); }
/* the list, for phones without WebGL and for reduced motion */
.links { position: relative; list-style: none; margin: 2.2rem 0 0 1.25rem; padding: 0; }
.links::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.link { position: relative; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); column-gap: 1rem; margin-left: -1.7rem; padding-bottom: 1.8rem; }
.link:last-child { padding-bottom: 0.25rem; }
.num { position: relative; z-index: 1; width: 3.4rem; text-align: center; background: var(--bg); font-stretch: 62%; font-weight: 800; font-size: 2.9rem; line-height: 1; padding: 0 0 0.3rem; color: transparent; -webkit-text-stroke: 1.25px var(--stroke); }
.link.current .num { -webkit-text-stroke-color: var(--now); }
.link.made .num { color: var(--fg); -webkit-text-stroke-color: var(--fg); }
.link-body p { margin: 0; max-width: 32rem; }
.when { margin-top: 0.15rem; color: var(--muted); font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.hook { line-height: 1.42; }
.hook strong { font-weight: 700; }
.state, .gift { margin-top: 0.25rem; font-size: 0.95rem; }
.current .state, .current .when { color: var(--now); }
.photo { margin: 0.8rem 0 0; max-width: 16rem; aspect-ratio: 4 / 5; background: var(--plaster); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* the wire, for everyone else */
.chain-run { display: none; }
.wire .chain-list { display: none; }
.wire .chain-run { display: block; position: relative; }
.chain-pin { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.chain-labels { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.clab { position: absolute; left: 0; top: 0; width: var(--lab-w, 19rem); will-change: transform, opacity; opacity: 0; pointer-events: auto; }
.clab .when { margin: 0; font-size: 0.86rem; letter-spacing: 0.02em; }
.clab .hook { margin: 0.35rem 0 0; font-size: 1.02rem; line-height: 1.42; }
.clab .state, .clab .gift { margin: 0.35rem 0 0; font-size: 0.93rem; }
.clab .tag { display: inline-block; margin-top: 0.6rem; padding: 0.22rem 0.5rem 0.24rem; border-radius: 2px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--blue); color: #fff; }
.clab .photo { width: 62%; max-width: 12rem; margin-top: 0.9rem; }
.chain-count { position: absolute; right: var(--gut); bottom: 1.6rem; margin: 0; font-size: 0.8rem; letter-spacing: 0.08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.chain-prog { position: absolute; left: var(--gut); right: calc(var(--gut) + 4.5rem); bottom: 2.05rem; height: 1px; background: var(--rule); }
.chain-prog i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 0)); }
.chain-hint { position: absolute; left: var(--gut); bottom: 2.6rem; margin: 0; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--muted); transition: opacity 0.5s; }
.chain-hint.gone { opacity: 0; }
@media (max-width: 760px) {
  .clab { --lab-w: calc(100vw - 2 * var(--gut)); }
}

/* ================= A sculpt a day: the year dial ================= */
.daily { --bg: var(--night); }
.dial-wrap { display: grid; gap: 2.5rem; align-items: center; margin-top: 1rem; }
@media (min-width: 1000px) { .dial-wrap { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3.5rem; } }
.count { display: grid; gap: 0.2rem; }
.count-k { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.count-big { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.count-num { font-stretch: 62%; font-weight: 850; font-size: clamp(4.4rem, 11vw, 9rem); line-height: 0.84; color: var(--now); font-variant-numeric: tabular-nums; }
.count-of { color: var(--muted); font-size: 1rem; }
.clock { display: flex; gap: 1.1rem; margin-top: 0.8rem; font-variant-numeric: tabular-nums; }
.clock span { display: grid; font-stretch: 62%; font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1; }
.clock small { font-stretch: 100%; font-weight: 400; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 0.35rem; }
.dial { position: relative; width: 100%; max-width: 40rem; margin: 0 auto; aspect-ratio: 1; }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial .tick { stroke: rgba(244, 237, 230, 0.2); stroke-width: 1; stroke-linecap: butt; vector-effect: non-scaling-stroke; }
.dial .tick.m { stroke: rgba(244, 237, 230, 0.75); stroke-width: 1.5; }
.dial .tick.done { stroke: var(--paper); }
.dial .tick.today { stroke: var(--blue-glow); stroke-width: 3; }
.dial .tick.first { stroke: var(--blue-glow); }
.dial .mon { fill: rgba(244, 237, 230, 0.6); font-family: var(--sans); font-size: 19px; letter-spacing: 0.12em; text-anchor: middle; dominant-baseline: middle; }
.dial .sit { font-family: var(--sans); font-stretch: 62%; font-weight: 800; text-anchor: middle; dominant-baseline: central; fill: rgba(244, 237, 230, 0.34); }
.dial .sit.current { fill: var(--blue-glow); }
.dial .sit.sitting { fill: var(--blue-lite); }
.dial .sit.made { fill: var(--paper); }
.dial .ring { fill: none; stroke: rgba(244, 237, 230, 0.12); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dial .hand { stroke: var(--blue-glow); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dial .hand-dot { fill: var(--blue-glow); }
.dial .arc { fill: none; stroke: var(--paper); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.dial-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.dial-center b { display: block; font-stretch: 62%; font-weight: 850; font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 0.86; }
.dial-center span { display: block; margin-top: 0.45rem; font-size: 0.85rem; color: var(--muted); }
.dial-tip { position: absolute; left: 0; top: 0; z-index: 3; padding: 0.35rem 0.55rem; background: var(--paper); color: var(--ink); font-size: 0.78rem; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 10px)); transition: opacity 0.15s; }
.dial-tip.on { opacity: 1; }
.motion .dial .tick { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.motion .dial.in .tick { stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s var(--ease); transition-delay: calc(var(--k) * 2.2ms); }
.motion .dial .sit, .motion .dial .mon { opacity: 0; transition: opacity 0.8s var(--ease); transition-delay: calc(400ms + var(--k) * 60ms); }
.motion .dial.in .sit, .motion .dial.in .mon { opacity: 1; }

/* ================= Prices: the spiral ================= */
#prices > .sec-inner { padding-bottom: 1rem; }
.stage { position: relative; }
.motion .stage { height: 260vh; }
.motion .stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: var(--head-h); }
.stage-inner { max-width: var(--wide); margin: 0 auto; padding: 0.5rem var(--gut) 1.5rem; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 0.6rem; }
.motion .stage-inner { height: 100%; }
@media (min-width: 900px) { .stage-inner { grid-template-rows: none; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; column-gap: 3rem; } }
.spiral-box { width: 100%; height: 100%; min-height: 0; }
html:not(.motion) .spiral-box { height: min(70vh, 40rem); }
#spiral { display: block; width: 100%; height: 100%; overflow: hidden; }
#spiral .sq { fill: rgba(17, 18, 22, 0.015); stroke: rgba(17, 18, 22, 0.5); transition: fill 0.4s; }
#spiral .sq.sold { fill: var(--ink); }
#spiral .sq.next { fill: rgba(15, 55, 165, 0.1); stroke: var(--blue); }
#spiral text { font-family: var(--sans); text-anchor: middle; fill: var(--ink); }
#spiral text.sold { fill: var(--paper); }
#spiral text.next { fill: var(--blue); }
#spiral .p { font-stretch: 62%; font-weight: 800; }
#spiral .curve { fill: none; stroke: var(--blue); stroke-linecap: round; }
.caption { min-height: 6.5rem; }
.cap-sale { margin: 0; color: var(--muted); font-size: 0.95rem; }
.cap-price { margin: 0.1rem 0 0; font-stretch: 62%; font-weight: 850; font-size: clamp(3rem, 10vw, 6.6rem); line-height: 0.88; color: var(--blue); font-variant-numeric: tabular-nums; }
.cap-note { margin: 0.4rem 0 0; font-size: 0.95rem; color: var(--muted); min-height: 1.4em; }
.cap-bar { position: relative; height: 2px; margin-top: 1rem; max-width: 22rem; background: var(--rule); overflow: hidden; }
.cap-bar i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(var(--cp, 0)); }
@keyframes roll { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: none; } }
.motion .caption.roll .cap-price, .motion .caption.roll .cap-sale { animation: roll 0.45s var(--ease); }

/* ================= Take part ================= */
.take { --bg: var(--blue); }
.take .sec-n { color: rgba(244, 237, 230, 0.7); }
.ways { display: grid; gap: 3rem; }
@media (min-width: 860px) { .ways { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.way { border-top: 2px solid var(--fg); padding-top: 1.1rem; }
.way h3 { margin: 0; font-stretch: 75%; font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.05; }
.way .price { margin: 0.4rem 0 0.9rem; font-stretch: 62%; font-weight: 850; font-size: clamp(4rem, 10vw, 8rem); line-height: 0.86; font-variant-numeric: tabular-nums; }
.way .price small { display: block; margin-top: 0.4rem; font-stretch: 100%; font-weight: 400; font-size: 0.95rem; letter-spacing: 0; color: var(--muted); }
.way p { max-width: var(--measure); margin: 0 0 0.9rem; }
.way .actions { margin-top: 1.2rem; }
.follow { margin-top: clamp(3rem, 8vh, 5rem); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; border-top: 1px solid var(--rule); padding-top: 1.4rem; }
.follow p { margin: 0; max-width: 34rem; }
.follow a.big { font-stretch: 62%; font-weight: 850; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 0.9; color: var(--paper); text-decoration: none; }
.follow a.big:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.12em; }

/* ================= About ================= */
.creds { list-style: none; margin: 1.6rem 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; font-stretch: 62%; font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.02; }
.creds li { white-space: nowrap; }
.creds li:not(:last-child)::after { content: "/"; margin-left: 1.4rem; font-weight: 300; color: var(--muted); }

/* ================= Footer ================= */
.foot { background: var(--bg); color: var(--fg); padding: clamp(4rem, 12vh, 8rem) 0 max(2rem, env(safe-area-inset-bottom)); overflow: hidden; }
.foot-mark { position: relative; margin: 0 var(--gut); white-space: nowrap; font-stretch: 62%; font-weight: 850; line-height: 0.8; letter-spacing: -0.02em; font-size: var(--fm, 16vw); }
.foot-mark .o { display: inline-block; color: transparent; -webkit-text-stroke: 1.5px var(--stroke); }
.foot-mark .f { position: absolute; left: 0; top: 0; color: var(--blue-glow); clip-path: inset(calc((1 - var(--pour, 1)) * 150% - 15%) -2% -35% -2%); }
.foot-inner { max-width: var(--wide); margin: clamp(2.5rem, 7vh, 4.5rem) auto 0; padding: 0 var(--gut); display: grid; gap: 0.6rem 3rem; color: var(--muted); font-size: 0.92rem; }
@media (min-width: 900px) { .foot-inner { grid-template-columns: 1fr 1fr; } }
.foot-inner p { margin: 0 0 0.5rem; max-width: var(--measure); }
.foot .row a, .foot .row .textlink { margin-right: 1.3rem; }

/* ================= Grain, cursor ================= */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1.6 -0.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 220px 220px; }
.motion .grain { animation: grain 0.9s steps(5) infinite; }
@keyframes grain { 0% { background-position: 0 0; } 20% { background-position: -47px 31px; } 40% { background-position: 83px -21px; } 60% { background-position: -19px -77px; } 80% { background-position: 61px 57px; } 100% { background-position: 0 0; } }

.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity 0.3s; }
.cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.cursor-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
.cursor-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid #fff; transition: transform 0.45s var(--ease), background-color 0.3s; }
.cursor.link .cursor-ring::before { transform: scale(1.8); background: #fff; }
.cursor.label .cursor-ring::before { transform: scale(2.4); }
.cursor-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 0.68rem; letter-spacing: 0.1em; color: #fff; white-space: nowrap; opacity: 0; transition: opacity 0.3s; }
.cursor.label .cursor-label { opacity: 1; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
}
