/* ==========================================================================
   Hot Soap Studios: base.css
   Reset, typography, layout utilities, section themes, and the shared page
   furniture: grain, custom cursor, preloader, header, mobile menu, footer and
   the page-transition curtain. Components live in components.css.
   ========================================================================== */

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; hanging-punctuation: first last; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
:where(ol[role="list"], ul[role="list"], .list-reset) { list-style: none; padding: 0; margin: 0; }   /* zero specificity: components may add padding/margins */
img, picture, video, canvas, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
:target { scroll-margin-top: calc(var(--header-h) + 1rem); }

html {
  background: var(--ink);
  color-scheme: dark;
  scrollbar-color: #3a3433 var(--ink);
  scrollbar-width: thin;
}
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;               /* safety net; layouts must not overflow anyway */
}
::selection { background: var(--mint); color: var(--ink); }

/* Focus: always visible, mint ring (ink on mint sections) */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--focus, var(--mint));
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- Typography -------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; line-height: inherit; text-wrap: balance; }
p { text-wrap: pretty; }

/* Display face: Fraunces with the SOFT axis turned up (the warm, fuzzy feeling) */
.display, .t-hero, .t-xl, .t-d1, .t-d2, .t-d3, .t-h4 {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-optical-sizing: auto;
  font-weight: 380;
  letter-spacing: var(--track-tight);
  line-height: var(--lh-snug);
}
.display em, .display i,
.t-hero em, .t-xl em, .t-d1 em, .t-d2 em, .t-d3 em, .t-h4 em, .italic {
  font-style: italic;
  font-weight: 330;
  font-variation-settings: var(--soft);
}
.t-hero { font-size: var(--fs-hero); line-height: var(--lh-tight); font-weight: 360; letter-spacing: -.035em; }
/* Display scale, three tiers: XL statement (one per few sections) > d1 section > d2 supporting */
.t-xl { font-size: var(--fs-xl); line-height: .86; letter-spacing: -.045em; font-weight: 340; }
.t-d1 { font-size: var(--fs-d1); line-height: .94; letter-spacing: -.032em; }
.t-d2 { font-size: var(--fs-d2); line-height: .98; letter-spacing: -.028em; }
.t-d3 { font-size: var(--fs-d3); line-height: 1.04; letter-spacing: -.022em; }
.t-h4 { font-size: var(--fs-h4); line-height: 1.1; letter-spacing: -.015em; }
.t-h5 { font-size: var(--fs-h5); line-height: 1.25; font-weight: 500; letter-spacing: -.005em; }

.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--fg); max-width: 40ch; }
.body-lg { font-size: 1.125rem; line-height: 1.65; }
.small { font-size: var(--fs-small); }
.xs { font-size: var(--fs-xs); }
.muted { color: var(--fg-muted); }

/* Console voice: scribble-strip labels, specs, prices, timecodes */
.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.mono--lg { font-size: var(--fs-mono-lg); }
.mono--plain { text-transform: none; letter-spacing: .02em; }
.tnum { font-variant-numeric: tabular-nums; }
/* No visible numbering anywhere (the client's request, 22 Oct 2026): no section or chapter numbers,
   no numbered labels above headings, menu entries, list items or tiles, no slide counters. The
   former eyebrow / section index ("01") is gone; headings stand on their own. */

/* Split text (main.js HS.splitWords for data-reveal="lines|words" and data-scrub-words).
   Each word is masked by a clip-path; padding/negative margin keep descenders visible
   without changing the line box. The mask is removed once the reveal has played. */
.is-split .w {
  display: inline-block;
  padding-bottom: .24em; margin-bottom: -.24em;
  clip-path: inset(-.5em -.25em 0 -.25em);
}
.is-split .wi { display: inline-block; }
.is-split.is-revealed .w { clip-path: none; }

/* Inline text link */
.link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: color var(--dur-1), text-decoration-color var(--dur-1);
}
.link:hover { color: var(--fg); }

/* Rich text block (bios, notes) */
.prose > * + * { margin-top: 1em; }
.prose { max-width: 62ch; color: var(--fg); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }

/* ---- Layout utilities ------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.container--bleed { max-width: none; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); }
.stack { display: flex; flex-direction: column; gap: var(--stack-gap, var(--space-4)); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster-gap, var(--space-3)); }
.split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-5); }
.section { position: relative; padding-block: var(--section-y); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.relative { position: relative; }
.nowrap { white-space: nowrap; }
.balance { text-wrap: balance; }
.center { text-align: center; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: calc(var(--z-preloader) + 1);
  padding: .8rem 1.1rem; border-radius: var(--r-pill);
  background: var(--mint); color: var(--ink); font-weight: 600;
  transform: translateY(-200%); transition: transform var(--dur-2) var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

/* ---- Section themes ---------------------------------------------------- */
.theme-ink { --bg: var(--ink); --fg: var(--cream); background: var(--bg); color: var(--fg); }
.theme-ink-2 { --bg: var(--ink-2); --fg: var(--cream); --surface: var(--ink-3); background: var(--bg); color: var(--fg); }
.theme-cream {
  --bg: var(--cream); --fg: var(--ink); --fg-muted: var(--muted-ink); --accent: var(--mint-deep);
  --rule: var(--line-ink); --rule-strong: var(--line-ink-strong); --surface: var(--cream-2); --focus: var(--mint-deep);
  background: var(--bg); color: var(--fg); color-scheme: light;
}
.theme-mint {
  --bg: var(--mint); --fg: var(--ink); --fg-muted: #24453F; --accent: var(--ink);
  --rule: var(--line-ink); --rule-strong: var(--line-ink-strong); --surface: var(--mint-hi); --focus: var(--ink);
  background: var(--bg); color: var(--fg); color-scheme: light;
}

/* ==========================================================================
   Page furniture
   ========================================================================== */

/* ---- Film grain (element rendered by chrome.js, shifted by main.js) ---- */
/* Markup: <div class="grain" aria-hidden="true"><div class="grain__layer"></div></div>
   The oversized layer is jumped around a few times per second by main.js (transform only). */
.grain {
  position: fixed; inset: 0; z-index: var(--z-grain);
  pointer-events: none; overflow: hidden;
}
.grain__layer {
  position: absolute; inset: -120px;
  background: url("../img/grain.png") repeat;
  background-size: 180px 180px;
  opacity: .075;
  will-change: transform;
}

/* ---- Custom cursor (desktop, fine pointer only; built by main.js) ------ */
.cursor { position: fixed; inset: 0; z-index: var(--z-cursor); pointer-events: none; overflow: hidden; }
.cursor__dot, .cursor__ring {
  position: absolute; left: 0; top: 0; border-radius: 50%;
  will-change: transform; opacity: 0; transition: opacity .3s;
}
.cursor.is-visible .cursor__dot, .cursor.is-visible .cursor__ring { opacity: 1; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--mint); }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  display: grid; place-items: center;
}
.cursor__ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(243, 235, 224, .45);
  transition: transform .45s var(--ease-out), background-color .3s, border-color .3s;
}
.cursor__label {
  position: relative; font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  opacity: 0; transform: scale(.6); transition: opacity .25s, transform .45s var(--ease-out);
}
.cursor.is-hover .cursor__ring::before { transform: scale(1.45); border-color: var(--mint); }
.cursor.is-label .cursor__ring::before { transform: scale(2.3); background: var(--mint); border-color: var(--mint); }
.cursor.is-label .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring::before { transform: scale(.8); }
.cursor.is-label.is-down .cursor__ring::before { transform: scale(2); }
.cursor.is-text .cursor__ring { opacity: 0; }
/* over cream / mint sections: ink ring and dot */
.cursor.is-light .cursor__ring::before { border-color: rgba(15, 13, 12, .5); }
.cursor.is-light .cursor__dot { background: var(--ink); }
.cursor.is-light.is-hover .cursor__ring::before { border-color: var(--ink); }
.cursor.is-light.is-label .cursor__ring::before { background: var(--ink); border-color: var(--ink); }
.cursor.is-light .cursor__label { color: var(--cream); }
html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor [data-cursor] { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select, html.has-cursor [contenteditable] { cursor: auto; }
html.has-cursor .is-locked-modal { cursor: auto; }

/* ---- First-paint covers (set by the inline <head> script) -------------- */
/* Preloader cover until main.js builds the preloader; failsafe removes the class. */
html.will-preload body::before {
  content: ""; position: fixed; inset: 0; z-index: var(--z-preloader); background: var(--ink);
}
/* Arriving through a page transition: start covered, main.js wipes the curtain away. */
html.is-arriving body::after {
  content: ""; position: fixed; inset: 0; z-index: var(--z-curtain);
  /* same face as the curtain's ink panel (logo centred), so the hand-over to main.js does not flicker */
  background: var(--ink) url("../img/logo.svg") center / 65px 50px no-repeat;
}

/* ---- Preloader ---------------------------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: var(--z-preloader);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: clamp(1.25rem, 3vw, 2.5rem) var(--gutter);
  background: var(--ink); color: var(--cream); overflow: hidden;
}
.preloader__top, .preloader__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--muted); }
.preloader__logo { width: 65px; height: 50px; }
.preloader__center { display: grid; place-content: center; justify-items: center; gap: 1.6rem; text-align: center; }
.preloader__count {
  font-family: var(--font-display); font-variation-settings: var(--soft); font-weight: 300;
  font-size: clamp(4.5rem, 14vw, 12rem); line-height: .85; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.preloader__count sup { font-size: .22em; vertical-align: top; position: relative; top: .5em; margin-left: .1em; color: var(--mint); font-family: var(--font-mono); letter-spacing: 0; }
.preloader__label { color: var(--mint); min-width: 22ch; }
.vu { display: grid; gap: 6px; width: min(420px, 78vw); }
.vu__row { display: grid; grid-template-columns: 1.4em repeat(24, 1fr); gap: 3px; align-items: center; }
.vu__ch { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: .1em; }
.vu__seg { height: 9px; border-radius: 1px; background: rgba(243, 235, 224, .08); }
.vu__seg.is-on { background: var(--mint); box-shadow: 0 0 10px rgba(124, 204, 191, .55); }
.vu__seg.is-on.is-warm { background: var(--hot-soft); box-shadow: 0 0 10px rgba(255, 179, 122, .5); }
.vu__seg.is-on.is-hot { background: var(--hot); box-shadow: 0 0 12px rgba(255, 106, 43, .7); }

/* ---- REC indicator ------------------------------------------------------ */
.rec { display: inline-flex; align-items: center; gap: .55em; }
.rec__dot { width: .62em; height: .62em; border-radius: 50%; background: var(--hot); box-shadow: 0 0 12px rgba(255, 106, 43, .8); flex: none; }

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h);
  transition: transform .55s var(--ease-out);
  color: var(--cream);
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(15, 13, 12, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .45s var(--ease-soft);
}
.site-header.is-solid::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-105%); }
.site-header.is-hidden:focus-within, .menu-open .site-header { transform: none; }
.menu-open .site-header::before { opacity: 0; }
.header__inner {
  position: relative; height: 100%; max-width: var(--container); margin-inline: auto;
  display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem);
  padding-inline: var(--gutter);
}
.header__logo { display: inline-flex; align-items: center; flex: none; border-radius: var(--r-sm); }
.header__logo img { width: 65px; height: 50px; }
.header__nav { margin-left: auto; }
.header__nav ul { display: flex; align-items: center; gap: clamp(.9rem, 1.55vw, 2rem); }
.header__actions { display: flex; align-items: center; gap: .75rem; }

/* Nav link with a text "roll" on hover and a mint dot for the current section: aria-current="page"
   on the section's own page, "true" on its other pages (chrome.js) */
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .45rem;
  padding-block: .6rem; font-size: .9375rem; font-weight: 500; letter-spacing: -.005em;
  color: var(--cream); white-space: nowrap;
}
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.25; }
.roll__inner { display: inline-block; position: relative; transition: transform .5s var(--ease-out); }
.roll__inner::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--mint); }
a:hover > .roll .roll__inner, a:focus-visible > .roll .roll__inner,
button:hover > .roll .roll__inner, button:focus-visible > .roll .roll__inner { transform: translateY(-100%); }
.nav-link::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mint);
  transform: scale(0); transition: transform .4s var(--ease-out);
}
.nav-link[aria-current]::before { transform: scale(1); }
.nav-link[aria-current] { color: var(--mint-hi); }

/* Menu toggle (shown below the desktop-nav breakpoint) */
.menu-toggle {
  display: none; align-items: center; gap: .7rem; height: 44px; padding: 0 .3rem 0 .9rem;
  border-radius: var(--r-pill); color: var(--cream);
}
.menu-toggle__label { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: var(--track-mono); text-transform: uppercase; font-weight: 500; }
.menu-toggle__icon { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); }
.menu-toggle__icon i {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.menu-toggle__icon i:nth-child(1) { top: 15px; }
.menu-toggle__icon i:nth-child(2) { top: 21px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(1) { top: 18px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(2) { top: 18px; transform: rotate(-45deg); }

/* below 1260px the nine entries and Book a session no longer fit one row with room to spare (main.js
   closes an open menu at min-width: 1260px; docs/site-structure.md has the measurements) */
@media (max-width: 1259px) {
  .header__nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header__actions { margin-left: auto; }
}
@media (max-width: 520px) {
  .header__cta .btn__label-long { display: none; }
  /* icon-only on phones, but the Menu / Close text stays the button's accessible name */
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .menu-toggle { position: relative; padding: 0; }
  .menu-toggle__icon { width: 44px; height: 44px; }
  .menu-toggle__icon i { left: 13px; right: 13px; }
  .menu-toggle__icon i:nth-child(1) { top: 18px; }
  .menu-toggle__icon i:nth-child(2) { top: 24px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(1),
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(2) { top: 21px; }
}
@media (min-width: 521px) {
  .header__cta .btn__label-short { display: none; }
}

/* No-JS fallback nav: <noscript> inside <header data-chrome="header"> */
.noscript-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: 1.25rem var(--gutter); background: var(--ink); }
.noscript-nav a { color: var(--cream); text-decoration: underline; text-underline-offset: .2em; }
.noscript-footer { display: grid; gap: .5rem; padding: 3rem var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-small); }
.noscript-footer a { color: var(--cream); text-decoration: underline; text-underline-offset: .2em; }

/* ---- Full-screen menu ----------------------------------------------------- */
.site-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: grid; grid-template-rows: 1fr auto;
  padding: calc(var(--header-h) + 2vh) var(--gutter) clamp(1.25rem, 4vw, 2.5rem);
  background:
    radial-gradient(90% 60% at 85% 0%, rgba(255, 106, 43, .12), transparent 60%),
    radial-gradient(70% 50% at 0% 100%, rgba(124, 204, 191, .10), transparent 60%),
    var(--ink);
  color: var(--cream);
  overflow: hidden auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-in-out), opacity .3s, visibility 0s linear .7s;
}
.site-menu.is-open {
  visibility: visible; opacity: 1; clip-path: inset(0 0 0 0);
  transition: clip-path .7s var(--ease-in-out), opacity .2s, visibility 0s;
}
.site-menu__list { align-self: center; display: grid; gap: clamp(.1rem, 1vh, .6rem); }
.site-menu__link {
  /* --menu-fit: the largest size at which the longest entry, "Intimate Sessions" (about 7.4em),
     stays on one line (narrow phones: 375x812, 360x800). The entries carry no numbers. */
  --menu-fit: calc((100vw - 2 * var(--gutter)) / 7.6);
  display: block; padding-block: .2rem;
  font-family: var(--font-display); font-variation-settings: var(--soft);
  /* sized by width, capped by height so the ten entries (Home + the nine) and the foot fit the screen
     (the menu is used below 1260px: tablets, small laptops, phones) */
  font-size: max(1.75rem, min(clamp(2.6rem, 9.5vw, 5.6rem), calc(9vh - 1.9rem), var(--menu-fit))); line-height: 1; letter-spacing: -.03em; font-weight: 360;
  transform: translateY(60%); opacity: 0;
  transition: transform .8s var(--ease-out), opacity .5s, color .25s;
  transition-delay: 0s;
}
.site-menu.is-open .site-menu__link {
  transform: none; opacity: 1;
  transition-delay: calc(.18s + var(--i, 0) * 55ms);
}
.site-menu__link:hover, .site-menu__link[aria-current] { color: var(--mint-hi); }
.site-menu__link:hover em { font-style: italic; }
.site-menu__foot {
  display: grid; gap: 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  opacity: 0; transition: opacity .5s .1s;
}
.site-menu.is-open .site-menu__foot { opacity: 1; transition-delay: .55s; }
.site-menu__meta { display: flex; flex-wrap: wrap; gap: .5rem 2rem; color: var(--muted); }
.site-menu__meta a:hover { color: var(--mint); }
@media (min-width: 900px) {
  .site-menu__foot { grid-template-columns: 1fr auto; align-items: end; }
}
/* below 900px the foot stacks (taller), so the entries take a little less of the height */
@media (max-width: 899px) {
  .site-menu__link { font-size: max(1.75rem, min(clamp(2.6rem, 9.5vw, 5.6rem), calc(8.1vh - 1.9rem), var(--menu-fit))); }
}
/* short phone screens (375x667, 360x640): the ten entries and the contact foot fit without scrolling */
@media (max-width: 760px) and (max-height: 740px) {
  .site-menu__list { gap: .1rem; }
  .site-menu__link { font-size: min(clamp(1.75rem, 4.4vh, 2.6rem), var(--menu-fit)); }
  .site-menu__foot { gap: .9rem; padding-top: 1rem; }
  .site-menu__meta { column-gap: 1.25rem; }   /* welcome@ and the phone share a line at 360px (25 Oct 2026) */
}

/* ---- Footer ------------------------------------------------------------- */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--cream);
  border-top: 1px solid var(--line);
  padding-top: clamp(4.5rem, 9vw, 8rem);
}
.site-footer::before {
  content: ""; position: absolute; left: 50%; bottom: -30%; width: 120%; height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 106, 43, .16), rgba(255, 106, 43, 0));
  pointer-events: none;
}
.footer__cta { display: grid; gap: 2rem; align-items: end; padding-bottom: clamp(3rem, 7vw, 6rem); border-bottom: 1px solid var(--line); }
.footer__cta-title { max-width: 14ch; }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
@media (min-width: 900px) { .footer__cta { grid-template-columns: 1fr auto; } }
/* lighter one-line CTA after a page's own closing call to action (chrome.js "compact") */
.site-footer:has(.footer__cta--compact) { padding-top: clamp(3rem, 6vw, 5rem); }
.footer__cta--compact { gap: 1.25rem; align-items: center; padding-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.footer__cta--compact .footer__cta-title { max-width: none; }
.site-footer--no-cta { padding-top: 0; }
.site-footer--no-cta .footer__grid { padding-top: clamp(3.5rem, 7vw, 6rem); }
.footer__grid {
  display: grid; gap: 2.5rem 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-block: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
@media (max-width: 899px) {
  .footer__col:first-child, .footer__col:last-child { grid-column: 1 / -1; }
  .footer__col:last-child ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}
.footer__col h2 { margin-bottom: 1.1rem; color: var(--muted); }
.footer__col ul { display: grid; gap: .45rem; }
.footer__col a { position: relative; display: inline-flex; align-items: center; padding-block: .2rem; transition: color .25s; }
@media (pointer: coarse) { .footer__col a { min-height: 44px; } .footer__col ul { gap: 0; } }
@media (max-width: 760px) {
  /* denser footer on phones: two-column nav, contact links side by side */
  .footer__grid { gap: 2rem 1.5rem; padding-block: 2.5rem; }
  .footer__col { grid-column: 1 / -1; }
  .footer__col:nth-child(2) ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
  .footer__col:last-child ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__col:last-child li:first-child, .footer__col:last-child li:nth-child(2) { grid-column: 1 / -1; }   /* email, phone, then Instagram | Facebook */
  .footer__cta { gap: 1.5rem; padding-bottom: 2.5rem; }
}
.footer__col a:hover { color: var(--mint); }
.footer__col address { font-style: normal; line-height: 1.7; }
.footer__tagline { font-size: var(--fs-h4); max-width: 19ch; }   /* "One of Europe’s top / recording studios" */
.footer__wordmark {
  position: relative; display: block;
  font-family: var(--font-display); font-variation-settings: var(--soft);
  font-weight: 330; font-size: clamp(5rem, 29.5vw, 36rem); line-height: .8;
  letter-spacing: -.06em; white-space: nowrap; text-align: center;
  /* the whole word shows, the descender of the italic p included (the client's request, 20 Oct 2026): with
     line-height .8 the baseline sits .04em above the box, so .28em below the box leaves the p's .25em
     descender a thin margin above the page's bottom edge (and above the home indicator on notched phones) */
  margin: clamp(1rem, 3vw, 3rem) 0 calc(.28em + env(safe-area-inset-bottom, 0px));
  color: var(--cream);
  user-select: none; pointer-events: none;
}
.footer__wordmark em { font-style: italic; color: var(--mint); font-weight: 300; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; align-items: center;
  padding-block: 1.4rem 1.8rem; border-top: 1px solid var(--line); color: var(--muted);
}

/* ---- Page-transition curtain (rendered by chrome.js, driven by main.js) -- */
.curtain { position: fixed; inset: 0; z-index: var(--z-curtain); pointer-events: none; overflow: hidden; visibility: hidden; }
.curtain.is-active { visibility: visible; pointer-events: auto; }
.curtain__panel { position: absolute; inset: 0; transform: translate3d(0, 101%, 0); will-change: transform; }
.curtain__panel--mint { background: var(--mint); }
.curtain__panel--ink { background: var(--ink); display: grid; place-items: center; }
.curtain__panel--ink img { width: 65px; height: 50px; opacity: .9; }
html.modal-open .grain { opacity: .45; }   /* lighter grain over videos and the lightbox */

/* ---- Scroll lock --------------------------------------------------------- */
html.is-locked, html.is-locked body { overflow: hidden; }

/* ---- Lenis (the rules of lenis@1.3.4/dist/lenis.css, inlined: no render-blocking CDN CSS) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.lenis.lenis-autoToggle { transition-property: overflow; transition-duration: 1ms; transition-behavior: allow-discrete; }

/* ---- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.will-preload body::before { display: none; }
}
