/* ===== Product Magicians ===== */
:root {
  --white: #ffffff;
  --navy: #084594;
  --royal: #5478E4;
  --sky: #3EB2F0;
  --aqua: #5CE1E6;
  --ink: #0A0A0A;
  --mist: #f4f7fc;
  --line: rgba(10, 10, 10, .12);
  --grad: linear-gradient(100deg, var(--aqua), var(--sky) 35%, var(--royal) 65%, var(--navy));
  --f-head: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --f-body: Inter, system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.nb { white-space: nowrap; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 8px; }
#sparkles { position: fixed; inset: 0; pointer-events: none; z-index: 90; width: 100vw; height: 100vh; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: 16px 26px; border-radius: 999px; font: 700 16px/1 var(--f-head); text-decoration: none; border: 2px solid transparent; transition: transform .35s var(--spring), background .25s, color .25s, box-shadow .25s; will-change: transform; white-space: nowrap; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 8px 24px -10px rgba(8, 69, 148, .7); }
.btn--navy:hover { background: var(--royal); box-shadow: 0 12px 32px -10px rgba(84, 120, 228, .8); }
.btn--ghost { border-color: var(--ink); background: rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--aqua); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .8); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 6px 20px -12px rgba(0, 0, 0, .25); }
.nav__mark { width: 70px; height: auto; transition: transform .6s var(--spring); }
.nav__logo:hover .nav__mark { transform: rotate(-4deg) scale(1.06); }
.nav__word { font: 800 12px/1 var(--f-head); letter-spacing: .02em; color: var(--navy); }
.nav__pill { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .8); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 6px 20px -12px rgba(0, 0, 0, .25); }
.nav__pill a { text-decoration: none; font: 600 14px/1 var(--f-body); padding: 10px 16px; border-radius: 999px; transition: background .2s, color .2s; }
.nav__pill a:hover, .nav__pill a.is-active { background: var(--navy); color: #fff; }

/* ---------- shared heads ---------- */
.kicker, .eyebrow, .trick__kicker { font: 500 13px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--royal); margin: 0 0 18px; }
.kicker--light { color: var(--aqua); }
.h2 { font: 800 clamp(38px, 6vw, 84px)/1 var(--f-head); letter-spacing: -.035em; margin: 0; }
.h2 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.h2--light { color: #fff; }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 40px; padding: 0 var(--pad); margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .kicker { grid-column: 1 / -1; }
.section-head__aside { max-width: 300px; margin: 0; color: #555; font-size: 15px; }
.section-head--light .h2, .section-head--light .section-head__aside { color: #fff; }
.section-head--light .section-head__aside { color: rgba(255, 255, 255, .7); }
.section-head--light .kicker { color: var(--aqua); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px var(--pad) 56px; overflow: hidden; isolation: isolate; }
.hero__orbs { position: absolute; inset: 0; z-index: -1; }
.orb { position: absolute; border-radius: 50%; mix-blend-mode: multiply; filter: saturate(1.1); will-change: transform; transition: transform 1.2s var(--ease); }
.orb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); background: #fff; clip-path: path("M50 0 C57 35 65 43 100 50 C65 57 57 65 50 100 C43 65 35 57 0 50 C35 43 43 35 50 0Z"); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); animation: twinkle 3.2s ease-in-out infinite; }
.orb--1 { width: 20vw; height: 20vw; min-width: 150px; min-height: 150px; background: var(--aqua); right: 32vw; top: 68vh; }
.orb--2 { width: 22vw; height: 22vw; min-width: 160px; min-height: 160px; background: var(--sky); right: 17vw; top: 56vh; }
.orb--3 { width: 24vw; height: 24vw; min-width: 170px; min-height: 170px; background: var(--royal); right: 1vw; top: 44vh; }
.orb--4 { width: 22vw; height: 22vw; min-width: 150px; min-height: 150px; background: var(--navy); right: 3vw; top: 22vh; width: 16vw; height: 16vw; min-width: 120px; min-height: 120px; }
.orb--2::after { animation-delay: .8s; } .orb--3::after { animation-delay: 1.6s; } .orb--4::after { animation-delay: 2.4s; }
.orb { animation: float 14s ease-in-out infinite alternate; }
.orb--2 { animation-duration: 17s; } .orb--3 { animation-duration: 12s; } .orb--4 { animation-duration: 19s; }
@keyframes float { from { translate: 0 0; } to { translate: -3vw 4vh; } }
@keyframes twinkle { 0%, 100% { scale: 1; rotate: 0deg; opacity: 1; } 50% { scale: .7; rotate: 45deg; opacity: .85; } }
.hero__inner { width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); background: rgba(255, 255, 255, .75); backdrop-filter: blur(8px); padding: 9px 14px; border-radius: 99px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
.hero__title { font: 800 clamp(46px, 9.4vw, 152px)/.92 var(--f-head); letter-spacing: -.05em; margin: 18px 0 36px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .08s; } .hero__title .line:nth-child(3) > span { animation-delay: .16s; } .hero__title .line:nth-child(4) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.magic-word { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 5s linear infinite; padding-right: .1em; cursor: pointer; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hero__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.hero__sub { max-width: 520px; margin: 0; font-size: clamp(17px, 1.5vw, 20px); color: #333; background: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); border-radius: 12px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- proof marquee ---------- */
.proof { background: var(--navy); color: #fff; padding: 28px 0 30px; overflow: hidden; }
.proof__label { margin: 0 var(--pad) 18px; font: 500 12px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--aqua); }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee__list li { font: 800 clamp(26px, 3.6vw, 48px)/1 var(--f-head); letter-spacing: -.03em; padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; opacity: .92; transition: color .2s, opacity .2s; }
.marquee__list li::after { content: "✦"; font-size: .5em; color: var(--sky); }
.marquee__list li:hover { color: var(--aqua); opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- trick ---------- */
.trick { padding: clamp(100px, 16vw, 200px) var(--pad); max-width: 1320px; margin: 0 auto; }
.trick__text { font: 700 clamp(30px, 4.6vw, 64px)/1.12 var(--f-head); letter-spacing: -.03em; margin: 0; }
.trick__text .w { color: rgba(10, 10, 10, .14); transition: color .4s; }
.trick__text .w.on { color: var(--ink); }
.trick__text em, .trick__text strong { font-family: var(--f-head); font-style: normal; font-weight: 800; letter-spacing: -.03em; position: relative; white-space: nowrap; }
.trick__text em .w.on { color: var(--royal); }
.trick__text strong .w.on { color: var(--royal); }
/* marker swipe behind the two payoff phrases once they're fully lit */
.trick__text em::after, .trick__text strong::after { content: ""; position: absolute; left: -.06em; right: -.06em; bottom: .06em; height: .32em; background: var(--aqua); opacity: .45; border-radius: .12em; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--spring); }
.trick__text em.on::after, .trick__text strong.on::after { transform: scaleX(1); }
.trick__text { position: relative; z-index: 0; }

/* ---------- work index ---------- */
.work { background: var(--ink); color: #fff; padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 120px); position: relative; }
.work__list { list-style: none; margin: 0; padding: 0 var(--pad); border-top: 1px solid rgba(255, 255, 255, .18); }
.work__list li { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.work__row { width: 100%; background: none; border: 0; display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 20px; padding: clamp(18px, 2.4vw, 30px) 0; text-align: left; position: relative; }
.work__row::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); background: var(--grad); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: 0; }
.work__row > * { position: relative; z-index: 1; }
.work__num { font: 500 13px var(--f-mono); color: rgba(255, 255, 255, .5); transition: color .3s; }
.work__name { font: 800 clamp(36px, 7vw, 104px)/1 var(--f-head); letter-spacing: -.045em; transition: transform .5s var(--ease), letter-spacing .5s var(--ease); }
.work__tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.work__tags span { font: 500 12px var(--f-mono); border: 1px solid rgba(255, 255, 255, .3); padding: 6px 10px; border-radius: 99px; white-space: nowrap; }
.work__arrow { font-size: 28px; transition: transform .4s var(--spring); }
.work__row:hover::before, .work__row:focus-visible::before { transform: scaleY(1); }
.work__row:hover .work__name { transform: translateX(16px); }
.work__row:hover .work__num { color: #fff; }
.work__row:hover .work__arrow { transform: rotate(45deg) scale(1.2); }
.peek { position: fixed; left: 0; top: 0; width: 340px; aspect-ratio: 4 / 3; pointer-events: none; z-index: 40; opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg); transition: opacity .25s, transform .45s var(--spring); }
.peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.peek__inner { width: 100%; height: 100%; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }

/* case art (shared by peek + modal) */
.art { width: 100%; height: 100%; position: relative; overflow: hidden; display: grid; place-items: center; }
.art__label { position: absolute; left: 18px; bottom: 14px; font: 800 22px var(--f-head); letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.art--pudgy { background: radial-gradient(circle at 30% 20%, #e8f9ff, #9fdcf5 45%, #3EB2F0); }
.art--pudgy .peng { width: 38%; aspect-ratio: .8; background: #1d2b44; border-radius: 50% 50% 46% 46%; position: relative; box-shadow: 0 18px 0 -6px rgba(0, 0, 0, .12); animation: bob 2.4s ease-in-out infinite; }
.art--pudgy .peng::before { content: ""; position: absolute; inset: 22% 14% 6%; background: #fff; border-radius: 50%; }
.art--pudgy .peng::after { content: ""; position: absolute; left: 42%; top: 34%; width: 16%; height: 9%; background: #ffb340; border-radius: 0 0 50% 50%; box-shadow: -18px -16px 0 -2px #1d2b44, 18px -16px 0 -2px #1d2b44; }
.art--pudgy .flake { position: absolute; color: #fff; font-size: 20px; animation: fall 6s linear infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-3deg); } }
@keyframes fall { from { transform: translateY(-40px); } to { transform: translateY(320px); } }
.art--stake { background: radial-gradient(circle at 50% 120%, #1a6dff 0, #0b1a33 60%); }
.art--stake .mini-reels { display: flex; gap: 8px; padding: 14px; background: rgba(255, 255, 255, .08); border-radius: 16px; border: 1px solid rgba(255, 255, 255, .2); }
.art--stake .mini-reels span { width: 56px; height: 72px; border-radius: 10px; background: #0f2447; display: grid; place-items: center; font-size: 30px; color: var(--aqua); }
.art--swob { background: linear-gradient(135deg, #ff8a3d, #ff3d6e); }
.art--swob .qr { width: 42%; aspect-ratio: 1; background: #fff; border-radius: 14px; padding: 10px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; transform: rotate(-6deg); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .35); }
.art--swob .qr i { background: #111; border-radius: 2px; }
.art--swob .qr i:nth-child(3n), .art--swob .qr i:nth-child(5n+1) { background: transparent; }
.art--konte { background: #111; }
.art--konte .film { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 86%; }
.art--konte .film span { aspect-ratio: 16 / 9; border-radius: 6px; background: linear-gradient(135deg, var(--c1), var(--c2)); animation: flick 3s steps(1) infinite; }
@keyframes flick { 50% { filter: brightness(1.4); } }
.art--mobile { background: linear-gradient(160deg, #5478E4, #084594); }
.art--mobile .phone { width: 34%; aspect-ratio: 9 / 18; background: #0b1020; border-radius: 22px; border: 4px solid #fff; padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; transform: rotate(8deg); }
.art--mobile .phone i { flex: 1; border-radius: 6px; background: linear-gradient(90deg, var(--aqua), var(--sky)); opacity: .9; }
.art--mobile .phone i:nth-child(2) { background: linear-gradient(90deg, #ffd166, #ff8a3d); }

/* ---------- services deck ---------- */
.services { padding: clamp(100px, 12vw, 160px) 0; overflow: hidden; }
.deck { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); padding: 0 var(--pad); perspective: 1600px; }
.pcard { aspect-ratio: 5 / 7; max-height: 560px; cursor: pointer; transition: transform .6s var(--spring); outline: none; }
.pcard:nth-child(1) { transform: rotate(-3deg) translateY(12px); }
.pcard:nth-child(3) { transform: rotate(3deg) translateY(12px); }
.pcard:hover, .pcard:focus-visible { transform: translateY(-14px) rotate(0); }
.pcard__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--spring); }
.pcard.flipped .pcard__inner { transform: rotateY(180deg); }
.pcard__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 28px; padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; overflow: hidden; }
.pcard:focus-visible .pcard__face { outline: 3px solid var(--sky); outline-offset: 4px; }
.pcard__front { background: var(--c); color: #fff; box-shadow: 0 30px 60px -30px var(--c); }
.pcard__front::before { content: ""; position: absolute; inset: 12px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 20px; pointer-events: none; }
.pcard__front::after { content: "✦"; position: absolute; right: -10%; bottom: -14%; font-size: 260px; line-height: 1; color: rgba(255, 255, 255, .12); transition: transform 1s var(--ease); }
.pcard:hover .pcard__front::after { transform: rotate(45deg) scale(1.1); }
.pcard__suit { font-size: 28px; line-height: 1; }
.pcard__no { position: absolute; top: clamp(22px, 2.4vw, 34px); right: clamp(22px, 2.4vw, 34px); font: 500 14px var(--f-mono); opacity: .8; }
.pcard__from { margin: auto 0 6px; font: 400 clamp(20px, 2vw, 28px)/1.1 var(--f-serif); font-style: italic; opacity: .9; }
.pcard__from s { text-decoration-thickness: 2px; }
.pcard__title { font: 800 clamp(28px, 3.2vw, 46px)/1 var(--f-head); letter-spacing: -.035em; margin: 0 0 18px; }
.pcard__name { margin: 0; font: 500 13px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.pcard__flip { margin-top: 14px; font: 600 13px var(--f-body); opacity: .8; }
.pcard__back { background: #fff; border: 2px solid var(--c); transform: rotateY(180deg); color: var(--ink); }
.pcard__back h3 { font: 800 clamp(22px, 2.2vw, 30px)/1.05 var(--f-head); letter-spacing: -.03em; margin: 0 0 12px; color: var(--c); }
.pcard__back p { margin: 0 0 14px; font-size: 15px; color: #444; }
.pcard__back ul { list-style: none; padding: 0; margin: 0 0 auto; display: grid; gap: 8px; }
.pcard__back li { font-size: 15px; font-weight: 600; display: flex; gap: 10px; }
.pcard__back li::before { content: "✦"; color: var(--c); }
.pcard__cta { margin-top: 16px; font: 700 15px var(--f-head); color: var(--c); text-decoration: none; }
.pcard__cta:hover { text-decoration: underline; }

/* ---------- desk / bento ---------- */
.desk { padding: clamp(90px, 10vw, 140px) 0; background: var(--mist); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; padding: 0 var(--pad); }
.tile { background: #fff; border-radius: 28px; padding: 22px; box-shadow: 0 1px 0 rgba(10, 10, 10, .06), 0 18px 40px -30px rgba(8, 69, 148, .35); display: flex; flex-direction: column; transition: transform .45s var(--spring), box-shadow .3s; min-width: 0; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(10, 10, 10, .06), 0 28px 50px -30px rgba(8, 69, 148, .5); }
.tile__head { display: flex; align-items: center; gap: 10px; font: 600 14px var(--f-body); color: #333; margin-bottom: 16px; flex-wrap: wrap; }
.tile__icon { width: 30px; height: 30px; border-radius: 9px; background: var(--mist); display: grid; place-items: center; font-size: 15px; }
.tile__foot { margin: auto 0 0; padding-top: 12px; font-size: 13.5px; color: #666; }
.chip { margin-left: auto; font: 500 11px var(--f-mono); padding: 5px 9px; border-radius: 99px; background: #e8f7ff; color: var(--navy); }
.chip--muted { background: #f1f1f4; color: #777; }
.chip--live { background: #e6f9ee; color: #138a43; }
.tile--shelf { grid-column: span 8; grid-row: span 2; }
.tile--stats { grid-column: span 4; }
.tile--slot { grid-column: span 4; }
.tile--timeline { grid-column: span 7; }
.tile--dice { grid-column: span 5; }
.tile--pedigree { grid-column: span 4; }
.tile--book { grid-column: span 8; }

.seg { margin-left: auto; display: flex; background: var(--mist); padding: 3px; border-radius: 99px; }
.seg button { border: 0; background: none; font: 600 12.5px var(--f-body); padding: 7px 12px; border-radius: 99px; color: #555; }
.seg button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.shelf li { transition: opacity .3s, transform .4s var(--spring); }
.shelf li.dim { opacity: .18; transform: scale(.94); }
.cart { width: 100%; aspect-ratio: 3 / 4; border: 0; border-radius: 18px; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; color: #fff; background: var(--bg); position: relative; overflow: hidden; transition: transform .45s var(--spring), box-shadow .3s; }
.cart::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .25), transparent 40%); }
.cart::after { content: attr(data-glyph); position: absolute; right: -6px; bottom: -14px; font-size: 64px; opacity: .25; }
.cart:hover, .cart.sel { transform: translateY(-6px) rotate(-2deg); box-shadow: 0 18px 30px -16px var(--bg); }
.cart.sel { outline: 3px solid var(--ink); outline-offset: 3px; }
.cart__studio { font: 500 10.5px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; opacity: .9; position: relative; }
.cart__title { font: 800 clamp(13px, 1.25vw, 17px)/1.05 var(--f-head); letter-spacing: -.02em; position: relative; }

.stats { margin: 0; display: grid; gap: 14px; }
.stats div { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.stats div:last-child { border: 0; }
.stats dt { font-size: 14px; color: #555; }
.stats dd { margin: 0; font: 800 38px/1 var(--f-head); letter-spacing: -.04em; color: var(--navy); }

.slot { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: 1; justify-content: center; }
.reels { display: flex; gap: 8px; padding: 10px; border-radius: 18px; background: linear-gradient(180deg, #0b1a33, #133062); box-shadow: inset 0 2px 10px rgba(0, 0, 0, .5); }
.reel { width: 64px; height: 76px; overflow: hidden; border-radius: 12px; background: #fff; position: relative; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 30%, transparent 70%, rgba(0, 0, 0, .25)); pointer-events: none; }
.strip { display: flex; flex-direction: column; will-change: transform; }
.strip span { height: 76px; display: grid; place-items: center; font-size: 36px; flex-shrink: 0; }
.slot__msg { margin: 0; font-size: 13.5px; text-align: center; color: #555; min-height: 2.6em; }
.slot.win .reels { animation: winflash .6s 3; }
@keyframes winflash { 50% { box-shadow: 0 0 0 4px var(--aqua), 0 0 30px var(--sky); } }

.bars__label { margin: 4px 0 8px; font: 500 12px var(--f-mono); color: #666; text-transform: uppercase; letter-spacing: .06em; }
.bars { display: flex; gap: 4px; margin-bottom: 14px; }
.bars span { flex: var(--w) 1 0; min-width: 0; height: 40px; border-radius: 10px; display: grid; place-items: center; font: 600 12px var(--f-body); white-space: nowrap; overflow: hidden; transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); }
.bars--with { width: 56%; }
.bars--before span { background: #eceef3; color: #666; }
.bars--with span { background: var(--grad); background-size: 400% 100%; color: #fff; }
.bars--with span:nth-child(2) { background-position: 33% 0; } .bars--with span:nth-child(3) { background-position: 66% 0; } .bars--with span:nth-child(4) { background-position: 100% 0; }
[data-bars].in .bars span { transform: none; }
[data-bars].in .bars span:nth-child(2) { transition-delay: .12s; } [data-bars].in .bars span:nth-child(3) { transition-delay: .24s; } [data-bars].in .bars span:nth-child(4) { transition-delay: .36s; } [data-bars].in .bars span:nth-child(5) { transition-delay: .48s; }

.dice { display: flex; gap: 14px; justify-content: center; background: none; border: 0; padding: 10px; margin: 0 auto; }
.die { width: 64px; height: 64px; border-radius: 16px; background: #fff; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); position: relative; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 9px; transition: transform .2s; }
.die i { width: 10px; height: 10px; border-radius: 50%; background: var(--navy); place-self: center; }
.dice:hover .die { transform: rotate(-8deg); } .dice:hover .die + .die { transform: rotate(8deg); }
.dice.rolling .die { animation: roll .6s var(--ease); }
@keyframes roll { 0% { transform: rotate(0) translateY(0); } 40% { transform: rotate(200deg) translateY(-26px); } 100% { transform: rotate(360deg) translateY(0); } }
.dice__tip { margin: 12px 0 0; font: 400 clamp(18px, 1.6vw, 22px)/1.25 var(--f-serif); font-style: italic; text-align: center; min-height: 2.5em; }

.pedigree { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pedigree li { font: 800 clamp(26px, 2.6vw, 34px)/1.1 var(--f-head); letter-spacing: -.03em; color: var(--navy); transition: transform .4s var(--spring), color .2s; }
.pedigree li:hover { transform: translateX(8px); color: var(--royal); }

.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cal__day { background: var(--mist); border-radius: 16px; padding: 10px 8px; text-align: center; }
.cal__dow { font: 600 11px var(--f-mono); text-transform: uppercase; color: #E2463F; }
.cal__date { font: 800 24px/1.2 var(--f-head); }
.cal__slot { display: block; width: 100%; margin-top: 6px; border: 0; border-radius: 9px; background: #fff; padding: 6px 2px; font: 600 12px var(--f-body); color: var(--navy); transition: background .2s, color .2s, transform .3s var(--spring); }
.cal__slot:hover { background: var(--navy); color: #fff; transform: scale(1.05); }

/* ---------- about ---------- */
.about { background: var(--navy); color: #fff; padding: clamp(90px, 11vw, 150px) var(--pad); position: relative; overflow: hidden; }
.about::before { content: ""; position: absolute; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, rgba(92, 225, 230, .22), transparent 60%); right: -20vw; top: -20vw; }
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; position: relative; max-width: 1400px; margin: 0 auto; }
.about__portrait { position: relative; }
.portrait { aspect-ratio: 4 / 5; border-radius: 32px; background: var(--grad); display: grid; place-items: center; align-content: center; gap: 16px; text-align: center; font: 500 13px var(--f-mono); color: rgba(255, 255, 255, .85); transform: rotate(-2deg); transition: transform .6s var(--spring); }
.portrait img { width: 60%; filter: brightness(0) invert(1); opacity: .9; }
.about__portrait:hover .portrait { transform: rotate(1deg) scale(1.02); }
.portrait__badge { position: absolute; right: -14px; bottom: 28px; background: #fff; color: var(--navy); font: 800 15px var(--f-head); padding: 12px 18px; border-radius: 99px; transform: rotate(6deg); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; margin: 28px 0 16px; }
.about__copy > p { color: rgba(255, 255, 255, .86); }
.about__copy strong { color: #fff; }
.about__copy em { font-size: 1.12em; color: var(--aqua); }
.diffs { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 4px; }
.diffs li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .18); transition: padding-left .4s var(--ease); }
.diffs li:hover { padding-left: 10px; }
.diffs li > span { font: 500 13px var(--f-mono); color: var(--aqua); padding-top: 4px; }
.diffs strong { font: 800 20px var(--f-head); letter-spacing: -.02em; }
.diffs p { margin: 4px 0 0; color: rgba(255, 255, 255, .72); font-size: 15.5px; }

/* ---------- contact ---------- */
.contact { padding: clamp(90px, 11vw, 150px) var(--pad); background: var(--grad); background-size: 140% 140%; animation: drift 16s ease-in-out infinite alternate; color: #fff; }
@keyframes drift { to { background-position: 100% 100%; } }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); max-width: 1400px; margin: 0 auto; align-items: start; }
.contact__title { font: 800 clamp(44px, 6.6vw, 96px)/.95 var(--f-head); letter-spacing: -.045em; margin: 0 0 24px; }
.contact__title em { color: #fff; }
.contact__pitch > p { font-size: 19px; max-width: 460px; margin: 0 0 32px; }
.contact__alt { font-size: 15px !important; margin-top: 18px !important; opacity: .9; }
.form { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; box-shadow: 0 40px 80px -40px rgba(8, 30, 80, .6); }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font: 600 14px var(--f-body); padding: 0; margin-bottom: 4px; }
.opt { font-weight: 400; color: #888; }
.field input, .field textarea { font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #dfe3ea; background: #fafbfd; transition: border .2s, box-shadow .2s; width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(84, 120, 228, .18); background: #fff; }
.field__err { display: none; margin: 0; color: #c62828; font-size: 13.5px; }
.field.bad .field__err { display: block; }
.field.bad input { border-color: #c62828; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; cursor: pointer; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 14px; border-radius: 99px; border: 1.5px solid #dfe3ea; font: 600 14px var(--f-body); transition: all .2s; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.form__submit { justify-content: center; width: 100%; }
.form__submit[disabled] { opacity: .7; cursor: progress; }
.form__status { margin: 0; font-size: 14.5px; min-height: 1.4em; }
.form__status.ok { color: #138a43; font-weight: 600; }
.form__status.err { color: #c62828; }
.form.sent .field, .form.sent .form__submit { display: none; }
.form.sent .form__status { font: 700 22px/1.3 var(--f-head); color: var(--navy); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 48px var(--pad) 24px; overflow: hidden; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__top nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a { text-decoration: none; opacity: .8; transition: opacity .2s, color .2s; }
.footer a:hover { opacity: 1; color: var(--aqua); }
.footer__word { font: 800 clamp(28px, 8.9vw, 142px)/.9 var(--f-head); letter-spacing: -.055em; margin: 48px 0 20px; white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; opacity: .65; }
kbd { font: 500 12px var(--f-mono); border: 1px solid rgba(255, 255, 255, .4); border-radius: 6px; padding: 2px 6px; }

/* ---------- modal ---------- */
.modal { border: 0; padding: 0; border-radius: 28px; width: min(980px, 94vw); max-height: 92vh; overflow: auto; background: #fff; color: var(--ink); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .6); }
.modal::backdrop { background: rgba(8, 20, 50, .55); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .5s var(--spring); }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(20px); } }
.modal__close { position: sticky; top: 14px; float: right; margin: 14px 14px -56px 0; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); box-shadow: 0 4px 14px rgba(0, 0, 0, .15); font-size: 16px; z-index: 2; }
.modal__art { height: 260px; clear: both; }
.modal__body { padding: clamp(22px, 4vw, 44px); }
.modal__cat { font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--royal); margin: 0 0 10px; }
.modal__title { font: 800 clamp(34px, 5vw, 60px)/1 var(--f-head); letter-spacing: -.04em; margin: 0 0 16px; }
.modal__overview { font-size: 18px; color: #333; margin: 0 0 26px; max-width: 720px; }
.modal__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 30px; }
.modal__metrics div { background: var(--mist); border-radius: 18px; padding: 16px; }
.modal__metrics dt { font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: #666; }
.modal__metrics dd { margin: 6px 0 0; font: 800 20px/1.15 var(--f-head); letter-spacing: -.02em; color: var(--navy); }
.modal__acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.modal__acts h4 { font: 800 13px var(--f-head); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; display: flex; gap: 8px; align-items: center; }
.modal__acts h4 span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; background: var(--c); }
.modal__acts p { margin: 0; font-size: 15px; color: #444; }
.modal__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.modal__live { font-weight: 600; color: var(--royal); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 220%); visibility: hidden; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 99px; font: 600 15px var(--f-body); z-index: 95; transition: transform .5s var(--spring); box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .5); max-width: 92vw; text-align: center; }
.toast.on { transform: translate(-50%, 0); visibility: visible; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: .45s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tile--shelf { grid-column: span 12; }
  .tile--stats, .tile--slot { grid-column: span 6; }
  .tile--timeline, .tile--dice { grid-column: span 12; }
  .tile--pedigree { grid-column: span 5; } .tile--book { grid-column: span 7; }
  .work__tags { display: none; }
  .shelf { grid-template-columns: repeat(4, 1fr); }
  .work__row { grid-template-columns: 44px 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav__pill { display: none; }
  .nav__word { display: none; }
  .nav__mark { width: 62px; }
  .hero { padding-top: 110px; }
  .orb--1 { right: 44vw; top: 7vh; min-width: 0; width: 40vw; height: 40vw; } .orb--2 { right: 20vw; top: 11vh; min-width: 0; width: 38vw; height: 38vw; } .orb--3 { right: -6vw; top: 5vh; min-width: 0; width: 36vw; height: 36vw; } .orb--4 { right: -14vw; top: 17vh; min-width: 0; width: 30vw; height: 30vw; }
  .bars span { font-size: 0; } .bars span::after { content: attr(data-s); font-size: 11px; }
  .section-head { grid-template-columns: 1fr; }
  .deck { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pcard, .pcard:nth-child(1), .pcard:nth-child(3) { transform: none; aspect-ratio: 5 / 5.6; }
  .pcard:nth-child(odd) { transform: rotate(-1.5deg); } .pcard:nth-child(even) { transform: rotate(1.5deg); }
  .bento > .tile { grid-column: span 12; }
  .shelf { grid-template-columns: repeat(3, 1fr); }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 360px; }
  .modal__metrics, .modal__acts { grid-template-columns: 1fr; }
  .peek { display: none; }
  .cal { grid-template-columns: repeat(3, 1fr); }
  .cal__day:nth-child(n+4) { display: none; }
}
@media (max-width: 420px) {
  .cart__title { font-size: 12.5px; } .cart__studio { font-size: 9px; } .cart { padding: 9px; border-radius: 14px; }
  .hero__ctas .btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__title .line > span { transform: none; }
}

/* ===================== v2 ===================== */
/* ticker: official logos on white chips */
.marquee__list li { padding: 0 8px; gap: 0; }
.marquee__list li::after { content: none; }
.marquee__list li img { height: 64px; width: auto; max-width: 220px; object-fit: contain; background: #fff; border-radius: 16px; padding: 14px 22px; box-sizing: content-box; height: 40px; transition: transform .35s var(--spring), box-shadow .3s; }
.marquee__list li img:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.marquee__track { animation-duration: 55s; }

/* work previews: real imagery */
.art--img { background: #111; }
.art--img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.art--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); }
.art--img .art__label { z-index: 1; }
.art__logo { position: absolute; z-index: 1; top: 14px; right: 14px; background: #fff; border-radius: 12px; padding: 7px 10px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }
.art__logo img { height: 22px; width: auto; display: block; }
.modal__art { height: 320px; }

/* tarot cards */
.pcard__front { align-items: center; text-align: center; }
.pcard__numeral { font: 400 26px/1 var(--f-serif); letter-spacing: .08em; }
.pcard__arcana { font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .22em; opacity: .85; margin-top: 4px; }
.tarot { width: 66%; max-width: 230px; margin: 4% auto 0; overflow: visible; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tarot .fill { fill: rgba(255, 255, 255, .16); }
.tarot .dot { fill: #fff; stroke: none; }
.tarot .ring { stroke-dasharray: 2 6; opacity: .7; }
.tarot .rays line { stroke-width: 1; opacity: .35; }
.tarot .glyph { fill: #fff; stroke: none; font: 700 22px var(--f-head); text-anchor: middle; }
.tarot .road { stroke-dasharray: 6 7; stroke-width: 3; }
.tarot .spark { fill: #fff; stroke: none; transform-box: fill-box; transform-origin: center; animation: twinkle 2.8s ease-in-out infinite; }
.tarot .s2 { animation-delay: .9s; } .tarot .s3 { animation-delay: 1.7s; }
.tarot .wheel, .tarot .rays, .tarot .bigstar, .tarot .rocket { transform-box: view-box; transform-origin: 100px 104px; transition: transform 1.4s var(--ease); }
.tarot .rays { transform-origin: 100px 100px; }
.tarot .bigstar { transform-origin: 100px 52px; }
.pcard:hover .tarot .wheel { transform: rotate(135deg); }
.pcard:hover .tarot .rays { transform: rotate(22deg) scale(1.06); }
.pcard:hover .tarot .rocket { transform: translateY(-10px); }
.pcard:hover .tarot .bigstar { transform: rotate(45deg) scale(1.08); }
.tarot .flame { animation: flicker .25s steps(2) infinite; }
@keyframes flicker { 50% { opacity: .4; } }
.pcard__from { margin-top: auto; }
.pcard__title { margin-bottom: 10px; }
.pcard__front::after { content: none; }
.pcard__flip { margin-top: 10px; }

/* game trading cards */
.shelf { grid-template-columns: repeat(6, 1fr); gap: 12px; perspective: 900px; }
.gcard { width: 100%; aspect-ratio: 5 / 7; border: 0; padding: 0; background: none; display: block; transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .5s var(--spring); transform-style: preserve-3d; }
.gcard:hover { transition-duration: .12s; }
.gcard__inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s var(--spring); }
.gcard.flipped .gcard__inner { transform: rotateY(180deg); }
.gcard__face { position: absolute; inset: 0; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; display: flex; flex-direction: column; }
.gcard__front { background: linear-gradient(160deg, color-mix(in srgb, var(--bg) 70%, #fff), var(--bg) 55%); padding: 6px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35), 0 10px 22px -14px var(--bg); text-align: left; }
.gcard__art { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px rgba(0, 0, 0, .15); }
.gcard__art img { width: 100%; height: 100%; object-fit: cover; }
.gcard__art--contain { display: grid; place-items: center; }
.gcard__art--contain img { width: 78%; height: 78%; object-fit: contain; }
.gcard__title { display: block; margin: 6px 3px 0; font: 800 clamp(10.5px, .95vw, 13px)/1.1 var(--f-head); letter-spacing: -.01em; color: #fff; }
.gcard__studio { display: block; margin: auto 3px 2px; font: 500 9px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gcard__foil { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .45), transparent 45%), linear-gradient(115deg, transparent 30%, rgba(92, 225, 230, .25) 45%, rgba(84, 120, 228, .25) 55%, transparent 70%); mix-blend-mode: overlay; opacity: 0; transition: opacity .3s; }
.gcard:hover .gcard__foil { opacity: 1; }
.gcard__back { transform: rotateY(180deg); background: #fff; box-shadow: inset 0 0 0 3px var(--bg); align-items: center; justify-content: center; gap: 10px; padding: 12px; }
.gcard__back img { max-width: 80%; max-height: 40%; object-fit: contain; }
.gcard__back span { font: 500 9.5px var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--bg); }
.shelf li.dim .gcard { filter: grayscale(1); }

/* bento layout v2 */
.tile--pedigree { grid-column: span 4; }
.tile--slot { grid-column: span 4; }
.tile--book { grid-column: span 12; }
.cal { grid-template-columns: repeat(5, 1fr); }
.pedigree { gap: 10px; }
.pedigree li { display: flex; align-items: center; height: 56px; padding: 8px 14px; border-radius: 14px; background: var(--mist); }
.pedigree li img { max-height: 36px; max-width: 70%; object-fit: contain; }
.pedigree li:hover { transform: translateX(6px); }

/* founder portrait */
.portrait { background: var(--grad); padding: 14px; border-radius: 50%; aspect-ratio: 1; }
.portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: none; opacity: 1; }
.portrait__badge { bottom: 12%; right: 0; }

/* footer v2 */
.footer__top img { height: 34px; width: auto; }

@media (max-width: 1080px) {
  .shelf { grid-template-columns: repeat(4, 1fr); }
  .tile--pedigree, .tile--slot { grid-column: span 6; }
}
@media (max-width: 820px) {
  .shelf { grid-template-columns: repeat(3, 1fr); }
  .gcard__title { font-size: 11px; }
  .marquee__list li img { height: 30px; padding: 10px 16px; }
  .cal { grid-template-columns: repeat(3, 1fr); }
}

/* v2.1: consistent logo sizing */
.marquee__list li img { all: unset; }
.marquee__list li { padding: 0 6px; }
.marquee__list li .chip-logo, .marquee__list li > img { display: grid; }
.marquee__list li > img { box-sizing: border-box; width: 168px; height: 72px; padding: 14px 22px; object-fit: contain; background: #fff; border-radius: 16px; transition: transform .35s var(--spring), box-shadow .3s; }
.marquee__list li > img:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.marquee__list li > img[src*="blacksalt"], .marquee__list li > img[src*="ncsoft"], .marquee__list li > img[src*="ubisoft"], .marquee__list li > img[src*="taketwo"], .marquee__list li > img[src*="scopely"] { padding: 10px 40px; }
.marquee__list li > img[src*="deloitte"], .marquee__list li > img[src*="ea.svg"], .marquee__list li > img[src*="nzte"] { padding: 18px 18px; }
.pedigree li { height: 60px; justify-content: flex-start; }
.pedigree li img { height: 30px; max-width: 80%; }
.pedigree li img[src*="ey.svg"] { height: 44px; }
.pedigree li img[src*="nzte"] { height: 40px; }
.tile--shelf .shelf { margin: auto 0; }
@media (max-width: 820px) { .marquee__list li > img { width: 130px; height: 56px; padding: 10px 16px; } }
.art__logo { right: auto; left: 14px; }
.pedigree li { height: 50px; }
@media (max-width: 820px) {
  .pcard, .pcard:nth-child(1), .pcard:nth-child(3) { aspect-ratio: 5 / 6.8; max-height: none; }
  .tarot { width: 54%; }
}

/* v3: no orphans in running copy; balanced headings; legal links */
p, li, dd { text-wrap: pretty; }
h1, h2, h3, h4, .pcard__name { text-wrap: balance; }
.footer__legal { display: inline-flex; gap: 18px; }
.footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: .8; }
.footer__legal a:hover { opacity: 1; }

/* ===== v4 ===== */
/* the trick: sticky stage, beats stacked in one grid cell */
.trick { --beats: 4; height: calc(100svh + var(--beats) * 70svh); padding: 0; max-width: none; position: relative; }
.trick__stage { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); box-sizing: border-box; }
.trick__beats { display: grid; }
.trick__beat { grid-area: 1 / 1; align-self: center; opacity: 0; transform: translateY(40px); transition: opacity .55s var(--ease), transform .7s var(--ease); max-width: 22ch; }
.trick__beat.is-on { opacity: 1; transform: none; }
.trick__beat.is-past { opacity: 0; transform: translateY(-40px); }
.trick__beat--final { font-size: clamp(40px, 7vw, 104px); line-height: 1.02; letter-spacing: -.045em; max-width: none; }
.trick__beat em { white-space: normal; background: linear-gradient(rgba(92, 225, 230, .45), rgba(92, 225, 230, .45)) 0 88% / 0% 30% no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .6s var(--ease); }
.trick__beat em::after { display: none; }
.trick__beat em.on { background-size: 100% 30%; }
.trick__beat--final em.on .w { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trick--static { height: auto; padding: clamp(100px, 16vw, 200px) 0; }
.trick--static .trick__stage { position: static; height: auto; }
.trick--static .trick__beats { gap: 36px; }
.trick--static .trick__beat { grid-area: auto; opacity: 1; transform: none; }
.trick-switch { position: fixed; left: 16px; bottom: 16px; z-index: 96; display: flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 99px; font: 500 12px var(--f-mono); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.trick-switch button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: none; color: #fff; font: inherit; cursor: pointer; }
.trick-switch button[aria-pressed="true"] { background: var(--aqua); color: var(--ink); border-color: var(--aqua); }
.trick-switch em { font-style: normal; opacity: .75; margin-left: 4px; }

/* featured work header without the aside */
.work .section-head { grid-template-columns: 1fr; }

/* bento v4: shelf | slot + dice, then pedigree | timeline */
.tile--shelf { grid-column: span 8; grid-row: span 2; }
.tile--slot, .tile--dice { grid-column: span 4; }
.tile--pedigree { grid-column: span 6; }
.tile--timeline { grid-column: span 6; }
.shelf--pedigree { grid-template-columns: repeat(3, 1fr); gap: 14px; margin: auto 0; }
.shelf--pedigree .gcard { aspect-ratio: 5 / 6; }
.shelf--pedigree .gcard__art--contain img { width: 84%; height: 70%; }
.shelf--pedigree .gcard__title { font-size: clamp(12px, 1.05vw, 15px); }
.shelf--pedigree .gcard__back img { max-height: 46%; }
@media (max-width: 1080px) {
  .tile--slot, .tile--dice { grid-column: span 6; }
  .tile--pedigree, .tile--timeline { grid-column: span 12; }
}
@media (max-width: 820px) { .shelf--pedigree { grid-template-columns: repeat(3, 1fr); gap: 10px; } }

/* mobile liveops art: real icons, centred, never cropped */
.art--icons { background: linear-gradient(150deg, #5478e4, #084594); container-type: size; }
.art__icons { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4cqw; padding-bottom: 6cqh; }
.art__icons img { width: min(24cqw, 56cqh); aspect-ratio: 1; object-fit: cover; border-radius: 22%; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); }
.art__icons img:nth-child(2) { transform: translateY(-4cqh); }
.art--icons .art__label { z-index: 1; }

/* footer egg word */
.egg-word { font: 500 12px var(--f-mono); color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .4); border-radius: 6px; padding: 2px 8px; cursor: pointer; transition: background .2s, color .2s; }
.egg-word:hover { background: var(--aqua); color: var(--ink); }

/* magic VFX: gradient flash + expanding rings + a little shake */
.magic-fx { position: fixed; inset: 0; pointer-events: none; z-index: 89; }
.magic-fx::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(circle at 50% 50%, rgba(92, 225, 230, .55), rgba(84, 120, 228, .35) 35%, transparent 65%); animation: mflash 1.5s ease-out forwards; }
.magic-fx i { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 3px solid var(--aqua); animation: mring 1.2s ease-out forwards; }
.magic-fx i:nth-child(2) { border-color: var(--royal); animation-delay: .15s; }
.magic-fx i:nth-child(3) { border-color: var(--sky); animation-delay: .3s; }
@keyframes mflash { 0% { opacity: 0; transform: scale(.5); } 18% { opacity: 1; } 100% { opacity: 0; transform: scale(1.3); } }
@keyframes mring { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(40); opacity: 0; } }
.magic-shake body { animation: mshake .5s; }
@keyframes mshake { 0%, 100% { transform: none; } 20% { transform: translate(-6px, 3px); } 40% { transform: translate(5px, -4px); } 60% { transform: translate(-4px, -2px); } 80% { transform: translate(3px, 3px); } }

/* iPhone-style notification */
.mtoast { position: fixed; left: 50%; top: 14px; z-index: 97; width: min(400px, calc(100vw - 24px)); box-sizing: border-box; padding: 12px 40px 12px 12px; border-radius: 24px; background: rgba(250, 250, 252, .86); -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8); box-shadow: 0 20px 50px -18px rgba(8, 30, 80, .55), 0 0 0 1px rgba(0, 0, 0, .05); color: #111; transform: translate(-50%, calc(-100% - 30px)); transition: transform .6s var(--spring); }
.mtoast.on { transform: translate(-50%, 0); }
.mtoast__main { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.mtoast__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--aqua); }
.mtoast__body { display: grid; gap: 1px; font: 400 14px/1.35 var(--f-body); }
.mtoast__app { display: flex; justify-content: space-between; font: 600 11px var(--f-body); letter-spacing: .04em; text-transform: uppercase; color: #6b6b75; }
.mtoast__app span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.mtoast__body strong { font: 700 15px/1.3 var(--f-head); }
.mtoast__main:hover strong { color: var(--royal); }
.mtoast__alt { display: block; margin: 8px 0 0 58px; font: 500 12px var(--f-body); color: #6b6b75; }
.mtoast__alt a { color: var(--royal); text-decoration: none; font-weight: 600; }
.mtoast__alt a:hover { text-decoration: underline; }
.mtoast__close { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .06); color: #555; font-size: 12px; cursor: pointer; }
.mtoast__close:hover { background: rgba(0, 0, 0, .12); }
.trick__beat--final em, .trick__beat--final em.on { background: none; }
@media (max-width: 820px) { .gcard__studio { white-space: normal; line-height: 1.25; overflow: visible; } .shelf--pedigree .gcard { aspect-ratio: 5 / 6.6; } }

/* ===== v5 ===== */
/* trick stage lines up with every other section (same left edge) */
.trick__stage { max-width: none; }
/* final beat: two-tier lockup, name on one line, sans + serif italic like the hero's "shipped" */
.trick__beat--final { display: flex; flex-direction: column; gap: .1em; max-width: none; font-size: inherit; }
.lockup__lead { font: 700 clamp(26px, 3.2vw, 44px)/1.1 var(--f-head); letter-spacing: -.03em; color: var(--ink); }
.lockup__name { display: block; white-space: nowrap; line-height: 1; letter-spacing: -.04em; padding-bottom: .08em; }
.lockup__name em { font: inherit; letter-spacing: inherit; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lockup__a { font-family: var(--f-head); font-weight: 800; font-style: normal; }
.lockup__b { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.trick__beat--final.is-on .lockup__name em { animation: lockup-shimmer 6s ease-in-out 1s infinite alternate; }
@keyframes lockup-shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.trick__beat--final .lockup__name { transform: translateY(.15em); opacity: 0; transition: transform .8s var(--ease) .1s, opacity .8s var(--ease) .1s; }
.trick__beat--final.is-on .lockup__name, .trick--static .lockup__name { transform: none; opacity: 1; }

/* copy-email button */
.copy-email { display: inline-grid; place-items: center; position: relative; vertical-align: middle; width: 30px; height: 30px; margin-left: 8px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background .2s, transform .2s; }
.copy-email:hover { background: rgba(255, 255, 255, .25); }
.copy-email:active { transform: scale(.94); }
.copy-email svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy-email__ok { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translate(-50%, 4px); background: var(--ink); color: #fff; font: 600 12px var(--f-body); padding: 4px 8px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; white-space: nowrap; }
.copy-email.done .copy-email__ok { opacity: 1; transform: translate(-50%, 0); }
.trick__beat--final .lockup__name em, .trick__beat--final .lockup__name em.on { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.trick__beat--final .lockup__name em { white-space: nowrap; display: inline; }

/* sweep: one vertical rhythm for the main content sections */
:root { --section-y: clamp(80px, 10vw, 140px); }
.work, .services, .desk, .contact { padding-top: var(--section-y); padding-bottom: var(--section-y); }

/* v6: trick block back in its centred container; lockup in the hero headline face */
.trick__stage { max-width: 1320px; }
.lockup__lead { font-weight: 800; letter-spacing: -.05em; }
.lockup__name { letter-spacing: -.05em; line-height: .92; padding-bottom: .1em; }
.lockup__b { font-family: var(--f-head); font-weight: 800; font-style: normal; letter-spacing: -.05em; }
.hero__title { font-size: clamp(42px, 9.1vw, 152px); }
