/* ---------- tokens ---------- */
:root {
  --bg: #050608;
  --bg-2: #0b0d12;
  --ink: #f5f5f7;
  --muted: #8e8e98;
  --line: rgba(255, 255, 255, .09);
  --glass: rgba(22, 24, 31, .62);
  --blue: #2997ff;
  --violet: #bf5af2;
  --cyan: #5ee7ff;
  --grad: linear-gradient(100deg, #5ee7ff 0%, #2997ff 40%, #bf5af2 100%);
  --display: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: clamp(20px, 5vw, 72px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--display); font-size: 17px; line-height: 1.55; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: rgba(41, 151, 255, .35); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- global layers ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 80; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* custom cursor (fine pointers only) */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; z-index: 100; pointer-events: none; }
  .cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(var(--x, -100px), var(--y, -100px)); }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
  .cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255, 255, 255, .35); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s, border-color .3s; }
  .cursor.is-hover .cursor-ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .6); }
}

/* ---------- intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 95; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--bg);
  clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.76, 0, .24, 1);
}
.intro-done .intro, .no-intro .intro { clip-path: inset(0 0 100% 0); pointer-events: none; }
.no-intro .intro { transition: none; }
.intro-name { font-size: clamp(30px, 6.4vw, 88px); font-weight: 300; letter-spacing: .08em; text-transform: uppercase; overflow: hidden; }
.intro-name .ch { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; animation-delay: calc(.05s + var(--i) * .035s); }
.intro-line { width: min(320px, 60vw); height: 1px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.intro-line span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); animation: grow 1.5s var(--ease) .25s forwards; }
.intro-role { font: 500 11px/1 var(--mono); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); opacity: 0; animation: fade .8s ease .9s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes fade { to { opacity: 1; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; z-index: 70; display: flex; align-items: center; gap: 6px; padding: 7px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  transform: translate(-50%, 0); transition: transform .5s var(--ease), opacity .5s;
}
.nav.is-hidden { transform: translate(-50%, -140%); }
.nav-mark { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-weight: 800; font-size: 15px; background: #fff; color: #000; }
.nav-mark span { position: absolute; right: 7px; bottom: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.nav-links { display: flex; }
.nav-links a, .nav-lang { padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(245, 245, 247, .72); transition: color .25s, background-color .25s; }
.nav-links a:hover, .nav-lang:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-lang { border: 0; background: none; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; cursor: pointer; }
.nav-cta { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; background: #fff; color: #000; }
@media (max-width: 720px) {
  .nav { top: 10px; width: calc(100% - 20px); justify-content: space-between; }
  .nav-links { display: none; }
}

/* ---------- shared ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 11.5px/1 var(--mono); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.section-head { padding: 0 var(--pad); max-width: 1320px; margin: 0 auto 56px; }
.section-title { margin: 0; font-size: clamp(40px, 7vw, 104px); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.section-title em, .hero-title em, .contact-title em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.section-sub { margin: 18px 0 0; max-width: 520px; color: var(--muted); font-size: 18px; }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--display); letter-spacing: -.01em; cursor: pointer; transition: background-color .3s, border-color .3s, color .3s;
}
.btn i { font-style: normal; transition: transform .4s var(--ease); }
.btn:hover i { transform: translate(3px, -1px); }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #e9ecff; }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .16); color: var(--ink); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); }
.magnetic { will-change: transform; transition: transform .35s var(--ease), background-color .3s, border-color .3s; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 120px var(--pad) 90px; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; max-width: 1320px; width: 100%; margin: 0 auto; }
.hero-title { margin: 0; max-width: 11.5em; font-size: clamp(46px, 8.6vw, 136px); line-height: .94; letter-spacing: -.05em; font-weight: 600; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * .06s + .15s); }
.is-ready .hero-title .w > span { transform: none; }
.hero-sub { margin: 30px 0 0; max-width: 560px; font-size: clamp(17px, 1.6vw, 21px); color: rgba(245, 245, 247, .72); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font: 500 10.5px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero-scroll i { width: 1px; height: 42px; background: linear-gradient(transparent, rgba(255, 255, 255, .6)); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 720px) { .hero { align-items: end; padding-bottom: 110px; } }

/* ---------- marquee ---------- */
.marquee { padding: 30px 0; border-block: 1px solid var(--line); overflow: hidden; }
.marquee-row { display: flex; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-row + .marquee-row { margin-top: 10px; }
.marquee-track { display: flex; flex: none; gap: 34px; padding-right: 34px; animation: marquee 38s linear infinite; font-size: clamp(22px, 3vw, 40px); font-weight: 500; letter-spacing: -.03em; white-space: nowrap; }
.marquee-row.reverse .marquee-track { animation-direction: reverse; animation-duration: 46s; color: rgba(245, 245, 247, .35); }
.marquee-track span { display: inline-flex; align-items: center; gap: 34px; }
.marquee-track span::after { content: '✦'; font-size: .5em; color: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { position: relative; overflow: clip; overflow-clip-margin: 60px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; max-width: 1320px; margin: 120px auto; padding: 0 var(--pad); }
.stats-ring { position: absolute; left: 50%; top: 50%; width: min(760px, 96vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; opacity: .22; filter: blur(40px); pointer-events: none;
  background: conic-gradient(from 0deg, #ff4d2e, #ffae3b, #5ee7ff, #2997ff, #bf5af2, #ff3dac, #ff4d2e);
  -webkit-mask: radial-gradient(closest-side, transparent 55%, #000 66%, #000 78%, transparent); mask: radial-gradient(closest-side, transparent 55%, #000 66%, #000 78%, transparent);
  animation: spin 30s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.stat { position: relative; padding: 28px 22px; border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(44px, 6vw, 84px); line-height: 1; font-weight: 600; letter-spacing: -.05em; background: linear-gradient(180deg, #fff, #9aa3b5); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); margin: 80px auto; } .stat:last-child { grid-column: span 2; } }

/* ---------- work: stacked cards ---------- */
.work { padding: 60px 0 40px; }
.cards { position: relative; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.card {
  position: sticky; top: calc(96px + var(--i) * 18px); height: min(720px, calc(100svh - 130px)); margin-bottom: 8vh;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 4vw, 60px); padding: clamp(24px, 4vw, 56px);
  border-radius: 34px; border: 1px solid var(--line); overflow: hidden; background: var(--bg-2);
  transform-origin: 50% 0; transform: scale(var(--s, 1)); filter: brightness(var(--b, 1));
  box-shadow: 0 -30px 80px rgba(0, 0, 0, .5);
}
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 70% at 85% 30%, var(--c1), transparent 60%), radial-gradient(70% 60% at 10% 110%, var(--c2), transparent 60%); opacity: .5; pointer-events: none; }
.card > * { position: relative; }
.card-body { display: flex; flex-direction: column; min-height: 0; }
.card-index { font: 500 12px/1 var(--mono); letter-spacing: .24em; color: var(--muted); }
.card-title { margin: 18px 0 0; font-size: clamp(34px, 4.6vw, 68px); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.card-tag { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 27px); color: rgba(245, 245, 247, .82); line-height: 1.2; }
.card-desc { margin: 18px 0 0; color: var(--muted); max-width: 520px; font-size: 16.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; color: rgba(245, 245, 247, .78); background: rgba(255, 255, 255, .03); }
.results { list-style: none; margin: auto 0 0; padding: 22px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.results li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; color: rgba(245, 245, 247, .86); }
.results li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c-dot); transform: translateY(-1px); }
.card-links { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.card-visual { display: grid; place-items: center; min-height: 0; }
.phone {
  position: relative; height: min(100%, 640px); aspect-ratio: 9 / 19.2; border-radius: 48px; padding: 10px;
  background: linear-gradient(145deg, #3a3d44, #16181c 40%, #2c2f35); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .8);
  transform: perspective(1400px) rotateY(var(--ry, -10deg)) rotateX(var(--rx, 4deg)); transition: transform .8s var(--ease);
}
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; z-index: 3; width: 30%; height: 22px; transform: translateX(-50%); border-radius: 20px; background: #000; }
.phone-screen { position: relative; height: 100%; border-radius: 39px; overflow: hidden; background: #000; }
.phone-screen img { display: block; width: 100%; height: auto; animation: pan 18s ease-in-out infinite alternate; }
@keyframes pan { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(calc(-100% + var(--sh, 600px))); } }
.phone-screen iframe { position: absolute; inset: 0; width: 390px; height: calc(390px * 19.2 / 9); border: 0; transform-origin: 0 0; transform: scale(var(--k, 1)); background: #000; }
.phone-glare { position: absolute; inset: 10px; z-index: 2; border-radius: 39px; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .16), transparent 32%); }
@media (max-width: 900px) {
  .card { grid-template-columns: 1fr; height: auto; min-height: calc(100svh - 120px); top: calc(76px + var(--i) * 10px); }
  .card-visual { order: -1; height: 360px; }
  .results { margin-top: 22px; }
}

/* ---------- process: horizontal pinned ---------- */
.process { position: relative; height: 380vh; }
.process-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.process .section-head { margin-bottom: 44px; width: 100%; }
.process-track { position: relative; display: flex; gap: 28px; padding: 0 var(--pad); width: max-content; transform: translateX(var(--tx, 0)); will-change: transform; }
.process-line { position: absolute; left: var(--pad); right: var(--pad); top: 50%; height: 120px; width: calc(100% - var(--pad) * 2); transform: translateY(-50%); overflow: visible; pointer-events: none; }
.process-line path { fill: none; stroke: url(#pl); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--lp, 0)); vector-effect: non-scaling-stroke; }
.step { position: relative; width: min(460px, 78vw); padding: 34px; border-radius: 30px; border: 1px solid var(--line); background: rgba(14, 16, 22, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.step b { display: block; font: 500 12px/1 var(--mono); letter-spacing: .24em; color: var(--muted); }
.step h3 { margin: 70px 0 14px; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 17px; }
.step-glyph { position: absolute; top: 26px; right: 26px; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #000; font-size: 24px; font-weight: 700; box-shadow: 0 10px 40px rgba(41, 151, 255, .35); }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .process { height: auto; padding: 80px 0; }
  .process-sticky { position: static; height: auto; }
  .process-track { flex-direction: column; width: auto; transform: none !important; }
  .step { width: auto; }
  .step h3 { margin-top: 40px; }
  .process-line { display: none; }
}

/* ---------- lab ---------- */
.lab { padding: 140px 0 60px; }
.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.tile { position: relative; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background: #07080b; touch-action: pan-y; }
.tile-label { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; align-items: baseline; pointer-events: none; }
.tile-label span { font: 500 11px/1 var(--mono); letter-spacing: .24em; color: var(--muted); }
.tile-label strong { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.tile-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring-fx { position: absolute; inset: 0; --mx: 50%; --my: 45%; }
.ring-fx::before { content: ''; position: absolute; left: var(--mx); top: var(--my); width: 78%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; filter: blur(18px); transition: left .6s var(--ease), top .6s var(--ease); animation: ringfx 14s linear infinite;
  background: conic-gradient(from 0deg, #ff4d2e, #ffae3b, #ffe38a, #39d1ff, #2e5bff, #8b3dff, #ff3dac, #ff4d2e);
  -webkit-mask: radial-gradient(closest-side, transparent 48%, #000 60%, #000 74%, transparent); mask: radial-gradient(closest-side, transparent 48%, #000 60%, #000 74%, transparent); }
.ring-fx i { position: absolute; inset: -40%; opacity: .45; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: grain .8s steps(3) infinite; }
.press-fx { position: absolute; inset: 0; display: grid; place-items: center; perspective: 900px; background: radial-gradient(120% 80% at var(--lx, 30%) var(--ly, 20%), #2a2d34, #0d0e12 70%); }
.press-fx span {
  font-family: var(--serif); font-style: italic; font-size: clamp(64px, 8vw, 118px); color: #1a1c22; transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .5s var(--ease);
  text-shadow: calc(var(--sx, 1) * -1px) calc(var(--sy, 1) * -1px) 1px rgba(0, 0, 0, .9), calc(var(--sx, 1) * 1.4px) calc(var(--sy, 1) * 1.4px) 1px rgba(255, 255, 255, .22);
}
@media (max-width: 900px) { .lab-grid { grid-template-columns: 1fr; } .tile { aspect-ratio: 5 / 4; } }

/* ---------- about ---------- */
.about { max-width: 1320px; margin: 0 auto; padding: 160px var(--pad) 100px; }
.about-text { margin: 0; font-size: clamp(30px, 4.6vw, 66px); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; }
.about-text .sw { opacity: .14; transition: opacity .25s; }
.about-text .sw.on { opacity: 1; }
.about-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 48px 0 0; padding: 0; list-style: none; }
.about-facts li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); color: rgba(245, 245, 247, .8); font-size: 15px; }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; padding: 180px var(--pad) 160px; text-align: center; }
.contact-glow { position: absolute; left: 50%; top: 58%; width: min(900px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; opacity: .5; filter: blur(70px);
  background: conic-gradient(from 90deg, #2997ff, #bf5af2, #5ee7ff, #2997ff); animation: spin 24s linear infinite;
  -webkit-mask: radial-gradient(closest-side, #000 20%, transparent 70%); mask: radial-gradient(closest-side, #000 20%, transparent 70%); }
.contact > *:not(.contact-glow) { position: relative; }
.contact-title { margin: 0 auto; max-width: 13em; font-size: clamp(44px, 8vw, 128px); line-height: .96; letter-spacing: -.05em; font-weight: 600; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 46px; }
.btn-xl { padding: 22px 32px; font-size: clamp(16px, 1.8vw, 21px); }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 28px var(--pad) calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  .phone-screen img { animation: none; }
}

/* ---------- featured ---------- */
.featured { padding: 120px 0 20px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.feat {
  position: relative; display: flex; flex-direction: column; border-radius: 30px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .6s var(--ease), border-color .4s;
}
.feat:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .2); }
.feat::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.feat:hover::after { opacity: 1; }
.feat-visual { position: relative; height: 300px; overflow: hidden; background: radial-gradient(120% 90% at 50% 110%, rgba(41, 151, 255, .22), transparent 60%), #07080b; }
.feat-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 24px; }
.feat-body b { font: 500 11.5px/1 var(--mono); letter-spacing: .24em; color: var(--muted); }
.feat-body h3 { margin: 14px 0 10px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; }
.feat-body p { margin: 0 0 22px; color: var(--muted); font-size: 15.5px; }
.feat-body .btn { margin-top: auto; align-self: flex-start; padding: 13px 20px; font-size: 15px; }
/* visual 1: four phones fanning out */
.fan img { position: absolute; left: 50%; bottom: -60px; width: 30%; margin-left: -15%; border-radius: 18px; border: 3px solid #1d1f24; box-shadow: 0 20px 40px rgba(0, 0, 0, .6);
  transform-origin: 50% 140%; transform: rotate(var(--r0)); transition: transform .8s var(--ease); }
.feat:hover .fan img { transform: rotate(var(--r1)) translateY(-14px); }
/* visual 2: broken export → rebuilt */
.rebuild { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.rebuild-before { padding: 22px 18px; font: 500 11px/1.9 var(--mono); color: #ff6b6b; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 4px); }
.rebuild-before span { display: block; color: #6b7280; }
.rebuild-after { position: relative; overflow: hidden; }
.rebuild-after img { position: absolute; left: 50%; top: 24px; width: 72%; transform: translateX(-50%); border-radius: 16px; border: 3px solid #1d1f24; transition: transform .8s var(--ease); }
.feat:hover .rebuild-after img { transform: translate(-50%, -16px) scale(1.04); }
.rebuild::after { content: '→'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #000; font-weight: 700; }
/* visual 3: your idea → live */
.idea { position: absolute; inset: 0; display: grid; place-items: center; }
.idea::before { content: ''; position: absolute; width: 230px; aspect-ratio: 1; border-radius: 50%; filter: blur(14px); animation: ringspin 10s linear infinite;
  background: conic-gradient(#ff4d2e, #ffae3b, #5ee7ff, #2997ff, #bf5af2, #ff3dac, #ff4d2e);
  -webkit-mask: radial-gradient(closest-side, transparent 50%, #000 62%, #000 74%, transparent); mask: radial-gradient(closest-side, transparent 50%, #000 62%, #000 74%, transparent); }
@keyframes ringspin { to { transform: rotate(360deg); } }
.idea span { position: relative; font-family: var(--serif); font-style: italic; font-size: 34px; letter-spacing: -.01em; }
@media (max-width: 1000px) { .feat-grid { grid-template-columns: 1fr; } .feat-visual { height: 260px; } }

/* ---------- toolkit (dashboard) ---------- */
.kit { padding: 140px 0 40px; }
.kit-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; max-width: 1320px; margin: 0 auto; padding: 1px; background: var(--line); border-radius: 26px; overflow: hidden;
  width: calc(100% - var(--pad) * 2); }
.panel { position: relative; grid-column: span 4; min-height: 230px; padding: 24px 24px 22px; background: #08090c;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 28px 28px; }
.panel.wide { grid-column: span 8; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.panel-head b { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: rgba(245, 245, 247, .85); }
.panel-head b::before { content: ''; width: 7px; height: 7px; background: #3ddc97; box-shadow: 0 0 10px #3ddc97; }
.panel-head span { padding: 4px 8px; border: 1px solid rgba(61, 220, 151, .4); border-radius: 4px; color: #3ddc97; letter-spacing: .12em; white-space: nowrap; }
.panel-big { margin: 28px 0 6px; font-size: clamp(48px, 5.6vw, 84px); line-height: 1; letter-spacing: -.05em; font-weight: 600; }
.panel-note { color: var(--muted); font-size: 14.5px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tools span { padding: 9px 13px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); font-size: 14px; color: rgba(245, 245, 247, .88); }
.edu-school { margin: 30px 0 4px; font-family: var(--serif); font-size: clamp(34px, 3.4vw, 50px); line-height: 1; letter-spacing: -.02em; }
.kit-term { display: flex; align-items: center; gap: 16px; max-width: 1320px; margin: 14px auto 0; width: calc(100% - var(--pad) * 2); padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line); background: #08090c; font: 500 13px/1.4 var(--mono); color: #3ddc97; overflow: hidden; white-space: nowrap; }
.term-dots { display: flex; gap: 6px; flex: none; }
.term-dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3d44; }
.kit-term code::after { content: '▍'; animation: blink 1s steps(2) infinite; color: #fff; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 1000px) { .panel, .panel.wide { grid-column: span 12; min-height: 0; } }

/* ---------- lab: glass blocks ---------- */
.lab-grid { grid-template-columns: repeat(2, 1fr); }
.tile { aspect-ratio: 16 / 11; }
.blocks-fx { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); align-content: center; gap: 10px; padding: 8% 10% 16%; perspective: 800px; background: linear-gradient(180deg, #d9dadd, #c4c6ca); }
.blocks-fx i { aspect-ratio: 1; border-radius: 22%; background: linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(225, 227, 232, .6)); box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .08), 0 8px 18px rgba(0, 0, 0, .08);
  transform: translateZ(calc(var(--z, 0) * 40px)); transition: transform .5s var(--ease), background .5s, box-shadow .5s; }
.blocks-fx i.lit { background: linear-gradient(145deg, hsl(var(--h, 52) 95% 62%), hsl(calc(var(--h, 52) - 14) 85% 42%)); box-shadow: inset 0 -8px 16px rgba(0, 0, 0, .18), 0 14px 30px hsla(var(--h, 52), 90%, 45%, .45); }
[data-tile="blocks"] .tile-label { color: #111; }
[data-tile="blocks"] .tile-label span { color: #555; }
@media (max-width: 900px) { .lab-grid { grid-template-columns: 1fr; } .tile { aspect-ratio: 5 / 4; } }

/* ---------- engraved viaduct + train ---------- */
.viaduct { position: relative; height: clamp(170px, 22vw, 300px); overflow: hidden; margin-top: 40px; }
.viaduct svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
.viaduct .ink { stroke: #d9c7a3; fill: none; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.viaduct .train { animation: train 22s linear infinite; }
@keyframes train { from { transform: translateX(-420px); } to { transform: translateX(1640px); } }
.viaduct .puff { transform-box: fill-box; transform-origin: center; animation: puff 2.4s ease-out infinite; opacity: 0; }
@keyframes puff { 0% { opacity: .9; transform: translate(0, 0) scale(.4); } 100% { opacity: 0; transform: translate(-60px, -46px) scale(1.8); } }
@media (prefers-reduced-motion: reduce) { .viaduct .train { animation: none; transform: translateX(600px); } }

@keyframes ringfx { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero .eyebrow { color: rgba(245, 245, 247, .82); text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }

/* ======================= v2: showcase-first motion ======================= */

/* fixed, scroll-reactive background canvas (ribbons + hero orb) */
.bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
body { background: transparent; }
html { background: var(--bg); }
.hero { background: none; }
[data-parallax] { transform: translateY(var(--py, 0)); will-change: transform; }

/* intro: laundry line + progress */
.intro { gap: 26px; }
.line-scene { width: min(1100px, 96vw); }
.line-scene svg { display: block; width: 100%; height: auto; overflow: visible; }
.garment { transform-box: fill-box; transform-origin: 50% 0; animation: billow var(--t, 3s) ease-in-out var(--d, 0s) infinite; }
@keyframes billow {
  0%, 100% { transform: rotate(-3deg) skewX(0deg) scaleY(1); }
  22% { transform: rotate(9deg) skewX(-10deg) scaleY(.93); }
  30% { transform: rotate(15deg) skewX(-16deg) scaleY(.88); }
  46% { transform: rotate(4deg) skewX(-4deg) scaleY(.97); }
  70% { transform: rotate(-6deg) skewX(5deg) scaleY(1.01); }
}
.gust { fill: none; stroke: rgba(160, 200, 255, .45); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 90 400; animation: gust 2.2s ease-in var(--d, 0s) infinite; transform: translate(-400px, var(--y)); }
@keyframes gust { 0% { transform: translate(-420px, var(--y)); stroke-dashoffset: 0; opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(1300px, var(--y)); stroke-dashoffset: -300; opacity: 0; } }
.petal { animation: petal 3.2s linear var(--d, 0s) infinite; transform: translate(-40px, var(--y)); }
@keyframes petal { 0% { transform: translate(-40px, var(--y)) rotate(var(--r)); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(1260px, calc(var(--y) - 90px)) rotate(calc(var(--r) + 720deg)); opacity: 0; } }
.voyage-bar { width: min(260px, 50vw); height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.voyage-bar span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); animation: grow 2s var(--ease) .2s forwards; }
.intro-name { font-size: clamp(22px, 3.6vw, 44px); letter-spacing: .22em; }

/* marquee is driven by JS (scroll velocity) */
.marquee-track { animation: none; will-change: transform; }

/* ---------- work: shuffle deck ---------- */
.deck-wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.deck { position: relative; margin-top: 60px; height: min(700px, calc(100svh - 200px)); outline: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.deck .card {
  position: absolute; inset: 0; top: 0; height: auto; margin: 0; cursor: grab;
  transform-origin: 50% 100%;
  translate: 0 calc(var(--k) * -22px); scale: calc(1 - var(--k) * .05); rotate: calc(var(--k) * var(--k) * .6deg * (1 - 2 * (var(--k) - 2 * round(down, var(--k) / 2, 1))));
  filter: brightness(calc(1 - var(--k) * .22)); opacity: calc(1 - max(0, var(--k) - 2) * 1);
  transition: translate .6s var(--ease), scale .6s var(--ease), rotate .6s var(--ease), filter .6s, transform .5s var(--ease), opacity .4s;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.deck .card.is-drag { transition: none; cursor: grabbing; }
.deck .card.is-flying { transition: transform .42s cubic-bezier(.5, 0, .75, 0), opacity .42s; opacity: 0; }
.deck .card:not(.is-top) { pointer-events: none; }
.deck .card-body { justify-content: center; }
.deck .card-title { font-size: clamp(40px, 5.4vw, 84px); }
.deck .card-tag { font-size: clamp(22px, 2.3vw, 32px); max-width: 16em; }
.deck-ui { display: flex; align-items: center; gap: 16px; margin-top: 26px; font: 500 12px/1 var(--mono); letter-spacing: .18em; color: var(--muted); }
.deck-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: var(--ink); font-size: 18px; cursor: pointer; transition: background-color .3s, transform .3s var(--ease); }
.deck-btn:hover { background: rgba(255, 255, 255, .1); transform: scale(1.06); }
.deck-count b { color: var(--ink); font-weight: 500; }
.deck-dots { display: flex; gap: 8px; }
.deck-dots button { width: 22px; height: 4px; border: 0; border-radius: 4px; padding: 0; background: rgba(255, 255, 255, .18); cursor: pointer; transition: width .4s var(--ease), background-color .4s; }
.deck-dots button.on { width: 44px; background: var(--grad); }
.deck-hint { margin-left: auto; text-transform: uppercase; }
@media (max-width: 900px) {
  .deck { height: 640px; }
  .deck .card { grid-template-columns: 1fr; padding: 22px; }
  .deck .card-visual { order: -1; height: 330px; }
  .deck .card-title { font-size: 38px; }
  .deck-hint { display: none; }
}

/* ---------- toolkit: exploded 3D macropad ---------- */
.kit { position: relative; height: 280vh; padding: 0; }
.kit-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.kit .section-head { margin-bottom: 0; width: 100%; }
.pad-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; perspective: 1700px; }
.pad { --u: 104px; --g: 14px; --m: 42px; position: relative; width: calc(var(--m) * 2 + var(--u) * 4 + var(--g) * 3); aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(var(--tilt, 58deg)) rotateZ(var(--spin, -40deg)); }
.pad-base { position: absolute; inset: 0; transform-style: preserve-3d; }
.base-layer, .base-top { position: absolute; inset: 0; border-radius: 46px; }
.base-layer { background: #9da2aa; }
.base-top { background: radial-gradient(120% 90% at 20% 10%, #f1f2f4, #cdd0d5 60%, #b9bdc4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), inset 0 -10px 24px rgba(0, 0, 0, .12); }
.base-top::after { content: ''; position: absolute; inset: 26px; border-radius: 26px; background: linear-gradient(135deg, #dfe1e5, #c8cbd1); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .18); }
.pad-note { position: absolute; z-index: 1; right: 30px; bottom: 7px; font: 500 10px/1 var(--mono); letter-spacing: .12em; color: #7c818a; }
.pad-leds { position: absolute; z-index: 1; left: 34px; bottom: 9px; display: flex; gap: 5px; }
.pad-leds i { width: 12px; height: 4px; border-radius: 2px; background: #eef0f2; box-shadow: 0 0 6px rgba(255, 255, 255, .8); }
.switch, .key { position: absolute; left: calc(var(--m) + var(--c) * (var(--u) + var(--g))); top: calc(var(--m) + var(--r) * (var(--u) + var(--g))); width: var(--u); height: var(--u); transform-style: preserve-3d; }
.switch { transform: translateZ(1px); }
.switch::before { content: ''; position: absolute; inset: 10px; border-radius: 12px; background: #2a2c31; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.switch b { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; background: linear-gradient(#7a6bff, #5a47e6); clip-path: polygon(38% 0, 62% 0, 62% 38%, 100% 38%, 100% 62%, 62% 62%, 62% 100%, 38% 100%, 38% 62%, 0 62%, 0 38%, 38% 38%); }
.key { transition: transform .15s ease-out; will-change: transform; }
.cap-layer, .cap-top { position: absolute; inset: 0; border-radius: 22px; }
.key-w .cap-layer { background: #c9ccd2; } .key-w .cap-top { background: linear-gradient(145deg, #fdfdfd, #e3e5e9); color: #2a2d33; }
.key-d .cap-layer { background: #16181c; } .key-d .cap-top { background: linear-gradient(145deg, #3a3d44, #1c1e23); color: #f5f5f7; }
.key-g .cap-layer { background: rgba(190, 210, 235, .28); } .key-g .cap-top { background: linear-gradient(145deg, rgba(255, 255, 255, .55), rgba(200, 220, 245, .22)); color: #eaf2ff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.cap-top { display: grid; place-items: center; box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .12), inset 0 0 0 1px rgba(255, 255, 255, .4); }
.cap-top span { font: 600 13px/1.1 var(--display); letter-spacing: -.01em; text-align: center; padding: 6px; }
.key.press .cap-top, .key.press .cap-layer { translate: 0 0 -8px; }
.kit-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 var(--pad) 40px; }
.kit-facts span { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 12, 16, .6); font-size: 14px; color: rgba(245, 245, 247, .8); }
.kit-facts b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 17px; color: #fff; }
@media (max-width: 760px) { .pad { --u: 62px; --g: 8px; --m: 24px; } .cap-top span { font-size: 9px; padding: 3px; } .base-layer, .base-top { border-radius: 28px; } .pad-note { display: none; } }
@media (prefers-reduced-motion: reduce) { .kit { height: auto; } .kit-sticky { position: static; height: auto; padding: 80px 0; } .pad-stage { height: 560px; } }

/* ---------- odds calculator: 3D titanium device ---------- */
.odds { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; max-width: 1320px; margin: 0 auto; padding: 160px var(--pad) 120px; min-height: 100svh; }
.odds .section-title { font-size: clamp(44px, 6.4vw, 100px); }
.odds-hint { margin: 18px 0 0; color: var(--muted); font: 500 13px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.device-stage { position: relative; height: 620px; display: grid; place-items: center; perspective: 1500px; }
.device-stage::after { content: ''; position: absolute; left: 50%; bottom: 40px; width: 300px; height: 40px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); filter: blur(8px); }
.device { position: relative; transform-style: preserve-3d; will-change: transform; }
.face { position: absolute; transform-style: preserve-3d; backface-visibility: hidden; border-radius: 22px;
  background: linear-gradient(110deg, #7e838b 0%, #b4b8be var(--sheen, 50%), #8b9097 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.face::before { content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: .22; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.f-right, .f-left, .f-top, .f-bottom { border-radius: 10px; background: linear-gradient(180deg, #6d7279, #9ba0a7 50%, #6d7279); }
.groove { position: absolute; left: 50%; top: 80px; bottom: 80px; width: 5px; margin-left: -12px; border-radius: 3px; background: #4b4f55; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6); }
.groove + .groove { margin-left: 7px; }
.pins { position: absolute; left: 40px; top: 50%; display: grid; grid-template-columns: repeat(6, 9px); gap: 5px; transform: translateY(-50%); }
.pins i { width: 9px; height: 9px; border-radius: 3px; background: linear-gradient(#ffcf6b, #e0921d); }
.port { position: absolute; right: 44px; top: 50%; width: 40px; height: 14px; margin-top: -7px; border-radius: 7px; background: #202226; }
.dv-screen { position: absolute; left: 22px; right: 70px; top: 22px; height: 84px; border-radius: 10px; padding: 12px 16px; background: #0b0d10; box-shadow: inset 0 0 0 3px #5d6168, inset 0 8px 20px rgba(0, 0, 0, .8); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.dv-screen small { font: 500 9px/1 var(--mono); letter-spacing: .18em; color: #6fd29a; opacity: .7; }
.dv-screen span { font: 500 26px/1 var(--mono); color: #b8f7cf; text-shadow: 0 0 10px rgba(110, 230, 160, .6); white-space: nowrap; }
.dv-badge { position: absolute; right: 18px; top: 24px; width: 40px; display: grid; justify-items: center; gap: 10px; }
.dv-badge i { width: 26px; height: 26px; background: #9aa0a7; clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); box-shadow: inset 0 0 0 2px #5f646b; }
.dv-badge b { width: 6px; height: 6px; border-radius: 50%; background: #2c2f34; }
.dv-badge { grid-template-columns: repeat(3, 8px); } .dv-badge i { grid-column: 1 / -1; }
.dv-keys { position: absolute; left: 18px; right: 18px; top: 124px; bottom: 50px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); gap: 8px; transform-style: preserve-3d; }
.dv-key { position: relative; border: 0; padding: 0; background: none; cursor: pointer; transform-style: preserve-3d; transform: translateZ(10px); transition: transform .12s ease-out; }
.dv-key.down { transform: translateZ(2px); }
.dk-layer, .dk-top { position: absolute; inset: 0; border-radius: 10px; }
.dk-layer { background: #6c7178; }
.dk-top { display: flex; align-items: flex-end; padding: 8px 11px; background: linear-gradient(150deg, #aeb2b8, #8e9399); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), inset 0 -4px 8px rgba(0, 0, 0, .15); }
.dk-top::before { content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: .25; mix-blend-mode: overlay; background-image: inherit; }
.dk-top span { font: italic 500 22px/1 var(--display); color: #2e3136; }
.dv-key.enter .dk-top { background: linear-gradient(150deg, #9ff0bf, #52c985); }
.dv-key.enter .dk-top span { color: #0d3b21; font-style: normal; font-weight: 700; }
.dv-key:focus-visible { outline: none; } .dv-key:focus-visible .dk-top { box-shadow: 0 0 0 2px #2997ff; }
.dv-label { position: absolute; left: 24px; bottom: 18px; font: 600 8px/1 var(--mono); letter-spacing: .2em; color: #4e5258; }
@media (max-width: 900px) { .odds { grid-template-columns: 1fr; padding-top: 110px; text-align: left; } .device-stage { height: 560px; transform: scale(.86); } }

/* contact without the device */
.contact { display: block; text-align: center; }
.contact-copy { position: relative; }
