/* =========================================================
   OTHERSIDE Music Labs — site styles
   Type: Geist (tight tracking, compact leading — per Site Slide)
   ========================================================= */

:root {
  --light: #d9d9d4;
  --light-2: #e4e4df;
  --dark: #0e0e0d;
  --dark-2: #0a0a09;
  --dark-3: #171716;
  --ink: #0b0b0a;
  --paper: #e8e8e3;
  --gray: #4a4a47;
  --gray-2: #3a3a37;
  --muted: #8b8b86;
  --line-dark: rgba(232, 232, 227, 0.12);
  --line-light: rgba(11, 11, 10, 0.14);

  --font: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 1.4vw, 22px);
  --radius: clamp(18px, 2.8vw, 44px);
  --track-tight: -0.045em;
  --track-xtight: -0.065em;
  --ease: cubic-bezier(0.65, 0.05, 0, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--dark);
  color: var(--paper);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-light { background: var(--light); color: var(--ink); }

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
::selection { background: var(--paper); color: var(--ink); }

.mono {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}
.dot-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.dot-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.55; }

/* fine animated grain over the whole site (same setup as the reference:
   a 400px noise tile on a 200% layer, jumping 6 steps every 0.5s) */
.grain {
  position: fixed; top: -50%; left: -50%; width: 200%; height: 200%;
  z-index: 2147483646; pointer-events: none;
  background-image: url("../img/grain.png");
  animation: grain 0.5s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0); }
  17% { transform: translate(-5%, -10%); }
  33% { transform: translate(3%, -15%); }
  50% { transform: translate(12%, 9%); }
  67% { transform: translate(9%, 4%); }
  83% { transform: translate(-1%, 7%); }
}

/* split-text masks */
.line-mask { overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* =========================================================
   Header
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 16px var(--gutter);
  color: var(--paper);
  transition: color 0.4s var(--ease-out), transform 0.6s var(--ease);
}
.nav.is-light { color: var(--ink); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { width: clamp(80px, 6.7vw, 100px); position: relative; display: block; }
.nav__logo img { width: 100%; height: auto; transition: opacity 0.4s; }
.nav__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav.is-light .nav__logo .logo-light { opacity: 0; }
.nav.is-light .nav__logo .logo-dark { opacity: 1; }
.nav__links { display: flex; gap: 0; font-size: 14px; }
/* hover plate: grows from the left, leaves to the right (as on the reference) */
.nav__links a { position: relative; padding: 5px 6px; isolation: isolate; }
.nav__links a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 2px;
  background: rgba(232, 232, 227, 0.16);
  transform: scaleX(0); transform-origin: right center;
  transition: transform 0.9s cubic-bezier(0.2, 1, 0.36, 1);
}
.nav.is-light .nav__links a::before { background: rgba(11, 11, 10, 0.14); }
.nav__links a:hover::before { transform: scaleX(1); transform-origin: left center; }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }

.link-roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.link-roll span { display: block; transition: transform 0.5s var(--ease); }
.link-roll span + span { position: absolute; left: 0; top: 100%; }
.link-roll:hover span { transform: translateY(-100%); }

.sound-btn {
  width: 22px; height: 22px; border-radius: 4px; display: grid; place-items: center;
  background: rgba(232, 232, 227, 0.16);
  transition: background 0.3s;
}
.nav.is-light .sound-btn { background: rgba(11, 11, 10, 0.12); }
.sound-btn:hover { background: rgba(232, 232, 227, 0.3); }
.sound-btn svg { width: 14px; height: 14px; overflow: visible; }
.sound-btn path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.3s, stroke-dashoffset 0.4s var(--ease-out); }
.sound-btn .s-body { fill: currentColor; stroke: none; }
.sound-btn .s-wave { stroke-dasharray: 12; }
.sound-btn .s-cross { stroke-dasharray: 8; }
.sound-btn[aria-pressed="true"] .s-cross { stroke-dashoffset: 8; opacity: 0; }
.sound-btn[aria-pressed="false"] .s-wave { stroke-dashoffset: 12; opacity: 0; }

.burger { display: none; width: 34px; height: 22px; border-radius: 4px; background: rgba(232, 232, 227, 0.16); place-items: center; }
.nav.is-light .burger { background: rgba(11, 11, 10, 0.12); }
.burger i { display: block; width: 14px; height: 1.5px; background: currentColor; box-shadow: 0 4px 0 currentColor; transform: translateY(-2px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 3px 3px 3px 9px; border-radius: 3px;
  background: var(--ink); color: var(--paper);
  font-size: 14px; line-height: 1; white-space: nowrap;
}
.btn--light { background: var(--paper); color: var(--ink); }
.nav.is-light .btn { background: var(--ink); color: var(--paper); }
.nav:not(.is-light) .btn--nav { background: var(--paper); color: var(--ink); }
.btn__label { position: relative; overflow: hidden; display: inline-block; padding: 3px 0; }
.btn__label span { display: block; transition: transform 0.55s var(--ease); }
.btn__label span + span { position: absolute; left: 0; top: 100%; padding: 3px 0; }
.btn:hover .btn__label span { transform: translateY(-100%); }
.btn__icon {
  width: 17px; height: 17px; border-radius: 2px; display: grid; place-items: center; overflow: hidden;
  background: rgba(232, 232, 227, 0.22); position: relative;
}
.btn--light .btn__icon, .nav:not(.is-light) .btn--nav .btn__icon { background: var(--ink); color: var(--paper); }
.btn__icon svg { width: 9px; height: 9px; transition: transform 0.55s var(--ease); }
.btn__icon svg + svg { position: absolute; transform: translate(-150%, 150%); }
.btn:hover .btn__icon svg:first-child { transform: translate(150%, -150%); }
.btn:hover .btn__icon svg + svg { transform: translate(0, 0); }
.btn--xl { font-size: clamp(18px, 1.7vw, 25px); font-weight: 600; padding: 6px 6px 6px 12px; gap: 10px; letter-spacing: -0.045em; }
.btn--xl .btn__icon { width: clamp(26px, 2.2vw, 32px); height: clamp(26px, 2.2vw, 32px); border-radius: 3px; }
.btn--xl .btn__icon svg { width: 13px; height: 13px; }

/* =========================================================
   Hero (home)
   ========================================================= */
.hero {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden;
  background: var(--dark); color: var(--paper);
}
.hero__gl { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
/* phones: the showreel under a drifting acid gradient, behind the wordmark (herovideo.js) */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero__fallback { display: none; position: absolute; left: 50%; top: 47%; width: min(74vw, 1100px); transform: translate(-50%, -50%); }
.hero.no-gl .hero__fallback { display: block; }
.hero__copy {
  position: absolute; left: var(--gutter); top: clamp(70px, 6vw, 92px); z-index: 2;
  width: min(232px, 60vw); pointer-events: none;
}
.hero__copy a { pointer-events: auto; }
.hero__copy p { margin: 0 0 16px; font-size: clamp(14px, 1.06vw, 15.5px); line-height: 1; letter-spacing: -0.04em; }
.hero__caption { position: absolute; left: var(--gutter); bottom: clamp(18px, 1.6vw, 26px); z-index: 2; font-size: clamp(14px, 1.06vw, 15.5px); pointer-events: none; }
.hero__coords { position: absolute; left: 50%; bottom: clamp(18px, 1.6vw, 26px); transform: translateX(-50%); color: var(--muted); pointer-events: none; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(18px, 1.6vw, 26px); color: var(--muted); pointer-events: none; }

/* =========================================================
   Statement + testimonial slider
   ========================================================= */
.section-dark { background: var(--dark); color: var(--paper); position: relative; }
.section-darker { background: var(--dark-2); color: var(--paper); position: relative; }

/* sizes measured from the reference (1464px wide): text 3.65vw bold, column at 34.3vw */
.statement {
  display: grid; grid-template-columns: 23vw 1fr; column-gap: 9.5vw;
  padding: clamp(60px, 5.5vw, 90px) 1.8vw clamp(120px, 12vw, 200px);
  min-height: 80svh;
}
.statement__text {
  margin: 0; font-size: clamp(28px, 3.65vw, 64px); line-height: 1; letter-spacing: -0.03em;
  font-weight: 700; color: var(--paper); max-width: 55vw;
}

.slider { position: sticky; top: 80px; align-self: start; width: 19vw; min-width: 230px; }
.slider__bar { position: relative; height: 1px; background: var(--line-dark); margin-bottom: 7px; }
.slider__bar i { position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: var(--paper); transform-origin: left; transform: scaleX(0); }
.slider__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.slider__arrows { display: flex; gap: 4px; }
.slider__arrows button { width: 16px; height: 14px; display: grid; place-items: center; opacity: 0.8; transition: opacity 0.2s, transform 0.3s var(--ease-out); }
.slider__arrows button:hover { opacity: 1; transform: translateX(var(--nudge, 0)); }
.slider__arrows button:first-child { --nudge: -2px; }
.slider__arrows button:last-child { --nudge: 2px; }
.slider__count { font-size: 9px; padding: 3px 6px; border-radius: 3px; background: rgba(232, 232, 227, 0.06); color: var(--muted); font-family: var(--font); letter-spacing: 0; }
.slider__items { position: relative; display: grid; }
.slider__item { grid-area: 1 / 1; visibility: hidden; }
.slider__item.is-active { visibility: visible; }
.slider__quote { margin: 0 0 16px; font-size: clamp(12.5px, 0.92vw, 16px); line-height: 1.22; letter-spacing: -0.01em; font-weight: 500; }
.person { display: flex; align-items: center; gap: 8px; }
.person img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.person b { display: block; font-size: 12px; font-weight: 500; line-height: 1.2; }
.person small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }

/* =========================================================
   Vision → Sound (pinned)
   ========================================================= */
/* display face: free stand-in for the reference's Animo */
.vision { height: 220vh; }
.vision__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.vision__fly { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
/* white type in difference mode: the covers flying behind turn the letters into their negative */
.vision__heading {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center;
  font-size: min(11vw, 22svh); color: #fff; mix-blend-mode: difference; pointer-events: none;
}
.vision__half.is-left { transform: translateX(-30vw); }
.vision__half.is-right { transform: translateX(30vw); }
.vision__title {
  margin: 0; display: flex; justify-content: center; gap: 0.12em;
  font-size: 1em; font-weight: 700; line-height: 0.88; letter-spacing: -0.08em; text-transform: uppercase;
}
.vision__title .word { display: flex; }
.vision__title .char { display: block; }
.vision__spark { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.vision__sub {
  position: absolute; z-index: 4; left: 50%; bottom: 13svh; transform: translateX(-50%); width: min(310px, 86vw);
  text-align: center; margin: 0; font-size: clamp(14px, 1.06vw, 15.5px); line-height: 1; letter-spacing: -0.04em;
}

/* =========================================================
   Services list (home)
   ========================================================= */
/* sizes measured from the reference: list 6.44vw bold, column at 34.3vw */
.services { padding: clamp(60px, 5.5vw, 90px) 1.8vw clamp(120px, 12vw, 200px); }
.services__grid { display: grid; grid-template-columns: 23vw 1fr; column-gap: 9.5vw; }
.services__label { margin-bottom: 1.7vw; font-size: clamp(14px, 1.35vw, 23px); }
.services__list { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; }
/* liquid icon shown next to the hovered service (serviceicon.js) */
.services__grid > div:last-child { position: relative; }
.services__hover { position: absolute; left: 0; top: 0; width: 10.4vw; height: 10.4vw; pointer-events: none; }
.services__hover canvas { display: block; width: 100%; height: 100%; }
.services__list li { padding-bottom: 0.14em; margin-bottom: clamp(18px, 2vw, 34px); font-size: clamp(30px, 5.2vw, 96px); }   /* "Marketing & Distribution" fits one line */
.services__line { overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }   /* the title rises into view from under this edge */
/* under each group, what it covers, in the hero intro's type */
.services__desc { margin: 0.35em 0 0; max-width: 34em; font-size: clamp(14px, 1.06vw, 17px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; color: var(--muted); transition: color 0.45s var(--ease-out); }
.services__list li.is-active .services__desc { color: var(--paper); }
.services__list a {
  display: inline-block; line-height: 1; letter-spacing: -0.03em; font-weight: 700;
  color: var(--gray); transition: color 0.45s var(--ease-out), translate 0.6s var(--ease);
}
.services__list li.is-active a, .services__list a:hover { color: var(--paper); }
.services__list a:hover { translate: 10px 0; }

.btn-big {
  display: inline-flex; align-items: center; gap: 2vw;
  padding: 0.8vw 0.8vw 0.8vw 1.08vw; border-radius: 3px;
  background: var(--paper); color: var(--ink);
}
.btn-big__label { position: relative; overflow: hidden; display: block; font-size: clamp(24px, 3.1vw, 54px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.btn-big__label span { display: block; transition: transform 0.6s var(--ease); }
.btn-big__label span + span { position: absolute; left: 0; top: 100%; }
.btn-big:hover .btn-big__label span { transform: translateY(-100%); }
.btn-big__icon {
  position: relative; overflow: hidden; display: grid; place-items: center;
  width: clamp(36px, 3.6vw, 64px); aspect-ratio: 1; border-radius: 3px; background: var(--ink); color: var(--paper);
}
.btn-big__icon svg { width: 42%; height: 42%; transition: transform 0.6s var(--ease); }
.btn-big__icon svg + svg { position: absolute; transform: translate(-160%, 160%); }
.btn-big:hover .btn-big__icon svg:first-child { transform: translate(160%, -160%); }
.btn-big:hover .btn-big__icon svg + svg { transform: none; }


/* =========================================================
   Footer
   ========================================================= */
.footer { position: relative; background: var(--dark-2); color: var(--paper); overflow: hidden; }
/* sizes measured from the reference: nav 3.65vw bold, columns at 58.7vw and 81.2vw */
.footer__main { padding: 1.4vw 1.8vw 1.2vw; min-height: 100svh; display: flex; flex-direction: column; }
.footer__cols { display: grid; grid-template-columns: 46.4% 10.9% 22.9% 1fr; grid-template-rows: auto 1fr; gap: 0; flex: 1; }
.footer__cols > div:first-child { grid-row: 1 / span 2; }
.footer__col-label { color: var(--muted); margin-bottom: 2.2vw; display: block; font-size: clamp(10px, 0.81vw, 14px); }
.footer__cols > div:first-child .footer__col-label { font-size: clamp(14px, 1.35vw, 23px); font-weight: 500; letter-spacing: -0.01em; }
.footer__nav { list-style: none; margin: 0; padding: 0; }
.footer__nav li { border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.footer__nav a {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  padding: 0.14em 0.15em 0.16em; font-size: clamp(34px, 3.65vw, 64px); line-height: 1; letter-spacing: -0.03em; font-weight: 700;
  color: var(--paper); overflow: hidden; isolation: isolate;
}
.footer__nav a::before {
  content: ""; position: absolute; inset: 0; background: var(--paper); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease);
}
.footer__nav a svg { width: 0.75em; height: 0.75em; opacity: 0; transform: translateX(-16px); transition: transform 0.5s var(--ease), opacity 0.3s; }
.footer__nav a:hover { color: var(--ink); }
.footer__nav a:hover::before { transform: scaleY(1); }
.footer__nav a:hover svg { opacity: 1; transform: none; }
.footer__details a.email { text-decoration: underline; text-underline-offset: 3px; font-size: clamp(14px, 1.21vw, 21px); display: inline-block; margin-top: 0.4vw; }
.footer__details p { color: var(--muted); font-size: clamp(13px, 1.08vw, 18px); line-height: 1.25; margin: 1.8vw 0 0; }
.footer__socials { display: grid; gap: 0.5vw; justify-items: start; margin-top: 0.4vw; }
.footer__socials a { font-size: clamp(17px, 1.62vw, 28px); line-height: 1.1; display: inline-flex; gap: 0.25em; align-items: flex-start; }
.footer__socials a svg { width: 0.45em; height: 0.45em; margin-top: 0.12em; transition: transform 0.4s var(--ease); }
.footer__socials a:hover svg { transform: translate(2px, -2px); }
.footer__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; font-size: clamp(12px, 1.08vw, 18px); line-height: 1.25; margin-top: 4vw; }
.footer__bottom .totop { justify-self: center; display: inline-flex; gap: 0.3em; align-items: center; }
.footer__bottom .totop svg { width: 0.7em; height: 0.7em; transition: transform 0.4s var(--ease); }
.footer__bottom .totop:hover svg { transform: translateY(-3px); }
.footer__bottom .copy { justify-self: end; }
.footer__mark { padding: 3vw var(--gutter) 3vw; }
.footer__logo { position: relative; }
.footer__logo img { width: 100%; height: auto; }
/* canvas is larger than the logo so the blur can bleed past the letters */
.footer__logo canvas {
  position: absolute; left: calc(var(--gutter) * -1); top: -3vw; display: block; pointer-events: none;
  width: calc(100% + var(--gutter) * 2); height: calc(100% + 6vw); visibility: hidden;
}
.footer__logo.has-gl img { visibility: hidden; }
.footer__logo.has-gl canvas { visibility: visible; }

/* Newsletter */
.news { grid-column: 3 / -1; align-self: start; margin-top: 3.4vw; max-width: 36vw; }
.news__label { display: block; color: var(--muted); font-size: clamp(10px, 0.81vw, 14px); margin-bottom: 0.9vw; }
.news__title { margin: 0 0 1.5vw; font-size: clamp(17px, 1.62vw, 28px); line-height: 1.1; }
.news__row { position: relative; display: flex; align-items: center; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line-dark); }
.news__row input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--paper); padding: 4px 0;
  font: inherit; font-size: clamp(16px, 1.35vw, 23px); font-weight: 500; letter-spacing: -0.02em;
}
.news__row input::placeholder { color: var(--muted); }
.news__line { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #00d97e; transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.news__row:focus-within .news__line { transform: scaleX(1); }
.news__btn {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 11px; border-radius: 3px;
  background: var(--paper); color: var(--ink); font-size: clamp(13px, 1.08vw, 18px); font-weight: 500; line-height: 1;
  transition: background 0.3s;
}
.news__btn:hover { background: #00d97e; }
.news__btn svg { width: 0.7em; height: 0.7em; transition: transform 0.4s var(--ease); }
.news__btn:hover svg { transform: translate(2px, -2px); }
.news__msg { min-height: 1.4em; margin: 8px 0 0; color: #00d97e; font-size: clamp(10px, 0.81vw, 14px); }
.news.is-invalid .news__msg { color: #ff7d6b; }
.news.is-invalid .news__line { background: #ff7d6b; transform: scaleX(1); }

/* =========================================================
   Overlays: about panel, menu, transition, cursor
   ========================================================= */
.about { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
/* About panel — proportions measured from the reference (1464px wide):
   panel 49.2vw, 1.8vw padding, copy 1.62vw bold at 35.7vw wide, video 45.5vw × 2:3 */
.about__backdrop { position: absolute; inset: 0; background: rgba(8, 8, 7, 0.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; }
.about__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 100%; overflow: hidden; isolation: isolate;
  background: #0b0b0a; color: #fff; transform: translateX(102%);
}
.about__panel > .about__close { background: #1d1d1b; }
/* the panel slides over the whole screen; its canvas (aboutfx.js) covers all of it: on desktops the
   photo on the left half sinking into the dark, and a wandering light that turns the copy over it
   negative and becomes a shadow on the photo; on phones the photo fills the panel */
.about__bg { position: absolute; inset: 0; }
.about__bg canvas { display: block; width: 100%; height: 100%; }
.about__scroll {
  position: absolute; top: 0; right: 0; bottom: 0; left: 50%; overflow-y: auto; overscroll-behavior: contain; padding: 1.8vw 1.8vw 0; mix-blend-mode: difference;
  display: flex; flex-direction: column;
}
/* the story fills the panel's height: opening at the top, closing line on the bottom edge,
   sizes taken from whichever is tighter, the panel's width or the screen's height */
.about__scroll > .about__contain { flex: 1; display: flex; flex-direction: column; }
/* the founder line in the site's mono label type, like (Studio details) in the footer */
.about__role { margin: 1.1em 0 1.8em; font-family: var(--mono); font-size: clamp(11px, 0.81vw, 14px); font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.75; }
/* the story reads in one column: a big opening line, the portrait, the rest, a closing line */
.about__lead { margin: auto 0 0;   /* the name sits low, just above the story */ font-size: clamp(30px, min(4.2vw, 5.6svh), 76px); line-height: 0.95; letter-spacing: -0.055em; font-weight: 700; }
/* the closing line, one sentence per line, with the Instagram link beside it */
.about__end { margin-top: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.about__closing span { display: block; }
.about__closing { margin: 0; padding-top: 2em; max-width: none; font-size: clamp(22px, min(2.9vw, 3.7svh), 50px); line-height: 1; letter-spacing: -0.045em; font-weight: 600; }

.about.is-open { pointer-events: auto; }
.about__close {
  position: absolute; top: 1.8vw; right: 1.8vw; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--paper);
  border-radius: 2.4px; padding: 4.5px 4.5px 4.5px 7.8px; font-size: clamp(13px, 1.08vw, 18px); line-height: 1;
}
.about__close kbd {
  display: grid; place-items: center; min-width: 27px; height: 27px; border-radius: 2px;
  background: rgba(232, 232, 227, 0.14); font-family: var(--mono); font-size: 7.5px; text-transform: lowercase;
}
.about__contain { padding: 12px 0 2.7vw; }
.about__eyebrow { display: flex; align-items: center; gap: 0.8vw; font-size: clamp(15px, 1.35vw, 23px); font-weight: 500; letter-spacing: -0.01em; line-height: 1; margin-bottom: 46px; }
.about__eyebrow i { width: 0.9vw; min-width: 10px; aspect-ratio: 1; border-radius: 50%; background: currentColor; }
/* the Instagram link, built and coloured like the Close button (the arrow in the key's place), with
   Start a project's hover: the label rolls and the arrow flies out and back in */
.about__insta {
  position: absolute; right: 1.8vw; bottom: 2.7vw; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; background: #1d1d1b; color: var(--paper);
  border-radius: 2.4px; padding: 4.5px 4.5px 4.5px 7.8px; font-size: clamp(13px, 1.08vw, 18px); line-height: 1;
}
.about__insta .btn__label { padding: 0; }
.about__insta .btn__label span + span { padding: 0; }
.about__insta:hover .btn__label span { transform: translateY(-100%); }
.about__insta kbd { position: relative; overflow: hidden; display: grid; place-items: center; min-width: 27px; height: 27px; border-radius: 2px; background: rgba(232, 232, 227, 0.14); }
.about__insta svg { width: 9px; height: 9px; transition: transform 0.55s var(--ease); }
.about__insta svg + svg { position: absolute; transform: translate(-250%, 250%); }   /* the key is wider than Start a project's, so the spare arrow waits further out */
.about__insta:hover svg:first-child { transform: translate(250%, -250%); }
.about__insta:hover svg + svg { transform: translate(0, 0); }
/* the story reads as one unbroken block: the paragraphs run on, no gaps between them */
.about__text { width: 100%; font-size: clamp(14px, min(1.6vw, 2.2svh), 28px); line-height: 1.14; letter-spacing: -0.03em; font-weight: 500; }
.about__text p { display: inline; margin: 0; }
.about__text p:not(:last-child)::after { content: " "; }

.nav.is-menu { color: var(--paper); }
.nav.is-menu .nav__logo .logo-light { opacity: 1; }
.nav.is-menu .nav__logo .logo-dark { opacity: 0; }
.nav.is-menu .burger, .nav.is-menu .sound-btn { background: rgba(232, 232, 227, 0.16); }
.burger i { transition: transform 0.4s var(--ease), box-shadow 0.3s; }
.nav.is-menu .burger i { box-shadow: none; transform: rotate(45deg); }
.nav.is-menu .burger i::after { content: ""; display: block; width: 14px; height: 1.5px; background: currentColor; transform: rotate(-90deg); }
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--dark-2); color: var(--paper);
  padding: 80px var(--gutter) var(--gutter); display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
}
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.menu a { display: flex; justify-content: space-between; align-items: center; font-size: 40px; font-weight: 600; letter-spacing: -0.05em; line-height: 1.2; }
.menu a span:last-child { font-size: 22px; color: var(--muted); }

.transition {
  position: fixed; inset: 0; z-index: 100; background: var(--dark-2); color: var(--paper);
  display: grid; place-items: center; pointer-events: none; transform: translateY(100%);
}
.transition.is-cover { transform: none; pointer-events: auto; }
.transition { overflow: hidden; isolation: isolate; will-change: transform; }
/* page to page, browsers that can keep the old page on screen until the new one has painted
   (Chrome, Safari 18.2+) do so: the veil never blinks out between the two */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
/* the veil's light (main.js): a tiny canvas stretched over the screen, so it is soft as mist */
.transition__glow { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.transition__logo, .transition__count, .transition__tag { position: relative; mix-blend-mode: difference; }
.transition__logo { display: flex; flex-direction: column; align-items: center; color: var(--paper); }
.transition__logo svg { display: block; width: 100%; height: auto; overflow: visible; }
.transition__logo path { fill: currentColor; fill-rule: evenodd; }
.transition__ml { font-size: clamp(16px, 1.75vw, 26px); font-weight: 400; letter-spacing: -0.03em; line-height: 1; margin: 0 0 0.55em 2%; }
/* until main.js has put the veil in, a plain cover keeps the page from showing for a frame */
html:not(.has-veil) body::before { content: ""; position: fixed; inset: 0; z-index: 101; background: var(--dark-2) url("../img/logo-full-white.png") center / clamp(150px, 16vw, 240px) auto no-repeat; animation: precover 0s 4s forwards; }
@keyframes precover { to { visibility: hidden; } }
/* on the first visit the cover is plain, and the logo's pieces wait hidden for the intro to bring them in */
html.first-visit:not(.has-veil) body::before { background-image: none; }
html.first-visit .transition__logo .mark__o, html.first-visit .transition__logo .mark__l, html.first-visit .transition__ml { opacity: 0; }
.transition__logo { width: clamp(150px, 16vw, 240px); }
.transition__count { position: absolute; left: var(--gutter); bottom: var(--gutter); font-size: clamp(60px, 10vw, 150px); font-weight: 700; letter-spacing: -0.07em; line-height: 0.8; }
.transition__tag { position: absolute; right: var(--gutter); bottom: var(--gutter); color: var(--muted); }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  transform: translate(-50%, -50%);
}
.cursor__label {
  display: inline-block; white-space: nowrap; background: var(--paper); color: var(--ink);
  font-size: 13px; padding: 5px 8px; border-radius: 3px; transform: scale(0); transform-origin: center;
  transition: transform 0.35s var(--ease-out);
}
.cursor.is-active .cursor__label { transform: scale(1); }

/* =========================================================
   Inner pages
   ========================================================= */
.page-head { padding: clamp(110px, 12vw, 180px) var(--gutter) clamp(40px, 4vw, 60px); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.page-head h1 {
  margin: 0; font-size: clamp(64px, 12.5vw, 200px); line-height: 0.82; letter-spacing: -0.075em; font-weight: 700; text-transform: uppercase;
}
.page-head h1.is-long { font-size: clamp(48px, 9.6vw, 156px); }
.page-head .count { font-size: clamp(28px, 3.3vw, 52px); font-weight: 600; letter-spacing: -0.05em; }
.page-intro { padding: 0 var(--gutter) clamp(60px, 7vw, 110px); display: grid; grid-template-columns: minmax(240px, 26%) 1fr; gap: 6vw; }
.page-intro p { margin: 0; font-size: clamp(22px, 2.3vw, 36px); line-height: 1; letter-spacing: var(--track-tight); font-weight: 600; max-width: 22em; }

/* Work */
.work { display: grid; grid-template-columns: minmax(200px, 22%) 1fr; gap: 3vw; padding: 0 var(--gutter) clamp(100px, 10vw, 160px); }
.filters { position: sticky; top: 80px; align-self: start; }
.filters .dot-label { margin-bottom: 18px; }
.filters ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; justify-items: start; }
.filters button { font-size: 13px; padding: 4px 7px; border-radius: 3px; background: rgba(11, 11, 10, 0.07); transition: background 0.3s, color 0.3s; }
.filters button:hover { background: rgba(11, 11, 10, 0.16); }
.filters button.is-active { background: var(--ink); color: var(--paper); }
.section-dark .filters button { background: rgba(232, 232, 227, 0.08); }
.section-dark .filters button:hover { background: rgba(232, 232, 227, 0.16); }
.section-dark .filters button.is-active { background: var(--paper); color: var(--ink); }
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 14px; }
.project { display: block; }
.project.is-hidden, .work__index .project.is-hidden { display: none; }
.work__empty { grid-column: 1 / -1; margin: 0; font-size: clamp(22px, 2.3vw, 36px); line-height: 1; letter-spacing: var(--track-tight); font-weight: 600; color: var(--muted); }
.project__media { aspect-ratio: 1; overflow: hidden; border-radius: 3px; background: #c9c9c4; margin-bottom: 12px; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1s var(--ease), filter 0.6s; }
.project:hover .project__media img { transform: scale(1.08); }
.project h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.045em; font-weight: 600; }
.project p { margin: 0 0 10px; font-size: 13px; color: #55554f; max-width: 30em; line-height: 1.1; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tags span { font-size: 10px; padding: 3px 5px; border-radius: 2px; background: rgba(11, 11, 10, 0.08); }
.section-dark .tags span { background: rgba(232, 232, 227, 0.08); color: var(--muted); }

/* Work index: one line per release; the cover follows the mouse in the green thermal blur (workpreview.js) */
.work__index { display: block; border-top: 1px solid var(--line-dark); }
.work__index .project {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 0 18px;
  padding: clamp(14px, 1.2vw, 20px) 0; border-bottom: 1px solid var(--line-dark);
}
.work__index .project__thumb { display: none; }
.work__index .project p { display: none; }
.project__num { color: var(--muted); font-size: 12px; }
.work__index .project__title { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 1.1vw; min-width: 0; }
.project__song {
  font-size: clamp(30px, 3.9vw, 66px); font-weight: 600; letter-spacing: -0.055em; line-height: 0.95; color: var(--gray);
  transition: color 0.4s, translate 0.6s var(--ease);
}
.project__artist { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.02em; transition: color 0.4s; }
.work__index .tags { justify-content: flex-end; max-width: 260px; }
/* hover effects only where there is a real pointer; on phones a hover state makes iOS spend the first tap on it */
@media (hover: hover) {
  .work__index .project:hover .project__song { color: var(--paper); translate: 0.6vw 0; }
  .work__index .project:hover .project__artist { color: var(--paper); }
  .work__index:hover .project:not(:hover) .project__song { color: #2e2e2c; }
}
.work__index .project__thumb { position: relative; }
.project__heat { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.work__index.has-thermal .project__thumb img { opacity: 0; }
.work__preview {
  position: fixed; left: 0; top: 0; width: clamp(200px, 21vw, 340px); aspect-ratio: 1; z-index: 6;
  pointer-events: none;
}

/* Services page */
.acc { border-top: 1px solid var(--line-dark); }
.acc__item { border-bottom: 1px solid var(--line-dark); }
.acc__toggle { width: 100%; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; text-align: left; padding: 16px 0; gap: 10px; }
.acc__toggle .mono { color: var(--muted); }
.acc__toggle h3 { margin: 0; font-size: clamp(30px, 4vw, 64px); letter-spacing: -0.055em; font-weight: 600; line-height: 1; color: var(--gray); transition: color 0.4s; }
.acc__item:hover h3, .acc__item.is-open h3 { color: var(--paper); }
.acc__plus { width: 26px; height: 26px; position: relative; }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.5s var(--ease); }
.acc__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item.is-open .acc__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__body { height: 0; overflow: hidden; }
/* services page: the flooded strip runs edge to edge, behind the text */
.services-page .acc__item { position: relative; }
.services-page .acc__toggle, .services-page .acc__body { position: relative; z-index: 1; }
.acc__fill { position: absolute; top: 0; left: calc(50% - 50vw); width: 100vw; height: 100%; z-index: 0; pointer-events: none; }
.acc__item.is-filled h3, .acc__item.is-filled .acc__toggle .mono, .acc__item.is-filled .acc__plus,
.acc__item.is-filled .acc__body-inner p, .acc__item.is-filled .acc__body-inner li { color: #0b0b0b; transition: none; }
.acc__item.is-filled .acc__body-inner li { background: rgba(0, 0, 0, 0.1); }
.acc__body-inner { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 10px; padding: 0 0 30px; }
.acc__body-inner p { margin: 0; font-size: 17px; line-height: 1.1; color: #bdbdb8; max-width: 26em; grid-column: 2; }
.acc__body-inner ul { margin: 0; padding: 0; list-style: none; grid-column: 3; display: flex; flex-wrap: wrap; gap: 4px; align-content: flex-start; }
.acc__body-inner li { font-size: 11px; padding: 4px 6px; border-radius: 2px; background: rgba(232, 232, 227, 0.08); }
.services-page { padding: 0 var(--gutter) clamp(100px, 10vw, 160px); }

/* Process page */
.steps { padding: 0 var(--gutter) clamp(80px, 8vw, 140px); }
.step { display: grid; grid-template-columns: 0.6fr 1fr 1fr; gap: 3vw; padding: 30px 0; border-top: 1px solid var(--line-dark); min-height: 70svh; }
.step__num { color: var(--muted); }
.step h3 { margin: 0 0 16px; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.045em; font-weight: 600; }
.step p { margin: 0; font-size: 15px; line-height: 1.1; color: #bdbdb8; max-width: 24em; }
.step__media { position: sticky; top: 80px; align-self: start; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; }
.step__media img { width: 100%; height: 120%; object-fit: cover; }
.faq { display: grid; grid-template-columns: minmax(240px, 30%) 1fr; gap: 6vw; padding: clamp(60px, 7vw, 110px) var(--gutter); background: var(--dark-3); }
.faq h2 { margin: 0; font-size: clamp(24px, 2.3vw, 36px); letter-spacing: var(--track-tight); line-height: 1; font-weight: 600; }
.faq .acc__toggle { grid-template-columns: 1fr auto; }
.faq .acc__toggle h3 { font-size: clamp(18px, 1.6vw, 24px); color: var(--paper); }
.faq .acc__body-inner { grid-template-columns: 1fr; }
.faq .acc__body-inner p { grid-column: 1; font-size: 15px; }

/* Resources */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 var(--gutter) clamp(100px, 10vw, 160px); }
.res-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 340px; padding: 16px; border-radius: 4px; background: var(--dark-3); overflow: hidden; isolation: isolate; }
.res-card::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: translateY(101%); transition: transform 0.6s var(--ease); z-index: -1; }
.res-card:hover::before { transform: none; }
.res-card:hover { color: var(--ink); }
.res-card .mono { color: var(--muted); }
.res-card h3 { margin: 0; font-size: clamp(26px, 2.4vw, 38px); line-height: 0.98; letter-spacing: -0.055em; font-weight: 600; }
.res-card p { margin: 10px 0 0; font-size: 13px; color: var(--muted); max-width: 22em; }

/* Case panel (work): same size and motion as About, filled with video */
.case { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.case.is-open { pointer-events: auto; }
.case__backdrop { position: absolute; inset: 0; background: rgba(8, 8, 7, 0.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; }
.case__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 49.2vw; overflow: hidden;
  background: #0b0b0a; color: #fff; isolation: isolate;
}
.case__video, .case__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__poster { animation: case-drift 18s ease-in-out infinite alternate; }
/* a clip fades in once it is actually playing */
.case__video { opacity: 0; transition: opacity 0.45s; }
.case__video.is-on { opacity: 1; }
.case__panel:not(.has-video) .case__video { display: none; }
/* a case with a clip shows only the clip, never its cover */
.case__panel.has-video .case__poster { visibility: hidden; }
.case__melt { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@keyframes case-drift { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-2%, 1%); } }
.case__shade { position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.62)); }
/* the copy inverts whatever plays behind it, so the video shows through the letters */
.case__content {
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: 1.8vw 1.8vw 2.7vw;
  mix-blend-mode: difference; pointer-events: none;
}
.case__eyebrow { display: flex; align-items: center; gap: 0.8vw; font-size: clamp(15px, 1.35vw, 23px); font-weight: 500; letter-spacing: -0.01em; line-height: 1; }
.case__eyebrow i { width: 0.9vw; min-width: 10px; aspect-ratio: 1; border-radius: 50%; background: currentColor; }
.case__title { margin: auto 0 0; font-size: clamp(44px, 6.4vw, 118px); font-weight: 700; line-height: 0.88; letter-spacing: -0.065em; text-transform: uppercase; }
.case__title span { display: block; }
.case__text { margin: 1.4vw 0 0; width: 35.7vw; font-size: clamp(17px, 1.62vw, 28px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.case__text:empty { display: none; }
.case__tags { margin-top: 1.4vw; font-size: 11px; text-transform: uppercase; letter-spacing: 0.02em; }
.case__close { top: 1.8vw; right: 1.8vw; }
.case__listen { position: absolute; right: 1.8vw; bottom: 2.7vw; z-index: 2; }
.case__listen[hidden] { display: none; }
.case__glow { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.case__panel.has-glow .case__glow { display: block; }
.case__panel.has-glow .case__poster { visibility: hidden; }
.case__next { display: none; }

/* =========================================================
   Marketing: blob-lettering hero (blobtype.js), campaign list, campaign panel (marketing.js)
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* taller than the screen: the stage sticks while you scroll the extra length, which drives the melt */
.mhero { position: relative; height: 210svh; background: #000; }
.mhero__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.mhero__type { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.mhero__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 16px; display: flex; justify-content: space-between;
  font-size: 11px; text-transform: uppercase; color: #fff; mix-blend-mode: difference; pointer-events: none;
}
.mintro { padding-top: clamp(80px, 9vw, 140px); }
.mlist { padding: 0 var(--gutter) clamp(140px, 14vw, 220px); }
/* campaign rows read bigger than the music list, so a case stands apart from the footer links below */
.mlist .project__song { font-size: clamp(44px, 6.6vw, 124px); color: var(--paper); }
.mlist .project__artist { font-size: clamp(13px, 1.2vw, 20px); }
.mlist .project { padding: clamp(18px, 1.8vw, 30px) 0; }

.mcase { position: fixed; inset: 0; z-index: 85; background: #0b0b0a; color: var(--paper); visibility: hidden; }
.mcase.is-open { visibility: visible; }
.mcase__scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; }
/* a full-width band of the clip (silent) across the top, the title on it, fading into the page */
.mcase__top { position: relative; height: 50svh; min-height: 300px; overflow: hidden; background: #000; }
.mcase__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.mcase__fade {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(11, 11, 10, 0.25), rgba(11, 11, 10, 0) 30%, rgba(11, 11, 10, 0.55) 70%, #0b0b0a);
}
.mcase__title {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(10px, 1.2vw, 20px); margin: 0;
  font-size: clamp(48px, 9vw, 168px); font-weight: 700; line-height: 0.86; letter-spacing: -0.07em; text-transform: uppercase;
}
.mcase__title span { display: block; }
.mcase__title > span:first-child { font-size: 0.42em; letter-spacing: -0.05em; color: var(--paper); margin-bottom: 0.08em; }
/* live lettering (blobtype.js, clear mode): the real text keeps its place, transparent,
   and a canvas a little larger than it draws the flowing red-pink letters on top */
.mfx { position: relative; display: block; }
.mstat__num.mfx { display: inline-block; align-self: flex-start; }
.mfx__text { color: transparent; -webkit-text-fill-color: transparent; }
.mfx__canvas { position: absolute; left: -0.3em; top: -0.4em; width: calc(100% + 0.9em); height: calc(100% + 0.8em); pointer-events: none; }
/* the story runs across the full width: label | lead, numbers in one row, platforms, text | credits */
.mcase__body { padding: clamp(28px, 3vw, 48px) var(--gutter) clamp(60px, 6vw, 100px); }
.mcase__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 20px 4vw; align-items: start; }
.mcase__eyebrow { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0.4em 0 0; font-size: clamp(15px, 1.2vw, 20px); font-weight: 500; }
.mcase__eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: #00d97e; }
.mcase__eyebrow .mono { font-size: 11px; text-transform: uppercase; color: var(--muted); }
.mcase__lead { margin: 0; font-size: clamp(24px, 3vw, 54px); line-height: 1; letter-spacing: -0.045em; font-weight: 700; }
.mcase__text b { font-weight: inherit; }
/* the partner's name is a quiet link: plain white, it greys a little under the pointer */
.mcase__link { color: var(--paper); text-decoration: none; transition: color 0.3s; }
.mcase__link:hover { color: var(--muted); }
/* the headline number across the top, the other three side by side under it */
.mstats { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 4vw, 64px); border-top: 1px solid var(--line-dark); }
.mstat { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 22px 16px 24px 0; border-bottom: 1px solid var(--line-dark); }
.mstat:not(.mstat--big) + .mstat { padding-left: 16px; border-left: 1px solid var(--line-dark); }
.mstat--big { padding-right: 20px; }
.mstat--big + .mstat { padding-left: 16px; border-left: 1px solid var(--line-dark); }
.mstat__num { font-size: clamp(40px, 3.9vw, 74px); font-weight: 700; letter-spacing: -0.065em; line-height: 0.85; font-variant-numeric: tabular-nums; }
.mstat--big .mstat__num { font-size: clamp(96px, 13vw, 240px); }
/* highlighted words in the story: the title's red → pink → white, drifting through the letters */
.mfill {
  color: transparent; -webkit-text-fill-color: transparent;
  background-image:
    radial-gradient(closest-side, #f3f0ec 30%, rgba(243, 240, 236, 0) 100%),
    radial-gradient(closest-side, #ff6fe6 25%, rgba(255, 111, 230, 0) 100%),
    linear-gradient(115deg, #e6170e, #ff5fd8 30%, #f3f0ec 48%, #ff5fd8 62%, #e6170e 82%, #ff5fd8);
  background-size: 70% 120%, 90% 140%, 300% 100%;
  background-repeat: no-repeat, no-repeat, repeat;
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 0.25em rgba(255, 40, 30, 0.35));
  animation: mfill-flow 9s ease-in-out infinite alternate;
}
.mcase__text .mfill:nth-of-type(2) { animation-delay: -3s; }
.mcase__text .mfill:nth-of-type(3) { animation-delay: -6s; }
@keyframes mfill-flow {
  0%   { background-position: -30% 20%, 120% 80%, 0% 0; }
  50%  { background-position: 60% -40%, 20% 120%, 50% 0; }
  100% { background-position: 130% 60%, -40% 10%, 100% 0; }
}
.mstat__label { font-size: 11px; text-transform: uppercase; color: var(--muted); max-width: 24em; line-height: 1.3; }
.mplatforms { margin-top: clamp(40px, 4vw, 64px); }
.mplatforms__label { display: block; margin-bottom: 14px; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.mplatforms ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mplatforms li {
  display: flex; align-items: center; gap: 10px; padding: 14px 12px; border: 1px solid var(--line-dark); border-radius: 4px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.03em; transition: background 0.3s, color 0.3s;
}
.mplatforms li svg { width: 22px; height: 22px; flex: none; fill: var(--paper); }
.mplatforms li:hover { background: var(--paper); color: var(--ink); }
.mplatforms li:hover svg { fill: var(--ink); }
.mcase__story { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 30px 4vw; margin-top: clamp(40px, 4vw, 64px); align-items: start; }
.mcase__text { margin: 0; }
.mcase__text p { margin: 0 0 1em; max-width: 40em; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; color: #bdbdb7; }
.mcase__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin: 0; padding-top: 6px; font-size: 11px; text-transform: uppercase; }
.mcase__meta dt { margin-bottom: 6px; color: var(--muted); }
.mcase__meta dd { margin: 0; }
.mcase__listen { margin-top: clamp(30px, 3vw, 50px); }
.mcase__close { position: fixed; top: 1.8vw; right: 1.8vw; z-index: 3; }

/* Websites: what we build, one row each */
.wlist { list-style: none; margin: 0; padding: 0 var(--gutter); border-top: 1px solid var(--line-dark); }
.wlist li {
  display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr); gap: 10px 3vw; align-items: baseline;
  padding: clamp(20px, 2.2vw, 36px) 0; border-bottom: 1px solid var(--line-dark);
}
.wlist .mono { font-size: 12px; color: var(--muted); }
.wlist h3, .wlist__h { margin: 0; font-size: clamp(32px, 4.2vw, 76px); font-weight: 600; letter-spacing: -0.055em; line-height: 0.95; }
.wlist p, .wlist__p { margin: 0; max-width: 30em; font-size: clamp(15px, 1.2vw, 20px); line-height: 1.2; letter-spacing: -0.02em; color: #bdbdb7; }
.wcta { padding: clamp(40px, 5vw, 80px) var(--gutter) clamp(100px, 10vw, 160px); }
/* a direction with finished sites: the row opens into a compact list of them, one line per site */
.wlist li.has-cases { display: block; padding: 0; }
.wlist__row {
  display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr); gap: 10px 3vw; align-items: baseline;
  width: 100%; padding: clamp(20px, 2.2vw, 36px) 0; text-align: left; color: inherit; cursor: pointer;
}
.wlist__side { display: grid; gap: 14px; }
.wlist__count { display: inline-flex; align-items: center; gap: 10px; color: var(--paper) !important; }
.wlist__count i { font-style: normal; font-size: 16px; line-height: 1; transition: transform 0.5s var(--ease); }
.wlist__row[aria-expanded="true"] .wlist__count i { transform: rotate(45deg); }
.wlist__cases { height: 0; overflow: hidden; }
.wcase {
  display: grid; grid-template-columns: 64px 180px minmax(0, 1fr) auto auto; gap: 3vw; align-items: center;
  padding: 0 0 clamp(20px, 2.2vw, 36px); color: var(--paper);
}
.wcase__media { grid-column: 2; display: block; overflow: hidden; border-radius: 3px; background: #000; aspect-ratio: 1800 / 827; }
.wcase__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.wcase:hover .wcase__media img { transform: scale(1.06); }
.wcase__title { font-size: clamp(22px, 2vw, 34px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.wcase__kind { font-size: clamp(14px, 1.06vw, 17px); color: #bdbdb7; letter-spacing: -0.02em; }
.wcase__url { display: inline-flex; align-items: center; gap: 6px; color: var(--paper) !important; }
.wcase__url svg { width: 9px; height: 9px; transition: transform 0.4s var(--ease); }
.wcase:hover .wcase__url svg { transform: translate(2px, -2px); }

/* =========================================================
   Contact / Start a project
   ========================================================= */
.contact { min-height: 100svh; padding: clamp(110px, 11vw, 160px) var(--gutter) clamp(80px, 8vw, 120px); display: grid; justify-items: center; align-content: start; }
.contact__head { text-align: center; margin-bottom: clamp(40px, 5vw, 70px); }
.contact__head h1 { margin: 0 0 18px; font-size: clamp(48px, 6.4vw, 100px); line-height: 0.9; letter-spacing: -0.065em; font-weight: 600; color: #a9a9a4; }
.contact__head h1 .ink { color: var(--ink); }
.contact__head p { margin: 0 auto; max-width: 25em; font-size: 14px; line-height: 1.05; color: #77776f; }

.form { width: min(780px, 100%); background: var(--light-2); border-radius: clamp(14px, 1.6vw, 24px); padding: clamp(18px, 2.4vw, 36px); position: relative; overflow: hidden; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(16px, 2vw, 30px); }
.field { position: relative; display: block; padding: 14px 0 0; margin-bottom: clamp(18px, 2vw, 28px); }
.field__label { display: flex; justify-content: space-between; color: #77776f; margin-bottom: 6px; }
.field__label em { font-style: normal; color: #b4453a; opacity: 0; transition: opacity 0.3s; }
.field.is-invalid .field__label em { opacity: 1; }
.field input, .field textarea {
  width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: clamp(22px, 2.2vw, 34px); font-weight: 600; letter-spacing: -0.05em; line-height: 1.1;
  padding: 4px 0 10px; resize: none; border-radius: 0;
}
.field textarea { min-height: 3.4em; }
.field input::placeholder, .field textarea::placeholder { color: #b9b9b3; }
.field__line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-light); }
.field__line::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.field:focus-within .field__line::after { transform: scaleX(1); }
.field.is-invalid .field__line::after { background: #b4453a; transform: scaleX(1); }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 8px; }
.form__note { font-size: 12px; color: #77776f; max-width: 26em; line-height: 1.1; }
.form .btn[disabled] { opacity: 0.6; pointer-events: none; }
.form__done {
  position: absolute; inset: 0; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(18px, 2.4vw, 36px); clip-path: inset(100% 0 0 0);
}
.form__done h2 { margin: 0; font-size: clamp(36px, 4.6vw, 72px); line-height: 0.9; letter-spacing: -0.065em; font-weight: 600; }
.form__done p { margin: 0; font-size: 14px; color: var(--muted); max-width: 26em; }
.contact__alt { margin-top: 26px; font-size: 13px; color: #77776f; text-align: center; }
.contact__alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  /* phones, like the reference: logo, sound, Start a project, menu */
  .nav__right { gap: 6px; }
  .burger { display: grid; }
  .statement, .services__grid, .page-intro, .work, .faq { grid-template-columns: 1fr; }
  /* phones, like the reference: the statement fills the screen first, then the line and a testimonial under it */
  .statement { gap: 50px; min-height: 0; }
  /* the same size as the page intros (Music, Websites…), one text size across the site */
  .statement__text { order: 1; max-width: none; font-size: clamp(22px, 2.3vw, 36px); font-weight: 600; letter-spacing: var(--track-tight); }
  .statement .slider { order: 2; }
  .slider { position: relative; top: 0; width: 100%; min-width: 0; }
  .slider__quote { font-size: 15px; }
  .services__grid { gap: 50px; }
  .services__grid .slider { order: 2; }
  .services__hover { display: none; }
  .work__grid, .res-grid { grid-template-columns: 1fr 1fr; }
  .filters { position: relative; top: 0; }
  .filters ul { display: flex; flex-wrap: wrap; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > :first-child { grid-column: 1 / -1; grid-row: auto; }
  .news { grid-column: 1 / -1; max-width: none; margin-top: 32px; }
  .footer__cols > .spacer { display: none; }
  .step { grid-template-columns: 1fr; min-height: 0; }
  .step__media { position: relative; top: 0; }
  .acc__toggle { grid-template-columns: 44px 1fr auto; }
  .acc__body-inner { grid-template-columns: 1fr; }
  .acc__body-inner p, .acc__body-inner ul { grid-column: 1; }
}
@media (max-width: 600px) {
  .hero__coords, .hero__scroll { display: none; }
  /* the intro sits low, just above "Creative Partner…", leaving the top to the wordmark */
  .hero__copy { top: auto; bottom: 52px; }
  .hero__copy p { margin: 0; }
  .hero__copy a { display: none; }   /* "Start a project" is in the header now */
  /* phones: everything on one screen, no scrolling — the name at the top under "About the studio",
     the story across the full width at the bottom, the photo showing in between; the story in the
     hero intro's type, shrinking a little on short screens so it always fits */
  .about__scroll { left: 0; padding: 16px 16px 0; overflow: hidden; }
  .about__contain { padding-bottom: 20px; }
  .about__eyebrow { margin-bottom: 28px; }
  .about__role { margin: 12px 0 20px; font-size: 11px; }
  .about__text, .about__closing { font-size: clamp(11px, 1.72svh, 14px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 500; }
  .about__closing { padding: 1.2em 0 0; }
  .mhero { height: 160svh; }   /* a shorter run on phones, so the melt follows the thumb closely */
  .mcase__top { height: 50svh; }
  .mcase__body { padding: 24px 16px 60px; }
  .mcase__intro, .mcase__story { grid-template-columns: 1fr; }
  .mcase__eyebrow { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .mstat--big + .mstat { padding-left: 0; border-left: 0; }
  .mstats { grid-template-columns: 1fr; }
  .mstat { flex-direction: row; align-items: flex-end; padding: 18px 0 20px; }
  .mstat:not(.mstat--big) + .mstat { padding-left: 0; border-left: 0; }
  .mstat--big { flex-direction: column; align-items: flex-start; }
  .mstat__label { text-align: right; max-width: 14em; }
  .mstat--big .mstat__label { text-align: left; }
  .mplatforms ul { grid-template-columns: 1fr 1fr; }
  .mcase__close { top: 16px; right: 16px; }
  .case__panel { width: 100%; }
  .case__content { padding: 16px 16px 90px; }
  .case__text { width: 100%; margin-top: 16px; }
  .case__tags { margin-top: 14px; }
  .case__close { top: 16px; right: 16px; }
  .case__listen { left: 16px; right: auto; bottom: 24px; }
  /* quiet: a small label rather than a button, the swipe does the same */
  .case__next {
    position: absolute; right: 8px; bottom: 26px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 8px; color: var(--paper); opacity: 0.6;
    font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.02em;
  }
  .case__next span { transition: transform 0.4s var(--ease); }
  .case__next:active span { transform: translateX(4px); }
  .about__close { top: 16px; right: 16px; }
  .about__insta { right: 16px; bottom: 20px; }
  .about__text { width: 100%; }

  .vision__heading { font-size: 13.5vw; }
  .work__grid, .res-grid, .form__row { grid-template-columns: 1fr; }
  .work__index .project { grid-template-columns: 56px 1fr; gap: 6px 14px; }
  .wlist li { grid-template-columns: 1fr; }
  .wlist__row { grid-template-columns: 1fr; }
  .wcase { grid-template-columns: 120px 1fr; gap: 4px 14px; }
  .wcase__media { grid-column: 1; grid-row: span 3; }
  .wcase__title, .wcase__kind, .wcase__url { grid-column: 2; justify-self: start; }
  .work__index .project__num { display: none; }
  .work__index .project__thumb { display: block; grid-row: span 2; width: 56px; aspect-ratio: 1; overflow: hidden; border-radius: 2px; }
  .work__index .project__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .work__index .tags { justify-content: flex-start; grid-column: 2; }
  .work__index .project__song { color: var(--paper); } /* no hover on phones, so titles start lit */
  /* phones, like the reference: studio details and socials side by side, the newsletter right under
     them, then the clock; no empty stretch between the menu and the details */
  /* testimonials, like the reference: the hero intro's text size, a narrower column, larger arrows
     and portrait; the same 16px edge as the hero */
  .statement, .services { padding-left: 16px; padding-right: 16px; }
  .slider__bar { margin-bottom: 12px; }
  .slider__top { margin-bottom: 24px; }
  .slider__arrows { gap: 14px; }
  .slider__arrows button { width: 22px; height: 18px; }
  .slider__arrows svg { width: 20px; height: auto; }
  .slider__count { font-family: var(--mono); font-size: 11px; background: none; padding: 0; }
  .slider__quote { font-size: 14px; line-height: 1.2; letter-spacing: -0.03em; max-width: 80%; margin-bottom: 22px; }
  .person { gap: 12px; }
  .person img { width: 44px; height: 44px; }
  .person b, .person small { font-size: 14px; letter-spacing: -0.02em; }
  /* one text size for the whole footer on phones, the hero intro's (only the mono labels stay small) */
  .footer__main { --foot: 14px; min-height: 0; padding: 16px 16px 20px; }
  .footer__cols { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; column-gap: 18px; flex: none; }
  .footer__cols > :first-child { margin-bottom: 56px; }
  .footer__col-label { margin-bottom: 20px; font-size: 11px; }
  .footer__details a.email, .footer__details p, .footer__socials a, .news__title, .news__row input, .footer__bottom { font-size: var(--foot); line-height: 1.15; letter-spacing: -0.03em; }
  .footer__details a.email { margin-top: 0; }
  .footer__details p { margin-top: 14px; }
  .footer__socials { gap: 4px; margin-top: 0; }
  .footer__socials a { font-size: 22px; line-height: 1.1; }   /* the one larger line, like the reference */
  .news { margin-top: 44px; }
  .news__title { margin-bottom: 16px; }
  .news__row input { font-weight: 400; }
  .footer__bottom { grid-template-columns: 1fr auto; gap: 18px; margin-top: 30px; }
  /* the clock gets the full width (one line for the date); Back to top sits at the right of its first
     line, the copyright on its own row under it */
  .footer__bottom > div:first-child { grid-row: 1; grid-column: 1 / -1; }
  .footer__bottom .totop { grid-row: 1; grid-column: 2; justify-self: end; align-self: start; }
  .footer__bottom .copy { grid-row: 2; grid-column: 1 / -1; justify-self: start; }
  .form__foot { flex-direction: column; align-items: flex-start; }
  .page-head { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .vision__half.is-left, .vision__half.is-right { transform: none; }
  .grain { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* spam trap: a field people never see; bots that fill it in are ignored by the forms Worker */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
