/* M-RECORDS v2 «Светлый эфир»
   Light Swiss / editorial, auto dark mode via prefers-color-scheme.

   Radius system (locked):
     --r-card 20px  : cards, tiles, photos, the accordion frame
     999px          : every button, icon button and chip (full pill)
     nothing else is rounded.

   Accent (locked): cobalt. Fills (buttons, tiles, bars) use --accent in both
   modes; accent-coloured text uses --accent-text (lighter tint in dark mode).

   z-index scale: 1-3 accordion strips | 10 header | 20 mobile call bar | 30 skip link
*/

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Geologica";
  src: url("fonts/geologica-cyrillic.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geologica";
  src: url("fonts/geologica-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-cyrillic.woff2") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;

  --paper: #F3F4F6;
  --surface: #FBFBFC;
  --tint: #E7E9EE;
  --ink: #101114;
  --ink-2: #474C57;
  --ink-3: #5F6573;
  --line: #D6D9DF;
  --accent: #2F4BFF;
  --accent-press: #2238D9;
  --accent-text: #2F4BFF;
  --on-accent: #F7F8FF;
  --photo-ink: #F5F6F8;          /* text on photo scrims, both modes */
  --photo-bg: #15171B;           /* placeholder behind photos (lazy load, accordion), both modes */
  --product-bg: #F4F4F3;         /* seamless backdrop of the white product shots */
  --product-mic-bg: #EAEAEA;
  --product-dim: none;           /* dark mode dims product shots + backdrop together */
  --shadow: 0 1px 2px rgb(16 17 20 / .06), 0 12px 32px -12px rgb(16 17 20 / .18);
  --shadow-accent: 0 10px 28px -10px rgb(47 75 255 / .55);

  --font: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r-card: 20px;
  --r-pill: 999px;

  --gutter: clamp(16px, 4vw, 48px);
  --gap: clamp(12px, 1.6vw, 24px);
  --header-h: 72px;
  --section-y: clamp(4rem, 6.4vw, 6.5rem);   /* ~184px between blocks at 1440, ~128px on phones */

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0D0E11;
    --surface: #15171B;
    --tint: #1D2026;
    --ink: #ECEDF0;
    --ink-2: #B1B5BF;
    --ink-3: #8E94A0;
    --line: #2A2D34;
    --accent: #2F4BFF;
    --accent-press: #4560FF;
    --accent-text: #8C9BFF;
    --on-accent: #F7F8FF;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 14px 36px -12px rgb(0 0 0 / .6);
    --shadow-accent: 0 10px 30px -10px rgb(47 75 255 / .6);
    /* white seamless product shots would be the brightest thing on a dark page:
       dim photo and backdrop by the same factor (.8) so they stay seamless */
    --product-dim: brightness(.8);
    --product-bg: #C3C3C2;       /* #F4F4F3 x .8 */
    --product-mic-bg: #BBBBBB;   /* #EAEAEA x .8 */
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 30;
  padding: 12px 18px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--paper); font-weight: 500;
  transform: translateY(-160%); transition: transform .25s var(--ease-out);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

/* ---------- Type ---------- */
.h2 {
  font-size: clamp(2rem, 1.15rem + 2.7vw, 3.75rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 18ch;
}
.lead {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 44ch;
  text-wrap: pretty;
}
.eyebrow {
  font-family: var(--mono);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 52px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--btn-h);
  padding: 0 1.6rem 0 1.35rem;
  border-radius: var(--r-pill);
  font-weight: 500; font-size: 1.0625rem; line-height: 1; letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform .35s var(--ease-out), background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .35s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn--lg { --btn-h: 60px; font-size: 1.125rem; padding: 0 1.9rem 0 1.6rem; }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 0 rgb(47 75 255 / 0); }
.btn--primary .icon { transition: transform .45s var(--ease-out); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (hover: hover) {
  .btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-accent); }
  .btn--primary:hover .icon { transform: rotate(-12deg) scale(1.06); }
  .btn--ghost:hover { transform: translateY(-2px); background: var(--ink); color: var(--paper); }
}
.btn:active { transform: translateY(0) scale(.97); transition-duration: .12s; }
.btn--primary:active { background: var(--accent-press); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: var(--r-pill);
  color: var(--ink); background: transparent;
  transition: background-color .25s ease, transform .3s var(--ease-out);
}
.icon-btn .icon { width: 22px; height: 22px; }
.icon-btn--accent { background: var(--accent); color: var(--on-accent); }
.icon-btn:active { transform: scale(.94); }

/* ---------- Header ---------- */
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 6px; pointer-events: none; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  height: var(--header-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem;
}
.wordmark {
  font-weight: 700; font-size: 1.25rem; letter-spacing: -0.03em; line-height: 1;
  white-space: nowrap; padding-block: 12px;
}
.wordmark__dash { color: var(--accent-text); }

.nav { display: flex; justify-content: center; gap: .25rem; }
.nav a {
  position: relative;
  padding: .7rem .9rem; border-radius: var(--r-pill);
  font-size: .9375rem; color: var(--ink-2);
  transition: color .2s ease, background-color .2s ease;
}
.nav a:hover { color: var(--ink); background: var(--tint); }
.nav a[aria-current="true"] { color: var(--ink); }
.nav a[aria-current="true"]::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .35rem; height: 2px;
  background: var(--accent-text);
}

.site-header__actions { display: flex; align-items: center; gap: .5rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 44px; padding-inline: .25rem;
  font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.header-phone .icon { color: var(--accent-text); width: 1.15em; height: 1.15em; }
.header-phone span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease-out); padding-bottom: 2px; }
.header-phone:hover span { background-size: 100% 1.5px; }
.header-call, .menu-btn { display: none; }
.menu-btn .icon--close { display: none; }
.site-header.nav-open .menu-btn .icon--open { display: none; }
.site-header.nav-open .menu-btn .icon--close { display: block; }

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .header-phone { display: none; }
  .header-call { display: inline-grid; }
  .js .menu-btn { display: inline-grid; }
  .js .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .35s var(--ease-out), visibility 0s linear .35s;
  }
  .js .site-header.nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .js .nav a { font-size: 1.375rem; font-weight: 500; color: var(--ink); padding: .85rem 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .js .nav a:last-child { border-bottom: 0; }
  .js .nav a:hover { background: none; color: var(--accent-text); }
  .js .nav a[aria-current="true"]::after { display: none; }
  /* no JS: navigation stays visible as a scrollable row under the logo */
  html:not(.js) .site-header__inner { height: auto; grid-template-columns: 1fr auto; row-gap: 0; padding-block: .5rem; }
  html:not(.js) .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; margin-inline: -.9rem; }
  html:not(.js) .nav a { white-space: nowrap; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(1rem, 3.2vh, 2.25rem) clamp(2rem, 5vh, 3.5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(2rem, 4.5vw, 4.5rem);
  min-height: clamp(560px, calc(100dvh - var(--header-h) - 4.75rem), 860px);
}
.hero__copy {
  position: relative;
  display: flex; flex-direction: column;
  padding-top: clamp(.5rem, 4vh, 3rem);
}
.hero__title {
  /* sized to the copy column so «Студия звукозаписи» always holds one line */
  font-size: clamp(2.25rem, calc(5.2vw - 4px), 4.5rem);
  line-height: .96;
  letter-spacing: -0.045em;
  font-weight: 650;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--light { font-weight: 300; color: var(--ink-2); letter-spacing: -0.04em; }
.hero__bottom { margin-top: auto; padding-top: 2rem; display: grid; gap: clamp(1.5rem, 3.5vh, 2.25rem); }
.hero__lead {
  font-size: clamp(1.0625rem, .95rem + .45vw, 1.375rem);
  line-height: 1.45; color: var(--ink-2); max-width: 31ch; text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hero__phone {
  font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); font-weight: 600; letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  min-height: 44px; display: inline-flex; align-items: center;
  background: linear-gradient(var(--accent-text), var(--accent-text)) 0 calc(100% - 6px) / 0 2px no-repeat;
  transition: background-size .4s var(--ease-out), color .2s ease;
}
.hero__phone:hover { background-size: 100% 2px; }

.hero__media { position: relative; min-height: 0; }
.hero__photo {
  position: absolute; inset: 0;
  border-radius: var(--r-card); overflow: hidden; background: var(--tint);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 41% 40%; }
.hero__inset {
  --inset-w: clamp(240px, 25vw, 380px);
  position: absolute; z-index: 2;
  left: calc(-1 * (var(--inset-w) - 3.5rem));
  /* parked in the open band between the headline and the lead, so it never
     crowds the lead or the call button (it did at 1024-1180) */
  top: 29%;
  width: var(--inset-w);
  aspect-ratio: 4 / 3;
  border-radius: var(--r-card); overflow: hidden;
  background: var(--tint);
  box-shadow: 0 0 0 8px var(--paper);
}
.hero__inset img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 55%; }

@media (prefers-reduced-motion: no-preference) {
  .hero__title .line > span { animation: rise 1.1s var(--ease-out) both; }
  .hero__title .line--light > span { animation-delay: .09s; }
  .hero__lead { animation: fade-up .9s var(--ease-out) .25s both; }
  .hero__cta { animation: fade-up .9s var(--ease-out) .36s both; }
  .hero__photo { animation: fade .9s ease .05s both; }
  .hero__photo img { animation: settle 1.6s var(--ease-out) .05s both; }
  .hero__inset { animation: fade-up 1s var(--ease-out) .55s both; }
}
@keyframes rise { from { transform: translate3d(0, 105%, 0); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }

/* below 1024px the hero stacks: copy first (call button above the fold), photos after */
@media (max-width: 1023px) {
  .hero { padding-block: 1.5rem 2.5rem; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; row-gap: 2rem; }
  .hero__copy { padding-top: 0; }
  .hero__title { font-size: clamp(2.35rem, 7.4vw, 4.25rem); }
  .hero__bottom { margin-top: 1.25rem; padding-top: 0; gap: 1.5rem; }
  .hero__media { height: clamp(300px, 62vw, 560px); }
  .hero__inset { --inset-w: 34%; left: auto; right: 18px; top: auto; bottom: -26px; }
}
@media (max-width: 767px) {
  .hero__title { font-size: clamp(2.35rem, 10.6vw, 3rem); }
  .hero__cta { gap: .75rem 1rem; }
  .hero__cta .btn--lg { --btn-h: 56px; font-size: 1.0625rem; padding: 0 1.35rem 0 1.15rem; }
  .hero__phone { font-size: 1.0625rem; }
  .hero__media { height: clamp(300px, 92vw, 420px); }
  .hero__inset { --inset-w: 42%; right: 14px; bottom: -22px; box-shadow: 0 0 0 6px var(--paper); }
}

/* ---------- Directions: accordion image slider ----------
   Strips are full-width layers stacked left to right; expansion is pure
   transform (translateX of each strip and of its photo), no layout animation. */
.directions { padding-top: clamp(3rem, 6vw, 5.5rem); }
.directions__title { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 20ch; }

.acc {
  --pad: clamp(20px, 2.2vw, 32px);
  --x1: 60; --x2: 80; --w0: 60; --w1: 20; --w2: 20;
  position: relative;
  height: clamp(460px, 64vh, 620px);
  border-radius: var(--r-card);
  overflow: hidden;
  isolation: isolate;
  background: var(--photo-bg);
}
.acc[data-active="1"] { --x1: 20; --x2: 80; --w0: 20; --w1: 60; --w2: 20; }
.acc[data-active="2"] { --x1: 20; --x2: 40; --w0: 20; --w1: 20; --w2: 60; }
html:not(.js) .acc:has(.acc__panel:nth-child(2):is(:hover, :focus-within)) { --x1: 20; --x2: 80; --w0: 20; --w1: 60; --w2: 20; }
html:not(.js) .acc:has(.acc__panel:nth-child(3):is(:hover, :focus-within)) { --x1: 20; --x2: 40; --w0: 20; --w1: 20; --w2: 60; }

.acc__panel {
  --x: 0; --w: var(--w0);
  position: absolute; inset: 0;
  overflow: hidden;
  background: var(--photo-bg);
  transform: translate3d(calc(var(--x) * 1%), 0, 0);
  transition: transform .85s var(--ease-out);
  cursor: pointer;
}
.acc__panel:nth-child(1) { z-index: 1; }
.acc__panel:nth-child(2) { z-index: 2; --x: var(--x1); --w: var(--w1); box-shadow: -6px 0 0 0 var(--paper); }
.acc__panel:nth-child(3) { z-index: 3; --x: var(--x2); --w: var(--w2); box-shadow: -6px 0 0 0 var(--paper); }

.acc__img {
  position: absolute; top: 0; left: 0;
  width: 60%; height: 100%; max-width: none;
  object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%);
  transform: translate3d(calc((var(--w) - 60) / 120 * 100%), 0, 0);
  transition: transform .85s var(--ease-out);
}
.acc__panel::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 60%; height: 75%;
  background: linear-gradient(to top, rgb(9 10 13 / .82) 0%, rgb(9 10 13 / .5) 38%, rgb(9 10 13 / 0) 100%);
  pointer-events: none;
}
.acc__body {
  position: absolute; z-index: 2; left: 0; bottom: 0;
  width: 60%; padding: var(--pad);
  color: var(--photo-ink);
}
.acc__title {
  /* tied to the strip width: the longest word («оборудования», ~7.1em) must fit a 20% strip from 1024 up */
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.1; font-weight: 600; letter-spacing: -0.025em;
  max-width: calc(100% / 3 - var(--pad) * 4 / 3 - 6px);
}
.acc__btn {
  display: inline-block; text-align: left; line-height: inherit; letter-spacing: inherit; font-weight: inherit; cursor: pointer;
  padding-block: 10px; margin-block: -10px;   /* hit area >= 44px tall, layout unchanged */
}
.acc__body :focus-visible { outline-color: var(--photo-ink); }
.acc__more {
  margin-top: 1rem;
  max-width: 40ch;
  opacity: 0; transform: translate3d(0, 10px, 0);
  transition: opacity .3s ease, transform .5s var(--ease-out);
}
.acc__more p { font-size: 1.0625rem; line-height: 1.5; color: rgb(245 246 248 / .88); }
.acc__link {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: .75rem;
  font-weight: 500; color: var(--photo-ink);
  border-bottom: 1.5px solid rgb(245 246 248 / .45);
  padding-block: .7rem .45rem;
  transition: border-color .2s ease;
}
.acc__link .icon { transition: transform .35s var(--ease-out); }
.acc__link:hover { border-color: var(--photo-ink); }
.acc__link:hover .icon { transform: translateX(4px); }
.acc__hint {
  position: absolute; z-index: 3; top: var(--pad); left: var(--pad);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-pill);
  background: rgb(9 10 13 / .34); color: var(--photo-ink);
  box-shadow: inset 0 0 0 1px rgb(245 246 248 / .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: opacity .3s ease, transform .5s var(--ease-out);
}
.acc__hint .icon { width: 18px; height: 18px; }
.acc__panel.is-active .acc__hint { opacity: 0; transform: rotate(45deg) scale(.8); }
.acc__panel.is-active { cursor: default; }
.acc__panel.is-active .acc__more { opacity: 1; transform: none; transition-delay: .28s; }
html:not(.js) .acc__panel:is(:hover, :focus-within) .acc__more { opacity: 1; transform: none; }
html:not(.js) .acc:has(.acc__panel:is(:hover, :focus-within)) .acc__panel.is-active:not(:hover, :focus-within) .acc__more { opacity: 0; }
@media (hover: hover) {
  .acc__panel:not(.is-active):hover .acc__img { filter: brightness(1.08); }
}

@media (max-width: 1023px) {
  .acc { height: 620px; --pad: 20px; }
  .acc__panel { transform: translate3d(0, calc(var(--x) * 1%), 0); }
  .acc__panel:nth-child(2), .acc__panel:nth-child(3) { box-shadow: 0 -6px 0 0 var(--paper); }
  .acc__img {
    width: 100%; height: 60%;
    transform: translate3d(0, calc((var(--w) - 60) / 120 * 100%), 0);
  }
  .acc__panel::after {
    top: 0; bottom: auto; width: 100%; height: 60%;
    background: linear-gradient(to bottom, rgb(9 10 13 / .82) 0%, rgb(9 10 13 / .66) 52%, rgb(9 10 13 / .25) 100%);
  }
  .acc__body { top: 0; bottom: auto; width: 100%; padding-right: calc(var(--pad) + 48px); }
  .acc__hint { left: auto; right: var(--pad); top: calc(var(--pad) - 6px); }
  .acc__title { max-width: none; font-size: 1.375rem; }
  .acc__more { margin-top: .75rem; }
  .acc__more p { font-size: 1rem; }
}

/* ---------- Studio: bento ---------- */
.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(3, clamp(250px, 21vw, 310px));
  gap: var(--gap);
}
.tile {
  position: relative; overflow: hidden;
  border-radius: var(--r-card);
  background: var(--surface);
  padding: clamp(20px, 2.2vw, 32px);
  display: flex; flex-direction: column;
}
.tile__title { font-size: clamp(1.375rem, 1rem + .9vw, 1.875rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.tile__text p { margin-top: .6rem; font-size: 1rem; line-height: 1.5; max-width: 38ch; text-wrap: pretty; }

.tile--vocal { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.tile--instruments { grid-column: 8 / span 5; grid-row: 1; }
.tile--mastering { grid-column: 8 / span 5; grid-row: 2; }
.tile--mixing { grid-column: 1 / span 5; grid-row: 3; }
.tile--arrangement { grid-column: 6 / span 7; grid-row: 3; }

.tile--photo { justify-content: flex-end; color: var(--photo-ink); background: var(--photo-bg); }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(9 10 13 / .84) 0%, rgb(9 10 13 / .6) 34%, rgb(9 10 13 / 0) 66%);
}
.tile--photo .tile__text { position: relative; z-index: 1; }
.tile--photo .tile__text p { color: rgb(245 246 248 / .92); }
.tile--vocal img { object-position: 74% 45%; }
.tile--vocal .tile__title { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); }
.tile--mixing img { object-position: 50% 62%; }

.tile--product { background: var(--product-bg); color: #101114; flex-direction: row; align-items: flex-start; }
.tile--product .tile__text { position: relative; z-index: 1; max-width: 52%; }
.tile--product .tile__text p { color: #3F444E; }
.tile--product img {
  position: absolute; right: -2%; bottom: -6%; height: 112%; width: auto; max-width: 62%;
  object-fit: contain;
  filter: var(--product-dim);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%);
  mask-image: linear-gradient(to right, transparent 0, #000 16%);
}

.tile--accent { background: var(--accent); color: var(--on-accent); justify-content: space-between; }
.tile--accent .tile__icon { width: 56px; height: 56px; fill: currentColor; opacity: .95; }
.tile--accent .tile__text p { color: rgb(247 248 255 / .9); }

.tile--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(16px, 2vw, 28px); padding-right: 0; padding-block: 0; }
.tile--split .tile__col { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding-block: clamp(20px, 2.2vw, 32px); }
.tile--split .tile__icon { width: 44px; height: 44px; fill: var(--accent-text); }
.tile--split .tile__text p { color: var(--ink-2); }
.tile__figure { position: relative; height: 100%; overflow: hidden; }
.tile__figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 46%; }

@media (min-width: 768px) and (max-width: 1023px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 440px repeat(3, 300px); }
  .tile--vocal { grid-column: 1 / -1; grid-row: 1; }
  .tile--instruments { grid-column: 1 / -1; grid-row: 2; }
  .tile--mastering { grid-column: 1 / span 3; grid-row: 3; }
  .tile--mixing { grid-column: 4 / span 3; grid-row: 3; }
  .tile--arrangement { grid-column: 1 / -1; grid-row: 4; }
}
@media (max-width: 767px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: auto; }
  .tile { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .tile--vocal { min-height: 440px; }
  .tile--instruments { min-height: 360px; flex-direction: column; }
  .tile--instruments .tile__text { max-width: none; }
  .tile--instruments img {
    height: 76%; max-width: 92%; right: 50%; transform: translateX(50%); bottom: -4%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%);
    mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  .tile--mastering { min-height: 280px; gap: 2.5rem; }
  .tile--mixing { min-height: 320px; }
  .tile--split { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 260px; padding: 0; gap: 0; }
  .tile--split .tile__col { padding: 20px 20px 22px; }
  .tile--split .tile__icon { width: 36px; height: 36px; }
}

/* ---------- Statement ---------- */
/* the statement sits a little closer to its neighbours, with equal air above and below */
.statement { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.statement__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.statement__big {
  grid-column: 1 / -1;
  font-size: clamp(2.6rem, .9rem + 6.6vw, 8rem);
  line-height: .98; font-weight: 600; letter-spacing: -0.05em;
  text-wrap: balance;
}
.statement__big em { font-style: normal; color: var(--accent-text); }
.statement__body { grid-column: 6 / span 6; margin-top: clamp(2rem, 4vw, 3.5rem); }
.statement__body p:first-child {
  font-size: clamp(1.1875rem, 1rem + .7vw, 1.625rem); line-height: 1.45; letter-spacing: -0.01em; color: var(--ink-2);
  text-wrap: pretty;
}
.statement__sign { margin-top: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 1023px) { .statement__body { grid-column: 3 / -1; } }
@media (max-width: 767px) { .statement__body { grid-column: 1 / -1; } }

/* ---------- Events ---------- */
.events__head { display: grid; gap: 1.25rem; }
.events__head .h2 { max-width: 16ch; }

.marquee {
  display: flex; overflow: hidden;
  margin-block: clamp(2.5rem, 5vw, 4rem);
  padding-block: clamp(1rem, 1.8vw, 1.5rem);
  border-block: 1px solid var(--line);
}
.marquee__list { display: flex; flex: none; align-items: baseline; }
.marquee__list li {
  flex: none; white-space: nowrap;
  font-size: clamp(1.75rem, 1rem + 3vw, 4rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1;
}
.marquee__list li::after { content: "/"; margin-inline: .45em; font-weight: 200; color: var(--accent-text); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__list { animation: marquee 42s linear infinite; }
  .marquee:hover .marquee__list { animation-play-state: paused; }
}
/* reduced motion: a static wrapped list. Separators lead each item and the one that lands
   at the start of a line is clipped off, so no line starts or ends with a stray «/».
   Items may wrap inside, so the longest one is never cut off on a phone. */
@media (prefers-reduced-motion: reduce) {
  .marquee { padding-inline: var(--gutter); }
  .marquee__list {
    flex: 1 1 auto; flex-wrap: wrap; row-gap: .25rem;
    font-size: clamp(1.75rem, 1rem + 3vw, 4rem);
    margin-left: -1.2em;
    clip-path: inset(-.5em -.5em -.5em 1.2em);
  }
  .marquee__list--clone { display: none; }
  .marquee__list li { display: flex; flex: 0 1 auto; font-size: 1em; white-space: normal; }
  .marquee__list li::after { content: none; }
  .marquee__list li::before { content: "/"; flex: none; width: 1.2em; text-align: center; font-weight: 200; color: var(--accent-text); }
}
@keyframes marquee { to { transform: translate3d(-100%, 0, 0); } }

.events__photos {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap);
  height: clamp(280px, 34vw, 480px);
}
.events__photo { border-radius: var(--r-card); overflow: hidden; background: var(--tint); }
.events__photo img { width: 100%; height: 100%; object-fit: cover; }
.events__photo--wide { grid-column: 1 / span 8; }
.events__photo--wide img { object-position: 55% 62%; }
.events__photo--narrow { grid-column: 9 / span 4; }
.events__photo--narrow img { object-position: 52% 50%; }

.included {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.included__title { grid-column: 1 / span 3; font-size: clamp(1.375rem, 1rem + .9vw, 1.875rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.included__list { grid-column: 4 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 2.6vw, 2.5rem) var(--gap); }
.included__list li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.included__list .icon {
  width: 52px; height: 52px; padding: 13px; border-radius: var(--r-pill);
  background: var(--surface); color: var(--accent-text);
  box-shadow: inset 0 0 0 1px var(--line);
}
@media (max-width: 1023px) {
  .included__title { grid-column: 1 / -1; }
  .included__list { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .events__photos { grid-template-columns: minmax(0, 1fr); height: auto; }
  .events__photo--wide, .events__photo--narrow { grid-column: 1 / -1; }
  .events__photo--wide { height: 300px; }
  .events__photo--narrow { height: 200px; }
  .included__list { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .included__list .icon { width: 48px; height: 48px; padding: 12px; }
}

/* ---------- Rental ---------- */
.rental__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 3rem;
  align-items: start;
}
.rental__copy { grid-column: 1 / span 6; padding-right: clamp(0px, 3vw, 3rem); }
.rental__copy .h2 { max-width: 16ch; }
.rental__copy .lead { margin-top: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .625rem; margin-block: 2.25rem 2.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 44px; padding: .5rem 1.1rem .5rem .85rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: .9688rem; font-weight: 450; line-height: 1.25; letter-spacing: -0.005em;
}
.chip .icon { width: 1.2em; height: 1.2em; color: var(--accent-text); }

.mosaic {
  grid-column: 7 / -1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: var(--gap);
  height: clamp(460px, 46vw, 640px);
}
.mosaic__item { border-radius: var(--r-card); overflow: hidden; background: var(--tint); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__item--tall { grid-row: 1 / span 2; }
.mosaic__item--tall img { object-position: 50% 62%; }
.mosaic__item--product { background: var(--product-mic-bg); display: grid; place-items: center; }
.mosaic__item--product img {
  object-fit: contain; width: 100%; height: auto; transform: scale(1.06);
  filter: var(--product-dim);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.mosaic__item--cables img { object-position: 42% 38%; }

@media (max-width: 767px) {
  .chips {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; margin-block: 1.75rem 2rem;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; white-space: nowrap; }
}
@media (max-width: 1023px) {
  .rental__copy, .mosaic { grid-column: 1 / -1; padding-right: 0; }
  .mosaic { height: clamp(380px, 80vw, 560px); }
}

/* ---------- Process ---------- */
.process .h2 { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.moves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); counter-reset: none; }
.move { position: relative; padding-top: 2rem; }
.move:nth-child(2) { margin-top: clamp(2rem, 5vw, 5rem); }
.move:nth-child(3) { margin-top: clamp(4rem, 10vw, 10rem); }
.move::before, .move::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.move::before { background: var(--line); }
.move::after { background: var(--accent); transform-origin: left center; transform: scaleX(1); }
.move__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--on-accent); margin-bottom: 1.5rem;
}
.move__icon .icon { width: 26px; height: 26px; }
.move__verb { font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.75rem); line-height: 1.04; font-weight: 600; letter-spacing: -0.04em; max-width: 12ch; }
.move p { margin-top: 1rem; color: var(--ink-2); max-width: 32ch; text-wrap: pretty; }
@media (prefers-reduced-motion: no-preference) {
  .js .move::after { transform: scaleX(0); transition: transform 1.1s var(--ease-io) calc(var(--d, 0s) + .25s); }
  .js .move.is-in::after { transform: scaleX(1); }
}
/* tablet: three 230px columns were too tight, so the staircase turns vertical
   and steps right instead of down */
@media (min-width: 768px) and (max-width: 1023px) {
  .moves { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .move { width: 68%; }
  .move:nth-child(2) { margin: 0 0 0 16%; }
  .move:nth-child(3) { margin: 0 0 0 32%; }
  .move__verb { max-width: none; }
}
@media (max-width: 767px) {
  .moves { grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
  .move:nth-child(n) { margin-top: 0; }
  .move__icon { width: 48px; height: 48px; margin-bottom: 1.1rem; }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 2rem; align-items: start; }
.faq__title { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__list { grid-column: 6 / -1; border-bottom: 1px solid var(--line); }
.qa { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 44px; padding-block: 1.6rem;
  font-size: clamp(1.125rem, 1rem + .45vw, 1.4375rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3;
  cursor: pointer; list-style: none;
  transition: color .2s ease;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { text-wrap: balance; }
.qa summary:hover { color: var(--accent-text); }
.qa summary .icon {
  width: 40px; height: 40px; padding: 10px; border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--line); color: var(--ink);
  transition: transform .45s var(--ease-out), background-color .25s ease, color .25s ease;
}
.qa[open] summary .icon { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); box-shadow: none; }
.qa p { padding: 0 3.5rem 1.75rem 0; color: var(--ink-2); max-width: 60ch; }
@media (prefers-reduced-motion: no-preference) {
  .qa[open] p { animation: fade-up .5s var(--ease-out) both; }
}
@media (max-width: 1023px) {
  .faq__title { grid-column: 1 / -1; position: static; }
  .faq__list { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .qa summary { padding-block: 1.25rem; }
  .qa p { padding-right: 0; }
}

/* ---------- Contact ---------- */
.contact { padding-bottom: clamp(4rem, 7vw, 6.5rem); border-top: 1px solid var(--line); }
.contact .eyebrow { margin-bottom: 1rem; }
.contact__title { font-size: clamp(1.375rem, 1rem + 1.2vw, 2.25rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink-2); }
.contact__number {
  position: relative; display: inline-block;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  font-size: clamp(3.4rem, 1rem + 8.3vw, 9.75rem);
  line-height: .95; font-weight: 600; letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  padding-bottom: .12em;
  transition: color .3s ease;
}
.contact__number::after {
  content: ""; position: absolute; left: 0; right: .05em; bottom: 0; height: clamp(3px, .5vw, 6px);
  background: var(--accent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .6s var(--ease-out);
}
.contact__number:hover { color: var(--accent-text); }
.contact__number:hover::after { transform: scaleX(1); }
.contact__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(2rem, 3.5vw, 3rem); }
.copy-btn .icon--done { display: none; }
.copy-btn.is-done { color: var(--accent-text); box-shadow: inset 0 0 0 1.5px var(--accent-text); background: transparent; }
.copy-btn.is-done .icon--copy { display: none; }
.copy-btn.is-done .icon--done { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .copy-btn.is-done .icon--done { animation: pop .45s var(--ease-out) both; }
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.contact__also { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; margin-top: 2rem; color: var(--ink-3); font-size: 1rem; }
.contact__also a { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; color: var(--ink); font-weight: 500; }
.contact__also a .icon { width: 1.05em; height: 1.05em; color: var(--ink-3); transition: transform .3s var(--ease-out), color .2s ease; }
.contact__also a:hover { color: var(--accent-text); }
.contact__also a:hover .icon { transform: translate(2px, -2px); color: var(--accent-text); }
@media (max-width: 767px) {
  /* the number is one text node (so the placeholder can be replaced with sed); 5.1em is wider than
     «123-45-67» (4.83em) but narrower than «+7 (900) 123-» (5.3em+ in Geologica and the fallbacks),
     so it always breaks after the area code and never at a hyphen */
  .contact__number { white-space: normal; font-size: clamp(3.2rem, 16.5vw, 4.5rem); line-height: .98; max-width: 5.1em; text-wrap: balance; }
  .contact__actions .btn { flex: 1 1 100%; }
  .contact__also { gap: 0 1.5rem; }
  .contact__also-label { flex-basis: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 2.5rem; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.site-footer__nav a, .site-footer__phone { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-2); font-size: .9688rem; transition: color .2s ease; }
.site-footer__nav a:hover, .site-footer__phone:hover { color: var(--ink); }
.site-footer__phone { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.site-footer__copy { grid-column: 1 / -1; color: var(--ink-3); font-size: .9375rem; }
@media (max-width: 767px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .site-footer__nav { gap: 0 1.25rem; }
}

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .callbar {
    display: block; position: fixed; z-index: 20;
    left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    transition: transform .5s var(--ease-out), opacity .3s ease, visibility 0s linear 0s;
  }
  /* visibility (switched after the slide-out) keeps the hidden bar out of the tab order and the a11y tree */
  .callbar[data-state="hidden"] {
    transform: translate3d(0, 150%, 0); opacity: 0; pointer-events: none; visibility: hidden;
    transition: transform .5s var(--ease-out), opacity .3s ease, visibility 0s linear .5s;
  }
  .callbar__btn { width: 100%; --btn-h: 58px; box-shadow: var(--shadow-accent), 0 0 0 4px color-mix(in srgb, var(--paper) 70%, transparent); justify-content: center; }
  .callbar__num { font-weight: 400; color: rgb(247 248 255 / .9); font-variant-numeric: tabular-nums; margin-left: .15rem; }
}

/* ---------- Scroll reveal (only when JS runs and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Reduced motion: collapse everything to instant ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
