/* =============================================================
   Martin Riopel — Audio Artist
   Cinematic dark-editorial visual system
   ============================================================= */

:root {
  /* Surfaces */
  --carbon: #07070a;
  --surface: #0d0d10;
  --surface-2: #14141a;
  --surface-3: #1c1c22;

  /* Ink */
  --ink: #f4f1ea;
  --ink-dim: #c4c0b6;
  --muted: #898279;
  --muted-dim: #5d5852;

  /* Accent — brushed copper (analog audio gear inspiration: Neve, API, vintage faders) */
  --accent: #c79460;
  --accent-bright: #d8a878;
  --accent-deep: #8a6740;
  --accent-glow: rgba(199, 148, 96, 0.28);

  /* Lines */
  --line: rgba(244, 241, 234, 0.09);
  --line-strong: rgba(244, 241, 234, 0.18);

  /* Layout */
  --max: 1240px;
  --pad: clamp(20px, 4vw, 64px);
  --section-y: clamp(28px, 4vw, 56px);

  /* Type — Inter for everything (display + body), Plex Mono for labels */
  --serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-emphasized: cubic-bezier(0.2, 0.7, 0, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: clamp(72px, 9vh, 100px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--carbon);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01" on, "cv11" on;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(199, 148, 96, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 30%, rgba(244, 241, 234, 0.03), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(15, 22, 30, 0.6), transparent 60%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; height: auto; display: block; }

/* Selection */
::selection { background: var(--accent); color: var(--carbon); }

/* =============================================================
   Header / Navigation
   ============================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad);
  border-bottom: 1px solid transparent;
  background: rgba(7, 7, 10, 0.55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: background 240ms var(--ease-out), border-color 240ms var(--ease-out), padding 240ms var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(7, 7, 10, 0.86);
  border-bottom-color: var(--line);
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  z-index: 2;
}

.brand img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(1.15) drop-shadow(0 0 14px var(--accent-glow));
}

.brand span:first-of-type { color: var(--ink); }
.brand-role { color: var(--muted); }

.brand-role::before {
  content: "/";
  margin-right: 10px;
  color: var(--muted-dim);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 26px);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
}

.nav a {
  position: relative;
  padding: 6px 0;
  transition: color 180ms var(--ease-out);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms var(--ease-out);
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.nav a[aria-current="page"] {
  color: var(--ink);
}
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-logo {
  --logo-accent: var(--accent);
  --logo-glow: var(--accent-glow);
  display: inline-flex;
  align-items: center;
  gap: 0.72em;
  isolation: isolate;
}

.nav-logo::before {
  content: "";
  flex: 0 0 auto;
  width: 1.55em;
  height: 1.05em;
  transform-origin: center;
  opacity: 0.86;
  filter: drop-shadow(0 0 10px var(--logo-glow));
  background:
    linear-gradient(var(--logo-accent), var(--logo-accent)) 0% 50% / 10% 46% no-repeat,
    linear-gradient(var(--logo-accent), var(--logo-accent)) 22% 50% / 10% 74% no-repeat,
    linear-gradient(var(--logo-accent), var(--logo-accent)) 44% 50% / 10% 32% no-repeat,
    linear-gradient(var(--logo-accent), var(--logo-accent)) 66% 50% / 10% 94% no-repeat,
    linear-gradient(var(--logo-accent), var(--logo-accent)) 88% 50% / 10% 58% no-repeat;
  animation: logoBars 1.8s ease-in-out infinite;
}

.nav-logo span {
  background: linear-gradient(90deg, var(--ink-dim), var(--ink), var(--accent-bright), var(--ink-dim));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--ink-dim);
  -webkit-text-fill-color: transparent;
  animation: logoTextSweep 5.8s linear infinite;
}

.nav-logo-reel::before {
  animation-delay: -0.2s;
  animation-duration: 1.95s;
}

.nav-logo-reel span {
  animation-delay: -1.3s;
}

.nav-logo-music::before {
  animation-delay: -0.45s;
  animation-duration: 2.15s;
}

.nav-logo-music span {
  animation-delay: -2.4s;
}

/* Header CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink) !important;
  background: rgba(243, 236, 222, 0.04);
  transition: background 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--carbon) !important;
  transform: translateY(-1px);
}

.nav-cta .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.nav-cta:hover .dot { background: var(--carbon); box-shadow: none; }

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(243, 236, 222, 0.03);
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--ink-dim);
}

.language-switch a::after { display: none; }

.language-switch a[aria-current="page"] {
  color: var(--carbon);
  background: var(--accent);
}

.language-choice {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.language-choice a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-dim);
  background: rgba(243, 236, 222, 0.025);
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.language-choice a:hover {
  color: var(--ink);
  border-color: rgba(243, 236, 222, 0.32);
  background: rgba(243, 236, 222, 0.06);
}

.language-choice a[aria-current="page"] {
  color: var(--carbon);
  border-color: var(--accent);
  background: var(--accent);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  position: relative;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  z-index: 80;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 220ms var(--ease-out), opacity 180ms;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 220ms var(--ease-out);
}
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: translateY(5px) rotate(45deg); }
body.menu-open .menu-toggle span::after  { transform: translateY(-5px) rotate(-45deg); }

/* =============================================================
   Hero — cinematic
   ============================================================= */

.hero {
  position: relative;
  min-height: clamp(380px, 58vh, 590px);
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(220px, 300px);
  gap: clamp(24px, 4vw, 56px);
  justify-content: center;
  align-items: center;
  padding: clamp(34px, 5vw, 70px) var(--pad) clamp(42px, 6vw, 76px);
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  max-width: 100%;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
  background: rgba(243, 236, 222, 0.03);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.audio-logo {
  --logo-accent: var(--accent);
  --logo-glow: var(--accent-glow);
  position: relative;
  overflow: hidden;
  border-color: rgba(199, 148, 96, 0.34);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(199, 148, 96, 0.12), rgba(243, 236, 222, 0.035)),
    rgba(243, 236, 222, 0.03);
  box-shadow: 0 0 0 1px rgba(199, 148, 96, 0.03), 0 0 28px rgba(199, 148, 96, 0.08);
}

.audio-logo::before {
  width: 24px;
  height: 14px;
  border-radius: 0;
  background:
    linear-gradient(var(--logo-accent), var(--logo-accent)) 0% 50% / 9% 42% no-repeat,
    linear-gradient(var(--logo-accent), var(--logo-accent)) 20% 50% / 9% 72% no-repeat,
    linear-gradient(var(--logo-accent), var(--logo-accent)) 40% 50% / 9% 34% no-repeat,
    linear-gradient(var(--logo-accent), var(--logo-accent)) 60% 50% / 9% 92% no-repeat,
    linear-gradient(var(--logo-accent), var(--logo-accent)) 80% 50% / 9% 54% no-repeat,
    linear-gradient(var(--logo-accent), var(--logo-accent)) 100% 50% / 9% 68% no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 0 10px var(--logo-glow));
  transform-origin: center;
  animation: logoBars 1.85s ease-in-out infinite;
}

.audio-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0 35%, rgba(244, 241, 234, 0.18) 50%, transparent 65% 100%);
  transform: translateX(-130%);
  animation: logoLightPass 4.8s ease-in-out infinite;
}

.audio-logo-music::before {
  animation-delay: -0.5s;
  animation-duration: 2.1s;
}

.audio-logo-music::after {
  animation-delay: -1.7s;
}

@keyframes logoBars {
  0%, 100% {
    opacity: 0.72;
    transform: scaleY(0.78);
  }
  45% {
    opacity: 1;
    transform: scaleY(1.14);
  }
  68% {
    opacity: 0.9;
    transform: scaleY(0.94);
  }
}

@keyframes logoTextSweep {
  0% { background-position: 180% 50%; }
  100% { background-position: -40% 50%; }
}

@keyframes logoLightPass {
  0%, 42% { transform: translateX(-130%); opacity: 0; }
  52% { opacity: 1; }
  68%, 100% { transform: translateX(130%); opacity: 0; }
}

#hero-title,
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.028em;
  margin: 0 0 16px;
  color: var(--ink);
  font-feature-settings: "ss01", "ss02";
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  font-weight: inherit;
  color: inherit;
}

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 540px;
  margin: 0 0 36px;
  text-wrap: pretty;
}

.hero .eyebrow { margin-bottom: 18px; }
.hero .lede {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero .button {
  padding: 14px 20px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), background 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out);
  white-space: nowrap;
}

.button.primary {
  background: var(--accent);
  color: var(--carbon);
  box-shadow: 0 18px 40px -16px var(--accent-glow), inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}
.button.primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
}

.button.ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(243, 236, 222, 0.02);
}
.button.ghost:hover {
  background: rgba(243, 236, 222, 0.06);
  border-color: rgba(243, 236, 222, 0.32);
  transform: translateY(-2px);
}

.button .arrow {
  display: inline-block;
  transition: transform 200ms var(--ease-out);
}
.button:hover .arrow { transform: translateX(3px); }

/* Hero meta strip */
.hero-meta {
  display: grid;
  grid-template-columns: 0.75fr 0.9fr 1.7fr;
  gap: 12px clamp(14px, 2vw, 24px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 10px;
  max-width: 640px;
}
.hero-meta strong {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 6px;
  overflow-wrap: anywhere;
}

/* Hero visual — animated audio bars + concentric rings */
.hero-mark {
  position: relative;
  align-self: start;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 350px;
  margin-top: clamp(8px, 2vw, 24px);
}

.hero-mark img {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: clamp(56px, 8vw, 96px);
  height: auto;
  filter: drop-shadow(0 0 26px var(--accent-glow)) brightness(1.15);
  z-index: 4;
  animation: pulse-mark 4.4s ease-in-out infinite;
}

@keyframes pulse-mark {
  0%, 100% { opacity: 0.95; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.03); }
}

/* Concentric rings removed — bars stand alone without container outline. */

/* Logo waveform — 11 bars matching the brand mark exactly. Each bar's idle
   height matches the logo; the animation breathes around that base height. */
.hero-bars {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: clamp(230px, 26vw, 340px);
  height: clamp(230px, 26vw, 340px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1vw, 14px);
  z-index: 3;
  pointer-events: none;
}
.hero-bars i {
  display: block;
  width: clamp(10px, 1.4vw, 20px);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-dim) 55%, var(--muted) 100%);
  border-radius: 2px;
  opacity: 0.95;
  transform-origin: center;
  animation: bar-pulse 2.2s var(--ease-out) infinite;
}

/* Subtle tonal variation across the wave — brushed aluminium feel */
.hero-bars i:nth-child(4),
.hero-bars i:nth-child(8),
.hero-bars i:nth-child(9) {
  background: linear-gradient(180deg, #ffffff 0%, var(--ink) 40%, var(--ink-dim) 100%);
}
.hero-bars i:nth-child(2),
.hero-bars i:nth-child(7),
.hero-bars i:nth-child(11) {
  background: linear-gradient(180deg, var(--ink-dim) 0%, var(--muted) 60%, var(--muted-dim) 100%);
}

/* Heights from waveform-icon.png — measured directly from the brand mark. */
.hero-bars i:nth-child(1)  { height: 56%; animation-delay: 0.00s; }
.hero-bars i:nth-child(2)  { height: 32%; animation-delay: 0.08s; }
.hero-bars i:nth-child(3)  { height: 46%; animation-delay: 0.16s; }
.hero-bars i:nth-child(4)  { height: 70%; animation-delay: 0.24s; }
.hero-bars i:nth-child(5)  { height: 18%; animation-delay: 0.32s; }
.hero-bars i:nth-child(6)  { height: 42%; animation-delay: 0.40s; }
.hero-bars i:nth-child(7)  { height: 12%; animation-delay: 0.48s; }
.hero-bars i:nth-child(8)  { height: 92%; animation-delay: 0.56s; }
.hero-bars i:nth-child(9)  { height: 50%; animation-delay: 0.64s; }
.hero-bars i:nth-child(10) { height: 36%; animation-delay: 0.72s; }
.hero-bars i:nth-child(11) { height: 24%; animation-delay: 0.80s; }

@keyframes bar-pulse {
  0%, 100% { transform: scaleY(0.92); opacity: 0.78; }
  50%      { transform: scaleY(1.06); opacity: 1; }
}

/* Floating side label */
.hero-side-label {
  position: absolute;
  top: 50%;
  right: var(--pad);
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted-dim);
  z-index: 3;
  white-space: nowrap;
  pointer-events: none;
}

/* =============================================================
   Section primitives
   ============================================================= */

.section {
  padding: var(--section-y) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 880px;
  margin-bottom: clamp(24px, 3.2vw, 44px);
}

.section-heading h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.section-heading h2 em {
  font-style: normal;
  font-weight: inherit;
  color: inherit;
}

/* Kill italic across the whole site — applies to any <em>, <i>, or .testimonial p */
em, i, cite, blockquote { font-style: normal; }

/* =============================================================
   Centered text blocks (global)
   ============================================================= */

.section-heading,
.about-copy,
.about,
.contact > div,
.newsletter-copy,
.game-portal-copy {
  text-align: center;
}

/* All hero copies (home, services, music licensing, game audio) share the same
   left-aligned format: eyebrow chip + h1 + lede + button row + optional meta. */
.hero-copy,
.services-hero-copy,
.game-hero-copy { text-align: left; }

.hero-copy .hero-actions,
.services-hero-copy .hero-actions,
.game-hero-copy .hero-actions { justify-content: flex-start; }

.hero-copy .hero-meta,
.services-hero-copy .hero-meta,
.game-hero-copy .hero-meta { justify-content: flex-start; margin-left: 0; margin-right: auto; }

.hero-copy .eyebrow,
.services-hero-copy .eyebrow,
.game-hero-copy .eyebrow { margin-left: 0; margin-right: 0; }

.section-heading,
.about-copy,
.newsletter-copy,
.game-portal-copy {
  margin-left: auto;
  margin-right: auto;
}

/* Center the eyebrow chip (it's inline-flex, so text-align centers its line) */
.section-heading .eyebrow,
.about-copy .eyebrow,
.about .eyebrow,
.contact .eyebrow,
.newsletter-copy .eyebrow,
.game-portal-copy .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

/* Center button rows on the centered sections */
.hero-actions {
  justify-content: center;
}

/* Center the hero meta strip */
.hero-meta {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

/* Center the proof-strip cards' content */
.proof-strip article {
  align-items: center;
  text-align: center;
}
.proof-strip article::before { left: 20%; right: 20%; }

/* Testimonials: center the quote content */
.testimonial { text-align: center; align-content: center; }
.testimonial::before { left: 50%; transform: translateX(-50%); }

/* Center about-quick list rows */
.about-quick li {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

/* Center contact section's heading column */
.contact { text-align: center; align-items: center; grid-template-columns: 1fr; justify-items: center; }
.contact .button { justify-self: center; }

/* Center newsletter form wrapper */
.newsletter { text-align: center; }
.newsletter-form { justify-items: center; max-width: 480px; margin-inline: auto; }
.newsletter-form button { justify-self: center; }

/* Game portal layout to single column / centered when needed */
.game-portal-copy .button { margin-inline: auto; }

.section.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) 1.5fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 92px;
}

/* =============================================================
   Clients marquee
   ============================================================= */

.clients {
  --client-gap: clamp(40px, 5vw, 72px);
  position: relative;
  padding: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 44px);
  background: linear-gradient(180deg, transparent, rgba(243, 236, 222, 0.015), transparent);
  overflow: hidden;
}

.clients::before,
.clients::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(52px, 9vw, 140px);
  z-index: 2;
  pointer-events: none;
}

.clients::before {
  left: 0;
  background: linear-gradient(90deg, var(--carbon), rgba(7, 7, 10, 0));
}

.clients::after {
  right: 0;
  background: linear-gradient(270deg, var(--carbon), rgba(7, 7, 10, 0));
}

.clients > p {
  position: relative;
  z-index: 3;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin: 0 0 18px;
}

.client-track {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0;
  align-items: center;
  width: max-content;
  animation: marquee 50s linear infinite;
  will-change: transform;
}

.client-logos {
  display: flex;
  gap: var(--client-gap);
  align-items: center;
  flex: 0 0 auto;
  min-width: max-content;
  padding-right: var(--client-gap);
}

/* Uniform optical height; width follows each logo's natural aspect ratio.
   invert + grayscale flips dark ink to light while preserving letterform detail,
   and lighten blend mode hides any inverted-white-bg blocks against the dark BG. */
.client-logos img {
  height: clamp(44px, 5vw, 60px);
  max-width: clamp(150px, 18vw, 220px);
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  filter: invert(1) grayscale(1) brightness(1.3) contrast(1.05);
  mix-blend-mode: lighten;
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
  flex-shrink: 0;
}
.client-logos img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Wix CDN logos — bumped 40%
   because their source PNGs include more whitespace around the actual mark. */
.client-logos img.client-cdn {
  height: clamp(70px, 8vw, 96px);
  max-width: clamp(220px, 24vw, 300px);
}

.client-logos img.logo-rogers {
  height: clamp(88px, 10vw, 120px);
  max-width: clamp(275px, 30vw, 375px);
}

.client-logos img.logo-hasbro {
  height: clamp(56px, 6.5vw, 78px);
  max-width: clamp(180px, 22vw, 260px);
  filter: invert(1) grayscale(1) brightness(1.65) contrast(1.1);
}

.client-logos img.logo-ikea {
  height: clamp(88px, 10vw, 122px);
  max-width: clamp(280px, 30vw, 380px);
  filter: invert(1) grayscale(1) brightness(1.65) contrast(1.1);
}

.client-logos img[src*="food-network"] {
  filter: invert(1) grayscale(1) brightness(1.65) contrast(1.1);
}

.client-logos img.logo-hgtv {
  height: clamp(52px, 6vw, 74px);
  max-width: clamp(190px, 22vw, 260px);
}

.client-logos img.logo-invert {
  filter: grayscale(1) brightness(1.2) contrast(1.05);
}
.client-logos img.logo-invert:hover {
  filter: grayscale(1) brightness(1.3) contrast(1.05);
}

.client-logos img[src*="CurlyBlue"] {
  height: clamp(44px, 5vw, 60px);
}

.client-logos img[src*="ben-jerry"] {
  transform: translateY(-4px);
}
.client-logos img[src*="ben-jerry"]:hover {
  transform: translateY(-6px);
}

.client-logos img[src*="tubi"] {
  height: clamp(28px, 3.4vw, 40px);
  max-width: clamp(130px, 15vw, 190px);
}

/* YouTube source PNG has transparent padding; keep a modest bump so the visible mark matches the others. */
.client-logos img.logo-youtube {
  height: clamp(46px, 5.2vw, 64px);
  max-width: clamp(150px, 18vw, 230px);
}

.client-logos img.logo-meta {
  height: clamp(28px, 3.3vw, 38px);
  max-width: clamp(140px, 16vw, 210px);
}

/* CSS-rendered wordmarks — monochrome client logos */
.client-word {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: clamp(44px, 5vw, 64px);
  padding-inline: clamp(6px, 0.6vw, 12px);
  color: var(--ink);
  opacity: 0.78;
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-size: clamp(20px, 2.4vw, 30px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), color 220ms;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}
.client-word:hover {
  opacity: 1;
  color: var(--accent);
  transform: translateY(-2px);
}

/* Brand-specific letterform tweaks */
.client-word.netflix    { letter-spacing: -0.05em; font-weight: 900; font-stretch: 95%; font-size: clamp(22px, 2.6vw, 32px); }
.client-word.mtv        { font-weight: 900; letter-spacing: -0.06em; font-size: clamp(26px, 3.2vw, 40px); font-stretch: 110%; }
.client-word.tlc        { font-weight: 900; letter-spacing: 0.02em; font-size: clamp(24px, 2.8vw, 34px); }
.client-word.hasbro     { font-weight: 700; letter-spacing: -0.02em; }
.client-word.food-network {
  font-weight: 600; letter-spacing: -0.015em;
  font-size: clamp(16px, 1.8vw, 22px);
  text-transform: none;
}
.client-word.rogers     { font-weight: 700; letter-spacing: -0.015em; }
.client-word.discovery  { font-weight: 700; letter-spacing: 0.01em; font-size: clamp(18px, 2.1vw, 26px); }
.client-word.hgtv       { font-weight: 900; letter-spacing: -0.02em; }
.client-word.tva        { font-weight: 800; letter-spacing: -0.01em; font-size: clamp(18px, 2.1vw, 26px); }
.client-word.m6         { font-weight: 900; letter-spacing: -0.06em; font-size: clamp(28px, 3.4vw, 42px); }
.client-word.telequebec { font-weight: 600; letter-spacing: -0.01em; font-size: clamp(15px, 1.7vw, 21px); }
.client-word.ikea       { font-weight: 900; letter-spacing: 0.04em; font-size: clamp(24px, 2.8vw, 34px); }
.client-word.captain    { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: 0; font-size: clamp(16px, 1.8vw, 22px); }
.client-word.squido     { font-weight: 700; letter-spacing: -0.02em; font-size: clamp(20px, 2.4vw, 28px); }

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.clients-note {
  position: relative;
  z-index: 3;
  display: block;
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--pad);
  line-height: 1.5;
}

/* =============================================================
   Proof strip — premium credibility cards
   ============================================================= */

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 var(--pad) clamp(24px, 3vw, 44px);
  max-width: var(--max);
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.6);
}

.proof-strip article {
  padding: clamp(22px, 2.6vw, 32px);
  background: linear-gradient(180deg, rgba(20, 20, 26, 0.92), rgba(13, 13, 16, 0.92));
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.proof-strip article::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.proof-strip span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.proof-strip strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.proof-strip p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.55;
}

/* =============================================================
   Game portal — full-bleed dramatic block
   ============================================================= */

.game-portal {
  position: relative;
  margin: clamp(22px, 3vw, 44px) var(--pad);
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(28px, 4vw, 52px);
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 90% 0%, rgba(244, 241, 234, 0.08), transparent 60%),
    linear-gradient(135deg, var(--surface-2), var(--surface));
  overflow: hidden;
  align-items: center;
}

.game-portal-copy h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 16px 0 16px;
  text-wrap: balance;
}
.game-portal-copy p {
  color: var(--ink-dim);
  font-size: 16px;
  margin: 0 0 24px;
  max-width: 460px;
}

.game-portal-card {
  display: grid;
  gap: 18px;
  text-decoration: none;
  border-radius: 20px;
  overflow: hidden;
}

.game-thumb-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 8px;
}
.game-thumb-strip img {
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  filter: brightness(0.96) saturate(0.95);
  transition: transform 380ms var(--ease-out), filter 280ms;
}
.game-thumb-strip img:nth-child(1) { aspect-ratio: 16 / 11; }
.game-portal-card:hover .game-thumb-strip img { filter: brightness(1.05) saturate(1); transform: translateY(-2px); }

.game-portal-card > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 8px;
  padding-inline: 4px;
  border-top: 1px solid var(--line);
}

.game-portal-card > div:last-child strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.game-portal-card > div:last-child strong::after {
  content: "→";
  color: var(--accent);
  transition: transform 220ms var(--ease-out);
}
.game-portal-card:hover > div:last-child strong::after { transform: translateX(4px); }

/* =============================================================
   Work grid — featured + supporting reels
   ============================================================= */

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(20px, 2.4vw, 32px);
}

.work-grid .featured {
  grid-column: 1 / -1;
}

.work-card {
  display: grid;
  gap: 18px;
}

.work-card.featured {
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(28px, 3.6vw, 56px);
  align-items: center;
}

.work-thumbnail,
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 360ms var(--ease-out), border-color 240ms, box-shadow 280ms;
}

.work-card.featured .work-thumbnail {
  aspect-ratio: 16 / 9;
  border-radius: 22px;
}

.work-thumbnail img,
.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out), filter 360ms;
  filter: brightness(0.92) saturate(0.96);
}

.work-thumbnail:hover,
.video-frame:hover {
  border-color: rgba(244, 241, 234, 0.4);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--accent-glow);
  transform: translateY(-3px);
}
.work-thumbnail:hover img,
.video-frame:hover img {
  transform: scale(1.04);
  filter: brightness(1.05) saturate(1.05);
}

.work-thumbnail::after,
.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6));
  pointer-events: none;
}

.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(56px, 6vw, 86px);
  height: clamp(56px, 6vw, 86px);
  border-radius: 999px;
  background: rgba(243, 236, 222, 0.95);
  z-index: 2;
  transition: transform 280ms var(--ease-out), background 240ms;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
}
.video-play::after {
  content: "";
  display: block;
  width: 0; height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--carbon);
}
.work-thumbnail:hover .video-play,
.video-frame:hover .video-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--accent);
}

.play-badge {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(7, 7, 10, 0.78);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}

.work-card-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.work-index {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.work-card-copy h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.work-card.featured .work-card-copy h3 {
  font-size: clamp(28px, 2.6vw, 40px);
}
.work-card-copy h3 a:hover { color: var(--accent); }

.work-card-copy > p {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.credit-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 18px clamp(20px, 2.4vw, 36px);
  margin: 8px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.credit-meta dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.credit-meta dd {
  margin: 0;
  font-size: 13px;
  color: var(--ink);
}

.card-link {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 200ms;
}
.card-link::after {
  content: "↗";
  color: var(--accent);
  font-size: 14px;
  transition: transform 220ms var(--ease-out);
}
.card-link:hover { color: var(--ink); }
.card-link:hover::after { transform: translate(2px, -2px); }

/* =============================================================
   Post production — focused service strip below work
   ============================================================= */

.post-production {
  padding-top: clamp(12px, 2vw, 28px);
}

.post-production-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
}

.post-production-panel {
  position: relative;
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(199, 148, 96, 0.14), transparent 54%),
    linear-gradient(180deg, rgba(244, 241, 234, 0.045), rgba(244, 241, 234, 0.016));
}

.post-production-panel::before {
  content: "";
  position: absolute;
  inset: auto 24px 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.55;
}

.post-production-panel span {
  display: block;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.post-production-panel h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.post-production-panel p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.6;
}

/* =============================================================
   Specialties (spatial / orchestral)
   ============================================================= */

.specialty-section {
  padding-top: 0;
}

.hero-specialties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.6vw, 36px);
}

.hero-specialties article {
  display: grid;
  gap: 18px;
}

.specialty-thumb {
  border-radius: 20px;
  aspect-ratio: 16 / 10;
}

.specialty-copy {
  display: grid;
  gap: 10px;
}
.specialty-copy span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.specialty-copy h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.specialty-copy p {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

/* =============================================================
   About
   ============================================================= */

.about {
  max-width: 920px;
  margin: 0 auto;
  padding: var(--section-y) var(--pad);
  text-align: left;
  display: grid;
  gap: 24px;
}

.about h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.about > p {
  color: var(--ink-dim);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  max-width: 760px;
  margin: 0;
  text-wrap: pretty;
}

/* =============================================================
   Contact CTA
   ============================================================= */

.contact {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding: clamp(60px, 7vw, 100px) var(--pad);
  margin: 0 var(--pad) var(--pad);
  max-width: var(--max);
  margin-inline: auto;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 241, 234, 0.12), transparent 50%),
    linear-gradient(140deg, var(--surface-2), var(--surface) 70%);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(243, 236, 222, 0.04), transparent 40%);
  pointer-events: none;
}

.contact h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 12px 0 0;
  max-width: 720px;
  position: relative;
  z-index: 1;
  text-wrap: balance;
}

.contact .button { position: relative; z-index: 1; }

/* =============================================================
   Footer
   ============================================================= */

.site-footer {
  padding: 32px var(--pad);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-footer a { color: var(--ink-dim); }
.site-footer a:hover { color: var(--accent); }

/* =============================================================
   Services page
   ============================================================= */

.services-hero {
  position: relative;
  min-height: clamp(460px, 72vh, 720px);
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 460px);
  gap: clamp(48px, 6vw, 96px);
  justify-content: center;
  align-items: center;
  padding: clamp(48px, 7vw, 96px) var(--pad) clamp(64px, 9vw, 110px);
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
}

.services-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1;
  letter-spacing: -0.028em;
  margin: 18px 0 24px;
  text-wrap: balance;
}

.services-hero-visual {
  margin: 0;
  margin-top: clamp(20px, 4vw, 60px);
  align-self: start;
  position: relative;
  aspect-ratio: 1 / 1;
  background: transparent;
  border: none;
  /* Diffuse the visual into the page BG — no hard frame */
  -webkit-mask-image: radial-gradient(ellipse 80% 85% at 50% 50%,
    #000 30%,
    rgba(0,0,0,0.7) 60%,
    rgba(0,0,0,0.25) 85%,
    transparent 110%);
  mask-image: radial-gradient(ellipse 80% 85% at 50% 50%,
    #000 30%,
    rgba(0,0,0,0.7) 60%,
    rgba(0,0,0,0.25) 85%,
    transparent 110%);
}

/* Animated "signal field" — pulses and bars for services */
.service-signal-field {
  position: absolute;
  inset: 0;
}
.service-signal-field span {
  position: absolute;
  display: block;
}
.signal-ring {
  border: 1px solid rgba(244, 241, 234, 0.25);
  border-radius: 999px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-pulse 4.6s var(--ease-out) infinite;
}
.ring-one { width: 38%; height: 38%; }
.ring-two { width: 60%; height: 60%; animation-delay: 0.6s; opacity: 0.7; }
.ring-three { width: 84%; height: 84%; animation-delay: 1.2s; opacity: 0.4; border-style: dashed; }

@keyframes ring-pulse {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.95; transform: translate(-50%, -50%) scale(1.06); }
}

.signal-dot {
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 16px var(--accent-glow);
}
.dot-one { width: 8px; height: 8px; top: 36%; left: 30%; }
.dot-two { width: 6px; height: 6px; top: 62%; left: 68%; }
.dot-three { width: 4px; height: 4px; top: 28%; right: 20%; background: var(--ink); box-shadow: none; }
.dot-four { width: 10px; height: 10px; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.signal-bar {
  background: linear-gradient(to top, var(--accent-deep), var(--accent));
  border-radius: 2px;
  width: 4px;
  bottom: 14%;
  animation: bar-bounce 1.8s var(--ease-out) infinite;
}
.bar-one   { left: 18%; height: 30%; animation-delay: 0.0s; }
.bar-two   { left: 26%; height: 56%; animation-delay: 0.2s; }
.bar-three { left: 34%; height: 22%; animation-delay: 0.4s; }
.bar-four  { left: 42%; height: 64%; animation-delay: 0.6s; }
.bar-five  { left: 50%; height: 38%; animation-delay: 0.8s; }

.signal-line {
  background: rgba(243, 236, 222, 0.12);
}
.line-one   { width: 40%; height: 1px; top: 30%; left: 55%; }
.line-two   { width: 28%; height: 1px; top: 70%; left: 12%; }
.line-three { width: 1px; height: 40%; top: 30%; right: 30%; }

/* Services overview grid */
.services-overview {
  padding-top: clamp(60px, 7vw, 100px);
}
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
}

.service-panel {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: transform 320ms var(--ease-out), border-color 240ms, background 240ms;
  display: grid;
  gap: 16px;
  align-content: start;
  overflow: hidden;
}

.service-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 240ms;
}
.service-panel:hover {
  border-color: rgba(244, 241, 234, 0.32);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(28, 28, 34, 0.95), var(--surface));
}
.service-panel:hover::before { opacity: 1; }

.service-number {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

.service-panel h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

.service-panel > p {
  color: var(--ink-dim);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.service-panel ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.service-panel li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.5;
}
.service-panel li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--accent);
}

/* Process list */
.services-process {
  padding-top: clamp(60px, 7vw, 100px);
}
.process-list {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}
.process-list article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(20px, 2.6vw, 32px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.process-list article:first-child { border-top: 1px solid var(--line); }
.process-list span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  padding-top: 4px;
}
.process-list h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.process-list p {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
}

/* Tools / format clouds */
.tool-section { padding-top: clamp(60px, 7vw, 100px); }
.tool-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 36px);
}
.tool-groups article {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.tool-groups h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin: 0 0 18px;
}
.tool-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tool-cloud span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-dim);
  background: rgba(243, 236, 222, 0.02);
  transition: color 220ms, border-color 220ms, background 220ms;
}
.tool-cloud span:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: rgba(244, 241, 234, 0.06);
}

/* =============================================================
   Music licensing
   ============================================================= */

.music-page .services-hero { padding-bottom: clamp(40px, 5vw, 70px); }

.music-hero-visual {
  background: transparent;
}

.license-signal-field {
  position: absolute;
  inset: 0;
}
.license-signal-field span {
  position: absolute;
  display: block;
}
/* Tracks — horizontal lines with a sweeping highlight (DAW playhead feel) */
.license-track {
  height: 1px;
  background:
    linear-gradient(90deg, transparent 0%, var(--accent-bright) 50%, transparent 100%) 0 0 / 25% 100% no-repeat,
    linear-gradient(90deg, transparent, rgba(244, 241, 234, 0.5), transparent) 0 0 / 100% 100% no-repeat;
  width: 80%;
  left: 10%;
  animation: track-sweep 6s linear infinite;
}
@keyframes track-sweep {
  0%   { background-position: -30% 0, 0 0; }
  100% { background-position: 130% 0, 0 0; }
}
.track-one   { top: 22%; animation-delay: 0s; }
.track-two   { top: 40%; opacity: 0.85; animation-delay: 1.2s; }
.track-three { top: 60%; opacity: 0.7;  animation-delay: 2.4s; }
.track-four  { top: 78%; opacity: 0.55; animation-delay: 3.6s; }

/* Markers — vertical lines that pulse in height + opacity */
.license-marker {
  width: 1px;
  background: rgba(243, 236, 222, 0.22);
  height: 70%;
  top: 15%;
  transform-origin: top center;
  animation: marker-pulse 3.6s ease-in-out infinite;
}
@keyframes marker-pulse {
  0%, 100% { transform: scaleY(0.92); opacity: 0.45; }
  50%      { transform: scaleY(1.08); opacity: 1; }
}
.marker-one   { left: 20%; animation-delay: 0s; }
.marker-two   {
  left: 38%;
  background: var(--accent);
  opacity: 0.6;
  box-shadow: 0 0 14px var(--accent-glow);
  animation: marker-glow 2.8s ease-in-out infinite;
}
@keyframes marker-glow {
  0%, 100% { opacity: 0.5; box-shadow: 0 0 8px var(--accent-glow); transform: scaleY(0.9); }
  50%      { opacity: 1;   box-shadow: 0 0 26px var(--accent-glow); transform: scaleY(1.1); }
}
.marker-three { left: 60%; animation-delay: 0.9s; }
.marker-four  { left: 78%; opacity: 0.6; animation-delay: 1.8s; }

.license-wave {
  background: var(--accent);
  border-radius: 2px;
  width: 6px;
  bottom: 12%;
  animation: bar-bounce 2.2s var(--ease-out) infinite;
}
.wave-one   { left: 30%; height: 32%; }
.wave-two   { left: 50%; height: 56%; animation-delay: 0.4s; }
.wave-three { left: 68%; height: 22%; animation-delay: 0.8s; }

/* =============================================================
   Game library / game page
   ============================================================= */

.game-hero {
  position: relative;
  min-height: clamp(460px, 72vh, 720px);
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 460px);
  gap: clamp(48px, 6vw, 96px);
  justify-content: center;
  align-items: center;
  padding: clamp(48px, 7vw, 96px) var(--pad) clamp(64px, 9vw, 110px);
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
}

.game-hero-copy {
  max-width: 100%;
}

.game-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1;
  letter-spacing: -0.028em;
  margin: 18px 0 24px;
  text-wrap: balance;
}

.game-hero .lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
}

.game-hero-visual {
  margin: 0;
  margin-top: clamp(20px, 4vw, 60px);
  align-self: start;
  position: relative;
  aspect-ratio: 1 / 1;
  background: transparent;
  border: none;
  /* Same diffuse fade-into-BG as services-hero-visual and music-hero-visual */
  -webkit-mask-image: radial-gradient(ellipse 80% 85% at 50% 50%,
    #000 30%,
    rgba(0,0,0,0.7) 60%,
    rgba(0,0,0,0.25) 85%,
    transparent 110%);
  mask-image: radial-gradient(ellipse 80% 85% at 50% 50%,
    #000 30%,
    rgba(0,0,0,0.7) 60%,
    rgba(0,0,0,0.25) 85%,
    transparent 110%);
}

/* Spatial audio field — uses the same vocabulary as services (rings, dots) and
   music licensing (bars), tuned for an interactive/spatial context. */
.game-signal-field {
  position: absolute;
  inset: 0;
}
.game-signal-field span {
  position: absolute;
  display: block;
}

/* Concentric rings around the listener — same idiom as services .signal-ring */
.game-ring {
  border: 1px solid rgba(244, 241, 234, 0.22);
  border-radius: 999px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.game-ring.ring-one   { width: 30%; height: 30%; animation: ring-pulse 4.6s var(--ease-out) infinite; }
.game-ring.ring-two   { width: 56%; height: 56%; opacity: 0.7; animation: ring-pulse 4.6s var(--ease-out) infinite; animation-delay: 0.6s; }
.game-ring.ring-three { width: 86%; height: 86%; opacity: 0.4; border-style: dashed; animation: ring-pulse 4.6s var(--ease-out) infinite; animation-delay: 1.2s; }

/* Cross-hair axes through the listener — emphasises the 3D field */
.game-axis {
  background: rgba(244, 241, 234, 0.10);
}
.game-axis.axis-h { width: 80%; height: 1px; left: 10%; top: 50%; }
.game-axis.axis-v { width: 1px; height: 80%; left: 50%; top: 10%; }

/* Radar sweep — rotating beam from the listener (the canonical game-minimap idiom) */
.game-radar {
  position: absolute;
  top: 50%; left: 50%;
  width: 42%;
  height: 1px;
  transform-origin: 0 50%;
  background: linear-gradient(90deg,
    rgba(199, 148, 96, 0.95) 0%,
    rgba(199, 148, 96, 0.4) 35%,
    transparent 95%);
  z-index: 1;
  animation: game-radar-sweep 5s linear infinite;
  filter: drop-shadow(0 0 6px var(--accent-glow));
  opacity: 0.85;
}

@keyframes game-radar-sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Faint trailing wedge so the sweep reads more like a beam */
.game-radar::before {
  content: "";
  position: absolute;
  top: -16px; left: 0;
  width: 100%;
  height: 32px;
  background: conic-gradient(from 270deg, rgba(199, 148, 96, 0.16), transparent 30deg);
  pointer-events: none;
}

/* Listener — copper dot at the centre, anchor of the scene */
.game-listener {
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--accent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 24px var(--accent-glow);
  animation: game-listener-pulse 2.4s ease-in-out infinite;
  z-index: 3;
}
@keyframes game-listener-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    box-shadow: 0 0 18px var(--accent-glow); }
  50%      { transform: translate(-50%, -50%) scale(1.18); box-shadow: 0 0 38px var(--accent-glow); }
}

/* Each source = a triggered audio EVENT in 3D space. When it "fires", a
   propagation ring radiates outward toward the listener — the exact thing a
   game audio engine does (event triggered, attenuation calculated by distance,
   direction baked into the pan / HRTF). Staggered timings = a busy game scene. */
.game-source {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--ink);
  z-index: 2;
  animation: game-source-fire 4s ease-out infinite;
  box-shadow: 0 0 0 0 rgba(244, 241, 234, 0.55);
}

@keyframes game-source-fire {
  0%   { transform: scale(1);   box-shadow: 0 0 0 0 rgba(244, 241, 234, 0.55); }
  6%   { transform: scale(1.6); box-shadow: 0 0 0 0 rgba(244, 241, 234, 0.55); }
  60%  { transform: scale(1);   box-shadow: 0 0 0 70px rgba(244, 241, 234, 0); }
  100% { transform: scale(1);   box-shadow: 0 0 0 70px rgba(244, 241, 234, 0); }
}

.game-source.source-one   { top: 18%; left: 22%;  animation-delay: 0s; }
.game-source.source-two   { top: 30%; right: 18%; animation-delay: 0.7s; }
.game-source.source-three { top: 72%; left: 24%;  animation-delay: 1.4s; }
.game-source.source-four  { top: 62%; right: 22%; animation-delay: 2.1s; }

/* The fifth source sits centred horizontally — needs its own animation so the
   translateX(-50%) is preserved through the ring expansion. */
.game-source.source-five {
  top: 82%; left: 50%;
  transform: translateX(-50%);
  animation-name: game-source-fire-centered;
  animation-delay: 2.8s;
}

@keyframes game-source-fire-centered {
  0%   { transform: translateX(-50%) scale(1);   box-shadow: 0 0 0 0 rgba(244, 241, 234, 0.55); }
  6%   { transform: translateX(-50%) scale(1.6); box-shadow: 0 0 0 0 rgba(244, 241, 234, 0.55); }
  60%  { transform: translateX(-50%) scale(1);   box-shadow: 0 0 0 70px rgba(244, 241, 234, 0); }
  100% { transform: translateX(-50%) scale(1);   box-shadow: 0 0 0 70px rgba(244, 241, 234, 0); }
}

/* Frequency bars at the bottom — same idiom as music licensing .license-wave */
.game-bar {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent), var(--accent-deep));
  border-radius: 2px;
  width: 4px;
  bottom: 8%;
  animation: bar-bounce 2.0s var(--ease-out) infinite;
  transform-origin: bottom;
  z-index: 2;
}
.game-bar.bar-one   { left: 40%; height: 6%;  animation-delay: 0.0s; }
.game-bar.bar-two   { left: 45%; height: 12%; animation-delay: 0.18s; }
.game-bar.bar-three { left: 50%; height: 18%; animation-delay: 0.36s; }
.game-bar.bar-four  { left: 55%; height: 10%; animation-delay: 0.54s; }
.game-bar.bar-five  { left: 60%; height: 14%; animation-delay: 0.72s; }

.game-library { padding-top: clamp(60px, 7vw, 100px); }

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}

.game-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: transform 320ms var(--ease-out), border-color 240ms, background 240ms;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  background: rgba(243, 236, 222, 0.015);
}

.game-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 240ms, transform 360ms var(--ease-out);
}
.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
  transition: transform 700ms var(--ease-out), filter 360ms;
}
.game-card:hover .game-media { border-color: rgba(244, 241, 234, 0.36); }
.game-card:hover .game-media img { transform: scale(1.04); filter: brightness(1.05); }

.game-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.game-media > span:not(.video-play) {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(7, 7, 10, 0.75);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
}

.game-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
}
.game-card > p {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.game-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 4px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.licensing-grid { grid-template-columns: repeat(3, 1fr); }

/* =============================================================
   Video playing state
   ============================================================= */
.is-playing {
  cursor: default;
  border-color: var(--line);
}
.is-playing::after { display: none; }
.video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 5;
}
.video-frame:not(.is-playing) .video-iframe,
.work-thumbnail:not(.is-playing) .video-iframe {
  opacity: 0;
  pointer-events: none;
}
.is-playing .video-play,
.is-playing .play-badge {
  display: none;
}
.video-mask { display: none; }

/* =============================================================
   Work carousel — multi-video category cards
   ============================================================= */

.work-carousel,
.specialty-carousel {
  position: relative;
}

.carousel-slides {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

.work-card.featured .carousel-slides,
.specialty-carousel .carousel-slides { border-radius: 22px; }

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 380ms var(--ease-out);
  /* Override the standalone .video-frame border/radius since the wrapper holds it */
  border: 0;
  border-radius: 0;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* Arrow buttons — appear on hover/focus */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(7, 7, 10, 0.78);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 18px;
  line-height: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 200ms, color 200ms, border-color 200ms, transform 200ms, opacity 200ms;
  opacity: 0;
  pointer-events: none;
}

.work-carousel[data-multi="true"] .carousel-nav,
.specialty-carousel[data-multi="true"] .carousel-nav {
  opacity: 0.9;
  pointer-events: auto;
}

.work-carousel:hover .carousel-nav,
.work-carousel:focus-within .carousel-nav {
  opacity: 1;
  pointer-events: auto;
}

.carousel-nav:hover {
  background: var(--accent);
  color: var(--carbon);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}

.carousel-nav.prev { left: 14px; }
.carousel-nav.next { right: 14px; }

/* Counter chip */
.carousel-counter {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 6;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(7, 7, 10, 0.78);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

/* Hide nav UI when only one slide */
.work-carousel:not([data-multi]) .carousel-nav,
.work-carousel:not([data-multi]) .carousel-counter,
.specialty-carousel:not([data-multi]) .carousel-nav,
.specialty-carousel:not([data-multi]) .carousel-counter {
  display: none;
}

/* Touch devices: arrows visible by default (no hover) */
@media (hover: none) {
  .work-carousel .carousel-nav { opacity: 1; pointer-events: auto; }
}

/* Mobile: smaller arrows */
@media (max-width: 540px) {
  .carousel-nav { width: 36px; height: 36px; font-size: 16px; }
  .carousel-nav.prev { left: 8px; }
  .carousel-nav.next { right: 8px; }
}

/* =============================================================
   Scroll reveal — intersection observer triggers
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 80ms; }
.reveal.delay-2 { transition-delay: 160ms; }
.reveal.delay-3 { transition-delay: 240ms; }

/* =============================================================
   Responsive
   ============================================================= */

@media (max-width: 1080px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card.featured { grid-template-columns: 1fr; }
  .post-production-grid { grid-template-columns: 1fr 1fr; }
  .game-grid { grid-template-columns: 1fr 1fr; }
  .licensing-grid { grid-template-columns: 1fr 1fr; }
  .services-overview-grid { grid-template-columns: 1fr 1fr; }
  .tool-groups { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .game-portal { grid-template-columns: 1fr; }
  .section.split { grid-template-columns: 1fr; }
  .sticky-heading { position: static; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  body.menu-open { overflow: hidden; }

  .menu-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding:
      max(88px, calc(72px + env(safe-area-inset-top)))
      var(--pad)
      max(28px, calc(24px + env(safe-area-inset-bottom)));
    gap: clamp(14px, 3.6vh, 24px);
    font-size: 18px;
    background: rgba(7, 7, 10, 0.98);
    transform: translateY(-100%);
    pointer-events: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition: transform 360ms var(--ease-emphasized);
  }
  body.menu-open .nav {
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav a {
    max-width: 100%;
    font-family: var(--serif);
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.12;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink);
    overflow-wrap: anywhere;
  }
  .nav a::after { height: 1.5px; }
  .language-switch {
    margin-top: 2px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms var(--ease-out), visibility 180ms var(--ease-out);
  }
  body.menu-open .language-switch {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .language-switch a {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    min-width: 44px;
  }
  .nav .nav-cta {
    align-self: flex-start;
    margin-top: clamp(4px, 1.6vh, 14px);
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1.15;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 14px 22px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
    padding: 36px var(--pad) 52px;
  }
  .hero-mark { min-height: 220px; order: -1; }
  .hero-bars { width: 170px; height: 170px; }
  .hero-side-label { display: none; }
  .hero-meta { grid-template-columns: 1fr; gap: 12px; }

  .work-grid { grid-template-columns: 1fr; }
  .post-production-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: 1fr; }
  .licensing-grid { grid-template-columns: 1fr; }
  .services-overview-grid { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: 1fr; }
  .hero-specialties { grid-template-columns: 1fr; }
  .services-hero, .game-hero { grid-template-columns: 1fr; gap: 32px; padding: 56px var(--pad); max-width: var(--max); margin: 0 auto; }
  .game-hero-copy { max-width: 100%; }
  .services-hero-visual, .game-hero-visual { aspect-ratio: 4 / 3; }
  .game-hero-visual { order: -1; }

  .contact { grid-template-columns: 1fr; align-items: stretch; padding: 56px var(--pad); }
  .contact .button { justify-self: stretch; justify-content: center; }

  .game-portal-card .game-thumb-strip { grid-template-columns: 1fr 1fr; }
  .game-portal-card .game-thumb-strip img:nth-child(3) { display: none; }
}

@media (max-width: 460px) {
  .credit-meta { grid-template-columns: 1fr 1fr; }
  .button { padding: 14px 20px; font-size: 11px; }
  .process-list article { grid-template-columns: 1fr; gap: 8px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =============================================================
   Named placements strip
   ============================================================= */

.placements {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--pad) clamp(20px, 3vw, 40px);
}

.placements-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.placements-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  overflow: hidden;
}

.placements-list li {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.placements-list strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.placements-list span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.placements-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted-dim);
}

/* =============================================================
   Testimonials
   ============================================================= */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}

.testimonial {
  margin: 0;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  display: grid;
  gap: 22px;
  align-content: space-between;
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -22px;
  left: 18px;
  font-family: var(--serif);
  font-size: 130px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.18;
  pointer-events: none;
}

.testimonial p {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
  position: relative;
  z-index: 1;
}

.testimonial footer {
  display: grid;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.testimonial footer span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =============================================================
   About grid (with portrait)
   ============================================================= */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.about-portrait {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  background: transparent;
  border: none;
}

/* Soft copper glow behind the portrait — gives it presence on the dark canvas. */
.about-portrait::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 0;
  background: radial-gradient(ellipse 55% 65% at 50% 48%,
    rgba(199, 148, 96, 0.22) 0%,
    rgba(199, 148, 96, 0.10) 32%,
    rgba(199, 148, 96, 0.04) 58%,
    transparent 80%);
  filter: blur(28px);
  pointer-events: none;
}

.about-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: contrast(1.08) brightness(1.25) saturate(1.05);
  transition: filter 320ms;
  /* Highly diffused vignette — corners feather aggressively into background. */
  -webkit-mask-image: radial-gradient(ellipse 50% 62% at 50% 45%,
    #000 0%,
    rgba(0,0,0,0.95) 22%,
    rgba(0,0,0,0.6) 45%,
    rgba(0,0,0,0.25) 70%,
    rgba(0,0,0,0.05) 90%,
    transparent 108%);
  mask-image: radial-gradient(ellipse 50% 62% at 50% 45%,
    #000 0%,
    rgba(0,0,0,0.95) 22%,
    rgba(0,0,0,0.6) 45%,
    rgba(0,0,0,0.25) 70%,
    rgba(0,0,0,0.05) 90%,
    transparent 108%);
}

.about-copy {
  display: grid;
  gap: 22px;
}

.about-copy h2 { margin: 0; }
.about-copy p { margin: 0; }

.about-quick {
  list-style: none;
  margin: 8px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.about-quick li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  align-items: baseline;
}

.about-quick span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-quick strong {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

/* =============================================================
   Newsletter
   ============================================================= */

.newsletter {
  position: relative;
  max-width: var(--max);
  margin: 0 auto var(--pad);
  padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 100% 100%, rgba(244, 241, 234, 0.10), transparent 50%),
    linear-gradient(140deg, var(--surface-2), var(--surface));
}

.newsletter h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 12px 0 14px;
  text-wrap: balance;
}

.newsletter p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 15px;
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.newsletter-form input[type="email"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(7, 7, 10, 0.6);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 200ms;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--muted-dim);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.newsletter-form button {
  justify-self: start;
  border: none;
  cursor: pointer;
}

.newsletter-note {
  grid-column: 1 / -1;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-top: 6px;
}

/* =============================================================
   Footer social
   ============================================================= */

.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  flex-wrap: wrap;
}

.social-links a {
  color: var(--ink-dim);
  transition: color 180ms;
}

.social-links a:hover {
  color: var(--accent);
}

/* =============================================================
   Music Licensing — Selected Cues (track list + platforms)
   ============================================================= */

.licensing-tracks {
  text-align: left;
}

.track-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.platform-card {
  display: grid;
  gap: 10px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  text-decoration: none;
  color: inherit;
  transition: transform 320ms var(--ease-out), border-color 240ms, background 240ms;
}
.platform-card:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 241, 234, 0.32);
  background: linear-gradient(180deg, rgba(28, 28, 34, 0.95), var(--surface));
}

.platform-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.platform-card strong {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.platform-cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 4px;
}
.platform-card:hover .platform-cta { color: var(--accent); }

/* Track list */
.track-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.track {
  display: grid;
  grid-template-columns: 48px 1fr auto auto;
  gap: clamp(16px, 2vw, 32px);
  align-items: center;
  padding: clamp(16px, 2vw, 22px) clamp(8px, 1.4vw, 18px);
  border-bottom: 1px solid var(--line);
  transition: background 220ms;
}
.track:hover { background: rgba(244, 241, 234, 0.025); }

.track-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.track-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.track-info strong {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(16px, 1.4vw, 19px);
  letter-spacing: -0.005em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.track-source {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: rgba(244, 241, 234, 0.04);
}
.track-source.pb { color: var(--ink); border-color: rgba(244, 241, 234, 0.25); }
.track-source.at { color: var(--ink); border-color: rgba(244, 241, 234, 0.25); }
.track-tags {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.track-player {
  width: 100%;
  max-width: 480px;
  height: 36px;
  margin-top: 10px;
  border-radius: 999px;
  color-scheme: dark;
  background: transparent;
  filter: invert(0.86) hue-rotate(180deg) brightness(1.05);
}
.track-player::-webkit-media-controls-panel {
  background: rgba(244, 241, 234, 0.08);
}

.track-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  white-space: nowrap;
}

.track-listen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 200ms, border-color 200ms, color 200ms, transform 200ms;
  white-space: nowrap;
}
.track-listen:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--carbon);
  transform: translateY(-1px);
}

.track-footnote {
  margin: clamp(28px, 3.5vw, 44px) 0 0;
  font-size: 14px;
  color: var(--ink-dim);
  text-align: center;
}
.track-footnote a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 200ms, color 200ms;
}
.track-footnote a:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 760px) {
  .track-platforms { grid-template-columns: 1fr; }
  .track {
    grid-template-columns: 36px 1fr;
    grid-template-areas:
      "idx info"
      "idx meta"
      "idx listen";
    gap: 8px clamp(12px, 2vw, 18px);
    padding: 18px 4px;
  }
  .track-index { grid-area: idx; align-self: start; padding-top: 4px; }
  .track-info { grid-area: info; }
  .track-meta { grid-area: meta; }
  .track-listen { grid-area: listen; justify-self: start; margin-top: 4px; }
}

/* Visually hidden (a11y) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================================
   Responsive overrides for new components
   ============================================================= */

@media (max-width: 1080px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 360px; aspect-ratio: 4 / 5; }
  .newsletter { grid-template-columns: 1fr; }
  .about-quick li { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 760px) {
  .placements-list { grid-template-columns: 1fr 1fr; }
  .testimonial { padding: 24px; }
}

@media (max-width: 460px) {
  .placements-list { grid-template-columns: 1fr; }
}
