/* Fox Design 4.0 — public site. Tokens follow the Figma variables (Fox · Primitives / Tokens). */
:root {
  --ink: #0A0A0F; --ink-900: #121219; --ink-800: #1C1C26; --ink-700: #2B2B37; --ink-500: #63636F; --ink-400: #8F8F9C; --ink-200: #DEDDE3; --ink-100: #EDECF0;
  --paper: #FAF8F5; --paper-100: #F3EFE9; --white: #FFFFFF;
  --fox: #FF6600; --fox-600: #E85A00; --fox-700: #B84400; --fox-300: #FF9A57; --fox-100: #FFE9DA;
  --g1: #FF7A00; --g2: #FF6699; --g3: #A07CC5; --g4: #33A1FF; --g5: #EAF5FF; --green: #16A34A; --red: #DC2626;
  --grad: linear-gradient(72deg, var(--g1), var(--g2) 30%, var(--g3) 52%, var(--g4) 74%, var(--g5));
  --grad-warm: linear-gradient(90deg, var(--g1), var(--g2) 55%, var(--g3));
  --display: 'Bricolage Grotesque Variable', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter Variable', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --gutter: clamp(20px, 5.5vw, 80px);
  --text: var(--ink); --muted: var(--ink-500); --line: var(--ink-200); --accent: var(--fox-700);
  --shadow-float: 0 24px 64px rgba(10, 10, 15, .12), 0 4px 12px rgba(10, 10, 15, .05);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.625 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--fox); outline-offset: 3px; border-radius: 4px; }
h1:focus, .sent:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 16px; }
.d-only { display: none; }

/* ---------- Shell and liquid backdrop (page transition) ---------- */
.liquid-bg { position: fixed; inset: 0; z-index: 0; background: linear-gradient(100deg, var(--g5), var(--g4) 26%, var(--g3) 48%, var(--g2) 70%, var(--g1)); }
.liquid-bg canvas { width: 100%; height: 100%; display: block; }
.shell { position: relative; z-index: 1; background: var(--paper); min-height: 100vh; overflow-x: clip; transform-origin: 50% 50%; }
.shell.moving, .intro-pending .shell { position: fixed; inset: 0; overflow: hidden; }
.shell.moving { will-change: transform, filter, opacity; pointer-events: none; }
.view { background: var(--paper); }
/* Transition helpers: the veil carries the blur; the page being replaced dissolves underneath it. */
.veil { position: absolute; inset: 0; z-index: 80; pointer-events: none; }
.view.leaving { position: absolute; left: 0; top: 0; width: 100%; z-index: 70; }
.wrap { width: 100%; max-width: calc(1280px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); position: relative; }

/* ---------- Type ---------- */
h1, h2, h3, h4, .mega, .stat b, .metric b, blockquote { font-family: var(--display); text-wrap: balance; }
.display-xl { font-weight: 800; font-size: clamp(46px, 6.7vw, 96px); line-height: 1.03; letter-spacing: -0.023em; }
.display-l { font-weight: 800; font-size: clamp(40px, 5.3vw, 76px); line-height: 1.08; letter-spacing: -0.021em; }
h2 { font-weight: 700; font-size: clamp(34px, 3.9vw, 56px); line-height: 1.1; letter-spacing: -0.018em; }
h3, .h3 { font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; letter-spacing: -0.0125em; }
h4, .h4 { font-weight: 600; font-size: clamp(20px, 1.5vw, 22px); line-height: 1.27; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.lead.strong { color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.57; }
.eyebrow { font: 500 13px/1.25 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.eyebrow b { color: var(--accent); font-weight: 500; }
.eyebrow i { width: 20px; height: 1.5px; background: var(--accent); }
.grad { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons, tags, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.btn.m { height: 44px; padding: 0 20px; gap: 8px; }
.btn.wide { width: 100%; }
.btn .ic { transition: transform .2s; }
.btn:hover .ic { transform: translate(2px, -2px); }
.btn-primary { background: var(--fox); color: var(--ink); }
.btn-primary:hover { background: var(--fox-600); box-shadow: 0 12px 40px rgba(255, 102, 0, .35); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-700); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--paper-100); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-dark { border-color: rgba(255, 255, 255, .32); color: var(--white); }
.btn-outline-dark:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .1); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--paper-100); color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1; }
.dark .tag { background: var(--ink-800); color: var(--white); }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
button.chip:hover { border-color: var(--ink); }
button.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip.static { cursor: default; }
label.chip { padding: 0; border: 0; background: none; position: relative; }
label.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
label.chip span { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); transition: background .2s, color .2s, border-color .2s; }
label.chip:hover span { border-color: var(--ink); }
label.chip input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
label.chip input:focus-visible + span { outline: 2px solid var(--fox); outline-offset: 3px; }
.status { display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--ink-700); background: rgba(255, 255, 255, .04); font-size: 13px; font-weight: 500; color: var(--ink-400); width: max-content; max-width: 100%; }
.status::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.status.light { border-color: var(--line); background: var(--white); color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8.4vw, 120px); position: relative; }
.surface { background: var(--white); }
.dark { background: var(--ink); color: var(--white); --text: var(--white); --muted: var(--ink-400); --line: var(--ink-700); --accent: var(--fox-300); overflow: hidden; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: clamp(40px, 4.5vw, 64px); }
.section-head h2 { margin-top: 20px; max-width: 15em; }
.section-head .aside { display: grid; gap: 24px; justify-items: start; max-width: 410px; color: var(--muted); flex: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Header and mobile menu ---------- */
.site-head { background: var(--paper); color: var(--ink); position: relative; z-index: 5; }
.theme-dark .site-head { position: absolute; left: 0; right: 0; top: 0; background: none; color: var(--white); --muted: var(--ink-400); }
.theme-dark .hero { padding-top: calc(88px + clamp(32px, 4.4vw, 64px)); }
.site-head .wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { height: 34px; width: auto; }
.home-link { display: block; flex: none; }
.nav-links { display: flex; gap: 36px; }
.nav-link { font-weight: 600; font-size: 15px; color: var(--muted); padding: 8px 0; position: relative; transition: color .2s; }
.nav-link:hover, .nav-link[aria-current] { color: var(--text); }
.theme-dark .site-head .nav-link:hover, .theme-dark .site-head .nav-link[aria-current] { color: var(--white); }
.nav-link[aria-current]::before { content: ''; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--fox); }
.head-actions { display: flex; align-items: center; gap: 24px; }
.menu-btn, .menu-close { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; place-items: center; }
.theme-dark .menu-btn { border-color: var(--ink-700); }
.menu { position: fixed; inset: 0; z-index: 60; background: radial-gradient(closest-side, rgba(255, 122, 0, .42), rgba(255, 102, 153, .2) 50%, rgba(255, 102, 153, 0)) left -40px bottom -200px / 560px 480px no-repeat, var(--ink); overscroll-behavior: contain; color: var(--white); padding: 0 var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow-y: auto; }
.menu[hidden] { display: none; }
/* opens as a circle growing out of the menu button; the links follow one after another */
.menu { clip-path: circle(0px at var(--mx, 100%) var(--my, 32px)); transition: clip-path .5s cubic-bezier(.7, 0, .25, 1); }
.menu.is-open { clip-path: circle(150vmax at var(--mx, 100%) var(--my, 32px)); transition-duration: .7s; }
.menu li, .menu-bottom > * { opacity: 0; transform: translateY(26px); transition: opacity .25s, transform .25s; }
.menu.is-open li, .menu.is-open .menu-bottom > * { opacity: 1; transform: none; transition: opacity .55s cubic-bezier(.2, .7, .2, 1), transform .65s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.2s + var(--i, 0) * .07s); }
.menu li:nth-child(2) { --i: 1; } .menu li:nth-child(3) { --i: 2; } .menu li:nth-child(4) { --i: 3; } .menu li:nth-child(5) { --i: 4; }
.menu-bottom > * { --i: 5; } .menu-bottom > :nth-child(2) { --i: 6; }
.menu-close { transition: transform .5s cubic-bezier(.2, .7, .2, 1); transform: rotate(-90deg) scale(.6); } .menu.is-open .menu-close { transform: none; }
.menu-link .ic { transition: transform .3s cubic-bezier(.2, .7, .2, 1); } .menu-link:hover .ic, .menu-link:active .ic { transform: translate(4px, -4px); }
.menu-link:active { color: var(--fox); } .menu-link[aria-current] { color: var(--fox); }
.menu-top { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.menu-top .logo { height: 28px; }
.menu-close { display: grid; background: var(--white); color: var(--ink); border: 0; }
.menu nav { flex: 1; padding-top: 32px; position: relative; }
.menu-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--ink-700); font: 800 40px/1.15 var(--display); letter-spacing: -0.02em; }
.menu-link .ic { color: var(--fox); }
.menu-bottom { display: grid; gap: 20px; position: relative; }
.menu-mail { font: 600 20px var(--display); }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s, color .2s; }
.social a:hover { background: var(--text); color: var(--paper); }
.menu .social a, .site-foot .social a { border-color: var(--ink-700); }
.menu .social a:hover, .site-foot .social a:hover { background: var(--white); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 4.4vw, 64px) 0 clamp(56px, 7.8vw, 112px); position: relative; }
/* Glows are plain gradients (no blur filter), so they stay cheap while the page transition scales and blurs the page. */
.g-hero-a { width: 1300px; height: 1040px; left: 44%; top: -400px; background: radial-gradient(closest-side, rgba(255, 122, 0, .55), rgba(255, 102, 153, .3) 42%, rgba(160, 124, 197, .1) 72%, rgba(160, 124, 197, 0)); }
.g-hero-b { width: 1000px; height: 760px; left: -400px; top: 440px; background: radial-gradient(closest-side, rgba(51, 161, 255, .22), rgba(160, 124, 197, .08) 60%, rgba(160, 124, 197, 0)); }
/* Hero emblem: liquid fox in a turning ring of text, with two orbits. Wide screens only. */
.hero-art { display: none; }
@media (min-width: 1340px) {
  .hero-art { display: block; position: absolute; right: var(--gutter); top: -34px; width: clamp(360px, 29vw, 460px); aspect-ratio: 1; perspective: 900px; pointer-events: none; z-index: 1; }
}
.art-tilt { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.art-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: art-spin 44s linear infinite; }
.art-ring text { font: 500 15.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; fill: rgba(255, 255, 255, .5); }
.art-halo { position: absolute; inset: 17%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 122, 0, .3), rgba(255, 102, 153, .16) 55%, rgba(160, 124, 197, 0)); border: 1px solid rgba(255, 255, 255, .08); animation: art-pulse 6s ease-in-out infinite alternate; }
.art-orbit { position: absolute; inset: 9%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); transform: rotateX(72deg) rotateZ(0deg); animation: art-orbit 9s linear infinite; }
.art-orbit.o2 { inset: 2%; border-color: rgba(255, 154, 87, .22); transform: rotateX(66deg) rotateY(38deg) rotateZ(0deg); animation: art-orbit-2 14s linear infinite reverse; }
.art-orbit i { position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--fox); box-shadow: 0 0 18px 4px rgba(255, 102, 0, .65); }
.art-orbit.o2 i { background: var(--g4); box-shadow: 0 0 18px 4px rgba(51, 161, 255, .6); width: 9px; height: 9px; top: -4.5px; margin-left: -4.5px; }
.art-fox { position: absolute; left: 21%; top: 29%; width: 54%; aspect-ratio: 720 / 534.97; transform: translateZ(60px); animation: art-float 5.5s ease-in-out infinite alternate; filter: drop-shadow(0 24px 40px rgba(255, 102, 0, .35)); }
.art-spark { position: absolute; width: 14px; height: 14px; background: var(--white); -webkit-mask: url(/img/spark.svg) center / contain no-repeat; mask: url(/img/spark.svg) center / contain no-repeat; animation: art-twinkle 3.2s ease-in-out infinite; }
.art-spark.s1 { left: 12%; top: 22%; } .art-spark.s2 { right: 10%; top: 34%; width: 10px; height: 10px; background: var(--fox-300); animation-delay: -1.1s; } .art-spark.s3 { left: 30%; bottom: 12%; width: 9px; height: 9px; animation-delay: -2.2s; }
@keyframes art-spin { to { transform: rotate(360deg); } }
@keyframes art-orbit { to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes art-orbit-2 { to { transform: rotateX(66deg) rotateY(38deg) rotateZ(360deg); } }
@keyframes art-float { from { transform: translateZ(60px) translateY(-9px) rotate(-3deg); } to { transform: translateZ(60px) translateY(9px) rotate(2deg); } }
@keyframes art-pulse { from { transform: scale(.94); opacity: .75; } to { transform: scale(1.06); opacity: 1; } }
@keyframes art-twinkle { 0%, 100% { transform: scale(.4) rotate(0deg); opacity: .2; } 50% { transform: scale(1) rotate(90deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .art-ring, .art-orbit, .art-orbit.o2, .art-fox, .art-halo, .art-spark { animation: none; } }
.hero h1 { margin-top: clamp(20px, 2vw, 28px); max-width: 12.2em; }
.hero h1 .w { display: inline-block; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-top: clamp(32px, 3.9vw, 56px); }
.hero-row .lead { max-width: 560px; }
.hero-actions { display: grid; gap: 28px; justify-items: end; flex: none; }
.proof { display: flex; align-items: center; gap: 14px; }
.avatars { display: flex; }
.avatars i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 500 13px var(--body); color: var(--ink); box-shadow: 0 0 0 2px var(--ink); margin-left: -10px; }
.avatars i:first-child { margin-left: 0; background: var(--g1); }
.avatars i:nth-child(2) { background: var(--g2); } .avatars i:nth-child(3) { background: var(--g3); } .avatars i:nth-child(4) { background: var(--g4); }
.proof p { display: grid; gap: 2px; } .proof b { font-weight: 600; font-size: 15px; line-height: 20px; } .proof span { font-size: 14px; color: var(--muted); }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; border-radius: 24px; background: var(--ink-100); isolation: isolate; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.project .media, .next-card .media { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.reel img { inset: -6% 0; height: 112%; }
.ph-warm { background: linear-gradient(55deg, #FF7A00, #FF6699 60%, #A07CC5); }
.ph-cool { background: linear-gradient(55deg, #A07CC5, #33A1FF 60%, #EAF5FF); }
.ph-sunset { background: linear-gradient(55deg, #FF6699, #FF9A57 50%, #FFE9DA); }
.ph-night { background: linear-gradient(55deg, #1C1C26, #2B2B37 55%, #A07CC5); }
.ph-ice { background: linear-gradient(55deg, #33A1FF, #9CD2FF 50%, #EAF5FF); }
.ph-fox { position: absolute; right: -6%; bottom: -12%; height: 62%; width: auto; max-width: none; color: var(--white); opacity: .28; }
.ph-night .ph-fox { color: var(--fox); opacity: .22; }
.reel { height: clamp(260px, 43vw, 620px); border-radius: clamp(20px, 2.2vw, 32px); margin-top: clamp(32px, 3.9vw, 56px); }
.glass { background: rgba(10, 10, 15, .42); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border-radius: 999px; color: var(--white); }
.play-reel { position: absolute; left: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); display: flex; align-items: center; gap: 14px; padding: 8px 24px 8px 8px; }
.play-reel i { width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; transition: transform .2s; }
.play-reel:hover i { transform: scale(1.06); }
.play-reel b { display: block; font-weight: 600; font-size: 15px; line-height: 20px; } .play-reel small { font-size: 14px; opacity: .72; }
/* Mr. Fox game: the showreel box shows the game's opening screen; a click makes it fill the browser window */
.game-stage { position: absolute; inset: 0; background: transparent; pointer-events: none; }
.game-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .6s; }
.game-box.live .game-stage iframe, .game-stage.playing iframe { opacity: 1; }
.game-stage.playing { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; pointer-events: auto; background: #8ec9ee; overflow: hidden; }
.game-stage::backdrop { background: none; }
/* without the top layer: the dark hero must not clip the open game, and has to sit above the sections after it */
.gaming .hero { overflow: visible; z-index: 300; } .gaming body { overflow-x: clip; }
/* while playing, nothing of the page may sit above or clip the frame */
.gaming .game-box { isolation: auto; overflow: visible; z-index: 300; transform: none; }
.gaming .game-box > :not(.game-stage) { visibility: hidden; }
.game-hit { position: absolute; inset: 0; width: 100%; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--white); display: grid; place-items: end center; }
.game-hit span { margin-bottom: clamp(14px, 2.4vw, 30px); font-weight: 600; font-size: clamp(13px, 1.1vw, 16px); letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(10, 10, 15, .7); animation: game-hint 2.2s ease-in-out infinite; }
.game-hit:focus-visible { outline: 3px solid var(--fox); outline-offset: -6px; }
@keyframes game-hint { 50% { opacity: .45; } }
.game-close { display: none; position: absolute; top: 14px; right: 190px; width: 40px; height: 40px; border-radius: 12px; border: 2px solid rgba(90, 60, 30, .18); background: rgba(255, 247, 230, .93); color: #2b2118; font: 700 17px/1 system-ui, sans-serif; cursor: pointer; box-shadow: 0 6px 22px rgba(30, 20, 10, .28); }
.game-stage.playing .game-close { display: block; } .game-stage.own-close .game-close { display: none; }
.game-close:hover { background: #fff; }
.game-lock, .game-lock body { overflow: hidden; }
@media (max-width: 700px) { .game-close { top: 114px; right: 14px; } }
@media (prefers-reduced-motion: reduce) { .game-hit span { animation: none; } }
.now { position: absolute; right: 28px; top: 28px; width: 268px; padding: 20px; border-radius: 20px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-float); display: grid; gap: 10px; --muted: var(--ink-500); --accent: var(--fox-700); }
.now h3 { font-size: 22px; font-weight: 600; } .now p { font-size: 14px; line-height: 22px; color: var(--ink-500); } .now .tag { background: var(--paper-100); color: var(--ink); }

/* ---------- Clients ---------- */
.clients { padding: clamp(48px, 5vw, 72px) 0 clamp(8px, 1.7vw, 24px); }
.clients p { text-align: center; font-size: 14px; color: var(--muted); }
.logo-wall { margin-top: clamp(24px, 2.2vw, 32px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--lg); --lg: clamp(8px, 1vw, 14px); --cols: 6; }
.logo-wall li { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--lg)) / var(--cols)); height: clamp(84px, 8.4vw, 116px); display: grid; place-items: center; padding: 0 clamp(14px, 1.6vw, 26px); border-radius: clamp(14px, 1.4vw, 20px); background: var(--white); border: 1px solid var(--ink-100);
  font: 700 clamp(14px, 1.3vw, 18px)/1.25 var(--display); color: var(--ink-400); text-align: center; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s, color .35s; }
.logo-wall img { display: block; max-width: 100%; max-height: clamp(30px, 3.2vw, 46px); width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .62; transition: opacity .35s, filter .35s, transform .35s cubic-bezier(.2, .7, .2, 1); }
.logo-wall li:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 14px 34px rgba(10, 10, 15, .1); color: var(--ink); }
.logo-wall li:hover img { opacity: 1; filter: none; transform: scale(1.06); }
.logo-wall:not(.all) .extra { display: none; }
.logo-more { display: flex; align-items: center; gap: 8px; margin: clamp(18px, 2vw, 28px) auto 0; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--ink-200); background: none; font: 600 14px/20px var(--body); color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s; }
.logo-more:hover { background: var(--white); border-color: var(--ink); } .logo-more i { font-style: normal; transition: transform .3s; } .logo-more[aria-expanded="true"] i { transform: rotate(180deg); }
/* the tiles arrive one after another when the wall scrolls into view */
.js .logo-wall.reveal { opacity: 1; transform: none; }
.js .logo-wall.reveal li { opacity: 0; translate: 0 16px; scale: .96; transition: opacity .6s cubic-bezier(.2, .7, .2, 1), translate .6s cubic-bezier(.2, .7, .2, 1), scale .6s cubic-bezier(.2, .7, .2, 1), transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; transition-delay: calc(var(--i, 0) * 45ms), calc(var(--i, 0) * 45ms), calc(var(--i, 0) * 45ms), 0s, 0s, 0s; }
.js .logo-wall.reveal.in li { opacity: 1; translate: none; scale: 1; }
@media (max-width: 1100px) { .logo-wall { --cols: 4; } }
@media (max-width: 700px) { .logo-wall { --cols: 3; } }
@media (max-width: 440px) { .logo-wall { --cols: 2; } }
@media (prefers-reduced-motion: no-preference) {
  .g-hero-a { animation: breathe 14s ease-in-out infinite alternate; } .g-process, .g-tuner, .g-contact { animation: breathe 18s ease-in-out infinite alternate-reverse; }
}
@media (prefers-reduced-motion: reduce) { .js .logo-wall.reveal li { opacity: 1; translate: none; scale: 1; transition: none; } }
@keyframes band { to { transform: translateX(-50%); } }
@keyframes breathe { from { transform: translate(-3%, -2%) scale(1); } to { transform: translate(4%, 3%) scale(1.12); } }




/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service { padding: clamp(24px, 2.8vw, 40px); border-radius: clamp(20px, 2vw, 28px); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: clamp(28px, 2.8vw, 40px); }
.service.dark { background: var(--ink-900); border-color: transparent; }
.service > div { display: grid; gap: 20px; }
.service-top { display: flex; justify-content: space-between; align-items: center; }
.service-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--fox-100); color: var(--fox-700); }
.dark .service-ic { background: var(--fox); color: var(--ink); }
.tools { font-size: 14px; line-height: 22px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- Projects ---------- */
.project a { display: block; }
.project .media { margin-bottom: clamp(16px, 1.4vw, 20px); height: 240px; }
.project h3, .project h4 { margin-top: 6px; }
.project .tags { margin-top: clamp(16px, 1.4vw, 20px); }
.project a:hover img, .project a:focus-visible img { transform: scale(1.04); }
.open { position: absolute; right: 20px; top: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; transition: background .2s, transform .2s; }
.project a:hover .open { background: var(--fox); transform: rotate(45deg); }
.hover-label { position: absolute; left: 20px; bottom: 20px; height: 40px; padding: 0 18px; display: flex; align-items: center; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--white); background: rgba(10, 10, 15, .42); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.project a:hover .hover-label, .project a:focus-visible .hover-label { opacity: 1; transform: none; }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(40px, 3.9vw, 56px) 24px; }
.work-grid .project { grid-column: span 4; }
.work-grid .project:nth-child(1) { grid-column: span 7; } .work-grid .project:nth-child(2) { grid-column: span 5; }
.work-grid.n1 .project { grid-column: span 12; } .work-grid.n3 .project:nth-child(3) { grid-column: span 12; } .work-grid.n4 .project:nth-child(n + 3) { grid-column: span 6; }
.work-grid .project .media { height: 320px; }
.work-grid .project:nth-child(-n + 2) .media { height: 520px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 3.4vw, 48px); }
.work-list { padding-top: 0; }
.masonry { columns: 2; column-gap: 24px; }
.masonry .project { break-inside: avoid; margin-bottom: 56px; }
.masonry .project[hidden] { display: none; }
.masonry .h0 .media { height: 560px; } .masonry .h1 .media { height: 400px; } .masonry .h2 .media { height: 480px; }

/* ---------- Process and stats ---------- */
.g-process { width: 1000px; height: 760px; right: -300px; top: -280px; background: radial-gradient(closest-side, rgba(255, 102, 153, .18), rgba(160, 124, 197, .08) 55%, rgba(160, 124, 197, 0)); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { display: grid; gap: 16px; align-content: start; justify-items: start; padding-top: 18px; border-top: 2px solid var(--line); }
.steps li:first-child { border-image: var(--grad-warm) 1; }
.steps .eyebrow { color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin-top: clamp(48px, 5.6vw, 80px); padding-top: clamp(48px, 5.6vw, 80px); border-top: 1px solid var(--line); }
.stat { display: grid; gap: 6px; align-content: start; }
.stat b, .metric b { font-weight: 800; font-size: clamp(44px, 4.5vw, 64px); line-height: 1.07; letter-spacing: -0.023em; width: max-content; max-width: 100%; }
.stat span, .metric span { color: var(--muted); }

/* ---------- Client tuner ---------- */
.tuner { padding-top: clamp(24px, 2.8vw, 40px); }
.g-tuner { width: 1060px; height: 820px; left: 44%; top: -40px; background: radial-gradient(closest-side, rgba(160, 124, 197, .2), rgba(51, 161, 255, .09) 55%, rgba(51, 161, 255, 0)); }
.tuner-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; min-height: 680px; }
.feedback { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-width: 0; padding-block: 8px; }
.feedback h2 { margin: 20px 0 16px; }
.quote { display: grid; gap: 22px; transition: opacity .25s, transform .35s cubic-bezier(.2, .7, .2, 1); }
.quote.out { opacity: 0; transform: translateY(12px); }
.quote > .ic { color: var(--fox); }
.quote blockquote { font-weight: 600; font-size: clamp(21px, 1.95vw, 28px); line-height: 1.36; letter-spacing: -0.01em; text-wrap: pretty; min-height: 5.4em; }
.who { display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 15px; color: var(--ink); background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3)); flex: none; }
.q-name { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* Returning clients: a gold crown and how many projects they have done with the studio. */
.crown { display: inline-block; width: 1.05em; height: .8em; background: linear-gradient(180deg, #FFD95A, #F5A300); -webkit-mask: url(/img/crown.svg) center / contain no-repeat; mask: url(/img/crown.svg) center / contain no-repeat; flex: none; }
.q-repeat { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #FFD95A; border: 1px solid rgba(255, 201, 60, .4); border-radius: 999px; padding: 5px 9px; }
.q-repeat[hidden] { display: none; }
.q-repeat b { font-weight: 700; }
.nm .crown { margin-right: .4em; vertical-align: -.02em; }
.nm small { margin-left: .4em; font: 700 .58em/1 var(--mono); color: #FFD95A; vertical-align: .25em; } .q-meta { font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sample { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fox-300); border: 1px solid rgba(255, 154, 87, .35); border-radius: 999px; padding: 4px 8px; }
.controls { display: flex; align-items: center; gap: 12px; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; display: grid; place-items: center; flex: none; transition: border-color .2s; }
.round:hover { border-color: var(--ink-400); }
.t-play .i-play, .t-play[aria-pressed="true"] .i-pause { display: none; } .t-play[aria-pressed="true"] .i-play { display: block; }
.counter { white-space: nowrap; font: 500 13px var(--mono); letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 6.5ch; }
.timer { flex: 0 1 140px; height: 2px; background: rgba(255, 255, 255, .15); border-radius: 1px; overflow: hidden; }
.timer i { display: block; height: 100%; background: var(--fox); transform-origin: 0 50%; transform: scaleX(0); }
.dial { position: relative; min-width: 0; height: 680px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.dial.dragging { cursor: grabbing; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); pointer-events: none; }
.wheel { position: absolute; width: 0; height: 0; will-change: transform; }
.wheel.anim { transition: transform .75s cubic-bezier(.22, .8, .24, 1); }
.wheel svg { position: absolute; overflow: visible; pointer-events: none; max-width: none; }
.nm { position: absolute; left: 0; top: 0; transform-origin: 0 0; white-space: nowrap; font: 600 22px/1.2 var(--display); letter-spacing: -0.005em; color: var(--white); padding: 6px 4px; background: none; border: 0; transition: opacity .45s, font-size .35s; }
.nm:hover { text-decoration: underline; text-decoration-color: var(--fox); text-underline-offset: 6px; }
.nm.on { font-size: 32px; font-weight: 700; }
.needle { position: absolute; height: 2px; width: 40px; background: var(--fox); border-radius: 1px; pointer-events: none; }
.needle::before { content: ''; position: absolute; left: -12px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--fox); }
.needle::after { content: ''; position: absolute; left: -60px; top: -40px; width: 140px; height: 80px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 102, 0, .55), transparent); filter: blur(10px); }
.freq { position: absolute; right: 0; height: 1px; background: rgba(255, 255, 255, .07); pointer-events: none; }
.tuned { position: absolute; right: 8px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fox-300); pointer-events: none; }
.fade { display: none; }
/* Phones: the dial becomes a radio scale. Names slide sideways (upright), and the one under the needle is tuned in. */
.tband, .on-narrow { display: none; }
.tband { position: relative; height: 136px; margin-inline: calc(var(--gutter) * -1); -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.names { display: flex; align-items: flex-start; gap: 34px; height: 100%; padding-top: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; position: relative;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .26) 0 1.5px, transparent 1.5px 11px) 0 calc(100% - 18px) / auto 9px repeat-x local, repeating-linear-gradient(90deg, rgba(255, 255, 255, .26) 0 1.5px, transparent 1.5px 44px) 0 calc(100% - 18px) / auto 18px repeat-x local; }
.names::-webkit-scrollbar { display: none; }
.names::before, .names::after { content: ''; flex: 0 0 calc(50vw - 70px); }
.tname { flex: none; scroll-snap-align: center; min-height: 48px; padding: 0 4px; border: 0; background: none; color: var(--white); font: 700 16px/1 var(--display); letter-spacing: -0.01em; white-space: nowrap; cursor: pointer; }
.tname > span { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; transform-origin: 50% 60%; will-change: transform, opacity; }
.tname small { font: 700 11px/1 var(--mono); color: #FFD95A; }
.tneedle { position: absolute; left: 50%; bottom: 10px; width: 2px; height: 40px; margin-left: -1px; border-radius: 1px; background: var(--fox); pointer-events: none; }
.tneedle::before { content: ''; position: absolute; left: -4px; bottom: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--fox); }
.tneedle::after { content: ''; position: absolute; left: -70px; bottom: -40px; width: 142px; height: 90px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 102, 0, .5), transparent); filter: blur(10px); }
.fade.t { top: 0; background: linear-gradient(var(--ink), transparent); } .fade.b { bottom: 0; background: linear-gradient(transparent, var(--ink)); }

/* ---------- CTA band ---------- */
.cta-band { padding-top: clamp(24px, 2.8vw, 40px); }
.cta-card { position: relative; overflow: hidden; border-radius: clamp(28px, 2.8vw, 40px); padding: clamp(36px, 6.1vw, 88px) clamp(28px, 6.1vw, 88px); background: var(--grad); color: var(--ink); display: grid; gap: clamp(24px, 2.2vw, 32px); justify-items: start; --muted: var(--ink); --accent: var(--ink); }
.cta-card .lead { color: rgba(10, 10, 15, .8); max-width: 30em; }
.cta-card h2 { max-width: 11em; position: relative; } .cta-card .eyebrow, .cta-card .lead, .cta-card .btns { position: relative; }
.cta-fox { position: absolute; right: -60px; top: 50%; height: 340px; width: auto; max-width: none; transform: translateY(-40%); color: var(--white); opacity: .18; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: var(--white); padding: clamp(64px, 7.8vw, 112px) 0 clamp(32px, 2.8vw, 40px); --muted: var(--ink-400); --accent: var(--fox-300); --line: var(--ink-700); }
.mega { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 24px); margin-top: clamp(12px, 1.7vw, 24px); font-weight: 800; font-size: clamp(32px, 8.9vw, 128px); line-height: 1.06; letter-spacing: -0.027em; width: max-content; max-width: 100%; }
.mega span { overflow-wrap: anywhere; min-width: 0; }
.mega i { flex: none; width: clamp(44px, 6.7vw, 96px); height: clamp(44px, 6.7vw, 96px); border-radius: 50%; background: var(--fox); color: var(--ink); display: grid; place-items: center; transition: transform .3s; }
.mega i .ic { width: 42%; height: 42%; }
.mega:hover i { transform: rotate(45deg); }
.foot-map { display: flex; justify-content: space-between; gap: 48px; margin-top: clamp(48px, 5vw, 72px); }
.foot-brand { display: grid; gap: 20px; max-width: 360px; align-content: start; } .foot-brand p { color: var(--muted); }
.foot-cols { display: flex; gap: clamp(24px, 4.4vw, 64px); }
.foot-cols > div { min-width: 160px; } .foot-cols h2 { color: var(--accent); margin-bottom: 14px; }
.foot-cols li { margin-bottom: 14px; line-height: 26px; } .foot-cols a:hover, .foot-legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: clamp(48px, 5vw, 72px); padding-top: clamp(24px, 2.2vw, 32px); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.to-top { color: var(--white); }

/* ---------- Inner pages ---------- */
.page-head { padding: clamp(40px, 6.1vw, 88px) 0 clamp(40px, 4.4vw, 64px); }
.page-head .wrap { display: grid; gap: clamp(20px, 2vw, 28px); }
.page-head h1 { max-width: 14em; } .page-head .lead { max-width: 640px; }
.crumb { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
.crumb a { display: inline-flex; align-items: center; gap: 10px; } .crumb a:hover, .crumb span:last-child { color: var(--text); }
.case { padding-top: 0; } .case .wrap { display: grid; gap: clamp(56px, 6.1vw, 88px); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.facts > div { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 8px; align-content: start; }
.case-hero { height: clamp(260px, 47vw, 680px); border-radius: clamp(20px, 2.2vw, 32px); }
.play-big { position: absolute; left: 50%; top: 50%; width: clamp(64px, 7.2vw, 104px); height: clamp(64px, 7.2vw, 104px); margin: calc(clamp(64px, 7.2vw, 104px) / -2) 0 0 calc(clamp(64px, 7.2vw, 104px) / -2); border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; transition: transform .2s; }
.play-big:hover { transform: scale(1.06); }
.story { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 16px 48px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: clamp(20px, 2.2vw, 32px); }
.story > div { display: grid; gap: 20px; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.metric { padding: clamp(24px, 2.2vw, 32px); border-radius: 24px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 8px; }
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.clip { border-radius: 24px; overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; }
.clip:only-child, .clip:nth-child(odd):last-child { grid-column: 1 / -1; }
.clip video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.clip-link { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--white); background: radial-gradient(120% 120% at 20% 0%, rgba(255, 122, 0, .45), rgba(255, 102, 153, .25) 40%, rgba(10, 10, 15, 0) 75%), var(--ink); }
.clip-play { width: 88px; height: 88px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; transition: transform .25s; }
.clip-link:hover .clip-play { transform: scale(1.08); }
.clip-label { font: 600 clamp(18px, 1.5vw, 22px)/1.3 var(--display); text-align: center; padding-inline: 20px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gallery .media { height: clamp(260px, 32vw, 460px); }
.gallery .media:only-child, .gallery .media:nth-child(odd):last-child { grid-column: 1 / -1; }
.built { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; } .built > div { display: grid; gap: 16px; }
.next { padding-top: 0; }
.next-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; border-radius: clamp(28px, 2.8vw, 40px); overflow: hidden; background: var(--ink); color: var(--white); --muted: var(--ink-400); --accent: var(--fox-300); }
.next-card > div:first-child { padding: clamp(28px, 4.4vw, 64px); display: grid; gap: 20px; justify-items: start; }
.next-card .media { border-radius: 0; height: 100%; min-height: clamp(220px, 29vw, 420px); }
.next-card:hover img { transform: scale(1.04); }
.bento-wrap { padding-block: 0 clamp(56px, 6.7vw, 96px); }
.bento { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: 228px 228px; gap: 24px; }
.bento .media { border-radius: 28px; } .bento .b1 { grid-row: span 2; }
.story-sec { padding-top: 0; } .story-sec .story { border-top: 0; padding-top: 0; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.stats.light { border-top-color: var(--line); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.value { padding: clamp(24px, 2.2vw, 32px); border-radius: 24px; background: var(--ink-800); display: grid; gap: 16px; align-content: start; }
.value .service-ic { width: 48px; height: 48px; border-radius: 14px; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.member .media { height: clamp(200px, 25vw, 360px); margin-bottom: 14px; }
.prose { padding-top: 0; } .prose .wrap { display: grid; gap: 20px; } .prose p { max-width: 68ch; font-size: 18px; line-height: 1.7; }

/* ---------- Contact ---------- */
.contact { padding-top: clamp(40px, 6.1vw, 88px); overflow: hidden; }
.g-contact { width: 1000px; height: 780px; left: -350px; top: 250px; background: radial-gradient(closest-side, rgba(255, 154, 87, .3), rgba(255, 102, 153, .13) 55%, rgba(255, 102, 153, 0)); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.contact-intro { display: grid; gap: clamp(20px, 2vw, 28px); justify-items: start; }
.methods { display: grid; gap: 20px; padding-top: 8px; }
.methods li, .attach { display: flex; align-items: center; gap: 16px; }
.m-ic { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; }
.methods small { display: block; font-size: 14px; color: var(--muted); line-height: 22px; } .methods b, .methods a { font-weight: 600; font-size: 15px; } .methods a:hover { text-decoration: underline; text-underline-offset: 4px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: clamp(20px, 2vw, 28px); padding: clamp(20px, 2.8vw, 40px); box-shadow: var(--shadow-float); }
.project-form { display: grid; gap: 28px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; }
.field label, legend, .attach label { font-weight: 600; font-size: 15px; line-height: 20px; }
.field label span, .attach label span { font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 6px; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; line-height: 1.6; }
.field input:hover, .field textarea:hover { border-color: var(--ink-400); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--fox); box-shadow: 0 0 0 4px rgba(255, 102, 0, .16); }
.field [aria-invalid="true"] { border-color: var(--red); }
::placeholder { color: var(--ink-400); }
legend { margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.attach { padding: 16px; border: 1px dashed var(--ink-400); border-radius: 14px; }
.attach .m-ic { border-radius: 10px; width: 40px; height: 40px; background: var(--paper-100); border: 0; }
.attach > span:last-child { display: grid; gap: 2px; min-width: 0; } .attach small { font-size: 14px; color: var(--muted); } .attach input { margin-top: 8px; font-size: 14px; max-width: 100%; }
/* "Take the shot" upload: a hoop in the drop zone, the file flies in along an arc. */
.hoop-field { display: grid; gap: 8px; }
.hoop-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hoop-head label { font-weight: 600; font-size: 15px; line-height: 20px; } .hoop-head label span { font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 6px; }
.hoop-count { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; }
.hoop-sub { font-size: 14px; line-height: 22px; color: var(--muted); }
.hoop { margin-top: 6px; }
.hoop input[type="file"] { font-size: 14px; max-width: 100%; }
.hoop-zone { display: none; }
.hoop-field.ready .hoop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.hoop-field.ready .hoop-zone { display: grid; justify-items: center; gap: 2px; padding: 22px 16px 0; border: 1.5px dashed var(--ink-400); border-radius: 18px; background: var(--paper); cursor: pointer; overflow: hidden; transition: border-color .2s, background .25s; }
.hoop-zone:hover, .hoop-zone.aim { border-color: var(--fox); background: #FFF6EF; }
.hoop input:focus-visible + .hoop-zone { outline: 2px solid var(--fox); outline-offset: 3px; }
.hoop-field.ready .hoop-zone.score { border-color: var(--fox); background: var(--fox-100); }
.hoop-text { display: grid; justify-items: center; gap: 4px; text-align: center; } .hoop-text b { font-weight: 600; font-size: 16px; } .hoop-text small { font-size: 13px; color: var(--muted); }
.hoop-art { width: 170px; height: auto; margin-top: 10px; margin-bottom: -6px; overflow: visible; }
.hoop-art .board { stroke: var(--fox); stroke-width: 2.5; fill: var(--white); }
.hoop-art .rim { stroke: var(--fox); stroke-width: 4.5; fill: none; }
.hoop-art .net { stroke: var(--ink-400); stroke-width: 1.4; transform-box: fill-box; transform-origin: 50% 0; }
.hoop-zone.aim .rim { stroke-width: 6; } .hoop-zone.aim .hoop-art { animation: hoop-ready .7s ease-in-out infinite alternate; }
.hoop-zone.score .net { animation: swish .7s cubic-bezier(.3, 1.6, .5, 1); }
.hoop-zone.score .rim { animation: rim-hit .45s ease-out; transform-box: fill-box; transform-origin: center; }
@keyframes swish { 0% { transform: scale(1, 1); } 30% { transform: scale(.86, 1.28); } 60% { transform: scale(1.06, .92); } 100% { transform: scale(1, 1); } }
@keyframes rim-hit { 0% { transform: translateY(0); } 35% { transform: translateY(3px); } 100% { transform: translateY(0); } }
@keyframes hoop-ready { to { transform: translateY(-4px); } }
.hoop-field.full .hoop-zone { opacity: .55; }
.hoop-ball { position: fixed; left: 0; top: 0; z-index: 90; width: 44px; height: 56px; border-radius: 7px 16px 7px 7px; background: var(--white); border: 1.5px solid var(--ink-200); box-shadow: 0 10px 26px rgba(10, 10, 15, .18); display: grid; place-items: end center; padding-bottom: 8px; font: 700 10px/1 var(--mono); letter-spacing: .04em; color: var(--white); pointer-events: none; will-change: transform; isolation: isolate; }
.hoop-ball::before { content: ''; position: absolute; left: 6px; right: 6px; bottom: 5px; height: 16px; border-radius: 4px; background: var(--fox); z-index: -1; }
.hoop-ball.drop { transition: translate .33s cubic-bezier(.5, 0, .9, .5), opacity .33s; translate: 0 44px; opacity: 0; }
.hoop-dot { position: fixed; z-index: 89; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--fox); pointer-events: none; animation: dot-fade .65s ease-out forwards; }
@keyframes dot-fade { to { opacity: 0; transform: scale(.3); } }
.hoop-msg { font-size: 14px; color: #8F1515; }
.hoop-files { display: grid; gap: 10px; } .hoop-files:empty { display: none; }
.hoop-file { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 8px 24px rgba(10, 10, 15, .06); animation: file-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes file-in { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
.hoop-ext { width: 44px; height: 44px; border-radius: 10px; background: var(--fox-100); color: var(--fox-700); display: grid; place-items: center; font: 700 11px/1 var(--mono); }
.hoop-name { display: grid; gap: 2px; min-width: 0; } .hoop-name b { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hoop-name small { font-size: 13px; color: var(--muted); }
.hoop-bar { position: absolute; left: 16px; right: 16px; bottom: 8px; height: 3px; border-radius: 2px; background: var(--ink-100); overflow: hidden; opacity: 0; transition: opacity .2s; }
.hoop-bar i { display: block; height: 100%; background: var(--fox); transform-origin: 0 50%; transform: scaleX(0); transition: transform .2s linear; }
.hoop-file.busy .hoop-bar, .hoop-file.done .hoop-bar { opacity: 1; } .hoop-file.done .hoop-bar i { background: var(--green); } .hoop-file.done .hoop-name small { color: var(--green); }
.hoop-file.busy .hoop-remove, .hoop-file.done .hoop-remove { visibility: hidden; }
.hoop-remove { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 20px; line-height: 1; color: var(--muted); }
.hoop-remove:hover { border-color: var(--ink); color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 14px; line-height: 22px; color: var(--muted); text-align: center; } .fine a { text-decoration: underline; text-underline-offset: 3px; }
.form-errors { padding: 14px 16px; border-radius: 12px; background: #FDECEC; color: #8F1515; font-size: 15px; }
.form-errors ul { list-style: disc; padding-left: 20px; margin-top: 6px; }
.sent { display: grid; gap: 16px; justify-items: start; padding: clamp(8px, 2vw, 24px) 0; }
.sent-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 48px; }
.faq-grid h2 { margin-top: 20px; }
.faq details { border-top: 1px solid var(--line); padding: 24px 0; } .faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; font: 600 clamp(20px, 1.5vw, 22px)/1.27 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .25s, background .2s, color .2s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--ink); color: var(--white); border-color: var(--ink); }
.faq details p { margin-top: 14px; max-width: 60ch; }

/* ---------- Video player ---------- */
.player { border: 0; padding: 0; background: none; width: min(1100px, 92vw); max-width: none; overflow: visible; }
.player::backdrop { background: rgba(10, 10, 15, .86); }
.player-frame { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-close { position: absolute; right: 0; top: -56px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); display: grid; place-items: center; }

/* ---------- Opening screen ---------- */
.intro { display: none; position: fixed; inset: 0; z-index: 50; pointer-events: none; overflow: hidden; color: var(--white); --fw: min(9vw, 120px); --fy: 33%; }
.intro-pending .intro { display: block; }
.intro .curtain { position: absolute; inset: 0; background: var(--ink); }
/* .fox carries the scale and the motion blur; .fox-shape inside it is the fox-shaped window onto the liquid. */
.intro .fox { position: absolute; width: var(--fw); aspect-ratio: 720 / 534.97; left: calc(50% - var(--fw) * .6); top: calc(var(--fy) - var(--fw) * .7431 * .58); transform-origin: 60% 58%; will-change: transform, opacity, filter; }
.fox-cut { position: absolute; inset: 0; }
.fox-def { position: absolute; }
/* Vector mode (set by the script): .fox covers the screen and carries opacity and motion blur, .fox-cut is clipped
   by the logo path at its true size, and .fox-shape (the liquid) is what scales underneath. */
.intro.vector .fox { inset: 0; width: auto; aspect-ratio: auto; left: 0; top: 0; transform: none; will-change: opacity, filter; }
.intro.vector .fox-cut { clip-path: url(#intro-fox); }
.intro.vector .fox-shape { inset: auto; width: var(--fw); aspect-ratio: 720 / 534.97; left: calc(50% - var(--fw) * .6); top: calc(var(--fy) - var(--fw) * .7431 * .58); transform-origin: 60% 58%; will-change: transform; -webkit-mask: none; mask: none; }
.fox-shape { position: absolute; inset: 0;
  -webkit-mask: url(/img/fox.svg) center / contain no-repeat; mask: url(/img/fox.svg) center / contain no-repeat;
  background: linear-gradient(115deg, var(--g1), var(--g2) 30%, var(--g3) 52%, var(--g4) 74%, var(--g5)); background-size: 220% 220%; animation: drift 9s ease-in-out infinite alternate; }
.fox-shape canvas { width: 100%; height: 100%; display: block; }
@keyframes drift { to { background-position: 100% 100%; } }
.intro-copy { position: absolute; left: 0; right: 0; top: calc(var(--fy) + var(--fw) * .5 + clamp(20px, 4vh, 44px)); padding-inline: var(--gutter); text-align: center; display: grid; gap: clamp(14px, 2.2vh, 24px); justify-items: center; }
.intro-title { font: 800 clamp(44px, 8.6vw, 132px)/.98 var(--display); letter-spacing: -0.035em; text-wrap: balance; max-width: 11em; }
.intro-title span { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(4deg); animation: word-in .9s cubic-bezier(.2, .8, .2, 1) forwards; }
.intro.replay .intro-title span { animation: none; opacity: 1; transform: none; }
@keyframes word-in { to { opacity: 1; transform: none; } }
.intro-text { font-size: clamp(16px, 1.5vw, 22px); line-height: 1.5; color: var(--ink-400); max-width: 34em; }
.intro-corner { position: absolute; top: clamp(20px, 3.4vh, 36px); font: 500 12px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--white); display: grid; gap: 2px; }
.intro-corner b { font-weight: 500; color: var(--ink-400); }
.intro-corner.tl { left: var(--gutter); } .intro-corner.tr { right: var(--gutter); text-align: right; }
/* Huge outlined words running behind everything. */
.intro-band { position: absolute; left: 0; right: 0; bottom: clamp(88px, 15vh, 150px); overflow: hidden; }
.intro-band > div { display: flex; align-items: center; width: max-content; gap: clamp(20px, 3vw, 48px); font: 800 clamp(64px, 13vw, 200px)/1 var(--display); letter-spacing: -0.03em; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 2.5px rgba(255, 255, 255, .24); paint-order: stroke fill; animation: band 40s linear infinite; }
.intro-band i { font-style: normal; font-size: .3em; color: var(--fox); -webkit-text-stroke: 0; }
.cue.loading .mouse { opacity: .4; } .cue.loading .mouse::after { animation-duration: .7s; } .cue-text { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cue { position: absolute; left: 50%; bottom: clamp(20px, 3.6vh, 36px); margin-left: -60px; width: 120px; display: grid; justify-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--ink-400); }
.mouse { width: 24px; height: 38px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 12px; display: grid; justify-items: center; padding-top: 7px; }
.mouse::after { content: ''; width: 2px; height: 7px; border-radius: 1px; background: #fff; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }
.intro-pending .hero h1 .w { opacity: 0; transform: translateY(24px); }
.words-in .hero h1 .w { opacity: 1; transform: none; transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .7s; }

/* ---------- Tablet and phone ---------- */
@media (min-width: 901px) { .d-only { display: inline; } }
@media (max-width: 1100px) {
  .head-actions .mail { display: none; }
  .steps, .values, .team, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-map { flex-direction: column; }
}
@media (max-width: 900px) {
  .site-head .wrap { height: 64px; } .logo { height: 28px; }
  .theme-dark .hero { padding-top: calc(64px + 32px); }
  .site-head nav, .head-actions .btn { display: none; }
  .menu-btn { display: grid; }
  .section-head, .hero-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-actions { justify-items: start; width: 100%; } .hero-actions .btns, .cta-card .btns { width: 100%; } .hero-actions .btn, .cta-card .btn, .menu-bottom .btn { flex: 1 1 100%; }
  .now { display: none; } .play-reel { padding-right: 18px; } .play-reel i { width: 44px; height: 44px; }

  .service-grid, .videos, .gallery, .next-card, .story, .story-sec .story, .contact-grid, .faq-grid, .two, .tuner-grid { grid-template-columns: minmax(0, 1fr); }
  .work-grid { grid-template-columns: minmax(0, 1fr); } .work-grid .project, .work-grid .project:nth-child(n) { grid-column: auto; }
  .work-grid .project .media, .work-grid .project:nth-child(-n + 2) .media, .masonry .project .media, .project .media { height: 240px; }
  .masonry { columns: 1; } .masonry .project { margin-bottom: 40px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; } .filters .chip { flex: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .bento { grid-template-rows: 240px 140px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .bento .b1 { grid-row: auto; grid-column: span 2; } .bento .media { border-radius: 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; } .values { grid-template-columns: minmax(0, 1fr); gap: 16px; } .team, .stats { gap: 24px 16px; }
  .foot-cols { flex-wrap: wrap; } .foot-cols > div { min-width: calc(50% - 12px); }
  .cta-fox { height: 220px; right: -70px; top: auto; bottom: -30px; transform: none; }
  .tuner-grid { min-height: 0; } .dial, .on-wide { display: none; } .tband { display: block; } .on-narrow { display: inline; }
  .feedback { gap: 22px; } .feedback .controls { order: 2; } .feedback .timer { flex: 1 1 60px; }
  .quote { order: 3; gap: 16px; touch-action: pan-y; } .quote > .ic { width: 28px; height: 28px; } .quote blockquote { font-size: 20px; min-height: 8.2em; }
  .intro { --fw: min(22vw, 92px); --fy: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .fox-shape, .mouse::after, .intro-band > div { animation: none; }
  .menu, .menu li, .menu-bottom > *, .menu-close { transition: none; }
  .wheel.anim { transition-duration: .01s; }
  .media img, .btn, .btn .ic, .open, .mega i { transition: none; }
}
