/* traclet.ca
   Two worlds on one page. Professional: midnight, Anybody condensed, signal mint.
   Creative: paper, Instrument Serif, golden-hour amber. Geist carries the reading text in both. */

@font-face { font-family: "Anybody"; src: url(/fonts/anybody.woff2) format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/geist-mono.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/fonts/instrument-serif.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/fonts/instrument-serif-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --mid: #090b14;
  --mid-2: #0f1325;
  --mid-3: #161b33;
  --steel: #e6e9f4;
  --steel-mute: #8f97b5;
  --signal: #7cf2d6;
  --violet: #8d7dff;
  --paper: #eee8dd;
  --paper-2: #e2d9ca;
  --ink: #1c1813;
  --ink-mute: #645b4f;
  --amber: #d39b2f;
  --display: "Anybody", "Arial Narrow", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(18px, 4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --fg: var(--steel);
  --bg: var(--mid);
  --mute: var(--steel-mute);
  --rule: rgba(180, 195, 255, .13);
  --accent: var(--signal);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--mid); color: var(--steel); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1; }
p { margin: 0; }
::selection { background: var(--signal); color: var(--mid); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 14px; background: var(--signal); color: var(--mid); z-index: 500; }
.skip:focus { left: 8px; }

/* world tokens */
.pro { --fg: var(--steel); --bg: var(--mid); --mute: var(--steel-mute); --rule: rgba(180, 195, 255, .13); --accent: var(--signal); background: var(--mid); color: var(--steel); }
.cre { --fg: var(--ink); --bg: var(--paper); --mute: var(--ink-mute); --rule: rgba(28, 24, 19, .14); --accent: var(--amber); background: var(--paper); color: var(--ink); }

/* chrome: progress, cursor, grain */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 400; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--signal), var(--violet) 50%, var(--amber)); }
.grain { position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 450; pointer-events: none; mix-blend-mode: difference; display: none; }
.cursor span { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%) scale(var(--s, 1)); transition: transform .4s var(--ease); }
.cursor.is-link span { --s: 3.4; }
.cursor.is-drag span { --s: 6; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) { .cursor { display: block; } body, a, button { cursor: none; } }

/* top bar */
.top { position: fixed; inset: 0 0 auto; z-index: 350; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--gutter); color: #fff; mix-blend-mode: difference; }
.wordmark { font-family: var(--display); font-weight: 900; font-stretch: 60%; font-size: 1.5rem; letter-spacing: -.02em; text-decoration: none; }
.menu { display: flex; align-items: center; gap: 30px; font-size: .92rem; }
.menu .grp { display: flex; align-items: baseline; gap: 18px; }
.menu em { font-style: normal; font-family: var(--mono); font-size: .72rem; opacity: .5; }
.menu a { text-decoration: none; opacity: .8; transition: opacity .2s; }
.menu a:hover, .menu a.is-active { opacity: 1; }
.menu-btn { display: none; background: none; border: 1px solid currentColor; color: inherit; border-radius: 999px; padding: 8px 16px; font: 500 .9rem var(--sans); }
.mobile-menu { position: fixed; inset: 0; z-index: 340; background: var(--mid); display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); gap: 2px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu p { font-family: var(--mono); font-size: .8rem; color: var(--steel-mute); margin-top: 18px; }
.mobile-menu a { font-family: var(--display); font-stretch: 70%; font-size: clamp(2.2rem, 10vw, 3.6rem); font-weight: 800; text-decoration: none; line-height: 1.1; }
@media (max-width: 900px) { .menu { display: none; } .menu-btn { display: block; } }

/* ---------------- HERO ---------------- */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: clip; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(90px, 14vh, 140px) var(--gutter) var(--gutter); isolation: isolate; --split: 50%; touch-action: pan-y; }
.layer { position: absolute; inset: 0; z-index: -1; }
.layer-cre { overflow: hidden; background: #1a2230; }
.hero-photo { position: absolute; inset: -4%; background: url(/p/hero.jpg) center 42% / cover no-repeat; transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.04); transition: transform .9s var(--ease); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,11,20,.45), rgba(9,11,20,.05) 35%, rgba(9,11,20,.2) 65%, rgba(9,11,20,.85)); }
@media (max-width: 760px) { .hero-photo { background-image: url(/p/hero-s.jpg); } }
.layer-pro { background: radial-gradient(90% 70% at 20% 30%, #19204a 0%, var(--mid) 70%); clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(140,160,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(140,160,255,.07) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(80% 70% at 30% 40%, #000, transparent); -webkit-mask-image: radial-gradient(80% 70% at 30% 40%, #000, transparent); }
.hero-code { position: absolute; left: var(--gutter); top: 38%; margin: 0; font: 400 clamp(.7rem, .9vw, .85rem)/1.75 var(--mono); color: rgba(200, 215, 255, .55); white-space: pre; }
.hero-code span { display: block; opacity: 0; transform: translateX(-8px); animation: codeIn .6s var(--ease) forwards; }
.hero-code span:nth-child(1) { animation-delay: .9s; } .hero-code span:nth-child(2) { animation-delay: 1s; } .hero-code span:nth-child(3) { animation-delay: 1.1s; }
.hero-code span:nth-child(4) { animation-delay: 1.2s; } .hero-code span:nth-child(5) { animation-delay: 1.3s; } .hero-code span:nth-child(6) { animation-delay: 1.4s; } .hero-code span:nth-child(7) { animation-delay: 1.6s; color: var(--signal); }
@keyframes codeIn { to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .hero-code { display: none; } }
.divider { position: absolute; top: 0; bottom: 0; left: var(--split); width: 1px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.7) 20%, rgba(255,255,255,.7) 80%, transparent); z-index: 2; pointer-events: none; }
.handle { position: absolute; top: 50%; left: 0; width: 46px; height: 46px; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; gap: 8px; }
.handle i { width: 0; height: 0; border-style: solid; }
.handle i:first-child { border-width: 5px 7px 5px 0; border-color: transparent #fff transparent transparent; }
.handle i:last-child { border-width: 5px 0 5px 7px; border-color: transparent transparent transparent #fff; }

.hero-name { position: relative; z-index: 3; font-family: var(--display); font-size: clamp(3.6rem, 14.5vw, 15.5rem); font-weight: 800; font-stretch: 62%; line-height: .8; letter-spacing: -.01em; color: #fff; text-transform: uppercase; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .14em; text-align: center; margin: auto 0; text-shadow: 0 8px 60px rgba(0,0,0,.25); }
.hero-name .word { display: inline-flex; white-space: nowrap; }
.hero-name .ch { display: inline-block; font-variation-settings: "wdth" var(--w, 62), "wght" var(--g, 800); transition: font-variation-settings .25s ease-out; }
.hero-name .ch.serif { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.04em; letter-spacing: -.03em; font-variation-settings: normal; text-transform: none; }
.hero-sides { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; }
.side { text-decoration: none; display: grid; gap: 6px; max-width: 24em; transition: opacity .4s; }
.side-cre { justify-self: end; text-align: right; }
.side-k { font-family: var(--mono); font-size: .78rem; color: rgba(255,255,255,.65); }
.side-v { font-family: var(--display); font-stretch: 80%; font-weight: 600; font-size: clamp(1.05rem, 1.7vw, 1.5rem); line-height: 1.15; color: #fff; }
.side-cre .side-v { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 2.1vw, 1.9rem); }
.side:hover .side-v { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.hero-hint { font-family: var(--mono); font-size: .72rem; color: rgba(255,255,255,.55); padding-bottom: 4px; }
.hero-credit { position: absolute; right: var(--gutter); top: 50%; transform: rotate(90deg) translateX(50%); transform-origin: right top; font-family: var(--mono); font-size: .68rem; color: rgba(255,255,255,.5); z-index: 3; }
@media (max-width: 760px) {
  .hero-sides { grid-template-columns: 1fr 1fr; }
  .hero-hint { display: none; }
  .side-v { font-size: 1rem; }
  .side-cre .side-v { font-size: 1.15rem; }
  .hero-credit { display: none; }
}
/* entrance */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .hero-name .word, .hero-sides { opacity: 0; }
  .is-ready .hero-name .word { animation: rise 1.2s var(--ease) forwards; }
  .is-ready .hero-name .word:nth-child(2) { animation-delay: .1s; }
  .is-ready .hero-sides { animation: rise 1s var(--ease) .5s forwards; }
}
@keyframes rise { from { opacity: 0; transform: translateY(.3em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------------- INTRO ---------------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.intro-col { padding: clamp(56px, 8vw, 110px) var(--gutter); display: grid; gap: 22px; align-content: start; }
.intro-col h2 { font-size: .85rem; font-family: var(--mono); font-weight: 500; }
.intro-col p { font-size: clamp(1.2rem, 2vw, 1.75rem); line-height: 1.3; max-width: 26em; }
.intro-pro { background: var(--mid-2); color: var(--steel); }
.intro-pro h2 { color: var(--signal); }
.intro-pro p { font-family: var(--display); font-stretch: 85%; font-weight: 500; letter-spacing: -.01em; }
.intro-cre { background: var(--paper); color: var(--ink); }
.intro-cre h2 { color: var(--amber); }
.intro-cre p { font-family: var(--serif); font-size: clamp(1.4rem, 2.3vw, 2.05rem); line-height: 1.22; }
.link-arrow { justify-self: start; text-decoration: none; font-weight: 500; display: inline-flex; gap: 10px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow::after { content: "↓"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateY(3px); }
@media (max-width: 760px) { .intro { grid-template-columns: 1fr; } }

/* ---------------- CHAPTERS ---------------- */
.chapter { padding: clamp(80px, 11vw, 150px) 0 0; overflow: hidden; }
.chapter + section { padding-top: clamp(48px, 6vw, 90px); }
.chapter-word { white-space: nowrap; font-size: clamp(5rem, 19vw, 20rem); line-height: .85; transform: translate3d(var(--x, 0), 0, 0); will-change: transform; }
.pro .chapter-word { font-family: var(--display); font-weight: 900; font-stretch: 55%; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(180, 195, 255, .35); }
.cre .chapter-word { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ink); letter-spacing: -.02em; }
.chapter-line { padding: clamp(24px, 3vw, 40px) var(--gutter) 0; max-width: 34em; font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--mute); }

/* ---------------- SHARED ---------------- */
section { position: relative; }
.services, .platforms, .film, .music, .links { padding: clamp(64px, 9vw, 130px) var(--gutter); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head p { color: var(--mute); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 34em; }
.pro h2 { font-family: var(--display); font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(3rem, 8vw, 7.5rem); line-height: .86; letter-spacing: -.005em; }
.cre h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(3.2rem, 8.5vw, 8rem); line-height: .9; letter-spacing: -.02em; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } }
.pill { display: inline-flex; align-items: center; padding: 14px 22px; border-radius: 999px; border: 1px solid currentColor; text-decoration: none; font-weight: 500; font-size: .96rem; transition: background .25s, color .25s, border-color .25s; will-change: transform; }
.pill:hover { background: var(--fg); color: var(--bg); }
.pill-solid { background: var(--fg); color: var(--bg); }
.pill-solid:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.sec-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(32px, 4vw, 52px); }

/* ---------------- SERVICES ---------------- */
.svc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); counter-reset: s; }
.svc { border-bottom: 1px solid var(--rule); }
.svc-btn { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; }
.svc-btn:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.svc-n { font-family: var(--display); font-stretch: 75%; font-weight: 600; font-size: clamp(1.3rem, 2.3vw, 2rem); letter-spacing: -.005em; color: var(--steel-mute); transition: color .3s, font-variation-settings .4s, transform .4s var(--ease); }
.svc-btn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--steel-mute); flex-shrink: 0; transition: background .3s, border-color .3s, box-shadow .3s; }
.svc:hover .svc-n, .svc.is-on .svc-n { color: var(--steel); }
.svc.is-on .svc-n { transform: translateX(6px); }
.svc.is-on .svc-btn::before { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 4px rgba(124,242,214,.15), 0 0 18px var(--signal); }
.svc-desc { color: var(--steel-mute); font-size: 1.02rem; line-height: 1.6; max-width: 36em; max-height: 0; opacity: 0; overflow: hidden; padding: 0 0 0 24px; transition: max-height .6s var(--ease), padding .5s var(--ease), opacity .4s; }
.svc.is-on .svc-desc { max-height: 16em; opacity: 1; padding-bottom: 22px; }
.svc-stage { position: sticky; top: 110px; aspect-ratio: 5 / 4; border-radius: 18px; border: 1px solid var(--rule); background:
  radial-gradient(70% 60% at 70% 20%, rgba(141,125,255,.18), transparent 70%),
  radial-gradient(60% 50% at 20% 90%, rgba(124,242,214,.10), transparent 70%), var(--mid-2); overflow: hidden; }
.svc-stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(180,195,255,.14) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent); }
.svc-visual { position: absolute; inset: 0; display: grid; place-items: center; padding: 8%; }
@media (max-width: 900px) {
  .svc-wrap { grid-template-columns: 1fr; }
  .svc-stage { position: relative; top: 0; order: -1; aspect-ratio: 4 / 3; }
}
.steps { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; }
.steps li { background: var(--mid); padding: 24px 24px 28px; display: grid; gap: 8px; align-content: start; }
.steps span { font-family: var(--mono); font-size: .8rem; color: var(--signal); }
.steps strong { font-family: var(--display); font-stretch: 75%; font-size: 1.4rem; font-weight: 700; }
.steps p { color: var(--steel-mute); font-size: .98rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* service visuals (all decorative) */
.v { width: 100%; max-width: 440px; position: relative; font-family: var(--sans); color: var(--steel); }
.v * { box-sizing: border-box; }
.fade-up { opacity: 0; transform: translateY(10px); animation: fu .6s var(--ease) forwards; }
@keyframes fu { to { opacity: 1; transform: none; } }
/* ai chat */
.v-chat { display: grid; gap: 12px; }
.v-chat .b { padding: 12px 16px; border-radius: 16px; font-size: .92rem; line-height: 1.45; max-width: 85%; }
.v-chat .u { justify-self: end; background: var(--signal); color: var(--mid); border-bottom-right-radius: 4px; }
.v-chat .a { justify-self: start; background: var(--mid-3); border: 1px solid var(--rule); border-bottom-left-radius: 4px; }
.v-chat .dots { opacity: 0; display: flex; gap: 5px; padding: 16px; animation: fu .4s .7s var(--ease) forwards, gone .3s 2.1s forwards; }
.v-chat .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--steel-mute); animation: blink 1s infinite; }
.v-chat .dots i:nth-child(2) { animation-delay: .15s; } .v-chat .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
@keyframes gone { to { opacity: 0; height: 0; padding: 0; margin: -12px 0 0; border-width: 0; } }
.v-chat .tag { display: inline-block; margin-top: 8px; font-family: var(--mono); font-size: .72rem; color: var(--signal); }
/* browser app */
.v-browser { border-radius: 12px; border: 1px solid var(--rule); background: var(--mid); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.v-browser .bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.v-browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--mid-3); }
.v-browser .bar span { margin-left: 10px; flex: 1; font-family: var(--mono); font-size: .7rem; color: var(--steel-mute); background: var(--mid-2); padding: 4px 10px; border-radius: 6px; }
.v-browser .body { display: grid; grid-template-columns: 70px 1fr; min-height: 230px; }
.v-browser aside { border-right: 1px solid var(--rule); padding: 12px 10px; display: grid; gap: 8px; align-content: start; }
.v-browser aside b { height: 8px; border-radius: 4px; background: var(--mid-3); }
.v-browser aside b:first-child { background: var(--signal); opacity: .7; }
.v-browser main { padding: 14px; display: grid; gap: 12px; align-content: start; }
.v-browser .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.v-browser .kpis div { height: 42px; border-radius: 8px; background: linear-gradient(90deg, var(--mid-2), var(--mid-3), var(--mid-2)); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.v-browser svg { width: 100%; height: 80px; }
.v-browser .line { fill: none; stroke: var(--violet); stroke-width: 2; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.6s .3s var(--ease) forwards; }
.v-browser .area { fill: url(#vg); opacity: 0; animation: fu .8s 1.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.v-browser .ask { display: flex; align-items: center; gap: 8px; border: 1px solid var(--rule); border-radius: 999px; padding: 8px 12px; font-size: .8rem; color: var(--steel-mute); }
.v-browser .ask::before { content: "✦"; color: var(--signal); }
.v-browser .ask span::after { content: "|"; animation: blink 1s steps(1) infinite; margin-left: 1px; }
/* phone */
.v-phone { width: 210px; height: 400px; margin: 0 auto; border-radius: 34px; border: 2px solid rgba(180,195,255,.35); background: var(--mid); padding: 40px 14px 14px; position: relative; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.v-phone::before { content: ""; position: absolute; top: 12px; left: 50%; width: 70px; height: 18px; border-radius: 10px; background: var(--mid-3); transform: translateX(-50%); }
.v-phone .hdr { height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--violet), var(--signal)); margin-bottom: 12px; }
.v-phone .row { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--mid-2); margin-bottom: 8px; opacity: 0; transform: translateX(30px); animation: slide .5s var(--ease) forwards; }
.v-phone .row i { width: 30px; height: 30px; border-radius: 9px; background: var(--mid-3); flex-shrink: 0; }
.v-phone .row b { flex: 1; height: 8px; border-radius: 4px; background: var(--mid-3); }
@keyframes slide { to { opacity: 1; transform: none; } }
.v-phone .fab { position: absolute; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(124,242,214,.5); animation: pulse 2s 1.5s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(124,242,214,0); } 100% { box-shadow: 0 0 0 0 rgba(124,242,214,0); } }
/* web rings */
.v-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: center; }
.v-rings svg { width: 100%; max-width: 120px; margin: 0 auto; display: block; transform: rotate(-90deg); }
.v-rings .bg { fill: none; stroke: var(--mid-3); stroke-width: 8; }
.v-rings .fg { fill: none; stroke: var(--signal); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; animation: ring 1.6s var(--ease) forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.v-rings .num { font-family: var(--display); font-stretch: 70%; font-weight: 800; font-size: 2rem; margin-top: -78px; height: 78px; }
.v-rings small { display: block; margin-top: 12px; font-family: var(--mono); font-size: .72rem; color: var(--steel-mute); }
/* ux wireframe */
.v-wire { position: relative; }
.v-wire .frame { border: 1px dashed rgba(180,195,255,.35); border-radius: 12px; padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v-wire b { display: block; border-radius: 8px; border: 1px solid rgba(180,195,255,.25); background: rgba(180,195,255,.05); height: 40px; animation: hl 4.8s infinite; }
.v-wire .nav { grid-column: 1 / -1; height: 26px; }
.v-wire .hero { grid-column: 1 / -1; height: 96px; animation-delay: 1.2s; }
.v-wire .c1 { height: 80px; animation-delay: 2.4s; } .v-wire .c2 { height: 80px; animation-delay: 2.8s; } .v-wire .c3 { height: 80px; animation-delay: 3.2s; }
@keyframes hl { 0%, 20% { border-color: var(--signal); background: rgba(124,242,214,.12); } 30%, 100% { border-color: rgba(180,195,255,.25); background: rgba(180,195,255,.05); } }
.v-wire .cur { position: absolute; width: 20px; height: 20px; left: 10%; top: 8%; animation: curmove 4.8s var(--ease) infinite; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
@keyframes curmove { 0% { left: 10%; top: 8%; } 25% { left: 55%; top: 35%; } 50% { left: 18%; top: 72%; } 62% { left: 50%; top: 74%; } 75% { left: 82%; top: 74%; } 100% { left: 10%; top: 8%; } }
.v-wire .note { position: absolute; right: -6px; top: -14px; background: var(--violet); color: #fff; font-size: .72rem; padding: 4px 9px; border-radius: 999px; font-family: var(--mono); }
/* shield */
.v-shield { display: grid; grid-template-columns: 130px 1fr; gap: 26px; align-items: center; }
.v-shield .sh { position: relative; width: 130px; height: 150px; display: grid; place-items: center; }
.v-shield .sh span { position: absolute; inset: 10px; border-radius: 50%; border: 1px solid rgba(124,242,214,.4); animation: ripple 2.4s infinite; }
.v-shield .sh span:nth-child(2) { animation-delay: .8s; } .v-shield .sh span:nth-child(3) { animation-delay: 1.6s; }
@keyframes ripple { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.v-shield svg { width: 90px; position: relative; }
.v-shield .s1 { fill: rgba(124,242,214,.1); stroke: var(--signal); stroke-width: 2; }
.v-shield .s2 { fill: none; stroke: var(--signal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s .4s var(--ease) forwards; }
.v-shield ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v-shield li { display: flex; gap: 10px; align-items: center; font-size: .9rem; padding: 10px 12px; border-radius: 10px; background: var(--mid-2); border: 1px solid var(--rule); }
.v-shield li::before { content: "✓"; width: 20px; height: 20px; border-radius: 50%; background: var(--signal); color: var(--mid); display: grid; place-items: center; font-size: .7rem; font-weight: 700; flex-shrink: 0; }
/* hub */
.v-hub svg { width: 100%; overflow: visible; }
.v-hub .ln { stroke: rgba(180,195,255,.25); stroke-width: 1; }
.v-hub .pk { stroke: var(--signal); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 8 140; animation: packet 2.2s linear infinite; }
@keyframes packet { from { stroke-dashoffset: 148; } to { stroke-dashoffset: 0; } }
.v-hub .nd { fill: var(--mid-2); stroke: rgba(180,195,255,.4); }
.v-hub .hubc { fill: var(--violet); }
.v-hub text { fill: var(--steel); font: 500 11px var(--sans); text-anchor: middle; dominant-baseline: middle; }
.v-hub .hubt { font: 700 13px var(--display); font-stretch: 70%; fill: #fff; }
/* roadmap */
.v-road { display: grid; gap: 12px; }
.v-road .qs { display: grid; grid-template-columns: 100px repeat(4, 1fr); font-family: var(--mono); font-size: .72rem; color: var(--steel-mute); }
.v-road .r { display: grid; grid-template-columns: 100px 1fr; align-items: center; font-size: .85rem; }
.v-road .track { position: relative; height: 22px; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--rule) calc(25% - 1px) 25%); }
.v-road .bar { position: absolute; top: 3px; bottom: 3px; left: var(--s); width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--violet), var(--signal)); animation: grow 1s var(--ease) forwards; }
@keyframes grow { to { width: var(--w); } }

/* ---------------- PLATFORMS ---------------- */
.platforms { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: center; border-top: 1px solid var(--rule); }
.plat-copy { display: grid; gap: 20px; align-content: center; }
.plat-copy > p { color: var(--steel-mute); max-width: 30em; font-size: 1.08rem; }
.plat-copy .plat-hint { font-family: var(--mono); font-size: .78rem; color: var(--signal); }
.sphere { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: center; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.sphere::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(141,125,255,.25), rgba(124,242,214,.06) 50%, transparent 70%); filter: blur(10px); }
.sphere-list { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.sphere-list li { position: absolute; left: 50%; top: 50%; white-space: nowrap; font-family: var(--display); font-stretch: 75%; font-weight: 600; font-size: clamp(.85rem, 1.5vw, 1.25rem); color: var(--steel); will-change: transform, opacity; }
.sphere-list li.is-front { color: var(--signal); }
.no-js .sphere-list { position: static; display: flex; flex-wrap: wrap; gap: 8px 16px; }
@media (max-width: 900px) { .platforms { grid-template-columns: 1fr; } }

/* ---------------- PHOTO STRIP ---------------- */
.strip { position: relative; }
.strip-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 100%); grid-template-rows: auto minmax(0, 1fr) auto; padding: clamp(86px, 12vh, 120px) 0 clamp(22px, 4vh, 40px); }
.strip-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px clamp(20px, 4vw, 64px); align-items: end; padding: 0 var(--gutter); margin-bottom: clamp(18px, 3vh, 34px); }
.strip-head p { color: var(--mute); font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 30em; }
.strip-track { display: flex; gap: clamp(14px, 2vw, 28px); padding: 0 var(--gutter); align-items: stretch; will-change: transform; min-height: 0; }
.shot { margin: 0; flex: 0 0 auto; height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 12px; }
.shot-frame { height: 100%; aspect-ratio: var(--ar); overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.shot-frame img { width: 112%; max-width: none; height: 100%; object-fit: cover; transform: translate3d(var(--sx, -5%), 0, 0); will-change: transform; }
.shot figcaption { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.shot figcaption span { font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.1; }
.shot figcaption small { font-family: var(--mono); font-size: .72rem; color: var(--mute); white-space: nowrap; }
.strip-bar { margin: clamp(14px, 2.5vh, 24px) var(--gutter) 0; height: 1px; background: var(--rule); }
.strip-bar span { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.strip.is-static .strip-sticky { position: relative; height: auto; }
.strip.is-static .strip-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.strip.is-static .strip-track::-webkit-scrollbar { display: none; }
.strip.is-static .shot { height: auto; width: min(84vw, 620px); scroll-snap-align: center; }
.strip.is-static .shot-frame { height: auto; width: 100%; }
.strip.is-static .shot-frame img { width: 100%; transform: none; }
.strip.is-static .strip-bar { display: none; }
@media (max-width: 820px) { .strip-head { grid-template-columns: 1fr; } }

/* ---------------- FILM ---------------- */
.films { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.films figure { margin: 0; position: relative; overflow: hidden; border-radius: 6px; background: var(--ink); }
.films figure:first-child { grid-row: span 3; }
.films button { all: unset; display: block; width: 100%; height: 100%; cursor: pointer; position: relative; }
.films button:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
.films img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.9) contrast(1.05); }
.films figure:hover img { transform: scale(1.04); filter: saturate(1.1); }
.films figcaption { position: absolute; inset: auto 0 0; padding: 50px 16px 14px; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); display: flex; justify-content: space-between; align-items: end; gap: 12px; pointer-events: none; }
.films figcaption span { font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.1; }
.films figure:first-child figcaption span { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.films figcaption small { font-family: var(--mono); font-size: .72rem; opacity: .8; }
.films .play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: translate(-50%, -50%) scale(.9); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s; pointer-events: none; }
.films .play::after { content: ""; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.films figure:hover .play { transform: translate(-50%, -50%) scale(1.05); background: rgba(211,155,47,.7); }
@media (max-width: 760px) { .films { grid-template-columns: 1fr; } .films figure:first-child { grid-row: auto; } }

/* ---------------- MUSIC ---------------- */
.sound-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: stretch; }
.player { position: relative; display: grid; grid-template-columns: 1fr; gap: 18px; background: var(--ink); color: var(--paper); border-radius: 14px; padding: 28px; overflow: hidden; isolation: isolate; }
.player-viz { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.player-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; margin-bottom: 16px; }
.player-title span { font-family: var(--mono); font-size: .9rem; opacity: .6; margin-left: .6em; vertical-align: middle; }
.player-frame { height: 120px; border-radius: 8px; overflow: hidden; background: rgba(0,0,0,.3); }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.tracklist { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.tracklist li { break-inside: avoid; }
.tracklist button { all: unset; box-sizing: border-box; display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 0; border-bottom: 1px solid rgba(238,232,221,.15); font-size: .98rem; cursor: pointer; transition: color .2s, padding-left .3s var(--ease); }
.tracklist button:hover, .tracklist button.is-on { color: var(--amber); padding-left: 6px; }
.tracklist button:focus-visible { outline: 2px solid var(--amber); }
.tracklist small { font-family: var(--mono); font-size: .75rem; opacity: .6; }
.station-col { display: grid; gap: 16px; grid-template-rows: 1fr auto; }
.station { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 14px; text-decoration: none; position: relative; overflow: hidden; isolation: isolate; background: #1b0f2a; color: #f5eefc; transition: transform .6s var(--ease); }
.station::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 180deg, #ff3fa4, #5ef2ff, #7b3fff, #ff3fa4); filter: blur(60px); opacity: .38; animation: spin 14s linear infinite; }
.station::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 2px, transparent 2px 4px); }
@keyframes spin { to { transform: rotate(360deg); } }
.station:hover { transform: translateY(-4px); }
.station-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .78rem; }
.station-live i { width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; animation: rec 1.6s infinite; }
@keyframes rec { 0% { box-shadow: 0 0 0 0 rgba(255,59,59,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,59,59,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); } }
.station-name { font-family: var(--display); font-weight: 900; font-stretch: 60%; font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: .9; text-shadow: 2px 0 #5ef2ff, -2px 0 #ff3fa4; }
.station-desc { font-size: .98rem; opacity: .85; }
.station-go { margin-top: auto; font-weight: 600; }
.support { padding: 22px 24px; border-radius: 14px; border: 1px solid var(--rule); display: grid; gap: 14px; }
.support p { color: var(--mute); font-size: .98rem; }
.support-links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .sound-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tracklist { columns: 1; } .player { padding: 20px; } }

/* ---------------- LINKS / FOOTER ---------------- */
.links { background: var(--mid); color: var(--steel); }
.links h2 { font-family: var(--display); font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(3rem, 8vw, 7.5rem); line-height: .86; margin-bottom: clamp(28px, 4vw, 48px); }
.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.link-list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); text-decoration: none; position: relative; overflow: hidden; }
.link-list span { font-family: var(--display); font-stretch: 70%; font-weight: 700; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1; transition: font-variation-settings .5s var(--ease), color .3s; font-variation-settings: "wdth" 70; }
.link-list a:hover span { font-variation-settings: "wdth" 110; color: var(--signal); }
.link-list small { color: var(--steel-mute); font-size: 1rem; }
@media (max-width: 640px) { .link-list a { grid-template-columns: 1fr; gap: 6px; } }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px var(--gutter) calc(26px + env(safe-area-inset-bottom)); color: var(--steel-mute); font-size: .88rem; border-top: 1px solid var(--rule); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--steel); }

/* ---------------- LIGHTBOX ---------------- */
.lb { position: fixed; inset: 0; z-index: 480; background: rgba(5,4,10,.94); display: grid; place-items: center; padding: 56px; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; display: grid; gap: 14px; }
.lb-media iframe { width: min(1200px, calc(100vw - 112px), calc((100vh - 160px) * 16 / 9)); aspect-ratio: 16 / 9; border: 0; border-radius: 4px; background: #000; display: block; }
.lb-cap { color: #cfc8bb; font-size: .95rem; display: flex; justify-content: space-between; gap: 16px; }
.lb-cap strong { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.lb-close { all: unset; cursor: pointer; position: absolute; right: 16px; top: 16px; color: #fff; font-size: 2.4rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; }
.lb-close:hover, .lb-close:focus-visible { background: rgba(255,255,255,.12); }
@media (max-width: 640px) { .lb { padding: 64px 8px 24px; } .lb-media iframe { width: calc(100vw - 16px); } }

/* reveal for section heads: one moment per section */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .sec-head h2, .strip-head h2, .links h2, .plat-copy h2 { clip-path: inset(0 0 100% 0); transform: translateY(.2em); transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); }
  .in h2 { clip-path: inset(-10% -5% -15% -5%); transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
}
