/* The Recording Club — site system (elevation pass, 2026-08-07)
   Ground: warm near-black. Type: 7 tokens — Geologica 100/200 display, Karla 400/500 text.
   Discipline (from ELEVATION-SPEC.md):
   - One typographic event per page (the H1); every other heading whispers (≤38px).
   - Red budget: nav mark + current-page dot + at most ONE statement red per page.
     No red buttons, links, hovers, underlines, headings, rules, banners. Master mark ≤24px.
   - Photographs ship RAW — no CSS filters. Scrims: hero 4-stop, .scrim-text under in-image type only.
   - Tracking: 0.08em functional caps / 0.14em buttons / 0.16em ceremonial caps / 0.20em doors only.
   - Zero radius everywhere. Preview over HTTP: masked ring renders empty under file://. */

@font-face { font-family: 'Geologica'; src: url('../fonts/geologica-100.woff2') format('woff2'); font-weight: 100; font-display: swap; }
@font-face { font-family: 'Geologica'; src: url('../fonts/geologica-200.woff2') format('woff2'); font-weight: 200; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../fonts/karla-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../fonts/karla-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --bg: #0A0908;
  --bg-deep: #07070C;
  --ink: #EEEEEE;
  --ink-mid: #A5A5A5;
  --ink-low: #787878;
  --hairline: rgba(255,255,255,0.14);
  --hairline-soft: rgba(255,255,255,0.07);
  --red: #F03222;
  --gold: #D4A843;
  --blue: #6868ED;
  --display: 'Geologica', 'Helvetica Neue', sans-serif;
  --body: 'Karla', 'Helvetica Neue', sans-serif;
  --pad: clamp(24px, 4.5vw, 110px);

  /* type scale — the only 7 sizes on the site.
     Caps sit past 2560px so a big window gets a big composition,
     not a 1440-era plate floating in black. */
  --t-display: clamp(58px, 9.6vw, 210px);
  --t-title: clamp(40px, 5.2vw, 112px);
  --t-statement: clamp(28px, 2.8vw, 58px);
  --t-sub: clamp(19px, 1.05vw, 26px);
  --t-body: clamp(16px, 0.82vw, 21px);
  --t-small: clamp(13.5px, 0.7vw, 17px);
  --t-micro: clamp(11px, 0.56vw, 14px);

  /* mark geometry, read out of the artwork */
  --trc-module: 0.0767;
  --trc-r: 0.693;
  --trc-rec: 0.1535;
  --dot-geo: 0.485em;
  --dot-karla: 0.437em;

  --v-caption: 30px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: #0A0908; color-scheme: dark; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: var(--t-body);
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 18px;
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 1px solid var(--blue); outline-offset: 3px; }

::selection { background: rgba(240,50,34,0.35); color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- type ---------- */
h1, .h1 {
  font-family: var(--display); font-weight: 100;
  font-size: var(--t-display); line-height: 0.96; letter-spacing: 0.015em;
}
.h1-quiet { font-size: var(--t-title); line-height: 1.04; letter-spacing: 0.01em; }
h2, .h2 {
  font-family: var(--display); font-weight: 100;
  font-size: var(--t-statement); line-height: 1.18;
}
h3, .h3 {
  font-family: var(--display); font-weight: 200;
  font-size: var(--t-sub); line-height: 1.35;
}
.lede { color: var(--ink-mid); max-width: 44em; }
.quiet { color: var(--ink-low); }
.small { font-size: var(--t-small); line-height: 1.55; letter-spacing: 0.02em; }

/* ---------- the mark ---------- */
.mk { --s: 22px; position: relative; inline-size: var(--s); block-size: var(--s); flex: none; }
.mk::before {
  content: ""; position: absolute; inset: 0;
  background: var(--ink);
  -webkit-mask: url(../img/mark-ring.svg) center / contain no-repeat;
          mask: url(../img/mark-ring.svg) center / contain no-repeat;
}
.mk::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  inline-size: calc(var(--s) * 0.693);
  block-size: calc(var(--s) * 0.693);
  border-radius: 50%;
  background: var(--red);
}
.mk--rec::after {
  inline-size: calc(var(--s) * 0.1535);
  block-size: calc(var(--s) * 0.1535);
}
.mk--ring::after { content: none; }

@keyframes trc-breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.42; } }
.dot--live { animation: trc-breathe 3.4s cubic-bezier(.45,0,.55,1) infinite; }
@media (prefers-reduced-motion: reduce) { .dot--live { animation: none; opacity: 1; } }

/* the photographic aperture — image in the disc's slot, zero red. One per page max. */
.aperture {
  --s: min(46vw, 520px);
  inline-size: var(--s); block-size: var(--s);
  box-sizing: border-box; border-radius: 50%;
  border: calc(var(--s) * 0.0767) solid var(--ink);
  display: grid; place-items: center;
}
.aperture img {
  inline-size: calc(var(--s) * 0.693);
  block-size: calc(var(--s) * 0.693);
  border-radius: 50%;
  object-fit: cover;
}

/* ● REC caption — under session/performance photography only, dot never breathes
   unless it is the page's single live element */
.rec-cap {
  display: flex; align-items: baseline; gap: 0.7em;
  max-width: none; white-space: nowrap;
  font-family: var(--body); font-weight: 500;
  font-size: var(--t-micro); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-low);
  margin-block-start: 14px;
}
.rec-cap .dot {
  inline-size: var(--dot-karla); block-size: var(--dot-karla);
  border-radius: 50%; background: var(--red);
  flex: none; align-self: center;
}
.rec-cap .tc { font-variant-numeric: tabular-nums; color: var(--ink-mid); }

/* end mark — red dot closing the page's one manifesto passage */
.manifesto > p:last-of-type::after {
  content: "";
  display: inline-block;
  inline-size: var(--dot-karla); block-size: var(--dot-karla);
  border-radius: 50%;
  background: var(--red);
  margin-inline-start: 0.55em;
  vertical-align: 0.06em;
}

/* ---------- controls ---------- */
.btn {
  display: inline-block; padding: 15px 30px;
  font-family: var(--body); font-size: var(--t-micro); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 0; cursor: pointer; text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); padding: 14px 29px; background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.textlink {
  font-size: var(--t-micro); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--hairline); padding-bottom: 3px;
  transition: border-color 0.3s ease;
}
.textlink:hover { border-color: var(--ink); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--pad);
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(10,9,8,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 16px var(--pad); border-bottom-color: var(--hairline); }
.nav-group { display: flex; align-items: center; gap: 34px; flex: 1; }
.nav-group.right { justify-content: flex-end; }
.nav a.navlink {
  font-size: var(--t-micro); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); opacity: 0.85; transition: opacity 0.25s ease;
  padding-bottom: 2px;
}
.nav a.navlink:hover { opacity: 1; }
.nav a.navlink[aria-current="page"] { opacity: 1; }
.nav a.navlink[aria-current="page"]::after {
  content: "";
  display: inline-block;
  inline-size: var(--dot-karla); block-size: var(--dot-karla);
  border-radius: 50%;
  background: var(--red);
  margin-inline-start: 0.62em;
  vertical-align: 0.08em;
}
.nav .inquire-pill[aria-current="page"]::after {
  content: "";
  display: inline-block;
  inline-size: var(--dot-karla); block-size: var(--dot-karla);
  border-radius: 50%;
  background: var(--red);
  margin-inline-start: 0.62em;
  vertical-align: 0.08em;
}
.nav .brand { display: flex; align-items: center; }
.nav .brand img { height: 22px; width: auto; }
.nav .inquire-pill { border: 1px solid var(--ink); padding: 9px 20px; font-size: var(--t-micro); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; transition: background 0.3s ease, color 0.3s ease; }
.nav .inquire-pill:hover { background: var(--ink); color: var(--bg); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--ink); margin: 5px 0; transition: transform 0.3s ease, opacity 0.3s ease; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(7,7,12,0.98);
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--display); font-weight: 100; font-size: var(--t-statement); letter-spacing: 0.06em; color: var(--ink); }
.mobile-menu .btn { margin-top: 18px; }
body.menu-locked { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media.bleed-over { width: 106vw; margin-left: -3vw; }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(10,9,8,0.5) 0%, rgba(10,9,8,0) 22%, rgba(10,9,8,0) 45%, rgba(10,9,8,0.92) 100%); }
.hero-copy { position: relative; padding: 0 var(--pad) clamp(72px, 11vh, 130px) 3.5%; max-width: 88vw; }
.hero-copy h1 { margin-bottom: 40px; max-width: 16ch; }
.cta-row { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }

/* in-image type placements */
.plate-copy { position: absolute; left: 3.5%; bottom: 11%; z-index: 2; }
.plate-copy h1 { max-width: 16ch; }
.plate-copy--top { top: clamp(40px, 9%, 120px); bottom: auto; left: var(--pad); right: var(--pad); }
.plate-copy--top h2 { margin-bottom: 18px; }
.plate-copy--top p { color: rgba(238,238,238,0.82); max-width: 42em; }
.plate-index {
  position: absolute; left: 8.6%; bottom: 2.6%; z-index: 2;
  font-family: var(--body); font-weight: 500; font-size: var(--t-micro);
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.72);
}
.scrim-text { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(10,9,8,0) 55%, rgba(10,9,8,0.35) 100%); }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 12vh, 150px) var(--pad); }
.section.tight { padding-top: clamp(56px, 8vh, 96px); padding-bottom: clamp(56px, 8vh, 96px); }
.void {
  padding-top: clamp(140px, 22vh, 260px); padding-bottom: clamp(140px, 22vh, 260px);
}
.void > * { max-width: 34%; }
.split { display: grid; grid-template-columns: 1.62fr 1fr; gap: clamp(40px, 6.5vw, 96px); align-items: end; }
.split.flip { grid-template-columns: 1fr 1.62fr; }
.split.weighted { grid-template-columns: 2fr 1fr; }
.split.narrow { grid-template-columns: 1fr 2.4fr; }
.split.center { align-items: center; }
.split.start { align-items: start; }
.split .copy > h2 { margin-bottom: 24px; }
.split .copy > p { color: var(--ink-mid); margin-bottom: 24px; max-width: 34em; }
.photo { position: relative; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(0.19,1,0.22,1); }
.photo:hover img { transform: scale(1.025); }

/* two-tier caption: name over note, flush to the image's left edge */
figcaption, .figcap {
  margin-top: var(--v-caption); display: grid; gap: 8px; max-width: 34ch;
}
.cap-name {
  font-family: var(--body); font-weight: 500; font-size: var(--t-micro);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.cap-note { font-size: var(--t-small); letter-spacing: 0.02em; color: var(--ink-low); line-height: 1.55; }

.fullbleed { position: relative; }
.fullbleed img { width: 100%; aspect-ratio: var(--ar, 1.78); height: auto; object-fit: cover; }
.fullbleed figcaption { padding: 0 var(--pad); }

.rule-top { border-top: 1px solid var(--hairline); }

/* ---------- field: a full-bleed photograph that copy lives INSIDE.
   The photograph is the section; type sits in its dark regions over a
   directional scrim. This replaces the text-column-beside-photo split
   for narrative sections. ---------- */
.field {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(82vh, 52vw);
}
.field > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.field-scrim { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(75deg, rgba(10,9,8,0.82) 0%, rgba(10,9,8,0.42) 38%, rgba(10,9,8,0) 62%),
  linear-gradient(180deg, rgba(10,9,8,0.25) 0%, rgba(10,9,8,0) 30%, rgba(10,9,8,0.55) 100%); }
.field-copy {
  position: relative; z-index: 2;
  padding: clamp(90px, 14vh, 200px) var(--pad) clamp(80px, 12vh, 170px);
  max-width: 62ch;
}
.field-copy h2 { margin-bottom: 22px; }
.field-copy p { color: rgba(238,238,238,0.86); margin-bottom: 22px; max-width: 36em; }
.field--tall { min-height: min(92vh, 60vw); }
.field--top { justify-content: flex-start; }
.field--top .field-scrim { background:
  linear-gradient(105deg, rgba(10,9,8,0.78) 0%, rgba(10,9,8,0.35) 40%, rgba(10,9,8,0) 65%),
  linear-gradient(0deg, rgba(10,9,8,0.3) 0%, rgba(10,9,8,0) 30%); }
.field--right { align-items: flex-end; }
.field--right .field-scrim { background:
  linear-gradient(285deg, rgba(10,9,8,0.82) 0%, rgba(10,9,8,0.42) 38%, rgba(10,9,8,0) 62%),
  linear-gradient(180deg, rgba(10,9,8,0.25) 0%, rgba(10,9,8,0) 30%, rgba(10,9,8,0.45) 100%); }
.field--right .field-copy { text-align: left; }
.field .cap-corner {
  position: absolute; z-index: 2; right: var(--pad); bottom: 26px;
  display: grid; gap: 6px; justify-items: end; text-align: right;
}

/* app store row: QR + link, over photography or on black */
.store-row { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px); flex-wrap: wrap; }
.store-row .qr {
  width: clamp(104px, 9.5vw, 156px); aspect-ratio: 1; flex: none;
  padding: clamp(10px, 1vw, 16px);
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(10,9,8,0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.store-row .qr img { width: 100%; height: 100%; display: block; }
.store-row .store-copy { display: grid; gap: 14px; justify-items: start; flex: 1 1 0; min-width: min(240px, 100%); }
.store-row .store-note { max-width: 30ch; }
.store-row .store-note { font-size: var(--t-small); color: rgba(238,238,238,0.66); letter-spacing: 0.02em; }

/* overlap card: when copy needs a solid panel (ledgers, dense copy),
   it sits ON the photograph, not beside it */
.overlap { position: relative; }
.overlap > .photo { width: min(76%, 1500px); }
.overlap.flip > .photo { margin-left: auto; }
.overlap > .card {
  position: relative; z-index: 2;
  width: min(46ch, 88%);
  margin: clamp(-140px, -16vw, -260px) 0 0 auto;
  background: rgba(10,9,8,0.92);
  padding: clamp(30px, 3.4vw, 60px);
  border-top: 1px solid var(--hairline);
}
.overlap.flip > .card { margin-left: 0; margin-right: auto; }
.overlap > .card h2 { margin-bottom: 20px; }
.overlap > .card p { color: var(--ink-mid); max-width: 38em; }
.overlap--portrait > .photo { width: min(46%, 760px); }
.overlap--portrait > .card { margin-top: clamp(-200px, -12vw, -120px); }

/* room panel: studios chapters - the room IS the image, the facts sit in a
   quiet panel inside its lower corner */
.room { position: relative; overflow: hidden; }
.room > img { width: 100%; aspect-ratio: var(--ar, 1.9); height: auto; object-fit: cover; display: block; }
.room-scrim { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(10,9,8,0.12) 0%, rgba(10,9,8,0) 40%, rgba(10,9,8,0.78) 100%); }
.room-panel {
  position: absolute; z-index: 2; left: var(--pad); bottom: clamp(28px, 4.5vh, 64px);
  max-width: min(52ch, 44%);
  background: rgba(10,9,8,0.78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--hairline);
  padding: clamp(24px, 2.6vw, 46px);
}
.room-panel h2 { margin-bottom: 14px; }
.room-panel > p { color: rgba(238,238,238,0.85); font-size: var(--t-body); margin-bottom: 20px; }
.room--flip .room-panel { left: auto; right: var(--pad); }
.room--flip .room-scrim { background:
  linear-gradient(180deg, rgba(10,9,8,0.12) 0%, rgba(10,9,8,0) 40%, rgba(10,9,8,0.78) 100%); }
.room-panel .ledger { border-top: 1px solid rgba(255,255,255,0.22); }
.room-panel .lrow { border-bottom-color: rgba(255,255,255,0.12); }

@media (max-width: 960px) {
  .field-copy { max-width: none; }
  /* copy spans the full width on phones, so the side scrim no longer covers it — go top-to-bottom */
  .field-scrim, .field--right .field-scrim, .field--top .field-scrim { background:
    linear-gradient(180deg, rgba(10,9,8,0.5) 0%, rgba(10,9,8,0.28) 45%, rgba(10,9,8,0.62) 100%); }
  .overlap > .photo { width: 100%; }
  .overlap > .card { width: min(94%, 46ch); margin-top: -60px; }
  .room > img { aspect-ratio: auto; min-height: 72vw; }
  .room-panel { position: relative; inset: auto; max-width: none; left: 0;
    padding: 26px var(--pad) 0; background: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; border-top: 0; }
  .room--flip .room-panel { right: 0; }
  .room-scrim { display: none; }
  .room-panel h2 { margin-top: 6px; }
}

/* scene list (numbered hairline rows — operational register; numerals stay) */
.scenes { border-top: 1px solid var(--hairline); }
.scene { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--hairline-soft); }
.scene:last-child { border-bottom: 1px solid var(--hairline); }
.scene .n { font-size: var(--t-micro); letter-spacing: 0.16em; color: var(--ink-low); padding-top: 3px; font-variant-numeric: tabular-nums; }
.scene p { color: var(--ink-mid); font-size: var(--t-small); max-width: 38em; }

/* ---------- app plates ---------- */
/* iPhone device frame: real screenshots behind a CSS body, so the screen
   stays pixel-crisp at any size. Screen aspect is the capture's own. */
.iphone {
  position: relative;
  width: min(330px, 78vw);
  padding: 3.2%;
  border-radius: 15.5% / 7.42%;
  background: linear-gradient(155deg, #4b4e57 0%, #1c1d23 28%, #0c0d11 68%, #262830 100%);
  box-shadow:
    inset 0 0 1px 1px rgba(255,255,255,0.16),
    inset 0 0 0 5px #060607,
    0 60px 90px -30px rgba(0,0,0,0.85),
    0 24px 44px -18px rgba(0,0,0,0.6);
}
.iphone::before, .iphone::after {
  content: ""; position: absolute; width: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #43464e, #16171c);
}
.iphone::before { right: -3px; top: 27%; height: 12%; }
.iphone::after  { left: -3px; top: 21%; height: 5%; box-shadow: 0 44px 0 0 #2b2d34; }
.iphone-screen {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 1170 / 2532;
  border-radius: 12.4% / 5.94%;
  background: #000;
}
.iphone-screen::after {
  content: ""; position: absolute; top: 2.2%; left: 50%;
  width: 27%; height: 3.2%; transform: translateX(-50%);
  background: #000; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.iphone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iphone-link { display: block; perspective: 1600px; }
.iphone-link .iphone,
.iphone--l, .iphone--r { transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.iphone-link .iphone { transform: rotateY(-13deg) rotateX(4deg); }
.iphone-link:hover .iphone, .iphone-link:focus-visible .iphone { transform: rotateY(-4deg) rotateX(1deg); }
.iphone--l { transform: perspective(1600px) rotateY(7deg); }
.iphone--r { transform: perspective(1600px) rotateY(-7deg); }
.iphone--l:hover, .iphone--r:hover { transform: perspective(1600px) rotateY(0deg); }
.app-band { background: var(--bg-deep); position: relative; overflow: hidden; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

/* cropped-ring watermark (app.html closing section only) */
.ring-watermark {
  position: absolute; right: -34vw; bottom: -46vw;
  inline-size: min(165vw, 1900px); block-size: min(165vw, 1900px);
  background: var(--ink);
  -webkit-mask: url(../img/mark-ring.svg) center / contain no-repeat;
          mask: url(../img/mark-ring.svg) center / contain no-repeat;
  opacity: 0.055; pointer-events: none;
}

/* ---------- the four doors (index close) ---------- */
.doors {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.door { position: relative; display: block; border-right: 1px solid var(--hairline); overflow: hidden; }
.door:last-child { border-right: 0; }
.door img { width: 100%; aspect-ratio: 0.47; height: auto; object-fit: cover; transition: transform 1.6s cubic-bezier(0.19,1,0.22,1); }
.door:hover img { transform: scale(1.025); }
.door-label {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; text-align: center;
  font-family: var(--body); font-weight: 500; font-size: var(--t-micro);
  letter-spacing: 0.20em; text-transform: uppercase; color: var(--ink);
  opacity: 0.85; transition: opacity 0.3s ease;
}
.door:hover .door-label { opacity: 1; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 44px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer .brandline img { height: 14px; width: 258px; }
.footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer nav a, .footer nav span { font-size: var(--t-small); color: var(--ink-low); letter-spacing: 0.02em; }
.footer nav a:hover { color: var(--ink); }

/* ---------- reveal — hidden state only when JS is confirmed running (html.js) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s cubic-bezier(0.19,1,0.22,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .photo img { transition: none; }
}

/* ---------- page hero (inner pages) ---------- */
.page-head { padding: clamp(150px, 24vh, 220px) var(--pad) clamp(40px, 6vh, 70px); max-width: 72vw; }
.page-head h1 { margin-bottom: 24px; }
.page-head .lede { max-width: 40em; }

/* ---------- tables / tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--hairline); }
.tier { padding: 44px 36px; border-right: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 14px; }
.tier:last-child { border-right: 0; }
.tier .name { font-family: var(--body); font-weight: 500; font-size: var(--t-micro); letter-spacing: 0.16em; text-transform: uppercase; }
.tier .name.gold { color: var(--gold); }
.tier .name.platinum { color: #C9CDD4; }
.tier .price { font-family: var(--display); font-weight: 100; font-size: var(--t-statement); font-variant-numeric: tabular-nums; }
.tier .price small { font-size: var(--t-small); color: var(--ink-low); font-family: var(--body); letter-spacing: 0.05em; }
.tier ul { list-style: none; }
.tier li { font-size: var(--t-small); color: var(--ink-mid); padding: 9px 0; border-top: 1px solid var(--hairline-soft); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-group { display: none; }
  .nav-toggle { display: block; }
  .nav { justify-content: space-between; }
  .split, .split.flip, .split.weighted, .split.narrow { grid-template-columns: 1fr; }
  .split.flip .photo, .split.flip .app-col { order: -1; }
  .tiers { grid-template-columns: 1fr; }
  .tier { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .tier:last-child { border-bottom: 0; }
  .hero { min-height: 86vh; }
  .hero-scrim { background:
    linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.15) 25%, rgba(10,9,8,0.55) 55%, rgba(10,9,8,0.97) 100%); }
  .hero-copy { padding-left: var(--pad); max-width: none; }
  .hero-copy h1 { font-size: clamp(32px, 10.2vw, 58px); }
  .footer { flex-direction: column; align-items: flex-start; }
  .void > * { max-width: none; }
  .doors { grid-template-columns: repeat(2, 1fr); }
  .door img { aspect-ratio: 0.8; }
  .door:nth-child(2) { border-right: 0; }
  .door:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
  .ring-watermark { inline-size: min(220vw, 1900px); block-size: min(220vw, 1900px); right: -80vw; bottom: -60vw; }
}

/* studios */
.chapter { padding: clamp(70px, 11vh, 130px) var(--pad); border-top: 1px solid var(--hairline); }
.chapter-mark { display: flex; align-items: center; gap: 0; margin-bottom: 26px; }
.chapter-mark .mk { margin-inline: 0 18px; }
.chapter-mark .label {
  font-family: var(--body); font-weight: 500; font-size: var(--t-micro);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-low);
  margin-inline-end: 18px; white-space: nowrap;
}
.chapter-mark .rule { flex: 1; height: 1px; background: var(--hairline); }

/* the spill — studios H1 baseline drops into the photograph below */
.spill { margin-bottom: -0.34em; position: relative; z-index: 2; }

.ledger { border-top: 1px solid var(--hairline); max-width: 34em; }
.ledger .lrow {
  display: grid; grid-template-columns: 8.5em 1fr; gap: 20px;
  padding: 11px 0; border-bottom: 1px solid var(--hairline-soft);
}
.ledger .lrow:last-child { border-bottom: 1px solid var(--hairline); }
.ledger dt {
  font-size: var(--t-micro); font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-low);
}
.ledger dd { font-size: var(--t-small); color: var(--ink-mid); min-width: 0; font-variant-numeric: tabular-nums; }

.plates { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(14px, 2.2vw, 30px); align-items: end; }

.tracked-list {
  display: flex; flex-wrap: wrap; gap: 13px 28px; padding: 26px 0;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.tracked-list span {
  font-size: var(--t-micro); font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mid);
}

/* private hire */
.rows { border-top: 1px solid var(--hairline); }
.rows .r {
  display: grid; grid-template-columns: 15em 1fr; gap: clamp(18px, 3vw, 56px);
  padding: 24px 0; border-bottom: 1px solid var(--hairline-soft); align-items: start;
}
.rows .r:last-child { border-bottom: 1px solid var(--hairline); }
.rows .r h3 { font-size: var(--t-sub); }
.rows .r p { color: var(--ink-mid); font-size: var(--t-small); max-width: 46em; min-width: 0; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }

/* standing panel label — 11px caps over a table; not an eyebrow (no heading follows) */
.panel-label {
  font-family: var(--body); font-weight: 500; font-size: var(--t-micro);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 20px;
}

.statement {
  font-family: var(--display); font-weight: 100;
  font-size: var(--t-statement); line-height: 1.18; max-width: 20em;
}

@media (max-width: 760px) {
  .plates { grid-template-columns: 1fr; }
  .rows .r { grid-template-columns: 1fr; gap: 10px; }
  .ledger .lrow { grid-template-columns: 7.5em 1fr; gap: 14px; }
  .duo { grid-template-columns: 1fr; }
  .aperture { --s: min(78vw, 420px); }
}

/* membership */
/* three kinds of night - a full-bleed triptych. The labels live inside the
   image over a base scrim. Panels hold still — they are photographs, not
   controls. The crop tightens as access narrows: a room, one player, a detail. */
.triptych { display: flex; gap: 2px; }
.triptych .panel {
  position: relative; overflow: hidden; min-width: 0;
  flex: 1 1 0; aspect-ratio: 0.8;
}
.triptych .panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.panel-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,9,8,0.18) 0%, rgba(10,9,8,0) 38%, rgba(10,9,8,0.85) 100%);
}
.panel-copy {
  position: absolute; left: clamp(20px, 2.4vw, 44px); right: clamp(20px, 2.4vw, 44px);
  bottom: clamp(22px, 3vh, 44px);
}
.panel-copy dt {
  font-family: var(--body); font-weight: 500; font-size: var(--t-micro);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.panel-copy dd {
  margin-top: 8px;
  font-size: var(--t-small); letter-spacing: 0.02em;
  color: rgba(238,238,238,0.72); line-height: 1.55; max-width: 26ch;
}
/* Must live here, after the base rule - the shared breakpoint block sits
   earlier in the file and would lose on source order. */
@media (max-width: 960px) {
  .triptych { flex-direction: column; }
  /* column direction makes height the flex main axis, so flex-basis 0 would
     collapse the panels - size them by aspect-ratio instead */
  .triptych .panel { flex: none; width: 100%; aspect-ratio: 1.1; }
}

.register { border-top: 1px solid var(--hairline); }
.register-row {
  display: grid; grid-template-columns: minmax(0, 12em) 1fr; gap: clamp(16px, 3vw, 40px);
  padding: 20px 0; border-bottom: 1px solid var(--hairline-soft); align-items: baseline;
}
.register-row:last-child { border-bottom: 1px solid var(--hairline); }
.register dt {
  font-size: var(--t-micro); font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-mid);
}
.register dd { font-size: var(--t-body); color: var(--ink-mid); min-width: 0; max-width: 42em; }
.register-note { margin-top: 22px; font-size: var(--t-small); color: var(--ink-mid); }

.tier-note { margin-top: 24px; font-size: var(--t-small); color: var(--ink-mid); }

.ladder { list-style: none; border-top: 1px solid var(--hairline); margin-bottom: clamp(48px, 7vh, 84px); }
.ladder li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 16px 0; border-bottom: 1px solid var(--hairline-soft);
}
.ladder li:last-child { border-bottom: 1px solid var(--hairline); }
.rung-name { font-family: var(--display); font-weight: 200; font-size: var(--t-sub); min-width: 0; }
.rung-pts { font-size: var(--t-micro); letter-spacing: 0.16em; color: var(--ink-mid); font-variant-numeric: tabular-nums; }

.icon-reward { align-items: center; }
.icon-reward .copy > .rung-icon {
  font-family: var(--display); font-weight: 200; letter-spacing: 0.04em;
  font-size: var(--t-sub); color: var(--gold); margin-bottom: 20px;
}
.rung-icon span {
  display: block; margin-top: 10px; font-family: var(--body); font-weight: 500;
  font-size: var(--t-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mid);
  font-variant-numeric: tabular-nums;
}
.icon-reward h3 { margin-bottom: 16px; max-width: 18em; }
.icon-reward .copy > p:last-child { color: var(--ink-mid); }

/* inquire */
.inquire-split { align-items: start; }
.inquire-form { max-width: 34em; min-width: 0; }
.inq-field { display: grid; gap: 8px; margin-bottom: 26px; }
.inq-field label {
  font-size: var(--t-micro); font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-mid);
}
.inq-field input, .inq-field textarea {
  width: 100%; border: 1px solid var(--hairline); border-radius: 0;
  background: rgba(255,255,255,0.03); color: var(--ink);
  font-family: var(--body); font-weight: 400; font-size: 16px; line-height: 1.5;
  padding: 13px 14px; transition: border-color 0.25s ease, background 0.25s ease;
}
.inq-field textarea { resize: vertical; min-height: 112px; }
.inq-field input:hover, .inq-field textarea:hover { border-color: rgba(255,255,255,0.28); }
.inq-field input:focus, .inq-field textarea:focus { border-color: var(--ink-mid); background: rgba(255,255,255,0.05); }
.inq-field input[aria-invalid="true"], .inq-field textarea[aria-invalid="true"] { border-color: var(--red); }
.inq-hint { font-size: var(--t-small); color: var(--ink-mid); }
.inq-error { font-size: var(--t-small); color: var(--red); }
.form-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.form-status { margin-top: 22px; font-size: var(--t-small); color: var(--ink-mid); }
.form-status.is-error { color: var(--red); }
.plainlink { border-bottom: 1px solid var(--hairline); transition: border-color 0.25s ease; }
.plainlink:hover { border-color: var(--ink); }
.inquire-aside { min-width: 0; }
.inquire-aside .photo-cap { max-width: 420px; }

/* submit — the arming ring: dot fills red only when the form is valid */
.submit {
  display: inline-flex; align-items: center; gap: 0.9em;
  background: var(--ink); color: var(--bg);
  padding: 15px 30px 15px 22px; border: 0; cursor: pointer;
  font-family: var(--body); font-weight: 500; font-size: var(--t-micro);
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.3s ease;
}
.submit .mk { --s: 15px; }
.submit .mk::before { background: var(--bg); }
.submit .mk::after {
  inline-size: calc(var(--s) * 0.1535);
  block-size: calc(var(--s) * 0.1535);
  background: var(--bg);
  transition: background 0.25s ease, inline-size 0.25s ease, block-size 0.25s ease;
}
.inquire-form:valid .submit .mk::after {
  background: var(--red);
  inline-size: calc(var(--s) * 0.44);
  block-size: calc(var(--s) * 0.44);
}
@media (prefers-reduced-motion: reduce) { .submit .mk::after { transition: none; } }

@media (max-width: 760px) {
  .register-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .ladder li { gap: 14px; }
  .inquire-aside .photo-cap { max-width: none; }
}

/* captioned figure */
.photo-cap { min-width: 0; }
.photo-cap .cap-frame { display: block; position: relative; overflow: hidden; }
.photo-cap .cap-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s cubic-bezier(0.19,1,0.22,1);
}
.photo-cap:hover .cap-frame img { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) { .photo-cap .cap-frame img { transition: none; } }

/* --- book a tour: ONE photograph is the whole page — title and form both
   sit on it, scrim carrying legibility on the left while the room breathes
   on the right --- */

/* --- book a tour: segmented kind toggle, date strip, slot grid --- */
.seg { display: flex; border: 1px solid var(--hairline); width: max-content; }
.seg button {
  padding: 12px 24px; background: none; border: 0; color: var(--ink-mid);
  font: inherit; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--ink); color: #0A0908; }
.dstrip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.dstrip.can-scroll {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
}
.dchip {
  flex: 0 0 auto; min-width: 62px; padding: 10px 6px; border: 1px solid var(--hairline);
  background: none; color: var(--ink-mid); text-align: center; cursor: pointer; font: inherit;
}
.dchip[disabled] { opacity: 0.28; cursor: default; }
.dchip .dw { display: block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 5px; }
.dchip .dn { display: block; font-size: 16px; color: inherit; }
.dchip[aria-pressed="true"] { background: var(--ink); color: #0A0908; }
.dchip[aria-pressed="true"] .dw { color: #0A0908; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot {
  padding: 12px 0; border: 1px solid var(--hairline); background: none; color: var(--ink-mid);
  cursor: pointer; font: inherit; font-size: 13px; letter-spacing: 0.05em; text-align: center;
}
.slot[aria-pressed="true"] { background: var(--ink); color: #0A0908; }
.tour-step { margin-bottom: 30px; }
.tour-step > .inq-hint { margin-top: 8px; }
.step-label { display: block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-low); margin-bottom: 12px; }
.tour-success { border: 1px solid var(--hairline); padding: clamp(26px, 4vw, 44px); }
.tour-success h2 { margin-bottom: 14px; }
.tour-success p { color: var(--ink-mid); max-width: 34em; }

/* the tour form's stage: the photograph is the section, the form sits on it.
   Controls pick up a faint ink fill so they read where the scrim thins. */
.tour-stage { position: relative; overflow: hidden; }
.stage-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% 46%;
}
.stage-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,9,8,0.6) 0%, rgba(10,9,8,0) 24%),
    linear-gradient(90deg,
      rgba(10,9,8,0.97) 0%, rgba(10,9,8,0.94) 32%, rgba(10,9,8,0.74) 52%,
      rgba(10,9,8,0.34) 76%, rgba(10,9,8,0.16) 100%);
}
.stage-inner { position: relative; padding: clamp(140px, 18vh, 210px) var(--pad) clamp(72px, 10vh, 120px); }
.stage-head { margin-bottom: clamp(48px, 7vh, 84px); }
.stage-head h1 { margin-bottom: 18px; }
.stage-inner .inquire-form, .stage-inner .tour-success { max-width: 560px; }
.tour-stage .inq-field input, .tour-stage .inq-field textarea { background: rgba(10,9,8,0.45); }
.tour-stage .seg, .tour-stage .dchip:not([aria-pressed="true"]), .tour-stage .slot:not([aria-pressed="true"]) {
  background-color: rgba(10,9,8,0.35);
}
.tour-stage .tour-success { background: rgba(10,9,8,0.78); }
@media (max-width: 960px) {
  .stage-scrim { background: linear-gradient(180deg,
    rgba(10,9,8,0.96) 0%, rgba(10,9,8,0.9) 60%, rgba(10,9,8,0.78) 100%); }
  .stage-inner { padding-top: clamp(116px, 15vh, 150px); padding-bottom: clamp(48px, 7vh, 72px); }
}
