:root {
  --bg: #050506;
  --ink: #f4f4f5;
  --soft: #a1a1aa;
  --muted: #5f5f68;
  --line: #1f1f25;
  --line-2: #2c2c34;
  --accent: #8ea0ff;
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ───── GL background ───── */
#gl, .gl-fallback { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.gl-fallback { background: radial-gradient(ellipse 50% 45% at 50% -5%, rgba(120,140,255,.28), transparent 70%); z-index: -1; }
.grain { position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
main, .nav, .foot, .progress { position: relative; z-index: 2; }

/* ───── Nav ───── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 32px; padding: 22px var(--pad); transition: background .5s, backdrop-filter .5s, padding .5s; }
.nav.solid { background: rgba(5,5,6,.6); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); padding-top: 14px; padding-bottom: 14px; }
.nav-name { font-weight: 600; letter-spacing: -.02em; font-size: 16px; }
.nav-links { display: flex; gap: 30px; margin: 0 auto; font-size: 14px; color: var(--soft); }
.nav-links a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: transform .3s var(--ease), background .3s, border-color .3s; cursor: pointer; border: 0; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--ink); color: var(--bg); }
.btn-light:hover { background: #fff; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--soft); }
.nav-cta { padding: 10px 18px; font-size: 14px; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), #fff); }

/* ───── Shared type ───── */
.chapter { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin: 0 0 28px; display: flex; gap: 14px; align-items: center; }
.chapter b { color: var(--accent); font-weight: 500; }
.chapter::after { content: ""; width: 40px; height: 1px; background: var(--line-2); }
.section-title { font-size: clamp(42px, 6.4vw, 96px); line-height: .96; letter-spacing: -.05em; font-weight: 600; margin: 0; }
.section-title.small { font-size: clamp(34px, 4.4vw, 64px); }
.muted { color: var(--muted); }
.grad { background: linear-gradient(180deg, #fff 25%, #8b8b96 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ───── Hero ───── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 120px var(--pad) 80px; }
.hero-inner { position: relative; z-index: 3; text-align: center; max-width: 1100px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); border: 1px solid var(--line-2); background: rgba(12,12,15,.6); border-radius: 999px; padding: 8px 16px; margin: 0 0 32px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero-title { font-size: clamp(50px, 8.6vw, 136px); line-height: .94; letter-spacing: -.06em; font-weight: 600; margin: 0; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; }
.hero-sub { font-size: clamp(18px, 1.5vw, 21px); color: var(--soft); max-width: 50ch; margin: 30px auto 36px; line-height: 1.5; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.orbit { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.art { position: absolute; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(14,14,18,.75); backdrop-filter: blur(6px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); overflow: hidden; will-change: transform; }
.art span { position: absolute; left: 12px; bottom: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--soft); letter-spacing: .04em; }
.art-ss { width: 190px; height: 150px; left: 6%; top: 18%; transform: rotate(-8deg); }
.art-ss img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.9); }
.art-ravi { width: 230px; height: 150px; right: 6%; top: 16%; transform: rotate(7deg); padding: 12px; }
.mini-win { display: flex; gap: 5px; align-items: center; }
.mini-win i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.mini-win b { margin-left: auto; font-family: var(--mono); font-size: 10px; color: #ff4d6d; font-weight: 500; }
.mini-bars { display: flex; gap: 3px; margin-top: 54px; }
.mini-bars u { flex: 1; height: 16px; border-radius: 3px; background: #2a2a33; }
.mini-bars u:nth-child(-n+6) { background: #ff4d6d; opacity: .8; }
.art-reel { width: 120px; height: 210px; left: 12%; bottom: 8%; transform: rotate(6deg); border-radius: 20px; }
.art-reel img { width: 100%; height: 100%; object-fit: cover; }
.art-reel span { color: #fff; text-shadow: 0 1px 6px #000; }
.art-book { width: 140px; height: 190px; right: 13%; bottom: 9%; transform: rotate(-6deg); background: linear-gradient(160deg, #1d2140, #0d0f1d); padding: 16px; }
.art-book em { font-style: normal; font-weight: 600; font-size: 17px; line-height: 1.05; letter-spacing: -.03em; display: block; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 22px; height: 36px; border: 1px solid var(--line-2); border-radius: 12px; z-index: 3; }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--soft); }
@media (prefers-reduced-motion: no-preference) { .scroll-hint span { animation: hint 2s var(--ease) infinite; } }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ───── Marquee ───── */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: rgba(5,5,6,.6); }
.marquee-track { display: flex; gap: 40px; width: max-content; font-size: clamp(28px, 3.4vw, 48px); font-weight: 500; letter-spacing: -.03em; color: var(--muted); white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--accent); font-size: .6em; align-self: center; }
@media (prefers-reduced-motion: no-preference) { .marquee-track { animation: marquee 40s linear infinite; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───── Origin ───── */
.origin { position: relative; }
.origin-pin { max-width: var(--max); margin: 0 auto; padding: clamp(120px, 18vh, 200px) var(--pad); display: grid; grid-template-columns: 1fr 380px; grid-template-rows: auto 1fr; column-gap: clamp(40px, 6vw, 100px); align-items: center; min-height: 100vh; }
.origin-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-start; }
.origin-year { font-size: clamp(80px, 14vw, 220px); line-height: .8; font-weight: 600; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px var(--line-2); margin-top: -20px; }
.scrub { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.12; letter-spacing: -.035em; font-weight: 500; margin: 0; color: var(--ink); }
.scrub strong { font-weight: 500; }
.scrub .w { color: #2a2a31; transition: color .25s linear; }
.scrub .w.on { color: var(--ink); }
.scrub strong .w.on { color: var(--accent); }
.origin-photo { margin: 0; position: relative; }
.photo-slot { aspect-ratio: 4 / 5; border-radius: 20px; border: 1px solid var(--line-2); background: var(--src) center / cover no-repeat, radial-gradient(ellipse 40% 30% at 50% 35%, #26262d, transparent 70%), radial-gradient(ellipse 70% 45% at 50% 105%, #1d1d23, transparent 70%), #0d0d10; }
.origin-photo figcaption { position: absolute; left: 16px; bottom: 14px; font-family: var(--mono); font-size: 11px; color: var(--soft); }

/* ───── Path ───── */
.path { border-top: 1px solid var(--line); }
.path-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.path-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.path-title { font-size: clamp(40px, 5vw, 76px); line-height: .98; letter-spacing: -.05em; font-weight: 600; margin: 0 0 40px; }
.year-roll { height: clamp(90px, 12vw, 180px); overflow: hidden; }
.year-reel { display: flex; flex-direction: column; transition: transform 1s var(--ease); }
.year-reel span { display: block; height: clamp(90px, 12vw, 180px); font-size: clamp(90px, 12vw, 180px); line-height: 1; font-weight: 600; letter-spacing: -.06em; background: linear-gradient(180deg, #fff, #4a4a55); -webkit-background-clip: text; background-clip: text; color: transparent; }
.path-steps { list-style: none; margin: 0; padding: 30vh 0; }
.step { padding: 48px 0; border-top: 1px solid var(--line); transition: opacity .6s; }
.js-reveal .step:not(.active) { opacity: .35; }
.step-tag { font-family: var(--mono); font-size: 12px; color: var(--accent); margin: 0 0 14px; letter-spacing: .04em; }
.step h3 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; margin: 0 0 16px; }
.step p:last-child { color: var(--soft); margin: 0; max-width: 46ch; }

/* ───── Belief ───── */
.belief { padding: clamp(80px, 14vh, 160px) var(--pad); }
.belief-stage { position: relative; max-width: var(--max); margin: 0 auto; cursor: none; }
.belief-text { margin: 0; font-size: clamp(54px, 10.5vw, 170px); line-height: .9; letter-spacing: -.06em; font-weight: 600; color: transparent; -webkit-text-stroke: 1px #34343d; }
.belief-lit { position: absolute; inset: 0; color: var(--ink); -webkit-text-stroke: 0; clip-path: circle(var(--r, 0px) at var(--x, 50%) var(--y, 50%)); transition: clip-path .15s linear; }
@media (hover: none) { .belief-text:not(.belief-lit) { color: var(--ink); -webkit-text-stroke: 0; } .belief-lit { display: none; } }

/* ───── Ventures: stacking scenes ───── */
.ventures-head { max-width: var(--max); margin: 0 auto; padding: clamp(100px, 14vh, 160px) var(--pad) 60px; }
.stack { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 10vh; }
.scene {
  position: sticky; top: 90px; min-height: calc(100vh - 120px); margin-bottom: 40px;
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 4vw, 64px); border-radius: 28px; border: 1px solid var(--line-2);
  background: radial-gradient(ellipse 60% 70% at 80% 50%, color-mix(in srgb, var(--tint) 14%, transparent), transparent 70%), linear-gradient(180deg, #0e0e12, #08080a);
  transform-origin: 50% 0; overflow: hidden;
}
.scene-meta { font-family: var(--mono); font-size: 12px; color: var(--soft); letter-spacing: .04em; margin: 0; }
.scene-meta b { color: var(--tint); font-weight: 500; margin-right: 8px; }
.scene h3 { font-size: clamp(44px, 5.4vw, 84px); line-height: .95; letter-spacing: -.055em; font-weight: 600; margin: 18px 0 24px; }
.scene blockquote { margin: 0 0 22px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.35; letter-spacing: -.015em; color: var(--ink); font-style: italic; font-weight: 400; padding-left: 18px; border-left: 2px solid var(--tint); }
.scene-copy > p:not(.scene-meta) { color: var(--soft); margin: 0 0 28px; font-size: 16.5px; }
.text-link { display: inline-flex; gap: 8px; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--tint); padding-bottom: 4px; }
.text-link.muted { border-color: var(--line-2); color: var(--muted); }
.scene-visual { position: relative; perspective: 1400px; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.tilt { position: relative; width: 100%; transform-style: preserve-3d; will-change: transform; }
.chip { position: absolute; font-family: var(--mono); font-size: 11.5px; padding: 8px 12px; border-radius: 999px; background: rgba(14,14,18,.85); border: 1px solid var(--line-2); color: var(--ink); backdrop-filter: blur(8px); white-space: nowrap; transform: translateZ(60px); }
.chip-a { left: -14px; top: 18%; }
.chip-b { right: -10px; bottom: 14%; }

.browser, .mac { border-radius: 14px; border: 1px solid var(--line-2); background: #0b0b0e; overflow: hidden; box-shadow: 0 50px 100px -40px color-mix(in srgb, var(--tint) 45%, transparent); }
.browser-bar, .mac-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.browser-bar i, .mac-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.browser-bar span, .mac-bar span { margin: 0 auto; font-family: var(--mono); font-size: 11px; color: var(--muted); padding-right: 40px; }
.ss-body { position: relative; aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #0a0b0c; }
.ss-logo { width: 62%; margin-top: -8%; }
.ss-line { position: absolute; bottom: 9%; left: 0; right: 0; text-align: center; margin: 0; font-size: clamp(16px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }

.mac-body { display: grid; grid-template-rows: 1fr auto; aspect-ratio: 16 / 10; }
.mac-canvas { position: relative; background: radial-gradient(circle at 30% 30%, #2a1220, transparent 55%), radial-gradient(circle at 75% 70%, #13173a, transparent 55%), #0c0c10; overflow: hidden; }
.rec { position: absolute; top: 14px; right: 14px; font-family: var(--mono); font-size: 11px; color: #ff4d6d; display: flex; gap: 6px; align-items: center; background: rgba(0,0,0,.5); padding: 5px 9px; border-radius: 6px; }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d6d; }
.zoom-box { position: absolute; left: 22%; top: 26%; width: 38%; height: 34%; border: 1.5px solid rgba(255,77,109,.8); border-radius: 8px; box-shadow: 0 0 0 9999px rgba(0,0,0,.35); }
.cursor { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.18); }
@media (prefers-reduced-motion: no-preference) {
  .cursor { animation: cur 6s var(--ease) infinite; }
  .zoom-box { animation: zb 6s var(--ease) infinite; }
  .playhead { animation: ph 6s linear infinite; }
}
@keyframes cur { 0%,100% { left: 30%; top: 40%; } 33% { left: 55%; top: 48%; } 66% { left: 44%; top: 62%; } }
@keyframes zb { 0%,100% { left: 20%; top: 28%; width: 36%; height: 30%; } 33% { left: 42%; top: 34%; width: 30%; height: 28%; } 66% { left: 30%; top: 48%; width: 34%; height: 30%; } }
@keyframes ph { from { left: 0; } to { left: 100%; } }
.timeline { position: relative; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); background: #09090c; }
.track { display: flex; gap: 4px; }
.track u { display: block; width: var(--w); height: 14px; border-radius: 4px; background: #2a2a33; }
.t1 u { background: color-mix(in srgb, var(--tint) 60%, #222); }
.playhead { position: absolute; top: 6px; bottom: 6px; left: 30%; width: 2px; background: #fff; border-radius: 2px; }

.phones { position: relative; width: 100%; height: 480px; perspective: 1200px; }
.phone { position: absolute; top: 50%; left: 50%; width: 200px; aspect-ratio: 9 / 19; margin: -211px 0 0 -100px; border-radius: 30px; border: 6px solid #1a1a1f; background: #000; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.p1 { transform: translateX(-62%) rotate(-10deg) scale(.88); filter: brightness(.6); }
.p3 { transform: translateX(62%) rotate(10deg) scale(.88); filter: brightness(.6); }
.p2 { z-index: 2; box-shadow: 0 50px 100px -30px color-mix(in srgb, var(--tint) 55%, transparent); }
.cap { position: absolute; left: 0; right: 0; bottom: 18%; text-align: center; font-weight: 700; font-size: 22px; letter-spacing: -.03em; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.8); }

.book-wrap { perspective: 1600px; display: flex; justify-content: center; }
.book { position: relative; width: 270px; height: 380px; transform-style: preserve-3d; transform: rotateY(-28deg) rotateX(6deg); transition: transform .8s var(--ease); }
.book-front, .book-spine, .book-pages { position: absolute; }
.book-front { inset: 0; border-radius: 3px 10px 10px 3px; padding: 28px 24px; display: flex; flex-direction: column; background: radial-gradient(ellipse at 70% 10%, rgba(142,160,255,.45), transparent 60%), linear-gradient(160deg, #1b1f3f, #07080f); border: 1px solid #2d3360; transform: translateZ(18px); box-shadow: 30px 40px 80px -30px rgba(0,0,0,.9); }
.book-top { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.book-title { margin-top: auto; font-size: 36px; line-height: .95; letter-spacing: -.05em; font-weight: 600; }
.book-sub { margin-top: 12px; font-size: 13px; color: var(--soft); font-style: italic; }
.book-author { margin-top: 28px; font-size: 11px; font-family: var(--mono); color: var(--soft); }
.book-spine { left: 0; top: 0; width: 36px; height: 100%; background: linear-gradient(90deg, #0b0d1c, #1a1e3c); transform: rotateY(-90deg) translateZ(18px) translateX(-18px); transform-origin: left; }
.book-pages { right: 2px; top: 4px; width: 34px; height: calc(100% - 8px); background: repeating-linear-gradient(90deg, #d9d6cc 0 1px, #bdb9ae 1px 2px); transform: rotateY(90deg) translateZ(252px); transform-origin: right; }

/* ───── Proof ───── */
.proof { border-top: 1px solid var(--line); }
.proof-pin { padding: clamp(100px, 14vh, 160px) 0; overflow: hidden; }
.proof-head { max-width: var(--max); margin: 0 auto 60px; padding: 0 var(--pad); }
.proof-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.proof-track.h { display: flex; max-width: none; width: max-content; padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); padding-right: 30vw; }
.proof-track.h .pcard { width: clamp(340px, 30vw, 460px); flex: none; }
.pcard { position: relative; padding: 36px 32px 30px; border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #0f0f13, #08080a); min-height: 360px; display: flex; flex-direction: column; overflow: hidden; }
.pcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(142,160,255,.14), transparent 60%); opacity: 0; transition: opacity .4s; }
.pcard:hover::before { opacity: 1; }
.pcard b { font-size: clamp(54px, 5.4vw, 84px); line-height: .9; letter-spacing: -.06em; font-weight: 600; background: linear-gradient(180deg, #fff 30%, #6d6d78); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pcard p { color: var(--soft); margin: 24px 0 0; font-size: 16px; position: relative; }
.pcard span { margin-top: auto; padding-top: 24px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); position: relative; }

/* ───── OSS ───── */
.oss { border-top: 1px solid var(--line); }
.oss-inner { max-width: var(--max); margin: 0 auto; padding: clamp(100px, 14vh, 160px) var(--pad); }
.oss-list { margin-top: 56px; border-top: 1px solid var(--line); }
.oss-list a { display: grid; grid-template-columns: 300px 1fr 40px; gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), background .4s; }
.oss-list b { font-family: var(--mono); font-weight: 500; font-size: 16px; }
.oss-list span { color: var(--soft); font-size: 16px; }
.oss-list i { font-style: normal; color: var(--muted); text-align: right; transition: transform .4s var(--ease), color .3s; }
.oss-list a:hover { padding-left: 14px; }
.oss-list a:hover i { transform: translate(4px, -4px); color: var(--accent); }

/* ───── Contact ───── */
.contact { border-top: 1px solid var(--line); }
.contact-inner { max-width: var(--max); margin: 0 auto; padding: clamp(120px, 16vh, 200px) var(--pad); }
.contact-title { font-size: clamp(56px, 10vw, 160px); line-height: .9; letter-spacing: -.065em; font-weight: 600; margin: 0 0 72px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-lead { font-size: clamp(19px, 1.6vw, 22px); color: var(--soft); margin: 0 0 28px; max-width: 42ch; }
.contact-mail { display: inline-block; font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.03em; border-bottom: 1px solid var(--accent); padding-bottom: 4px; margin-bottom: 36px; overflow-wrap: anywhere; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; flex-wrap: wrap; font-size: 15px; color: var(--soft); }
.social a:hover { color: var(--ink); }
.brief { display: flex; flex-direction: column; gap: 22px; padding: 36px; border-radius: 24px; border: 1px solid var(--line-2); background: rgba(12,12,15,.7); backdrop-filter: blur(12px); }
.brief label { display: flex; flex-direction: column; gap: 8px; }
.brief label span { font-size: 13px; color: var(--soft); }
.brief input, .brief textarea { font: inherit; font-size: 16px; color: var(--ink); background: #0a0a0d; border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; outline: none; transition: border-color .3s; resize: vertical; }
.brief input:focus, .brief textarea:focus { border-color: var(--accent); }
.brief ::placeholder { color: var(--muted); }
.brief .btn { align-self: flex-start; margin-top: 6px; }

/* ───── Footer ───── */
.foot { border-top: 1px solid var(--line); overflow: hidden; }
.foot-word { font-size: clamp(80px, 17vw, 300px); font-weight: 700; letter-spacing: -.07em; line-height: .78; text-align: center; padding-top: 40px; background: linear-gradient(180deg, #1c1c22, transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px var(--pad); font-size: 13px; color: var(--muted); }
.foot-row a:hover { color: var(--ink); }

/* ───── Reveal gate (text ships visible; hidden only once JS is confirmed) ───── */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
  html.js-reveal [data-reveal]:not(.is-revealed) { opacity: 0; transform: translateY(28px); }
  .line > span { transition: transform 1.2s var(--ease); }
  html.js-reveal .line > span:not(.in) { transform: translateY(105%); }
}

/* ───── Responsive ───── */
@media (max-width: 1100px) {
  .art-ss { left: 2%; top: 12%; width: 140px; height: 110px; }
  .art-ravi { right: 2%; top: 11%; width: 170px; height: 115px; }
  .art-ravi .mini-bars { margin-top: 34px; }
  .art-reel { left: 3%; width: 90px; height: 160px; }
  .art-book { right: 4%; width: 110px; height: 150px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  .orbit { opacity: .35; }
  .origin-pin { grid-template-columns: 1fr; row-gap: 40px; min-height: 0; }
  .origin-photo { max-width: 340px; }
  .path-grid { grid-template-columns: 1fr; }
  .path-sticky { position: relative; height: auto; padding-top: 100px; }
  .year-roll { display: none; }
  .path-steps { padding: 20px 0 80px; }
  .js-reveal .step:not(.active) { opacity: 1; }
  .scene { position: relative; top: 0; grid-template-columns: 1fr; min-height: 0; }
  .scene-visual { min-height: 320px; order: -1; }
  .chip-a { left: 4px; } .chip-b { right: 4px; }
  .phones { height: 380px; }
  .phone { width: 160px; margin: -169px 0 0 -80px; }
  .oss-list a { grid-template-columns: 1fr 30px; }
  .oss-list span { grid-column: 1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .orbit { display: none; }
  .nav-name { font-size: 14px; }
  .hero { padding-top: 110px; }
  .hero-kicker { font-size: 10.5px; }
  .scene { padding: 22px; border-radius: 22px; }
  .book { width: 210px; height: 296px; }
  .book-title { font-size: 28px; }
  .book-pages { transform: rotateY(90deg) translateZ(192px); }
  .brief { padding: 22px; }
  .pcard { min-height: 0; }
}

/* Origin pin (desktop): words light up as you scroll through */
@media (min-width: 901px) {
  .js-reveal .origin { height: 240vh; }
  .js-reveal .origin-pin { position: sticky; top: 0; }
}
@media (min-width: 901px) {
  .scene:nth-child(2) { top: 106px; }
  .scene:nth-child(3) { top: 122px; }
  .scene:nth-child(4) { top: 138px; }
}
@media (max-width: 560px) {
  .chip { display: none; }
  .ss-line { font-size: 14px; }
}

/* ═════════ Polish ═════════ */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* Custom cursor */
html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
html.has-cursor input, html.has-cursor textarea { cursor: text; }
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; border-radius: 50%; transition: opacity .3s; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cur-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid rgba(255,255,255,.35); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s, opacity .3s; }
.cur-ring.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(142,160,255,.12); border-color: rgba(142,160,255,.6); }
.cur-ring.text { width: 4px; height: 28px; margin: -14px 0 0 -2px; border-radius: 2px; background: var(--accent); border-color: transparent; }
.cur-ring.press { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.cur-ring.spot { opacity: 0 !important; }
.belief-stage { cursor: none; }

/* Magnetic buttons: smooth return */
.btn { transition: transform .45s var(--ease), background .3s, border-color .3s; }

/* Hero entrance: the desk assembles after the headline (decorative only) */
@media (prefers-reduced-motion: no-preference) {
  html[data-fx-ready] .art { animation: artIn 1.6s var(--ease) both; }
  html[data-fx-ready] .art-ss { animation-delay: .55s; }
  html[data-fx-ready] .art-ravi { animation-delay: .7s; }
  html[data-fx-ready] .art-book { animation-delay: .85s; }
  html[data-fx-ready] .art-reel { animation-delay: 1s; }
}
@keyframes artIn { from { opacity: 0; scale: .8; filter: blur(10px); } to { opacity: 1; scale: 1; filter: blur(0); } }
.art { transition: translate .9s var(--ease); }
.scroll-hint { transition: opacity .5s; }
.scroll-hint.gone { opacity: 0; }

/* Status line under the hero */
.hero-status { position: absolute; left: var(--pad); bottom: 30px; z-index: 3; margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--soft); }
.hero-status b { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .hero-status { display: none; } }

/* Nav active section */
.nav-links a { position: relative; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .5s var(--ease); }
.nav-links a.on { color: var(--ink); }
.nav-links a.on::after { transform: scaleX(1); }

/* Marquee pauses on hover */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Portrait placeholder: a monogram card until the photo arrives */
.photo-slot { position: relative; overflow: hidden; display: grid; place-items: center; }
.mono-mark { display: none; }
.photo-slot.empty { background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(142,160,255,.22), transparent 70%), linear-gradient(180deg, #101015, #08080a); }
.photo-slot.empty .mono-mark { display: block; font-size: clamp(90px, 9vw, 150px); font-weight: 600; letter-spacing: -.08em; background: linear-gradient(180deg, #fff, #3d3d48); -webkit-background-clip: text; background-clip: text; color: transparent; }
.photo-slot.empty::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.06) 50%, transparent 60%); background-size: 250% 100%; }
@media (prefers-reduced-motion: no-preference) { .photo-slot.empty::after { animation: sheen 5s ease-in-out infinite; } }
@keyframes sheen { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.photo-slot.has-photo { filter: grayscale(.2) contrast(1.05); }

/* ShapeShifters mockup: a believable page header */
.ss-nav { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 14px; padding: 14px 18px; font-size: 11px; color: var(--soft); }
.ss-nav b { color: var(--ink); font-weight: 600; letter-spacing: -.01em; margin-right: auto; }
.ss-nav span { width: 34px; height: 5px; border-radius: 3px; background: #23262a; }
.ss-nav em { font-style: normal; color: #0a0b0c; background: #2fe0a5; padding: 5px 10px; border-radius: 999px; font-weight: 500; }

/* Form confirmation */
.brief-done { margin: 0; font-size: 14px; color: var(--accent); }

/* Selection-friendly scrub text */
.scrub .w { transition: color .35s linear; }
/* Phones: keep every word visible (Google reads the phone layout) */
@media (max-width: 900px) {
  .hero-status { display: flex; left: 0; right: 0; justify-content: center; bottom: 24px; font-size: 10.5px; padding: 0 16px; text-align: center; }
  .scroll-hint { display: none; }
}
@media (max-width: 560px) {
  .chip { display: inline-block; position: static; transform: none; margin: 12px 6px 0 0; font-size: 10.5px; }
  .tilt { text-align: left; }
}
@media (max-width: 900px) {
  .hero-status { display: block; }
  .hero-status .dot { display: inline-block; margin-right: 8px; vertical-align: 1px; }
}
.ss-nav b, .ss-nav em { white-space: nowrap; }
@media (max-width: 560px) {
  .ss-nav { padding: 10px 12px; font-size: 10px; }
  .ss-nav span { display: none; }
}
