/* Upmoat studio — "the moat". Cobalt water, a lime sun, ink. Mona Sans with its width axis doing the talking. */
@font-face { font-family: 'Mona'; src: url('/assets/fonts/mona-sans-latin-standard.woff2') format('woff2-variations'), url('/assets/fonts/mona-sans-latin-standard.woff2') format('woff2'); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: 'GMono'; src: url('/assets/fonts/geist-mono-latin-wght.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #2c2725; --ink-2: #5f5852; --ink-3: #978e86; --line: rgba(44,39,37,.13); --line-2: rgba(44,39,37,.07);
  --paper: #f7f0e6; --white: #fcf9f4; --mist: #ebe3d7; --cream: #f7f1e8; --sand: #efe4d6;
  --accent: #4f6b79; --accent-d: #3e5866; --accent-l: #dce6eb; --accent-xl: #ebf0f2;
  --blue: #abc1cd; --sage: #99a08b; --sage-d: #6f7763;
  --sun: #ebb99c; --sun-d: #de9f7e; --sky: #dce6eb;
  --sans: 'Mona', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'GMono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.16,1,.3,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
  --pad: clamp(18px, 4.5vw, 64px);
  --max: 1280px;
  --r: 28px;
}
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .32s var(--ease-io) both u-vt-out; }
::view-transition-new(root) { animation: .6s var(--ease) both u-vt-in; }
@keyframes u-vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes u-vt-in { from { opacity: 0; transform: translateY(26px); } }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body.u-body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--sans); font-weight: 680; font-stretch: 110%; letter-spacing: -.045em; line-height: .94; margin: 0; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--accent); font-stretch: 125%; font-weight: 740; }
em { font-style: normal; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--sun); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 12px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.u-label { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.u-label .u-num { font-size: 10.5px; letter-spacing: .06em; color: #fff; background: var(--ink); padding: 3px 8px 2px; border-radius: 999px; }
.u-num { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--accent); font-weight: 500; }
.u-mono { font-family: var(--mono); font-size: 13px; }
.u-ico { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; display: block; }
.u-arr { position: relative; display: inline-block; width: 14px; height: 14px; overflow: hidden; flex: none; }
.u-arr .u-ico { position: absolute; inset: 0; transition: transform .55s var(--ease); }
.u-arr .u-ico + .u-ico { transform: translate(-140%, 140%); }
:is(a, button):hover .u-arr .u-ico:first-child { transform: translate(140%, -140%); }
:is(a, button):hover .u-arr .u-ico + .u-ico { transform: none; }
.u-chip { display: inline-flex; align-items: center; font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px 4px; border-radius: 999px; background: var(--sun); color: var(--ink); }

/* cursor + click ripple (fine pointers only) */
.u-cursor { position: fixed; left: 0; top: 0; z-index: 150; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; opacity: 0; transition: opacity .3s, width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease); }
.u-cursor.on { opacity: 1; }
.u-cursor.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.u-click { position: fixed; z-index: 149; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; border: 1.5px solid var(--accent); pointer-events: none; animation: u-click .8s var(--ease) forwards; }
@keyframes u-click { from { transform: scale(.1); opacity: .9; } to { transform: scale(1); opacity: 0; } }

/* ── buttons: a ripple of colour fills them from below ───────────────────── */
.u-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.u-btn { --fill: var(--accent); position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; padding: 17px 24px 16px; border-radius: 999px; font: 620 15px/1 var(--sans); font-stretch: 108%; letter-spacing: -.005em; text-decoration: none; border: 0; cursor: pointer; transition: color .45s var(--ease), box-shadow .45s; }
.u-btn::before { content: ''; position: absolute; left: 50%; top: 50%; z-index: -1; width: 150%; aspect-ratio: 1; border-radius: 50%; background: var(--fill); transform: translate(-50%, 30%) scale(0); transition: transform .7s var(--ease); }
.u-btn:hover::before { transform: translate(-50%, -50%) scale(1); }
.u-btn-ink { background: var(--ink); color: var(--cream); }
.u-btn-lime { background: var(--sun); color: var(--ink); --fill: var(--cream); }
.u-btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); --fill: #fff; }
.u-btn-ghost:hover { color: var(--ink); }
.u-btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); --fill: var(--ink); }
.u-btn-line:hover { color: #fff; }
.u-badge img { width: 150px; height: auto; border-radius: 12px; }

/* ── nav ─────────────────────────────────────────────────────────────────── */
.u-nav { view-transition-name: u-nav; position: fixed; z-index: 80; top: 14px; left: 50%; transform: translateX(-50%); width: min(var(--max), calc(100% - 24px)); display: flex; align-items: center; gap: 14px; padding: 7px 7px 7px 14px; border-radius: 999px; background: rgba(252,249,244,.78); box-shadow: 0 1px 0 rgba(44,39,37,.04), 0 12px 40px -18px rgba(44,39,37,.35); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); transition: transform .6s var(--ease); }
.u-nav.hide { transform: translate(-50%, -160%); }
.u-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 760 22px/1 var(--sans); font-stretch: 122%; letter-spacing: -.05em; }
.u-mark { width: 32px; height: 32px; }
.u-links { display: flex; gap: 2px; margin-left: 16px; }
.u-links a { font-size: 14.5px; font-weight: 560; font-stretch: 104%; text-decoration: none; padding: 9px 13px; border-radius: 999px; color: var(--ink-2); transition: background .3s, color .3s; }
.u-links a:hover, .u-links a[aria-current] { color: var(--ink); background: var(--mist); }
.u-roll { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.3; }
.u-roll > span { display: inline-block; position: relative; transition: transform .55s var(--ease); }
.u-roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
a:hover .u-roll > span { transform: translateY(-100%); }
.u-nav-clock { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--mono); letter-spacing: .06em; color: var(--ink-3); }
.u-nav-clock i { width: 6px; height: 6px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(235,185,156,.35); }
.u-nav-cta { display: inline-flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; font-stretch: 106%; text-decoration: none; transition: background .3s; }
.u-nav-cta:hover { background: var(--accent); }
.u-burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.u-burger i { position: absolute; left: 14px; right: 14px; height: 1.6px; background: #fff; transition: transform .45s var(--ease); }
.u-burger i:first-child { top: 18px; } .u-burger i:last-child { top: 25px; }
.u-burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.u-burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.u-sheet { position: absolute; top: calc(100% + 10px); left: 0; right: 0; padding: 14px; border-radius: 28px; background: var(--ink); display: grid; gap: 2px; animation: u-sheet .5s var(--ease); }
@keyframes u-sheet { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.u-sheet[hidden] { display: none; }
.u-sheet a { display: flex; gap: 14px; align-items: baseline; padding: 12px 10px; color: #fff; text-decoration: none; font: 660 30px/1.1 var(--sans); font-stretch: 112%; letter-spacing: -.04em; border-bottom: 1px solid rgba(255,255,255,.09); }
.u-sheet a:last-child { border: 0; }
.u-sheet a small { font: 500 11px var(--mono); letter-spacing: .04em; color: var(--blue); }

/* ── hero: an island in the moat ─────────────────────────────────────────── */
.u-hero { position: relative; height: 128vh; height: 128svh; }
.u-hero-panel { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); grid-template-rows: auto 1fr auto; gap: 0 clamp(16px, 3vw, 48px); padding: 96px var(--pad) 34px; color: var(--ink); background: radial-gradient(60% 55% at 74% 46%, #fbf6ee 0%, rgba(251,246,238,0) 70%), var(--paper); transform-origin: 50% 0; will-change: transform; }
.u-water { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; color: #2c2725; }
.u-hero-meta { position: relative; z-index: 2; grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 14px; border-bottom: 1px solid var(--line); font: 500 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.u-hero-live { display: inline-flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: .04em; }
.u-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun-d); box-shadow: 0 0 0 0 rgba(222,159,126,.6); animation: u-pulse 2.6s ease-out infinite; }
@keyframes u-pulse { 0% { box-shadow: 0 0 0 0 rgba(222,159,126,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(222,159,126,0); } }
.u-hero-title { position: relative; z-index: 3; grid-column: 1; grid-row: 2; align-self: end; margin-bottom: clamp(18px, 3vh, 36px); font-size: clamp(54px, 6.6vw, 124px); font-weight: 720; font-stretch: 114%; line-height: .9; letter-spacing: -.055em; will-change: transform; }
.u-hero-title em { color: var(--accent); }
.u-br { display: block; }
.u-hero-island { position: absolute; z-index: 2; right: calc(var(--pad) - 1vw); top: auto; bottom: 15%; width: min(50vw, 820px, 80vh); margin-right: 0; display: grid; justify-items: center; gap: 0; opacity: 0; scale: .94; translate: 0 50px; transition: opacity 1.4s var(--ease) .2s, scale 1.8s var(--ease) .2s, translate 1.8s var(--ease) .2s; will-change: transform; }
.u-ready .u-hero-island { opacity: 1; scale: 1; translate: 0 0; }
.u-hero-island img { width: 100%; height: auto; transform-origin: 50% 90%; }
.u-hero-island figcaption { margin-top: -2%; }
.u-hero-island figcaption a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; background: rgba(252,249,244,.7); box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -12px rgba(44,39,37,.25); font: 560 13.5px/1 var(--sans); font-stretch: 104%; color: var(--ink); text-decoration: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .35s, transform .5s var(--ease); }
.u-hero-island figcaption a:hover { background: var(--white); transform: translateY(-2px); }
.u-hero-island .u-chip { background: var(--blue); color: var(--ink); }
.u-hero-foot { position: relative; z-index: 3; grid-column: 1 / -1; grid-row: 3; display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.u-hero-foot p { max-width: 460px; color: var(--ink-2); font-size: 16.5px; }
.u-hero-foot p a { color: var(--ink); text-decoration-color: var(--sun-d); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.u-hero-foot .u-btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); --fill: var(--ink); }
.u-hero-foot .u-btn-ghost:hover { color: var(--cream); }
.u-hero-foot, .u-hero-meta { opacity: 0; translate: 0 18px; transition: opacity 1.2s var(--ease) .55s, translate 1.2s var(--ease) .55s; }
.u-ready .u-hero-foot, .u-ready .u-hero-meta { opacity: 1; translate: 0 0; }

/* ── sections ────────────────────────────────────────────────────────────── */
.u-section-head { max-width: var(--max); margin: 0 auto clamp(36px, 5vw, 64px); display: grid; gap: 20px; }
.u-section-head h2 { font-size: clamp(44px, 6.2vw, 104px); }
.u-section-head > p:not(.u-label) { max-width: 560px; color: var(--ink-2); font-size: 18px; }
.u-head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.u-head-row > div { display: grid; gap: 20px; }

.u-manifesto { padding: clamp(110px, 15vw, 210px) var(--pad) clamp(40px, 6vw, 80px); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; display: grid; gap: 36px; }
.u-manifesto-text { font: 600 clamp(32px, 4.5vw, 72px)/1.06 var(--sans); font-stretch: 108%; letter-spacing: -.04em; max-width: 1180px; }
.u-manifesto-text .w { color: rgba(44,39,37,.13); transition: color .5s var(--ease); }
.u-manifesto-text .w.on { color: var(--ink); }
.u-manifesto-text .w.hl { padding: 0 .06em; margin: 0 -.06em; border-radius: .12em; background: linear-gradient(var(--sun), var(--sun)) no-repeat 0 88% / 0% 42%; transition: color .5s var(--ease), background-size .9s var(--ease); }
.u-manifesto-text .w.hl.on { background-size: 100% 42%; }
.u-brief { display: grid; grid-template-columns: minmax(150px, 1fr) 3fr; gap: 14px 48px; margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.u-brief .u-label { grid-row: span 2; align-self: start; }
.u-brief-text { max-width: 760px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.u-brief-text a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.u-brief-date { font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* app plates */
.u-rooms { padding: clamp(80px, 10vw, 140px) var(--pad) clamp(60px, 8vw, 110px); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; display: grid; gap: clamp(60px, 8vw, 120px); }
.u-rooms-tail { padding-top: clamp(80px, 10vw, 140px); }
.u-rooms-page { padding-top: 0; }
.u-room { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 84px); align-items: center; }
.u-room-art { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 36px; overflow: hidden; background: var(--sky); isolation: isolate; transform: translateZ(0); }
.u-room-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.u-room-art:hover .u-room-bg { transform: scale(1.13); }
.u-room-shine { position: absolute; inset: 0; z-index: 2; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.4) 50%, transparent 65%); transform: translateX(-110%); transition: transform 1.2s var(--ease); pointer-events: none; }
.u-room-art:hover .u-room-shine { transform: translateX(110%); }
.u-room-island { position: absolute; width: 78%; height: auto; left: 11%; top: 17%; filter: drop-shadow(0 30px 30px rgba(0,0,0,.3)); animation: u-bob 7s ease-in-out infinite; }
.u-room-float { position: absolute; width: 30%; height: auto; filter: drop-shadow(0 18px 18px rgba(0,0,0,.28)); animation: u-bob 6s ease-in-out infinite; }
.u-rf-1 { left: -2%; top: 60%; animation-delay: -2s; } .u-rf-2 { right: -2%; top: 7%; animation-delay: -4s; width: 26%; }
.u-room-tag { position: absolute; z-index: 3; left: 18px; top: 18px; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 9px 12px 8px; border-radius: 999px; background: var(--cream); color: var(--ink); }
/* Slate: monochrome stage. The stone sits in a spotlight inside a step ring; a Live Activity pill counts a walk to the unlock. */
.u-slate-art { background: #000; container-type: inline-size; color: #fff; box-shadow: 0 40px 80px -40px rgba(0,0,0,.55); }
.u-slate-glow { position: absolute; inset: 0; background: radial-gradient(closest-side at 50% 53%, transparent 52%, rgba(255,255,255,.075) 64%, transparent 100%), radial-gradient(120% 70% at 50% -10%, rgba(255,255,255,.08), transparent 60%); transition: opacity 1.2s var(--ease); opacity: .85; }
.u-slate-art:hover .u-slate-glow { opacity: 1; }
.u-slate-ring { position: absolute; z-index: 2; left: 9.6%; top: 19.5%; width: 80%; height: auto; transform: rotate(-90deg); overflow: visible; }
.u-slate-ring circle { fill: none; }
.u-slate-track { stroke: rgba(255,255,255,.2); stroke-width: 1.6; stroke-dasharray: .18 1.49; }
.u-slate-fill { stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(255,255,255,.45)); }
.u-slate-stage { position: absolute; left: 7%; top: 19.4%; width: 86%; aspect-ratio: 1; transition: scale 1.4s var(--ease); }
.u-slate-art:hover .u-slate-stage { scale: 1.035; }
.u-slate-stone { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 97%); mask-image: radial-gradient(closest-side, #000 72%, transparent 97%); } /* its pure-black backdrop drops out, the stone stays */
.u-slate-lid { position: absolute; left: 38.6%; top: 44.4%; width: 23.8%; height: 4.2%; border-radius: 999px; background: #1b1b1b; transform: scaleY(0); transform-origin: 50% 0; animation: u-slate-blink 6.5s 2s infinite; }
.u-slate-art.happy .u-slate-lid { animation: u-slate-blink2 .7s; }
@keyframes u-slate-blink { 0%, 93%, 100% { transform: scaleY(0); } 95.5% { transform: scaleY(1); } }
@keyframes u-slate-blink2 { 0%, 100% { transform: scaleY(0); } 30% { transform: scaleY(1); } 55% { transform: scaleY(0); } 75% { transform: scaleY(1); } }
.u-slate-live { position: absolute; z-index: 3; left: 50%; top: max(11.5%, 62px); width: min(80%, 360px); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 12px; padding: 12px 16px 14px 12px; border-radius: 24px; background: linear-gradient(180deg, #1d1d1d, #101010); box-shadow: inset 0 1px 0 rgba(255,255,255,.09), inset 0 0 0 1px rgba(255,255,255,.06), 0 24px 40px -18px rgba(0,0,0,.9); translate: -50% -12px; opacity: 0; transition: translate 1.2s var(--ease) .3s, opacity 1.2s var(--ease) .3s; }
.u-room.in .u-slate-live { translate: -50% 0; opacity: 1; }
.u-slate-dot { position: relative; width: clamp(28px, 7.4cqw, 38px); aspect-ratio: 1; border-radius: 50% 50% 46% 46% / 56% 56% 44% 44%; background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); transition: background .6s var(--ease); }
.u-slate-dot i { position: absolute; left: 30%; right: 30%; top: 47%; height: 10%; border-radius: 9px; background: #fff; transition: background .6s var(--ease); }
.u-slate-art.unlocked .u-slate-dot { background: #fff; }
.u-slate-art.unlocked .u-slate-dot i { background: #000; }
.u-slate-text { display: grid; gap: 3px; min-width: 0; }
.u-slate-text b { font-size: clamp(12.5px, 3.2cqw, 16px); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-slate-text small { font: 500 clamp(10.5px, 2.5cqw, 12.5px)/1.2 var(--mono); color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; white-space: nowrap; }
.u-slate-bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.u-slate-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.u-slate-tiers { position: absolute; z-index: 3; left: 0; right: 0; bottom: 5.5%; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.u-slate-tiers span { font: 600 clamp(10px, 2.4cqw, 12px)/1 var(--mono); letter-spacing: .04em; padding: 7px 11px 6px; border-radius: 999px; color: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); transition: background .6s var(--ease), color .6s var(--ease), opacity .6s var(--ease); }
.u-slate-tiers span.on { background: #fff; color: #000; box-shadow: none; }
.u-slate-tiers span.done { opacity: .35; }
.u-slate-tiers small { flex-basis: 100%; text-align: center; margin-top: 4px; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.u-slate-tag { background: #fff; color: #000; }
.u-room-slate .u-btn-ink { background: #0a0a0a; }
.u-room-copy { display: grid; gap: 22px; align-content: center; }
.u-room-copy h3 { font-size: clamp(56px, 7.4vw, 128px); font-stretch: 116%; }
.u-room-copy h3 a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 0 .08em; transition: background-size .7s var(--ease); }
.u-room-copy h3 a:hover { background-size: 100% .08em; }
.u-room-lede { font-size: 18px; color: var(--ink-2); max-width: 520px; }
.u-spec { margin: 0; display: grid; border-top: 1px solid var(--line); }
.u-spec div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.u-spec dt { font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.u-spec dd { margin: 0; font-weight: 600; font-size: 15px; }
.u-room-next .u-room-art { order: 2; }
.u-blueprint { background: var(--accent-xl); }
.u-blueprint::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(79,107,121,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(79,107,121,.12) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px; }
.u-sketch { position: absolute; inset: 8% 10% 4%; width: 80%; height: 88%; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; }
.u-sketch path { stroke-dasharray: 100; stroke-dashoffset: 100; }
.u-room.in .u-sketch path { animation: u-sketch 2.8s var(--ease) forwards; }
.u-room.in .u-sketch path:nth-child(2) { animation-delay: .35s; } .u-room.in .u-sketch path:nth-child(3) { animation-delay: .7s; } .u-room.in .u-sketch path:nth-child(4) { animation-delay: .2s; } .u-room.in .u-sketch path:nth-child(5) { animation-delay: 1s; }
.u-sketch-dim { stroke-width: 1; opacity: .6; }
@keyframes u-sketch { to { stroke-dashoffset: 0; } }
.u-blueprint-tag { position: absolute; left: 18px; bottom: 16px; font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.u-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.u-progress span { position: relative; padding-top: 12px; }
.u-progress span::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.u-progress span.done { color: var(--ink); } .u-progress span.done::before { background: var(--ink); }
.u-progress span.on { color: var(--accent); }
.u-progress span.on::before { background: linear-gradient(90deg, var(--accent) 0 60%, var(--line) 60%); }
.u-progress span.on::after { content: ''; position: absolute; top: -2px; left: calc(60% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(79,107,121,.5); animation: u-pulse-b 2s infinite; }
@keyframes u-pulse-b { 70% { box-shadow: 0 0 0 8px rgba(79,107,121,0); } 100% { box-shadow: 0 0 0 0 rgba(79,107,121,0); } }

/* worlds rail */
.u-worlds { position: relative; background: var(--ink); color: #fff; }
.u-worlds-pin { display: grid; gap: 34px; padding: clamp(70px, 10vw, 120px) 0; overflow: hidden; }
.u-worlds-head { display: grid; gap: 18px; align-content: center; padding: 0 var(--pad); max-width: 560px; }
.u-worlds-head .u-label { color: rgba(255,255,255,.6); }
.u-worlds-head h2 { font-size: clamp(40px, 4.6vw, 76px); }
.u-worlds-head h2 em { color: var(--blue); }
.u-worlds-head > p:not(.u-label) { color: rgba(255,255,255,.7); max-width: 400px; }
.u-worlds-meter { height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; max-width: 320px; margin-top: 8px; }
.u-worlds-meter i { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
.u-worlds-track { list-style: none; margin: 0; padding: 0 var(--pad); display: flex; gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.u-worlds-track::-webkit-scrollbar { display: none; }
.u-world { flex: none; width: clamp(240px, 24vw, 340px); scroll-snap-align: start; }
.u-world a { position: relative; display: block; aspect-ratio: 3 / 4.1; border-radius: 28px; overflow: hidden; background: var(--c, #345); isolation: isolate; transform: translateZ(0); }
.u-world-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.u-world-island { position: absolute; left: 7%; width: 86%; height: auto; bottom: 16%; filter: drop-shadow(0 22px 20px rgba(0,0,0,.32)); transition: transform 1s var(--ease); }
.u-world a:hover .u-world-bg { transform: scale(1.16); }
.u-world a:hover .u-world-island { transform: translateY(-14px) scale(1.04); }
.u-world-name { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.92); color: var(--ink); font: 650 16px/1.1 var(--sans); font-stretch: 108%; letter-spacing: -.02em; }
.u-world-name small { order: 2; font: 500 10.5px var(--mono); letter-spacing: .08em; color: var(--ink-3); }
.u-world-name::before { content: ''; order: 0; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-right: auto; display: none; }
.u-worlds.is-rail .u-worlds-pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; grid-template-columns: minmax(380px, 34%) 1fr; align-items: center; gap: 0; }
.u-worlds.is-rail .u-worlds-head h2 { font-size: clamp(40px, 3.7vw, 66px); }
.u-worlds.is-rail .u-worlds-head { position: relative; z-index: 2; align-self: stretch; max-width: none; background: var(--ink); padding: 0 clamp(20px, 3vw, 48px) 0 var(--pad); }
.u-worlds.is-rail .u-worlds-head::after { content: ''; position: absolute; top: 0; bottom: 0; left: 100%; width: clamp(24px, 4vw, 64px); background: linear-gradient(90deg, var(--ink), rgba(44,39,37,0)); pointer-events: none; }
.u-worlds.is-rail .u-worlds-track { overflow: visible; scroll-snap-type: none; padding: 0 var(--pad) 0 clamp(24px, 4vw, 64px); will-change: transform; }

/* principles: a stack */
.u-principles-wrap { padding: clamp(110px, 14vw, 190px) var(--pad) 0; }
.u-principles { max-width: var(--max); margin: 0 auto; display: grid; gap: 22px; }
.u-principle { --dim: 0; position: sticky; top: calc(100px + var(--i, 0) * 18px); min-height: clamp(380px, 62vh, 560px); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 4vw, 60px); align-items: center; padding: clamp(28px, 4.4vw, 64px); border-radius: 40px; overflow: hidden; transform-origin: 50% 0; box-shadow: 0 30px 60px -40px rgba(44,39,37,.5); }
.u-principle::after { content: ''; position: absolute; inset: 0; background: var(--ink); opacity: calc(var(--dim) * .35); pointer-events: none; }
.u-principle:nth-child(1) { --i: 0; } .u-principle:nth-child(2) { --i: 1; } .u-principle:nth-child(3) { --i: 2; } .u-principle:nth-child(4) { --i: 3; }
.u-principle-copy { display: grid; gap: 18px; align-content: end; align-self: stretch; }
.u-principle h3 { font-size: clamp(40px, 5.4vw, 92px); }
.u-principle p:last-child { font-size: 18px; max-width: 470px; }
.u-principle-art { display: grid; place-items: center; }
.u-principle .u-glyph { width: min(100%, 340px); }
.u-tone-01 { background: var(--cream); color: var(--ink); }
.u-tone-01 p:last-child { color: var(--ink-2); }
.u-tone-02 { background: var(--blue); color: var(--ink); }
.u-tone-02 .u-num { color: var(--accent-d); } .u-tone-02 p:last-child { color: rgba(44,39,37,.78); }
.u-tone-03 { background: var(--sage); color: var(--ink); }
.u-tone-03 .u-num { color: var(--ink); } .u-tone-03 p:last-child { color: rgba(44,39,37,.8); }
.u-tone-04 { background: var(--ink); color: var(--cream); }
.u-tone-04 .u-num { color: var(--blue); } .u-tone-04 p:last-child { color: rgba(247,241,232,.72); }

/* glyphs */
.u-glyph { display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.u-glyph .g-sun { fill: var(--g-accent, var(--sun)); stroke: none; }
.u-glyph .g-fill { fill: currentColor; stroke: none; }
.u-glyph .g-solid { fill: currentColor; fill-opacity: .12; }
.u-glyph .g-ring { transform-box: fill-box; transform-origin: center; opacity: 0; animation: g-ripple 4.2s cubic-bezier(.2,.7,.3,1) infinite; }
.u-glyph .g-r1 { animation-delay: 1.05s; } .u-glyph .g-r2 { animation-delay: 2.1s; } .u-glyph .g-r3 { animation-delay: 3.15s; }
@keyframes g-ripple { 0% { transform: scale(.15); opacity: 0; } 12% { opacity: .95; } 100% { transform: scale(1); opacity: 0; } }
.u-glyph .g-pill { fill: currentColor; stroke: none; transform-box: fill-box; transform-origin: center; animation: g-pill 4.5s var(--ease) infinite; }
@keyframes g-pill { 0%, 22%, 82%, 100% { transform: none; } 34%, 70% { transform: scale(2.2, 1.7); } }
.u-glyph .g-draw { stroke-dasharray: 100; stroke-dashoffset: 100; animation: g-draw 4.5s var(--ease) infinite; stroke: var(--g-accent, var(--sun)); stroke-width: 6; }
.u-tone-01 .u-glyph .g-draw { stroke: var(--accent); }
@keyframes g-draw { 0% { stroke-dashoffset: 100; } 55%, 85% { stroke-dashoffset: 22; } 100% { stroke-dashoffset: 100; opacity: 0; } }
.u-g-finished .g-loop { animation-name: g-loop; }
@keyframes g-loop { 0% { stroke-dashoffset: 100; opacity: 1; } 45%, 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.u-glyph .g-check { stroke-width: 7; stroke-dasharray: 100; stroke-dashoffset: 100; animation: g-check 4.5s var(--ease) infinite; }
@keyframes g-check { 0%, 40% { stroke-dashoffset: 100; opacity: 1; } 60%, 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.u-g-calm { overflow: hidden; }
.u-glyph .g-wave { animation: g-wave 6s linear infinite; }
.u-glyph .g-w2 { animation-duration: 8s; animation-direction: reverse; opacity: .7; } .u-glyph .g-w3 { animation-duration: 11s; opacity: .45; }
@keyframes g-wave { to { transform: translateX(-80px); } }
.u-glyph .g-bob { animation: g-bob 5s ease-in-out infinite; }
@keyframes g-bob { 50% { transform: translateY(-8px); } }
.u-glyph .g-dots circle { fill: currentColor; stroke: none; animation: g-dot 1.4s var(--ease-io) infinite; }
.u-glyph .g-dots circle:nth-child(2) { animation-delay: .18s; } .u-glyph .g-dots circle:nth-child(3) { animation-delay: .36s; }
@keyframes g-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-12px); opacity: 1; } }
.u-glyph .g-fan path { transform-box: view-box; transform-origin: 120px 196px; transition: transform .8s var(--ease); }
.u-glyph .g-p2 { transform: rotate(-9deg); opacity: .55; } .u-glyph .g-p3 { transform: rotate(-18deg); opacity: .3; }
.u-glyph .g-fan { animation: g-fan 6s ease-in-out infinite; transform-box: view-box; transform-origin: 120px 196px; }
@keyframes g-fan { 50% { transform: rotate(6deg); } }
.u-glyph .g-ink { stroke-width: 5; }
.u-glyph .g-drift { animation: g-drift 9s ease-in-out infinite; }
@keyframes g-drift { 25% { transform: translate(18px, -10px); } 50% { transform: translate(0, -18px); } 75% { transform: translate(-18px, -8px); } }

/* craft */
.u-craft { margin: clamp(110px, 14vw, 190px) auto 0; max-width: calc(var(--max) + 2 * var(--pad)); padding: clamp(40px, 6vw, 84px) var(--pad); background: var(--ink); color: #fff; border-radius: 44px; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.u-craft .u-label { color: rgba(255,255,255,.6); }
.u-craft .u-label .u-num { background: var(--blue); color: var(--ink); }
.u-craft h2 { font-size: clamp(44px, 5.6vw, 92px); margin: 20px 0; }
.u-craft h2 em { color: var(--blue); }
.u-craft-copy > p { color: rgba(255,255,255,.72); max-width: 480px; }
.u-chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.u-chips li { font: 500 12px var(--mono); padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.85); transition: background .3s, color .3s, border-color .3s; }
.u-chips li:hover { background: var(--blue); color: var(--ink); border-color: var(--blue); }
.u-terminal { border-radius: 22px; background: #1d1a18; border: 1px solid rgba(255,255,255,.1); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.u-term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); font: 500 11px var(--mono); color: rgba(255,255,255,.45); }
.u-term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #4a433e; }
.u-term-bar i:first-child { background: var(--accent); } .u-term-bar i:nth-child(2) { background: var(--sun); }
.u-term-bar span { margin-left: 8px; }
.u-terminal pre { margin: 0; padding: 22px; overflow-x: auto; font: 500 13.5px/1.9 var(--mono); color: #ece4d8; }
.u-terminal .p, .u-terminal b { color: var(--blue); font-weight: 600; }
.u-terminal [data-line] { opacity: 0; transition: opacity .35s; }
.u-terminal.in [data-line] { opacity: 1; }
.u-caret { color: var(--blue); animation: u-blink 1s steps(1) infinite; }
@keyframes u-blink { 50% { opacity: 0; } }

/* journal cards */
.u-journal-strip { padding: clamp(110px, 14vw, 190px) var(--pad) 0; }
.u-entries { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.u-entry { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 12px 12px 22px; border-radius: var(--r); background: var(--white); text-decoration: none; transition: transform .6s var(--ease), box-shadow .6s var(--ease); box-shadow: 0 0 0 1px var(--line-2); }
.u-entry:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-2), 0 30px 50px -30px rgba(44,39,37,.35); }
.u-entry-img { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--mist); margin-bottom: 6px; }
.u-entry-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.u-entry:hover .u-entry-img img { transform: scale(1.06); }
.u-entry > :not(.u-entry-img) { margin-inline: 10px; }
.u-entry-plain { padding-top: 26px; }
.u-entry h3 { font-size: 25px; font-weight: 650; font-stretch: 104%; letter-spacing: -.03em; line-height: 1.1; }
.u-entry p:not(.u-label) { color: var(--ink-2); font-size: 15px; }
.u-entry .u-label .u-num { background: var(--accent-l); color: var(--accent); }
.u-more { margin-top: auto; padding-top: 6px; display: inline-flex; gap: 10px; align-items: center; font: 620 14px var(--sans); font-stretch: 106%; color: var(--ink); }

/* FAQ */
.u-faq { padding: clamp(110px, 14vw, 190px) var(--pad) 0; max-width: 1040px; margin: 0 auto; }
.u-faq .u-section-head h2 { font-size: clamp(40px, 5vw, 80px); }
.u-faq-list { display: grid; border-top: 1px solid var(--line); }
.u-faq details { border-bottom: 1px solid var(--line); }
.u-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 600 clamp(19px, 1.9vw, 25px)/1.25 var(--sans); font-stretch: 104%; letter-spacing: -.02em; transition: color .3s; }
.u-faq summary:hover { color: var(--accent); }
.u-faq summary::-webkit-details-marker { display: none; }
.u-faq summary i { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .4s, box-shadow .4s, transform .6s var(--ease); }
.u-faq summary i::before, .u-faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -.9px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .6s var(--ease); }
.u-faq summary i::after { transform: rotate(90deg); }
.u-faq details[open] summary i { background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); color: #fff; transform: rotate(180deg); }
.u-faq details[open] summary i::after { transform: rotate(0); }
.u-faq-a { overflow: hidden; }
.u-faq-a p { padding: 0 60px 26px 0; color: var(--ink-2); max-width: 780px; }

/* ── page hero (inner pages) ─────────────────────────────────────────────── */
.u-phero { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: clamp(140px, 19vh, 210px) var(--pad) clamp(50px, 7vw, 100px); display: grid; gap: 26px; }
.u-phero h1 { overflow-wrap: break-word; font-size: clamp(56px, 8.6vw, 156px); line-height: .9; letter-spacing: -.055em; font-stretch: 114%; }
.u-lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 640px; }
.u-phero-copy { display: grid; gap: 26px; align-content: end; }
.u-phero-split { grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); align-items: end; gap: clamp(30px, 5vw, 80px); }
.u-phero-art { position: relative; aspect-ratio: 1; border-radius: 44px; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.u-phero-art .u-glyph { width: 66%; position: relative; z-index: 1; }
.u-phero-small .u-phero-art { max-width: 400px; justify-self: end; width: 100%; }
[class*="u-tile-"]::before { content: ''; position: absolute; inset: -20%; z-index: 0; background: repeating-radial-gradient(circle at 50% 108%, transparent 0 34px, var(--tile-ring) 34px 35.5px); opacity: .9; }
.u-tile-moat { background: var(--blue); color: var(--ink); --g-accent: var(--sun); --tile-ring: rgba(44,39,37,.06); }
.u-tile-lime { background: var(--sage); color: var(--ink); --g-accent: var(--sun); --tile-ring: rgba(44,39,37,.07); }
.u-tile-ink { background: var(--ink); color: #fff; --g-accent: var(--sun); --tile-ring: rgba(255,255,255,.06); }

.u-promise { padding: clamp(110px, 14vw, 180px) var(--pad) 0; }
.u-promise-list { max-width: var(--max); margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.u-promise-list li { padding: 28px 26px 32px; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--line-2); display: grid; gap: 12px; align-content: start; transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease); }
.u-promise-list li:hover { background: var(--accent); color: #fff; transform: translateY(-4px); }
.u-promise-list li:hover p, .u-promise-list li:hover .u-num { color: rgba(255,255,255,.82); }
.u-promise-list h3 { font-size: 28px; font-weight: 650; font-stretch: 106%; letter-spacing: -.03em; line-height: 1.05; }
.u-promise-list p { color: var(--ink-2); font-size: 15px; transition: color .5s; }

.u-mark-anatomy { padding: clamp(60px, 10vw, 140px) var(--pad) 0; }
.u-anatomy { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: .85fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.u-anatomy-door { position: relative; max-width: 460px; width: 100%; justify-self: center; aspect-ratio: 1; padding: 8%; border-radius: 44px; background: var(--white); box-shadow: 0 0 0 1px var(--line-2); }
.u-mark-art { width: 100%; height: 100%; display: block; overflow: visible; }
.u-mark-art .ma-sun { transform-box: fill-box; transform-origin: center; transform: translateY(90px); transition: transform 2s var(--ease) .3s; }
.u-mark-art .ma-hill { transform: translateY(70px); transition: transform 1.6s var(--ease); } .u-mark-art .ma-h2 { transition-delay: .12s; }
.u-mark-art .ma-path { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease) .5s; }
.u-anatomy.in .ma-hill { transform: none; } .u-anatomy.in .ma-path { clip-path: inset(0); }
.u-anatomy.in .ma-sun { transform: none; }
.u-pin { position: absolute; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 12px var(--mono); background: var(--sun); color: var(--ink); box-shadow: 0 0 0 4px var(--white); scale: 0; transition: scale .7s var(--ease); }
.u-anatomy.in .u-pin { scale: 1; }
.u-pin-a { left: 12%; top: 40%; transition-delay: .5s; } .u-pin-b { left: 57%; top: 34%; transition-delay: .7s; } .u-pin-c { left: 62%; top: 77%; transition-delay: .9s; }
.u-anatomy figcaption { display: grid; gap: 22px; }
.u-anatomy figcaption p { display: grid; grid-template-columns: 34px 1fr; gap: 6px 14px; font-size: 18px; color: var(--ink-2); padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.u-anatomy figcaption strong { font: 660 28px/1.1 var(--sans); font-stretch: 110%; letter-spacing: -.035em; color: var(--ink); grid-column: 2; }
.u-anatomy figcaption .u-num { grid-row: 1 / 3; padding-top: 6px; }
.u-story { padding: clamp(110px, 14vw, 190px) var(--pad) 0; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
.u-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); }
.u-story-grid h2 { font-size: clamp(44px, 5.4vw, 88px); margin-top: 20px; }
.u-story-copy { display: grid; gap: 20px; font-size: 19px; color: var(--ink-2); align-content: end; }
.u-facts { margin: 60px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--ink); }
.u-facts div { padding: 18px 16px 0 0; display: grid; gap: 6px; align-content: start; }
.u-facts dt { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.u-facts dd { margin: 0; font: 620 21px/1.2 var(--sans); font-stretch: 104%; letter-spacing: -.02em; overflow-wrap: anywhere; }
.u-facts a { text-decoration-color: var(--accent); text-underline-offset: 4px; }

.u-help-grid { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.u-help { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px; min-height: 270px; border-radius: 32px; background: var(--white); box-shadow: 0 0 0 1px var(--line-2); text-decoration: none; overflow: hidden; isolation: isolate; transition: color .5s var(--ease), transform .6s var(--ease); }
.u-help::before { content: ''; position: absolute; z-index: -1; right: -30%; bottom: -60%; width: 120%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); transform: scale(0); transform-origin: 70% 70%; transition: transform .8s var(--ease); }
.u-help:hover { color: #fff; transform: translateY(-4px); }
.u-help:hover::before { transform: scale(1.6); }
.u-help:hover p, .u-help:hover .u-num { color: rgba(255,255,255,.82); }
.u-help h2 { font-size: 34px; font-weight: 660; margin-top: 30px; }
.u-help p { color: var(--ink-2); font-size: 15px; max-width: 280px; transition: color .5s; }
.u-help .u-more { color: inherit; }
.u-contact { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: clamp(100px, 12vw, 160px) var(--pad) 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); }
.u-contact h2 { font-size: clamp(44px, 5vw, 80px); margin: 20px 0; }
.u-contact > div > p { color: var(--ink-2); margin-bottom: 14px; }
.u-contact .u-mono a { color: var(--accent); }
.u-form { display: grid; gap: 10px; padding: 30px; border-radius: 32px; background: var(--white); box-shadow: 0 0 0 1px var(--line-2); }
.u-form label { font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.u-form input, .u-form textarea { font: 500 16px var(--sans); padding: 15px 16px; border-radius: 16px; border: 1.5px solid transparent; background: var(--paper); color: var(--ink); transition: border-color .3s, background .3s; }
.u-form input:focus, .u-form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.u-form .u-btn { justify-self: start; margin-top: 10px; }
.form-status { font: 500 13px var(--mono); color: var(--accent); min-height: 1em; }

.u-legal-grid { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 280px 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.u-toc { position: sticky; top: 110px; display: grid; gap: 2px; }
.u-toc .u-label { margin-bottom: 10px; }
.u-toc a { position: relative; display: flex; gap: 12px; padding: 9px 0 9px 14px; text-decoration: none; font-size: 15px; color: var(--ink-2); transition: color .3s; }
.u-toc a::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--line); transition: background .3s; }
.u-toc a:hover, .u-toc a.on { color: var(--ink); }
.u-toc a.on::before { background: var(--accent); }
.u-legal-body section { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.u-legal-body h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 650; display: flex; gap: 16px; align-items: baseline; margin-bottom: 18px; }
.u-legal-body p { color: var(--ink-2); max-width: 720px; margin-bottom: 14px; }
.u-legal-body a, .u-prose a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

/* journal article */
.u-journal { padding: 0 var(--pad); }
.u-article-head { max-width: 1000px; margin: 0 auto; padding: clamp(140px, 18vh, 190px) var(--pad) 50px; display: grid; gap: 22px; }
.u-article-head h1 { font-size: clamp(40px, 5.2vw, 78px); line-height: 1; letter-spacing: -.05em; }
.u-back { justify-self: start; font: 500 13px var(--mono); text-decoration: none; color: var(--ink-3); padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); transition: color .3s, background .3s; }
.u-back:hover { color: #fff; background: var(--ink); }
.u-article-hero { margin: 14px 0 0; aspect-ratio: 16 / 9; border-radius: 32px; overflow: hidden; background: var(--mist); }
.u-article-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.u-byline { color: var(--ink-3); }
.u-article-grid { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(30px, 6vw, 90px); align-items: start; }
.u-prose { min-width: 0; font-size: 19px; line-height: 1.7; color: var(--ink-2); }
.u-prose h2 { font-size: clamp(30px, 3vw, 42px); color: var(--ink); margin: 50px 0 14px; letter-spacing: -.04em; line-height: 1.02; }
.u-prose h2:first-child { margin-top: 0; }
.u-prose h3 { font-size: clamp(22px, 2vw, 27px); font-weight: 650; font-stretch: 104%; letter-spacing: -.025em; line-height: 1.15; color: var(--ink); margin: 32px 0 10px; }
.u-prose p { margin-bottom: 18px; }
.u-prose code { font: 500 .82em var(--mono); background: var(--mist); padding: 2px 6px; border-radius: 6px; }
.u-prose ul, .u-prose ol { margin: 0 0 20px; padding-left: 1.3em; display: grid; gap: 8px; }
.u-prose li::marker { color: var(--accent); }
.u-prose strong { color: var(--ink); font-weight: 650; }
.u-answer { max-width: 780px; color: var(--ink); }
.u-takeaways { background: var(--white); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line-2); padding: clamp(20px, 3vw, 32px); margin: 0 0 44px; border-top: 4px solid var(--accent); }
.u-prose .u-takeaways h2 { font-size: clamp(24px, 2.2vw, 30px); margin: 0 0 12px; }
.u-takeaways ul { margin: 0; font-size: 17px; line-height: 1.55; }
.u-table { overflow-x: auto; margin: 6px 0 26px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); background: var(--white); -webkit-overflow-scrolling: touch; }
.u-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; min-width: 520px; }
.u-table caption { caption-side: top; text-align: left; padding: 14px 16px 6px; font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.u-table th, .u-table td { text-align: left; vertical-align: top; padding: 11px 16px; border-top: 1px solid var(--line); }
.u-table thead th { font-weight: 650; color: var(--ink); background: var(--accent-xl); }
.u-table tbody th { font-weight: 600; color: var(--ink); }
.u-note { font-size: 15px; color: var(--ink-3); border-left: 3px solid var(--sun-d); padding: 4px 0 4px 14px; margin: 30px 0; }
.u-post-faq { margin-top: 46px; }
.u-post-faq h3 { font-size: 18px; font-weight: 650; letter-spacing: -.01em; line-height: 1.35; margin: 24px 0 6px; }
.u-post-faq p { font-size: 17px; }
.u-cta { position: relative; overflow: hidden; isolation: isolate; margin: 50px 0 34px; padding: clamp(26px, 3.6vw, 40px); border-radius: 32px; background: var(--ink); color: var(--cream); display: grid; gap: 14px; justify-items: start; }
.u-cta::before { content: ''; position: absolute; inset: -30%; z-index: -1; background: repeating-radial-gradient(circle at 90% 120%, transparent 0 30px, rgba(255,255,255,.07) 30px 31.5px); }
.u-cta .u-label { color: var(--blue); }
.u-cta-title { font: 680 clamp(28px, 2.8vw, 40px)/1.02 var(--sans); font-stretch: 110%; letter-spacing: -.045em; color: #fff; }
.u-cta p:not(.u-label):not(.u-cta-title) { font-size: 16px; color: rgba(255,255,255,.84); }
.u-cta .u-btn { text-decoration: none; }
.u-sources { margin-top: 30px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.u-sources ol { margin: 10px 0 0; padding-left: 1.4em; gap: 6px; }
.u-sources a { overflow-wrap: anywhere; color: var(--ink-2); }
.u-related { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.u-related ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: 17px; }
.u-article-aside { position: sticky; top: 110px; display: grid; gap: 14px; padding: 16px 16px 22px; border-radius: 32px; background: var(--white); box-shadow: 0 0 0 1px var(--line-2); }
.u-article-aside > :not(.u-aside-card) { margin-inline: 6px; }
.u-aside-card { aspect-ratio: 1; border-radius: 22px; background: linear-gradient(180deg, var(--sky), var(--sand)); display: grid; place-items: center; }
.u-aside-card img { width: 80%; height: auto; animation: u-bob 7s ease-in-out infinite; }
.u-article-aside h2 { font-size: 36px; }
.u-article-aside p:not(.u-label) { font-size: 15px; color: var(--ink-2); }
.u-article-aside .u-btn { justify-self: start; }
.u-more-entries { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: clamp(90px, 12vw, 140px) var(--pad) 0; display: grid; gap: 22px; }

.u-404 { min-height: 100vh; display: grid; justify-items: center; align-content: center; gap: 22px; text-align: center; padding: 130px var(--pad) 60px; }
.u-404-art { position: relative; width: min(300px, 64vw); aspect-ratio: 1; border-radius: 44px; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.u-404-art .u-glyph { width: 66%; position: relative; z-index: 1; }
.u-404 h1 { font-size: clamp(54px, 8vw, 120px); }
.u-404 .u-actions { justify-content: center; }

/* ── footer: back to the water ───────────────────────────────────────────── */
.u-footer { position: relative; isolation: isolate; margin-top: clamp(110px, 14vw, 190px); background: var(--ink); color: var(--cream); border-radius: 48px 48px 0 0; }
.u-footer-water { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; width: 100%; height: 100%; pointer-events: none; }
.u-footer-letters { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; padding: clamp(60px, 8vw, 110px) var(--pad); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; border-bottom: 1px solid rgba(255,255,255,.16); }
.u-letters-copy { display: grid; gap: 18px; }
.u-footer .u-label { color: rgba(255,255,255,.65); }
.u-letters-copy h2 { font-size: clamp(44px, 5.4vw, 88px); }
.u-letters-copy h2 em { color: var(--blue); }
.u-letters-copy > p:last-child { color: rgba(255,255,255,.75); max-width: 440px; }
.u-letters-form { display: grid; gap: 12px; position: relative; }
.u-field { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid rgba(255,255,255,.4); transition: border-color .3s; }
.u-field:focus-within { border-color: var(--blue); }
.u-field input { flex: 1; min-width: 0; background: none; border: 0; padding: 16px 0; font: 560 clamp(22px, 2.3vw, 32px) var(--sans); font-stretch: 106%; letter-spacing: -.02em; color: #fff; }
.u-field input::placeholder { color: rgba(255,255,255,.4); }
.u-field input:focus { outline: none; }
.u-field button { width: 56px; height: 56px; flex: none; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .5s var(--ease), background .3s; }
.u-field button:hover { transform: scale(1.08); background: #fff; }
.u-field .u-arr, .u-field .u-ico { width: 18px; height: 18px; }
.u-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: rgba(255,255,255,.72); }
.u-consent input { margin-top: 3px; accent-color: var(--sun); }
.u-footer .form-status { color: var(--blue); }
.u-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding: 60px var(--pad) 0; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
.u-footer-id { display: grid; gap: 16px; align-content: start; }
.u-footer-id p { color: rgba(255,255,255,.72); }
.u-mark-lg { width: 64px; height: 64px; border-radius: 18px; background: var(--cream); padding: 8px; }
.u-footer nav { display: grid; gap: 8px; align-content: start; }
.u-footer nav strong { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.u-footer nav a, .u-footer nav button { justify-self: start; color: rgba(255,255,255,.9); text-decoration: none; font: 520 15px var(--sans); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; transition: color .3s; }
.u-footer nav a:hover, .u-footer nav button:hover { color: var(--blue); }
.u-giant { margin: 50px 0 0; display: flex; justify-content: center; font: 800 clamp(96px, 21.5vw, 380px)/.8 var(--sans); font-stretch: 112%; letter-spacing: -.06em; color: var(--cream); white-space: nowrap; user-select: none; padding-bottom: .04em; }
.u-giant span { display: inline-block; transition: font-stretch .5s var(--ease), font-weight .5s var(--ease), color .5s; }
.u-giant.wave span { animation: u-giant 4.8s var(--ease-io) infinite; }
.u-giant.wave span:nth-child(2) { animation-delay: .15s; } .u-giant.wave span:nth-child(3) { animation-delay: .3s; } .u-giant.wave span:nth-child(4) { animation-delay: .45s; } .u-giant.wave span:nth-child(5) { animation-delay: .6s; } .u-giant.wave span:nth-child(6) { animation-delay: .75s; }
@keyframes u-giant { 0%, 60%, 100% { font-stretch: 112%; font-weight: 800; } 25% { font-stretch: 90%; font-weight: 500; color: var(--blue); } }
.u-footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding: 26px var(--pad) 30px; font: 500 12px var(--mono); color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.16); }
.u-footer nav .u-optout-note { font: 500 11px var(--mono); letter-spacing: .06em; color: var(--blue); margin-top: -2px; }
.u-footer nav .u-optout-note:empty { display: none; }

/* reveal + split */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
.u-split-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.u-split-w > span { display: inline-block; transform: translateY(112%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease); }
.u-split-ready .u-split-w > span { transform: none; }

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .u-links, .u-nav-clock { display: none; }
  .u-nav-cta { margin-left: auto; }
  .u-entries { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .u-facts { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .u-promise-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  body.u-body { font-size: 16px; }
  .u-nav { padding-left: 12px; }
  .u-nav-cta { display: none; }
  .u-burger { display: block; margin-left: auto; }
  .u-hero { height: 112vh; height: 112svh; }
  .u-hero-panel { grid-template-columns: minmax(0,1fr); grid-template-rows: auto 1fr auto auto; padding: 84px var(--pad) 26px; min-height: 560px; }
  .u-hero-meta { font-size: 10px; letter-spacing: .1em; }
  .u-hero-meta > span:first-child { display: none; }
  .u-hero-meta > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .u-hero-live { width: 100%; justify-content: center; }
  .u-hero-island { position: relative; right: auto; top: auto; bottom: auto; margin-top: 0; grid-row: 2; align-self: center; justify-self: center; width: min(96vw, 480px); }
  .u-hero-title { grid-row: 3; font-size: clamp(44px, 12.4vw, 68px); font-stretch: 104%; margin-bottom: 18px; }
  .u-hero-title em { font-stretch: 112%; }
  .u-hero-foot { grid-row: 4; flex-direction: column; align-items: stretch; gap: 16px; padding-top: 16px; }
  .u-hero-foot p { font-size: 15px; }
  .u-hero-foot .u-btn-ghost { display: none; }
  .u-hero-foot .u-btn { justify-content: center; }
  h1 em, h2 em, h3 em { font-stretch: 112%; }
  .u-brief { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .u-brief .u-label { grid-row: auto; }
  .u-brief-text { font-size: 16px; }
  .u-room, .u-room-next { grid-template-columns: minmax(0,1fr); }
  .u-room-next .u-room-art { order: 0; }
  .u-room-art { max-width: 460px; width: 100%; border-radius: 30px; }
  .u-spec div { grid-template-columns: 100px 1fr; }
  .u-principle { grid-template-columns: minmax(0,1fr); min-height: 0; top: calc(84px + var(--i, 0) * 12px); border-radius: 32px; gap: 10px; }
  .u-principle-art { order: -1; justify-items: start; }
  .u-principle .u-glyph { width: 132px; }
  .u-principle p:last-child { font-size: 16px; }
  .u-entries, .u-help-grid, .u-promise-list { grid-template-columns: minmax(0,1fr); }
  .u-craft { grid-template-columns: minmax(0,1fr); border-radius: 32px; margin-inline: 12px; }
  .u-terminal pre { font-size: 11.5px; padding: 16px; }
  .u-phero-split, .u-anatomy, .u-story-grid, .u-contact, .u-legal-grid, .u-article-grid, .u-footer-letters { grid-template-columns: minmax(0,1fr); }
  .u-phero-art { max-width: 300px; width: 100%; border-radius: 36px; }
  .u-phero-small .u-phero-art { justify-self: start; max-width: 220px; }
  .u-toc { position: static; }
  .u-article-aside { position: static; }
  .u-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .u-footer { border-radius: 32px 32px 0 0; }
  .u-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .u-footer-id { grid-column: 1 / -1; }
  .u-faq-a p { padding-right: 0; }
  .u-cursor { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .u-hero { height: auto; }
  .u-hero-panel { position: relative; }
  .u-hero-island, .u-hero-foot, .u-hero-meta { opacity: 1; scale: 1; translate: none; }
  .u-glyph .g-ring { opacity: .5; transform: scale(.7); }
  .u-glyph .g-draw, .u-glyph .g-check, .u-sketch path { stroke-dashoffset: 0; }
}

/* Phones: no live blur under fixed layers (iOS re-blurs them every scroll frame). */
@media (pointer: coarse) {
  .u-nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(252,249,244,.97); }
  .u-hero-island figcaption a { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.18); }
  .u-hero-island img { filter: none; }
}
.u-footer .u-water { color: #fff; }

/* ── Clay renders ─────────────────────────────────────────────────────── */
.u-tile-cream { background: var(--cream); color: var(--ink); --g-accent: var(--sun); --tile-ring: rgba(44,39,37,.05); }
.u-3d { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.u-principle-art .u-3d { width: min(100%, 380px); max-height: clamp(260px, 46vh, 440px); object-fit: contain; transition: transform 1.2s var(--ease); }
.u-principle:hover .u-principle-art .u-3d { transform: translateY(-8px) rotate(-1.5deg); }
.u-phero-3d { overflow: visible; }
.u-phero-3d .u-3d { width: 74%; max-height: 82%; object-fit: contain; position: relative; z-index: 1; animation: u-float 9s ease-in-out infinite; }
.u-404-art .u-3d { width: 78%; max-height: 84%; object-fit: contain; position: relative; z-index: 1; animation: u-float 8s ease-in-out infinite; }
@keyframes u-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.u-room-3d { display: grid; place-items: center; padding: 8%; }
.u-room-3d .u-3d { width: 100%; height: 100%; object-fit: contain; transition: transform 1.4s var(--ease); }
.u-room-3d:hover .u-3d { transform: scale(1.04) rotate(-1deg); }
.u-room-3d .u-blueprint-tag { position: absolute; left: 18px; bottom: 18px; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 9px 12px 8px; border-radius: 999px; background: var(--ink); color: var(--cream); }
.u-letters-art { position: absolute; right: calc(var(--pad) + 2%); top: clamp(12px, 2vw, 30px); width: clamp(120px, 12vw, 200px); height: auto; pointer-events: none; animation: u-flutter 7s ease-in-out infinite; }
@keyframes u-flutter { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@media (max-width: 760px) {
  .u-principle-art .u-3d { width: min(62%, 260px); }
  .u-letters-art { width: 92px; top: 14px; right: var(--pad); }
}
@media (prefers-reduced-motion: reduce) { .u-phero-3d .u-3d, .u-404-art .u-3d, .u-letters-art, .u-slate-lid { animation: none; } }
