/* 246 · twoforsix — homepage (privacy/terms keep styles.css) */
:root {
  --ink: #0B0D17;
  --ink-2: #121524;
  --ink-3: #1A1E30;
  --paper: #F6F5F0;
  --paper-2: #ECEAE2;
  --white: #FFFFFF;
  --orange: #F24A0C;
  --lime: #C6F432;
  --on-ink: rgba(246, 245, 240, .66);
  --on-ink-faint: rgba(246, 245, 240, .14);
  --on-paper: rgba(11, 13, 23, .64);
  --on-paper-faint: rgba(11, 13, 23, .12);

  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --max: 1280px;
  --gutter: clamp(16px, 5vw, 64px);
  --header-h: 76px;
  --r: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 7.2vw, 6.6rem); line-height: .96; letter-spacing: -0.045em; font-weight: 600; }
h2 { font-size: clamp(2.2rem, 4.8vw, 4.1rem); line-height: 1.02; letter-spacing: -0.035em; }
h3 { font-size: 1.45rem; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.dark { background: var(--ink); color: var(--paper); }
.light { background: var(--paper); color: var(--ink); }
.dark .muted, .dark .lead { color: var(--on-ink); }
.light .muted, .light .lead { color: var(--on-paper); }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.6; max-width: 34em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 20px; opacity: .8;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 12px 18px; border-radius: 10px; background: var(--orange); color: var(--ink); font-weight: 600;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

section { position: relative; padding-block: clamp(96px, 13vh, 150px); scroll-margin-top: 0; }

/* ---------- progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover { transform: translate(var(--mx, 0), calc(var(--my, 0px) - 2px)); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: translate(var(--mx, 0), var(--my, 0)) scale(.97); transition-duration: .08s; }
.btn-primary { --bg: var(--orange); --fg: var(--ink); box-shadow: 0 0 0 0 rgba(242, 74, 12, 0); }
.btn-primary:hover { box-shadow: 0 10px 40px -8px rgba(242, 74, 12, .6); }
.btn-ghost { --fg: var(--paper); --bd: rgba(246, 245, 240, .24); }
.btn-ghost:hover { --bg: rgba(246, 245, 240, .08); --bd: rgba(246, 245, 240, .5); }
.btn-ink { --bg: var(--ink); --fg: var(--paper); }
.btn-ink:hover { box-shadow: 0 12px 30px -10px rgba(11, 13, 23, .6); }
.btn-line { --fg: var(--ink); --bd: rgba(11, 13, 23, .22); }
.btn-line:hover { --bg: rgba(11, 13, 23, .06); --bd: var(--ink); }
.btn-lime { --bg: var(--lime); --fg: var(--ink); }
.btn-lime:hover { box-shadow: 0 10px 40px -8px rgba(198, 244, 50, .5); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.actions-center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-height: 44px; position: relative; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 26px; bottom: 8px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--paper); transition: background-color .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(11, 13, 23, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: rgba(246, 245, 240, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand-mark { width: 30px; height: 30px; color: var(--paper); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.03em; }
.brand-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--on-ink); padding-left: 10px; border-left: 1px solid rgba(246, 245, 240, .2); }
.nav { display: flex; align-items: center; gap: 12px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a { position: relative; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; color: rgba(246, 245, 240, .78); transition: color .2s; }
.nav-links > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 9px; height: 1.5px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.nav-links > a:hover { color: var(--paper); }
.nav-links > a:hover::after, .nav-links > a.is-active::after { transform: scaleX(1); }
.nav-links > a.is-active { color: var(--paper); }
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; margin-left: 8px; border-radius: 999px; border: 1px solid rgba(246, 245, 240, .16); }
.lang-switch button { min-width: 44px; min-height: 36px; border-radius: 999px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--on-ink); transition: background-color .2s, color .2s; }
.lang-switch button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(246, 245, 240, .2); position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--paper); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { min-height: 100svh; padding: calc(var(--header-h) + 24px) 0 0; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(0deg, var(--ink) 0%, transparent 22%),
    linear-gradient(90deg, rgba(11, 13, 23, .8) 0%, rgba(11, 13, 23, .25) 45%, transparent 58%); }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 40px; }
.hero-copy { max-width: 760px; }
.hero-title { margin: 28px 0 28px; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; }
.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--on-ink); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.hero-mark-slot { position: relative; height: min(64svh, 600px); }
.hero-mark-fallback { width: 100%; height: 100%; color: var(--paper); opacity: 0; }
.no-fx .hero-mark-fallback { opacity: 1; }
.live-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px 0 14px; border-radius: 999px; font-size: 13px; font-weight: 500; background: rgba(246, 245, 240, .06); border: 1px solid rgba(246, 245, 240, .14); backdrop-filter: blur(8px); transition: background-color .25s, border-color .25s, transform .25s var(--ease); }
.live-chip svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.live-chip:hover { background: rgba(246, 245, 240, .1); border-color: rgba(246, 245, 240, .3); transform: translateY(-2px); }
.live-chip:hover svg { transform: translateX(3px); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(242, 74, 12, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 74, 12, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(242, 74, 12, 0); } }

.hero-foot > .mono { white-space: nowrap; }
.hero-foot { display: flex; align-items: center; gap: 28px; padding-block: 28px 32px; border-top: 1px solid rgba(246, 245, 240, .1); margin-top: 24px; }
.orbit-list { display: flex; flex-wrap: wrap; gap: 8px 36px; }
.orbit-list a { display: inline-flex; align-items: baseline; gap: 10px; min-height: 44px; align-items: center; font-size: 14px; color: var(--on-ink); transition: color .2s; }
.orbit-list b { color: var(--paper); font-weight: 600; font-family: var(--font-display); font-size: 15px; }
.orbit-list a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(246, 245, 240, .35); transition: background-color .25s, transform .25s; }
.orbit-list a:hover { color: var(--paper); }
.orbit-list a:hover::before { background: var(--orange); transform: scale(1.5); }

/* hero entrance */
.js [data-enter] { opacity: 0; transform: translateY(18px); }
.js .is-in [data-enter], .js .is-in[data-enter] { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--e, 0) * 90ms + 150ms); }
.js .hero-title .w > span { transform: translateY(105%); }
.js .is-in .hero-title .w > span { transform: none; transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + 220ms); }

/* ---------- ticker ---------- */
.ticker { background: var(--orange); color: var(--ink); overflow: hidden; padding: 16px 0; position: relative; z-index: 2; }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 36s linear infinite; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.01em; white-space: nowrap; }
.ticker-track svg { width: 20px; height: 20px; fill: var(--ink); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 2 · 4 · 6 ---------- */
.math { padding: 0; }
.math-stage { padding-block: clamp(96px, 13vh, 150px); }
.math-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.chapters { margin-top: 48px; display: grid; gap: 28px; }
.chapter { display: grid; grid-template-columns: 44px 1fr; gap: 20px; align-items: start; }
.chapter h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 10px; }
.chapter p { color: var(--on-ink); max-width: 30em; }
.mini-col { width: 20px; height: 130px; color: var(--paper); }
.math-visual { display: none; }

.pin .math-track { height: 340vh; }
.pin .math-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-block: var(--header-h) 0; }
.pin .math-visual { display: flex; align-items: flex-end; justify-content: center; gap: clamp(16px, 3vw, 48px); position: relative; }
.pin .chapters { position: relative; min-height: 220px; }
.pin .chapter { position: absolute; inset: 0 0 auto 0; grid-template-columns: 1fr; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease-out); pointer-events: none; }
.pin .chapter .mini-col { display: none; }
.pin[data-step="0"] .chapter[data-n="0"], .pin[data-step="1"] .chapter[data-n="1"], .pin[data-step="2"] .chapter[data-n="2"] { opacity: 1; transform: none; pointer-events: auto; }
.pin .chapter h3 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.pin .chapter p { font-size: 1.15rem; }

.math-number { font-family: var(--font-display); font-weight: 700; font-size: clamp(180px, 22vw, 340px); line-height: 1; height: 1em; overflow: hidden; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(246, 245, 240, .55); }
.roll { display: flex; flex-direction: column; transition: transform .8s var(--ease-out); }
.roll span { height: 1em; }
.math[data-step="1"] .roll { transform: translateY(-1em); }
.math[data-step="2"] .roll { transform: translateY(-2em); }
.math-mark { width: clamp(180px, 20vw, 300px); height: auto; overflow: visible; }
.math-mark circle { fill: transparent; stroke: rgba(246, 245, 240, .28); stroke-width: .8; transition: fill .45s var(--ease), stroke .45s, transform .6s var(--ease-out); transform-box: fill-box; transform-origin: center; }
.math-mark .math-star { fill: transparent; stroke: rgba(246, 245, 240, .28); stroke-width: .8; transform-box: fill-box; transform-origin: center; transition: fill .5s, stroke .5s, transform .7s var(--ease-out), filter .5s; }
.math .col-1 circle, .math[data-step="1"] .col-2 circle, .math[data-step="2"] .col-2 circle, .math[data-step="2"] .col-3 circle { fill: var(--paper); stroke: transparent; }
.math-mark circle:nth-child(2) { transition-delay: .06s; } .math-mark circle:nth-child(3) { transition-delay: .12s; } .math-mark circle:nth-child(4) { transition-delay: .18s; } .math-mark circle:nth-child(5) { transition-delay: .24s; }
.math[data-step="2"] .math-star { fill: var(--orange); stroke: transparent; transform: scale(1.25) rotate(90deg); filter: drop-shadow(0 0 6px rgba(242, 74, 12, .8)); transition-delay: .3s; }
.math-steps { position: absolute; right: 0; top: 0; display: flex; flex-direction: column; gap: 10px; color: rgba(246, 245, 240, .3); }
.math-steps span { transition: color .3s; }
.math[data-step="0"] .math-steps span:nth-child(1), .math[data-step="1"] .math-steps span:nth-child(2), .math[data-step="2"] .math-steps span:nth-child(3) { color: var(--orange); }

/* ---------- system (products intro) ---------- */
.system { border-top: 1px solid rgba(246, 245, 240, .08); }
.system-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.system-copy .lead { margin-top: 24px; }
.sys-pair { margin-top: 40px; display: grid; gap: 12px; }
.sys-card { display: grid; grid-template-columns: 170px 1fr 20px; align-items: center; gap: 20px; padding: 22px 24px; border-radius: 18px; background: var(--ink-2); border: 1px solid rgba(246, 245, 240, .08); transition: transform .3s var(--ease), border-color .3s, background-color .3s; }
.sys-card img { height: 30px; width: auto; }
.sys-card > span:not(.admin-lockup) { color: var(--on-ink); font-size: 15px; }
.sys-card > svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.sys-card:hover { transform: translateY(-2px); border-color: rgba(246, 245, 240, .22); background: var(--ink-3); }
.sys-card:hover > svg { transform: translateX(4px); color: var(--orange); }
.admin-lockup { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.03em; line-height: 1; }
.admin-lockup svg { width: 30px; height: 30px; }
.admin-lockup em { font-style: normal; font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; background: var(--orange); color: var(--ink); padding: 4px 7px 3px; border-radius: 5px; transform: translateY(3px); }
.admin-lockup em.pill-pos { background: rgba(246, 245, 240, .15); color: var(--paper); }
.admin-lockup-lg { font-size: 34px; margin-bottom: 28px; }
.admin-lockup-lg svg { width: 38px; height: 38px; }

.film-card { position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: var(--ink-2); border: 1px solid rgba(246, 245, 240, .12); box-shadow: 0 40px 120px -40px rgba(242, 74, 12, .35); }
.film-card video { width: 100%; height: 100%; object-fit: cover; }
.film-play { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 16px; padding: 24px; text-align: left; background: linear-gradient(180deg, transparent 55%, rgba(11, 13, 23, .85)); transition: opacity .4s; }
.film-play-btn { width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; transition: transform .35s var(--ease); box-shadow: 0 0 0 0 rgba(242, 74, 12, .5); animation: pulse 2.4s infinite; }
.film-play-btn svg { width: 24px; height: 24px; margin-left: 3px; }
.film-play-label { display: grid; gap: 4px; }
.film-play-label b { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.film-play-label .mono { color: var(--on-ink); font-size: 11px; }
.film-play:hover .film-play-btn { transform: scale(1.08); }
.film-card.is-playing .film-play { opacity: 0; pointer-events: none; }

/* ---------- product sections ---------- */
.product { overflow: hidden; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.product-grid.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.product-logo { height: 40px; width: auto; margin-bottom: 28px; }
.product-copy .lead { margin-top: 24px; }
.feature-list { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.feature-list svg { width: 20px; height: 20px; flex: none; color: var(--orange); padding: 3px; border-radius: 50%; background: rgba(242, 74, 12, .14); }
.fine { margin-top: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-paper); }

.stat { display: flex; align-items: center; gap: 20px; margin-top: 32px; padding: 18px 22px; border-radius: 18px; background: var(--ink-2); border: 1px solid rgba(246, 245, 240, .08); max-width: 520px; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1; letter-spacing: -0.04em; color: var(--orange); display: inline-flex; align-items: baseline; gap: 2px; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: 26px; }
.stat-label { color: var(--on-ink); font-size: 14px; line-height: 1.5; }

.product-visual { position: relative; display: grid; place-items: center; min-height: 640px; }
.phone { position: relative; width: 300px; aspect-ratio: 9 / 16; padding: 9px; border-radius: 44px; background: #05060B; border: 1px solid rgba(246, 245, 240, .16); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .04); z-index: 2; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 35px; background: var(--ink); }
.vid-toggle { position: absolute; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(11, 13, 23, .6); color: var(--paper); backdrop-filter: blur(6px); border: 1px solid rgba(246, 245, 240, .2); opacity: 0; transition: opacity .25s, transform .25s var(--ease); }
.vid-toggle svg { width: 16px; height: 16px; }
.vid-toggle .i-play { display: none; }
.vid-toggle.is-paused .i-play { display: block; }
.vid-toggle.is-paused .i-pause { display: none; }
.phone:hover .vid-toggle, .vid-toggle:focus-visible, .vid-toggle.is-paused { opacity: 1; }
.vid-toggle:hover { transform: scale(1.06); }

.orbit-ring { position: absolute; width: 560px; height: 560px; border-radius: 50%; border: 1px dashed rgba(246, 245, 240, .14); animation: spin 60s linear infinite; }
.orbit-ring::before { content: ""; position: absolute; top: 50%; left: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 20px 4px rgba(242, 74, 12, .6); }
.orbit-ring::after { content: ""; position: absolute; inset: 70px; border-radius: 50%; border: 1px solid rgba(246, 245, 240, .06); }
@keyframes spin { to { transform: rotate(360deg); } }

.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(26, 30, 48, .82); border: 1px solid rgba(246, 245, 240, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); font-size: 13px; animation: bob 3.6s ease-in-out infinite alternate; }
.chip b { display: block; font-weight: 600; font-size: 14px; color: var(--paper); }
.chip small { color: var(--on-ink); font-size: 12px; }
.chip > svg { width: 26px; height: 26px; color: #25D366; }
.chip-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 12px; }
.chip-pay { padding: 6px 12px; border-radius: 8px; background: rgba(246, 245, 240, .1); font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; }
.chip-pay:first-child { background: var(--orange); color: var(--ink); }
.chip-a { left: 2%; top: 22%; }
.chip-b { right: 0; top: 46%; animation-delay: -1.2s; }
.chip-c { left: 8%; bottom: 14%; animation-delay: -2.4s; }
@keyframes bob { from { transform: translateY(-7px); } to { transform: translateY(7px); } }

/* connector band */
.link-band { background: var(--ink); color: var(--paper); padding-block: 0 72px; }
.link-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding-top: 40px; border-top: 1px solid rgba(246, 245, 240, .08); }
.link-end { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 18px; white-space: nowrap; }
.link-end .mono { color: var(--orange); }
.link-line { position: relative; height: 2px; background-image: linear-gradient(90deg, rgba(246, 245, 240, .3) 50%, transparent 50%); background-size: 10px 2px; }
.link-line i { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px 3px rgba(242, 74, 12, .55); animation: travel 3s cubic-bezier(.5, 0, .5, 1) infinite; }
.link-line i:nth-child(2) { animation-delay: 1s; }
.link-line i:nth-child(3) { animation-delay: 2s; }
@keyframes travel { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.link-note { grid-column: 1 / -1; text-align: center; color: var(--on-ink); font-size: 15px; }

/* admin visual */
.admin-visual { min-height: 560px; }
.laptop { width: 100%; max-width: 640px; position: relative; z-index: 1; }
.laptop-screen { padding: 10px; border-radius: 18px 18px 6px 6px; background: #05060B; box-shadow: 0 50px 90px -40px rgba(11, 13, 23, .55); border: 1px solid rgba(11, 13, 23, .3); overflow: hidden; }
.laptop-screen img { border-radius: 8px; transition: transform .8s var(--ease-out); }
.laptop:hover .laptop-screen img { transform: scale(1.025); }
.laptop-base { height: 14px; margin: 0 -5%; border-radius: 0 0 16px 16px; background: linear-gradient(#cfcdc5, #a9a79f); box-shadow: 0 18px 30px -16px rgba(11, 13, 23, .5); }
.phone-sm { position: absolute; width: 180px; padding: 6px; border-radius: 30px; right: -2%; bottom: 0; }
.phone-sm video { border-radius: 24px; }
.phone-sm .vid-toggle { right: 12px; bottom: 12px; }

/* ---------- pricing ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 64px; align-items: end; margin-bottom: 56px; }
.section-head .lead { justify-self: end; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--r); background: var(--ink-2); border: 1px solid rgba(246, 245, 240, .1); transition: transform .3s var(--ease), border-color .3s; }
.plan:hover { transform: translateY(-2px); border-color: rgba(246, 245, 240, .24); }
.plan header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; min-height: 32px; }
.plan h3 { font-size: 22px; }
.plan-price { margin: 28px 0 24px; display: flex; flex-direction: column; gap: 4px; }
.plan-price span { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 3.6vw, 3.2rem); letter-spacing: -0.04em; line-height: 1; }
.plan-price small { color: var(--on-ink); font-size: 14px; }
.plan ul { display: grid; align-content: start; gap: 12px; margin-bottom: 32px; flex: 1; padding-top: 24px; border-top: 1px solid rgba(246, 245, 240, .1); }
.plan li { position: relative; padding-left: 26px; color: rgba(246, 245, 240, .82); font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: rgba(246, 245, 240, .45); }
.plan-pro { border-color: rgba(242, 74, 12, .6); background: linear-gradient(180deg, rgba(242, 74, 12, .12), var(--ink-2) 45%); }
.plan-pro li::before { background: var(--orange); }
.plan-pro:hover { border-color: var(--orange); }
.badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(242, 74, 12, .16); color: #FF8A5C; white-space: nowrap; }
.plans-note { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; color: var(--on-ink); text-align: center; }
.plans-note svg { width: 18px; height: 18px; fill: var(--orange); flex: none; animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.3) rotate(45deg); } }

/* spotlight that follows the pointer on cards */
.spot { --sx: 50%; --sy: 0%; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(246, 245, 240, .07), transparent 60%); }
.spot:hover::after { opacity: 1; }
.light .spot::after { background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(242, 74, 12, .08), transparent 60%); }
.light .service-ink.spot::after { background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(246, 245, 240, .08), transparent 60%); }

/* ---------- work: KBI ---------- */
.kbi { background: #0A0F09; color: var(--paper); overflow: hidden; }
.kbi::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 85% 10%, rgba(198, 244, 50, .10), transparent 70%), radial-gradient(40% 50% at 10% 100%, rgba(198, 244, 50, .06), transparent 70%); }
.kbi .eyebrow::before { background: var(--lime); }
.kbi .lead { color: rgba(246, 245, 240, .7); }
.work-side .actions { margin-top: 28px; }
.shots { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.shot { display: block; border-radius: 20px; overflow: hidden; border: 1px solid rgba(246, 245, 240, .1); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.shot img { width: 100%; height: auto; aspect-ratio: 690 / 1260; object-fit: cover; object-position: top; transition: transform .7s var(--ease-out); }
.shot:hover { transform: translateY(-2px); border-color: rgba(198, 244, 50, .5); box-shadow: 0 30px 60px -30px rgba(198, 244, 50, .35); }
.shot:hover img { transform: scale(1.03); }
.shots .shot:nth-child(even) { margin-top: 48px; }

.film-dialog { width: min(1100px, 94vw); padding: 0; border: 0; border-radius: 20px; background: #000; overflow: visible; }
.film-dialog::backdrop { background: rgba(5, 6, 11, .86); backdrop-filter: blur(6px); }
.film-dialog video { width: 100%; height: auto; border-radius: 20px; }
.dialog-close { position: absolute; top: -56px; right: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 26px; line-height: 1; transition: transform .25s var(--ease); }
.dialog-close:hover { transform: rotate(90deg); }

/* ---------- studio ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--on-paper-faint); transition: transform .3s var(--ease), box-shadow .3s; }
.service:hover { transform: translateY(-2px); box-shadow: 0 30px 60px -36px rgba(11, 13, 23, .4); }
.service-top { display: flex; justify-content: space-between; align-items: center; }
.service-top .mono:first-child { color: var(--orange); }
.service-art { width: 100%; height: 130px; margin: 20px 0 24px; border-radius: 14px; background: var(--paper); }
.service h3 { font-size: 26px; margin-bottom: 10px; }
.service p { color: var(--on-paper); flex: 1; }
.service .link-arrow { margin-top: 20px; }
.service-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.service-ink p, .service-ink .muted { color: var(--on-ink); }
.service-ink .service-art { background: var(--ink-3); }
.s-frame { fill: var(--white); stroke: var(--on-paper-faint); }
.s-ink { fill: var(--ink); }
.s-dim { fill: rgba(11, 13, 23, .14); }
.s-orange { fill: var(--orange); }
.s-pop { transform-box: fill-box; transform-origin: center; transition: transform .4s var(--ease); }
.service:hover .s-pop { transform: scale(1.15); }
.s-wire { stroke: rgba(246, 245, 240, .25); stroke-width: 1.5; fill: none; stroke-dasharray: 4 4; }
.s-node { fill: var(--ink); stroke: rgba(246, 245, 240, .6); stroke-width: 1.5; }
.s-hub { filter: drop-shadow(0 0 8px rgba(242, 74, 12, .6)); }
.s-pulse { fill: var(--paper); }
.s-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 0; animation: heartbeat 3s ease-in-out infinite; }
@keyframes heartbeat { 0% { stroke-dashoffset: 260; } 60%, 100% { stroke-dashoffset: 0; } }
.s-blink { animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--on-paper-faint); }
.steps li { position: relative; display: grid; gap: 6px; padding: 28px 24px 0 0; }
.steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); transition: background-color .3s, transform .3s; }
.steps li:hover::before { background: var(--orange); transform: scale(1.4); }
.steps .mono { color: var(--orange); }
.steps b { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.steps span:last-child { color: var(--on-paper); font-size: 15px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-photo { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid rgba(246, 245, 240, .1); }
.about-photo img { width: 100%; height: auto; transition: transform .8s var(--ease-out); }
.about-photo:hover img { transform: scale(1.03); }
.about-copy .lead { margin-top: 20px; }
.about-copy .lead:first-of-type { margin-top: 28px; }
.signature { display: inline-block; margin-top: 28px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.about-copy .btn svg:first-child { width: 18px; height: 18px; }

/* ---------- contact ---------- */
.contact { background: var(--orange); color: var(--ink); text-align: center; overflow: hidden; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-star { width: 64px; height: 64px; fill: var(--ink); margin-bottom: 32px; animation: spin 14s linear infinite; }
.contact h2 { font-size: clamp(2.8rem, 7.6vw, 7rem); line-height: .95; letter-spacing: -0.05em; max-width: 12ch; }
.contact .lead { color: rgba(11, 13, 23, .78); margin-top: 28px; }
.contact .btn-line { --bd: rgba(11, 13, 23, .35); }
.contact .btn-line:hover { --bg: rgba(11, 13, 23, .08); --bd: var(--ink); }

/* ---------- footer ---------- */
.site-footer { padding: 88px 0 32px; overflow: hidden; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-mark { width: 52px; height: 52px; color: var(--paper); margin-bottom: 20px; }
.footer-brand p { color: var(--on-ink); max-width: 22em; }
.site-footer nav { display: flex; flex-direction: column; gap: 2px; }
.site-footer nav .mono { margin-bottom: 10px; }
.site-footer nav a { min-height: 40px; display: inline-flex; align-items: center; color: rgba(246, 245, 240, .82); width: fit-content; position: relative; }
.site-footer nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.site-footer nav a:hover { color: var(--paper); }
.site-footer nav a:hover::after { transform: scaleX(1); }
.footer-word { position: relative; margin: 72px 0 24px; font-family: var(--font-display); font-weight: 700; font-size: clamp(64px, 17.5vw, 260px); line-height: .8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px rgba(246, 245, 240, .22); white-space: nowrap; user-select: none; background: linear-gradient(90deg, var(--paper), var(--paper)) no-repeat; background-size: 0% 100%; -webkit-background-clip: text; background-clip: text; transition: background-size 1.2s var(--ease-out); }
.footer-word.is-lit { background-size: 100% 100%; }
.footer-word svg { position: absolute; width: .16em; height: .16em; fill: var(--orange); top: 0; margin-left: .02em; animation: twinkle 3.2s ease-in-out infinite; }
.footer-base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(246, 245, 240, .1); color: var(--on-ink); font-size: 14px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-legal a:hover { color: var(--paper); }

/* headings rise once when they enter */
.js .rise { clip-path: inset(0 0 100% 0); transform: translateY(.35em); }
.js .rise.is-in { clip-path: inset(0 0 -10% 0); transform: none; transition: clip-path 1s var(--ease-out), transform 1s var(--ease-out); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links > a { padding: 0 10px; }
  .chip-a { left: -2%; }
  .orbit-ring { width: 480px; height: 480px; }
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shots .shot:nth-child(n+4) { display: none; }
  .shots .shot:nth-child(even) { margin-top: 32px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: var(--header-h) var(--gutter) 40px; background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .nav-links > a { font-family: var(--font-display); font-size: clamp(32px, 9vw, 48px); font-weight: 600; letter-spacing: -0.03em; padding: 0; min-height: 60px; color: var(--paper); transform: translateY(16px); transition: transform .5s var(--ease-out); }
  .nav-links > a::after { left: 0; right: 0; bottom: 8px; }
  .lang-switch { margin: 24px 0 0; }
  .menu-open .nav-links { opacity: 1; visibility: visible; }
  .menu-open .nav-links > a { transform: none; }
  .site-header.menu-open { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-links { height: 100dvh; }

  .hero-grid { grid-template-columns: 1fr; align-content: center; gap: 0; }
  .hero-mark-slot { order: -1; height: 22svh; min-height: 140px; }
  .hero-title { margin: 22px 0 20px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 4px; padding-block: 16px 20px; }
  .orbit-list { flex-direction: column; gap: 0; }
  .orbit-list a { min-height: 40px; }
  .hero-vignette { background: radial-gradient(120% 70% at 50% 110%, var(--ink) 35%, transparent 75%); }

  .math-grid, .system-grid, .product-grid, .product-grid.flip, .about-grid, .section-head { grid-template-columns: 1fr; }
  .section-head .lead { justify-self: start; }
  .film-card { width: min(100%, 340px); }
  .product-grid.flip .product-visual { order: 2; }
  .product-visual { min-height: 0; padding-block: 24px; }
  .admin-visual { min-height: 0; padding-bottom: 80px; }
  .orbit-ring { width: 420px; height: 420px; }
  .plans, .services { grid-template-columns: 1fr; max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px 0; border-top: 0; }
  .steps li { border-top: 1px solid var(--on-paper-faint); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .about-photo { max-width: 520px; }
}

@media (max-width: 600px) {
  section { padding-block: 80px; }
  .brand-sub { display: none; }
  .btn { width: 100%; }
  .hero-actions .btn, .actions .btn { width: 100%; }
  .actions { margin-top: 28px; }
  .feature-list { grid-template-columns: 1fr; }
  .sys-card { grid-template-columns: 1fr 20px; gap: 10px 16px; padding: 20px; }
  .sys-card > span:not(.admin-lockup) { grid-column: 1; }
  .sys-card > svg { grid-row: 1 / span 2; grid-column: 2; }
  .phone { width: min(260px, 72vw); }
  .orbit-ring { width: 340px; height: 340px; }
  .chip { padding: 10px 12px; font-size: 12px; }
  .chip-a { left: 0; top: 12%; }
  .chip-b { right: 0; top: 52%; }
  .chip-c { left: 0; bottom: 8%; }
  .phone-sm { width: 128px; right: 0; bottom: 0; }
  .stat { flex-direction: column; align-items: flex-start; gap: 8px; }
  .link-inner { grid-template-columns: 1fr; justify-items: center; gap: 14px; }
  .link-line { width: 2px; height: 72px; background-image: linear-gradient(180deg, rgba(246, 245, 240, .3) 50%, transparent 50%); background-size: 2px 10px; }
  .link-line i { left: 50%; animation-name: travel-y; }
  @keyframes travel-y { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shots .shot:nth-child(4) { display: block; }
  .shots .shot:nth-child(even) { margin-top: 24px; }
  .steps { grid-template-columns: 1fr; }
  .plan { padding: 24px; }
  .film-dialog { width: 96vw; }
  .dialog-close { top: -52px; }
  .footer-word { margin-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-enter], .js .hero-title .w > span, .js .rise { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .footer-word { background-size: 100% 100%; }
}
