/* ============================================================
   SPONTANEOUS INK — Cinematic dark system
   Foundation: the 3D liquid-glass monogram animation.
   Everything else is built to sit quietly around it.
   ============================================================ */

:root {
  /* Ground — warm near-black, tuned to the render's background */
  --ink-000: #08080a;
  --ink-100: #0e0e11;
  --ink-200: #141418;
  --ink-300: #1c1c21;

  /* Type */
  --paper: #f4f1ed;
  --paper-dim: #b8b3ad;
  --paper-mute: #7d7873;

  /* Brand accent — the red from the glass mark */
  --red: #e51d25;
  --red-bright: #ff3b42;
  --red-deep: #7a0810;

  /* Lines */
  --rule: rgba(255, 255, 255, 0.10);
  --rule-soft: rgba(255, 255, 255, 0.055);

  /* Type families */
  --display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rhythm */
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 11vh, 150px);
  --measure: 62ch;

  /* Single source of truth for nav height — the hero, interior page headers
     and the mobile menu drawer all offset from this. Change the brand mark
     size and this follows, instead of three hardcoded numbers drifting apart. */
  --nav-h: 96px;
}
@media (max-width: 800px) {
  :root { --nav-h: 78px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
body {
  margin: 0;
  background: var(--ink-000);
  color: var(--paper);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
/* Any class that sets `display` (.btn, .grid, .tile…) beats the UA rule for
   the `hidden` attribute, which silently leaves "hidden" elements visible.
   This makes `hidden` mean hidden everywhere. */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }

::selection { background: var(--red); color: #fff; }

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

.skip {
  position: fixed; top: -100px; left: 16px; z-index: 200;
  background: var(--paper); color: var(--ink-000);
  padding: 12px 18px; font-size: 13px; font-weight: 600;
}
.skip:focus { top: 16px; }

/* ---------- typography primitives ---------- */
.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.label-red { color: var(--red); }

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.d1 { font-size: clamp(46px, 8.5vw, 132px); }
.d2 { font-size: clamp(38px, 5.6vw, 84px); }
.d3 { font-size: clamp(28px, 3.4vw, 46px); }
.display em { font-style: italic; color: var(--red); }

.lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.6;
  color: var(--paper-dim);
  max-width: var(--measure);
}
.body-dim { color: var(--paper-dim); }
.small { font-size: 14px; line-height: 1.7; color: var(--paper-mute); }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.rule-top { border-top: 1px solid var(--rule-soft); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 92px);
}
.split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .split, .split-even { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  min-height: var(--nav-h);
  transition: background-color .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--rule-soft);
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
/* Sized by HEIGHT, width auto. The mark is a tall narrow shape (aspect ~0.39)
   and `logo-mark.png` is cropped tight to it, so height is what controls how
   big it actually looks. (The original logo.png is a 1920x1080 landscape file
   with the mark filling only ~20% of the width — boxing that by width made the
   mark render tiny no matter how large the box got.) */
.nav-brand img { height: 62px; width: auto; object-fit: contain; }
.nav-brand span {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.005em;
  line-height: 1;
}
@media (max-width: 800px) {
  .nav-brand img { height: 46px; }
  .nav-brand span { font-size: 20px; }
}
/* The footer mark is the sign-off — it carries more weight than the nav's. */
.foot .nav-brand { gap: 20px; }
.foot .nav-brand img { height: 124px; }
.foot .nav-brand span { font-size: 32px; }
@media (max-width: 800px) {
  .foot .nav-brand img { height: 88px; }
  .foot .nav-brand span { font-size: 26px; }
}
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-links a {
  font-size: 13px; letter-spacing: 0.02em; color: var(--paper-dim);
  transition: color .2s ease; position: relative; padding-block: 4px;
}
.nav-links a:hover { color: var(--paper); }
.nav-links a[aria-current="page"] { color: var(--paper); }
.nav-links a[aria-current="page"]::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--red);
}

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  border: 1px solid transparent;
  /* Explicit, so .btn works on <button> as well as <a>. Without it a
     <button class="btn btn-ghost"> inherits the UA's grey/white buttonface. */
  background: transparent;
  color: inherit;
  transition: background-color .22s ease, border-color .22s ease, color .22s ease, transform .22s ease;
  cursor: pointer;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-bright); }
.btn-ghost { border-color: var(--rule); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper-dim); background: rgba(255,255,255,.04); }
.btn-lg { padding: 17px 30px; font-size: 14px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule);
  padding: 9px 13px; font-size: 12px; letter-spacing: .08em; cursor: pointer;
}

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column;
    align-items: flex-start; gap: 0;
    background: rgba(8,8,10,.97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-block: 1px solid var(--rule-soft);
    padding: 8px var(--gutter) 22px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; padding: 15px 0; font-size: 16px; border-bottom: 1px solid var(--rule-soft); }
  .nav-links .btn { margin-top: 16px; width: 100%; justify-content: center; }
  .nav-links a[aria-current="page"]::after { display: none; }
}

/* ---------- hero ----------
   Full bleed: the mark sits *behind* the type, edge to edge. Legibility is
   bought with a directional scrim rather than by moving the mark out of the
   way — copy stays over the darkened left, the glass reads through on the
   right, and the overlap between them is the point. */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  /* matches the render's crushed ground exactly, so the video has no seam */
  background: #000;
  padding: calc(var(--nav-h) + 3vh) 0 clamp(52px, 9vh, 104px);
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
/* The hero ground and the render's ground are both true black, so the video
   does NOT need to cover the full width — any area it doesn't reach is
   seamless. That frees it to be *placed* rather than cropped, which is the
   only way to put the mark at a predictable spot: `cover` + object-position
   moves it by wildly different amounts depending on viewport aspect. */
.hero-media video,
.hero-media img.hero-fallback {
  position: absolute;
  top: 50%; left: 66%;
  height: 104%; width: auto;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
/* Carries the type over the mark. The left stays dark enough for body copy;
   the right is left alone so the glass keeps its highlights. */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to right,
      rgba(0,0,0,.95) 0%, rgba(0,0,0,.90) 26%,
      rgba(0,0,0,.60) 46%, rgba(0,0,0,.16) 66%, transparent 84%),
    linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 15%, transparent 42%),
    radial-gradient(125% 92% at 50% 40%, transparent 48%, rgba(0,0,0,.5) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }

.hero h1 {
  margin: 18px 0 22px;
  max-width: 15ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.82), 0 1px 4px rgba(0,0,0,.5);
}
.hero .label,
.hero .lede { text-shadow: 0 1px 16px rgba(0,0,0,.85); }
.hero .lede { max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 3.5vw, 52px);
  margin-top: clamp(32px, 5vh, 62px);
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
  max-width: 40rem;
}
.hero-meta div { display: grid; gap: 3px; }
.hero-meta b { font-family: var(--display); font-size: 26px; font-weight: 400; }

@media (max-width: 900px) {
  .hero { align-items: end; padding-top: calc(var(--nav-h) + 2vh); }
  .hero h1 { max-width: 12ch; }
  .hero .lede { max-width: 34ch; }
  /* Portrait framing on phones: the mark sits in the upper third and the copy
     runs over near-solid black beneath it. There's still overlap at the seam —
     that's the look — but nothing readable sits on a busy part of the render. */
  .hero-media video,
  .hero-media img.hero-fallback {
    top: 19%; left: 50%;
    width: 86%; height: auto;
  }
  /* A phone can't give the mark and the copy the same space a desktop can, so
     the copy wins below the seam: solid black behind all of it, feathering out
     just above the headline where the mark takes over. */
  .hero-scrim {
    background:
      linear-gradient(to top,
        #000 0%, #000 50%, rgba(0,0,0,.93) 70%,
        rgba(0,0,0,.62) 82%, rgba(0,0,0,.2) 92%, transparent 99%),
      radial-gradient(135% 58% at 50% 12%, transparent 46%, rgba(0,0,0,.38) 100%);
  }
}

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(26px, 4vh, 54px);
  z-index: 3; display: grid; gap: 10px; justify-items: center;
}
.scroll-cue i {
  display: block; width: 1px; height: 54px;
  background: linear-gradient(to bottom, transparent, var(--paper-mute));
}
@media (max-width: 1100px) { .scroll-cue { display: none; } }

/* ---------- marquee ----------
   Two bands crossing at opposing angles rather than one flat rule: the upper
   band is the statement (display serif on a red-tinted strip, scrolling left),
   the lower is a quieter counter-scroll. Where they overlap you get a shallow
   X that gives the section depth. */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(54px, 9vh, 104px);
  background:
    radial-gradient(80% 130% at 50% 50%, rgba(229,29,37,.09), transparent 68%),
    linear-gradient(180deg, var(--ink-000), var(--ink-100) 48%, var(--ink-000));
  border-block: 1px solid var(--rule-soft);
}
.band {
  position: relative;
  /* wider than the viewport so the rotated ends never expose a corner */
  width: 118%;
  left: -9%;
  overflow: hidden;
}
.band-a {
  transform: rotate(-2.6deg);
  background: linear-gradient(90deg, rgba(229,29,37,.16), rgba(122,8,16,.09) 55%, rgba(229,29,37,.16));
  border-block: 1px solid rgba(229,29,37,.34);
  padding-block: 12px;
  z-index: 1;
}
.band-b {
  transform: rotate(1.7deg);
  /* just enough negative margin that the two bands converge and cross at one
     end without band-a's fill swallowing band-b's text along its whole length */
  margin-top: -2px;
  padding-block: 10px;
  border-block: 1px solid var(--rule-soft);
  background: rgba(8,8,10,.72);
}
.band-track {
  display: flex; width: max-content;
  animation: slide 40s linear infinite;
  will-change: transform;
}
.band-b .band-track { animation-duration: 52s; animation-direction: reverse; }
.band-track span {
  display: inline-flex; align-items: center; gap: clamp(20px, 2.4vw, 34px);
  padding-right: clamp(20px, 2.4vw, 34px);
  white-space: nowrap;
}
.band-track span::after { content: '✦'; color: var(--red); font-size: .58em; }
.band-a .band-track span {
  font-family: var(--display);
  font-size: clamp(24px, 3.2vw, 46px);
  color: var(--paper);
}
.band-b .band-track span {
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.band-b .band-track span::after { color: var(--paper-mute); font-size: .9em; }
@keyframes slide { to { transform: translateX(-50%); } }

@media (max-width: 700px) {
  .band-a { transform: rotate(-3.4deg); }
  .band-b { transform: rotate(2.2deg); }
}

/* ---------- work grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}
.tile {
  /* <figure> carries a UA default `margin: 1em 40px`. Left unreset inside a
     grid cell it shrinks every tile by 80px horizontally and pushes the rows
     apart — the tiles stop filling their columns and the grid gaps go ragged. */
  margin: 0;
  position: relative; display: block; overflow: hidden;
  background: var(--ink-200); aspect-ratio: 4 / 5;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.16,.84,.36,1), filter .5s ease;
}
.tile:hover img { transform: scale(1.045); }
.tile figcaption {
  position: absolute; inset: auto 0 0; z-index: 2;
  padding: 34px 16px 15px;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  background: linear-gradient(to top, rgba(8,8,10,.92), transparent);
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  opacity: 0; transform: translateY(7px);
  transition: opacity .35s ease, transform .35s ease;
}
.tile:hover figcaption, .tile:focus-visible figcaption { opacity: 1; transform: none; }
.tile figcaption em { font-style: normal; color: var(--red); }
@media (hover: none) {
  .tile figcaption { opacity: 1; transform: none; }
}

/* filter bar */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter {
  background: none; border: 1px solid var(--rule);
  padding: 9px 17px; font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--paper-mute); cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.filter:hover { color: var(--paper); border-color: var(--paper-mute); }
.filter[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink-000); }

/* ---------- feature row (image + text) ---------- */
.feature-img {
  position: relative; overflow: hidden; background: var(--ink-200);
  aspect-ratio: 4 / 5;
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- numbered steps ---------- */
.steps { display: grid; gap: 1px; background: var(--rule-soft); }
.step {
  background: var(--ink-000);
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 28px 0;
  align-items: start;
}
.step b {
  font-family: var(--display); font-size: 30px; font-weight: 400;
  color: var(--red); line-height: 1;
}
.step h3 { font-size: 17px; font-weight: 500; letter-spacing: .01em; margin-bottom: 7px; }
@media (max-width: 560px) {
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
}

/* ---------- cards ----------
   Discrete bordered cards rather than the 1px-gap-over-a-tinted-container
   trick: with 5 items the last row is never full, and the container's own
   background then shows through the empty tracks as a stray light box. */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr));
  gap: 14px;
}
.card {
  background: var(--ink-000);
  border: 1px solid var(--rule-soft);
  border-top: 2px solid var(--red);
  padding: 26px 22px 30px;
  display: grid; gap: 11px; align-content: start;
  transition: background-color .3s ease, border-color .3s ease;
}
.card:hover { background: var(--ink-100); border-color: var(--rule); border-top-color: var(--red-bright); }
.card h3 { font-family: var(--display); font-size: 25px; }
.card .price { font-size: 15px; font-weight: 500; }
.card .price span { color: var(--paper-mute); font-weight: 400; }

/* ---------- location cards ---------- */
.loc { border: 1px solid var(--rule-soft); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.loc > p:last-child { margin-top: auto; }
.loc-mark {
  background: var(--paper); height: 128px;
  display: grid; place-items: center; padding: 22px;
}
.loc-mark img { max-height: 84px; max-width: 78%; object-fit: contain; }
.loc h3 { font-family: var(--display); font-size: 27px; }

/* ---------- hours ---------- */
.hours { display: grid; }
.hours div {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 15px 0; border-bottom: 1px solid var(--rule-soft);
}
.hours div:last-child { border-bottom: 0; }
.hours span { color: var(--paper-mute); }
.hours b { font-weight: 500; }

/* ---------- form ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-mute); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px;
  background: var(--ink-100); border: 1px solid var(--rule);
  color: var(--paper); padding: 13px 15px;
  font: 15px/1.5 var(--ui); border-radius: 0;
  transition: border-color .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red); background: var(--ink-200); outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: #5c5854; }
.consent {
  grid-column: 1 / -1; display: grid; grid-template-columns: 18px 1fr; gap: 12px;
  align-items: start; font-size: 13px; color: var(--paper-mute); line-height: 1.55;
}
.consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--red); min-height: 0; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--paper-mute); min-height: 19px; margin: 0; }
@media (max-width: 640px) {
  .form { grid-template-columns: minmax(0, 1fr); }
  .field-wide, .consent, .form-note { grid-column: 1; }
}

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--rule-soft); }
.faq details { border-bottom: 1px solid var(--rule-soft); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 24px 46px 24px 0;
  font-family: var(--display); font-size: clamp(19px, 2vw, 25px);
  transition: color .2s ease;
}
.faq summary:hover { color: var(--red); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%;
  width: 13px; height: 1px; background: var(--red);
  box-shadow: 0 0 0 0 transparent;
}
.faq summary::before {
  content: ''; position: absolute; right: 12px; top: 50%;
  width: 1px; height: 13px; background: var(--red);
  transform: translateY(-50%); transition: opacity .25s ease, transform .25s ease;
}
.faq details[open] summary::before { opacity: 0; transform: translateY(-50%) rotate(90deg); }
.faq p { padding: 0 0 26px; max-width: var(--measure); color: var(--paper-dim); }

/* ---------- pull quote ---------- */
.quote {
  font-family: var(--display); font-size: clamp(26px, 3.6vw, 52px);
  line-height: 1.15; letter-spacing: -0.01em; max-width: 20ch;
}
.quote em { font-style: italic; color: var(--red); }

/* ---------- cta band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--rule-soft);
  background: var(--ink-100);
}
.cta-band::before {
  content: ''; position: absolute; inset: -50% -10% auto; height: 320px;
  background: radial-gradient(closest-side, rgba(229,29,37,.20), transparent 72%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; display: grid; gap: 26px; justify-items: start; }

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--rule-soft);
  padding: clamp(46px, 7vh, 74px) var(--gutter) 40px;
  display: grid; gap: 40px;
}
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 34px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 26px; }
.foot-nav a { font-size: 14px; color: var(--paper-dim); transition: color .2s; }
.foot-nav a:hover { color: var(--red); }
.foot-btm {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  padding-top: 26px; border-top: 1px solid var(--rule-soft);
  font-size: 12.5px; color: var(--paper-mute);
}
.foot-btm a:hover { color: var(--paper); }

/* ---------- page header (interior pages) ---------- */
.page-head {
  padding: calc(var(--nav-h) + clamp(40px, 8vh, 92px)) var(--gutter) clamp(40px, 7vh, 76px);
  border-bottom: 1px solid var(--rule-soft);
}
.page-head h1 { margin: 16px 0 20px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .85s cubic-bezier(.2,.7,.3,1), transform .85s cubic-bezier(.2,.7,.3,1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .band-track { animation: none; }
  .band-a, .band-b { transform: none; }
}

/* ---------- artist portal ---------- */
.portal-gate {
  min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 60px;
}
.gate-card {
  width: 100%; max-width: 420px;
  border: 1px solid var(--rule);
  background: var(--ink-100);
  padding: clamp(26px, 4vw, 40px);
}
.gate-submit { width: 100%; justify-content: center; margin-top: 20px; }
.gate-submit[disabled] { opacity: .6; cursor: progress; }
.gate-link {
  display: block; margin: 16px auto 0; padding: 4px 2px;
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--paper-dim);
  text-decoration: underline; text-underline-offset: 3px;
}
.gate-link:hover, .gate-link:focus-visible { color: var(--paper); }
.gate-ok { margin-top: 14px; font-size: 13px; color: var(--paper-dim); }
.gate-error {
  margin-top: 14px; font-size: 13px; color: var(--red-bright);
}
.gate-note {
  margin-top: 26px; padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
  font-size: 12.5px; line-height: 1.6; color: var(--paper-mute);
}
.gate-note strong { color: var(--paper-dim); }
.gate-note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .92em; color: var(--paper-dim);
}

.portal { padding-bottom: var(--section); }
.portal-head {
  padding-top: calc(var(--nav-h) + clamp(28px, 5vh, 56px));
  padding-bottom: 30px;
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: space-between; align-items: end;
  border-bottom: 1px solid var(--rule-soft);
}
.portal-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.portal-panel { padding-top: 32px; }
.portal-bar {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}

/* requests */
.req-list { display: grid; gap: 1px; background: var(--rule-soft); }
.req {
  background: var(--ink-000); padding: 22px 0;
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start;
}
.req h3 { font-family: var(--display); font-size: 25px; margin: 6px 0 4px; }
.req-idea { margin-top: 8px; max-width: 60ch; color: var(--paper-dim); }
.req-side { display: grid; gap: 12px; justify-items: end; }
.req-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pill {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 12px; border: 1px solid var(--rule); white-space: nowrap;
}
.pill-pending { color: var(--paper-dim); }
.pill-confirmed { color: #fff; background: var(--red); border-color: var(--red); }
.pill-declined { color: var(--paper-mute); }
@media (max-width: 700px) {
  .req { grid-template-columns: minmax(0, 1fr); }
  .req-side { justify-items: start; }
  .req-actions { justify-content: flex-start; }
}

/* calendar */
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; }
.cal-dow { padding: 8px 4px; text-align: center; }
.cal-cell {
  position: relative; aspect-ratio: 1 / .82;
  background: var(--ink-100); border: 1px solid transparent;
  color: var(--paper-dim); cursor: pointer;
  display: grid; place-items: center; gap: 4px;
  transition: background-color .2s, border-color .2s, color .2s;
}
.cal-cell:hover { background: var(--ink-200); color: var(--paper); }
.cal-cell.is-pad { background: transparent; cursor: default; pointer-events: none; }
.cal-cell.is-today { border-color: var(--rule); color: var(--paper); }
.cal-cell.has-booking { color: #fff; }
.cal-num { font-size: 14px; }
.cal-dot {
  position: absolute; bottom: 14%; width: 5px; height: 5px;
  border-radius: 50%; background: var(--red);
}
.day-detail {
  margin-top: 20px; padding: 20px;
  border: 1px solid var(--rule-soft); background: var(--ink-100);
}
.day-detail p { margin-top: 10px; }

/* time log */
.timer {
  font-family: var(--display); font-size: clamp(38px, 6vw, 64px);
  line-height: 1; margin-top: 6px;
}
.log-list { border-top: 1px solid var(--rule-soft); padding-top: 18px; }
.log-row {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 13px 0; border-bottom: 1px solid var(--rule-soft);
  font-size: 14px; color: var(--paper-dim);
}
.log-row b { font-family: var(--display); font-size: 19px; color: var(--paper); }

/* ---------- rate lists (pricing rows) ---------- */
.rates { display: grid; }
.rates > div {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 6px 22px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--rule-soft);
}
.rates > div:first-child { border-top: 1px solid var(--rule-soft); }
.rates span { color: var(--paper-dim); font-size: 15px; }
.rates b { font-weight: 500; white-space: nowrap; }
.rates b em { font-style: normal; color: var(--paper-mute); font-weight: 400; }

/* ---------- policy / bullet list ---------- */
.policy { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 13px; }
.policy li {
  display: grid; grid-template-columns: 6px 1fr; gap: 14px;
  color: var(--paper-dim); font-size: 15px; line-height: 1.6;
}
.policy li::before {
  content: ''; width: 6px; height: 6px; margin-top: 9px;
  background: var(--red);
}

/* ---------- callout panel ---------- */
.panel {
  border: 1px solid var(--rule-soft);
  background: var(--ink-100);
  padding: clamp(22px, 3vw, 32px);
}
.panel-accent { border-color: rgba(229,29,37,.32); }

/* a quieter band for the sister-brand section */
.band-alt { background: var(--ink-100); border-block: 1px solid var(--rule-soft); }

/* ---------- tour log ---------- */
.tour { display: grid; }
.tour article {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 24px; align-items: start;
  padding: 24px 0; border-bottom: 1px solid var(--rule-soft);
}
.tour article:first-child { border-top: 1px solid var(--rule-soft); }
.tour h3 { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); grid-column: 1; }
.tour .when { grid-column: 1; color: var(--paper-dim); font-size: 15px; }
.tour .what { grid-column: 1; color: var(--paper-mute); font-size: 14px; line-height: 1.6; }
.tour .pill { grid-column: 2; grid-row: 1; justify-self: end; }
@media (max-width: 560px) {
  .tour article { grid-template-columns: minmax(0, 1fr); }
  .tour .pill { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 4px; }
}

/* ---------- page-head with image ---------- */
.head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 860px) {
  .head-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* ---------- artist switcher ---------- */
.artist-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.artist-panel { animation: fadeUp .45s cubic-bezier(.2,.7,.3,1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* placeholder frame for an artist without a photo yet */
.logo-holder {
  display: grid; place-items: center; gap: 18px;
  background: var(--ink-200); border: 1px solid var(--rule-soft);
}
.logo-holder img { width: auto; height: 46%; object-fit: contain; opacity: .85; }
.logo-holder .label { color: var(--paper-mute); }

/* ---------- studio space grid ---------- */
.space-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  align-items: stretch;
}
.space-grid > :first-child { grid-column: 1; grid-row: 1; aspect-ratio: 3 / 4; }
.space-grid > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; aspect-ratio: 16 / 7; }
.space-grid > :nth-child(3) { grid-column: 2; grid-row: 1; aspect-ratio: 3 / 4; }
.space-grid > :nth-child(4) { grid-column: 3; grid-row: 1; aspect-ratio: 3 / 4; }
@media (max-width: 760px) {
  .space-grid { grid-template-columns: minmax(0, 1fr); }
  .space-grid > :nth-child(1),
  .space-grid > :nth-child(2),
  .space-grid > :nth-child(3),
  .space-grid > :nth-child(4) { grid-column: 1; grid-row: auto; }
  .space-grid > :nth-child(2) { aspect-ratio: 4 / 3; }
}

/* ---------- form controls: dark native pickers ---------- */
/* Without this, the date/time picker icons and popups render dark-on-dark. */
.field input, .field select, .field textarea { color-scheme: dark; }

/* ---------- portal: request groups ---------- */
.req-group { margin-top: 38px; }
.req-group:first-child { margin-top: 0; }
.req-group-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--rule);
}
.req-group-head h2 { font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); }
.req-empty { padding: 18px 0; }
.req-meta { color: var(--paper-dim); font-size: 15px; }
.req-pills { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.req-appt {
  margin-top: 14px; padding: 11px 14px;
  border-left: 2px solid var(--red); background: var(--ink-100);
  font-size: 14px; line-height: 1.6; color: var(--paper);
}
.req-appt.is-past { border-left-color: var(--paper-mute); color: var(--paper-dim); }
.pill-done { color: var(--paper-mute); border-color: var(--rule-soft); }
@media (max-width: 700px) { .req-pills { justify-content: flex-start; } }

.portal-notice {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  margin: -8px 0 24px; padding: 12px 16px;
  border: 1px solid rgba(229,29,37,.32); background: var(--ink-100);
  font-size: 14px; color: var(--paper-dim);
}
.portal-notice strong { color: var(--paper); font-weight: 500; }
.portal-notice .btn { padding: 8px 14px; }
.portal-notice.is-error { border-color: var(--red); color: var(--paper); }

.log-form {
  margin-bottom: 30px; padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--rule); background: var(--ink-100);
}

/* ---------- portal: scheduler ---------- */
.sched {
  grid-column: 1 / -1;
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid rgba(229,29,37,.34); background: var(--ink-100);
}
.sched-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 14px; margin: 14px 0 16px;
}
.sched-warn {
  display: grid; gap: 4px;
  margin: 0 0 14px; padding: 10px 12px;
  font-size: 13px; line-height: 1.55; color: #ffd9db;
  background: rgba(229,29,37,.10); border: 1px solid rgba(229,29,37,.35);
}
.sched-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- portal: calendar with bookings ---------- */
.cal-cell {
  aspect-ratio: auto; min-height: 96px;
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
  gap: 4px; padding: 8px; text-align: left; overflow: hidden;
}
.cal-num { font-size: 13px; }
.cal-cell.is-past { opacity: .5; }
.cal-cell.is-past:hover { opacity: .8; }
.cal-cell.is-closed .cal-num::after { content: ' \00B7  closed'; font-size: 10px; color: var(--paper-mute); }
.cal-cell.is-selected { border-color: var(--red); opacity: 1; }
.cal-chip {
  display: block; padding: 3px 6px;
  font-size: 11px; line-height: 1.35; color: var(--paper);
  background: rgba(229,29,37,.18); border-left: 2px solid var(--red);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal-more { font-size: 11px; color: var(--paper-mute); }
@media (max-width: 700px) {
  .cal-cell { min-height: 56px; padding: 6px 4px; }
  .cal-cell.is-closed .cal-num::after { content: ''; }
  /* on phones the chips collapse to dots — the day detail carries the names */
  .cal-chip { display: inline-block; width: 7px; height: 7px; padding: 0; font-size: 0; border: 0; border-radius: 50%; background: var(--red); }
  .cal-more { display: none; }
}

.day-detail p { margin-top: 3px; }
.day-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px;
  padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--rule-soft);
}
.day-item {
  display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 16px; align-items: start;
  padding: 14px 0; border-bottom: 1px solid var(--rule-soft);
}
.day-item:last-child { border-bottom: 0; }
.day-time { font-family: var(--display); font-size: 22px; line-height: 1.1; color: var(--paper); }
.day-side { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
.day-side .btn { padding: 8px 14px; }
@media (max-width: 600px) {
  .day-item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .day-side { justify-content: flex-start; }
}

/* ---------- editable content (site-content.js) ---------- */
.cms-text a, a.cms-link { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.lede + .lede { margin-top: 18px; }
.preview-banner {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 90;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  max-width: calc(100% - 32px); padding: 10px 16px;
  background: var(--red); color: #fff; font-size: 13px; box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
.preview-banner a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- portal: Website tab ---------- */
.site-bar {
  display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--rule-soft);
}
.site-bar .small { max-width: 60ch; }
.site-bar-actions, .site-head-actions, .site-item-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.site-err { color: var(--red-bright); }
.site-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.site-nav { position: sticky; top: calc(var(--nav-h) + 12px); display: grid; gap: 2px; }
.site-nav-group { margin: 16px 0 6px; }
.site-nav-group:first-child { margin-top: 0; }
.site-nav-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 9px 12px; text-align: left; cursor: pointer;
  background: none; border: 1px solid transparent; color: var(--paper-dim); font: inherit; font-size: 14px;
}
.site-nav-item:hover { color: var(--paper); background: var(--ink-100); }
.site-nav-item[aria-current="true"] { color: var(--paper); background: var(--ink-100); border-color: var(--rule); }
.site-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.site-head { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: start; margin-bottom: 22px; }
.site-head .small { max-width: 62ch; }
.site-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; align-items: start; }
.site-form .field-wide { grid-column: 1 / -1; }
.site-help { margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: var(--paper-mute); }
.site-prefix { display: flex; align-items: stretch; }
.site-prefix span {
  display: grid; place-items: center; padding: 0 12px;
  border: 1px solid var(--rule); border-right: 0; color: var(--paper-mute); background: var(--ink-200);
}
.site-prefix input { flex: 1; min-width: 0; }
.site-image { display: flex; flex-wrap: wrap; gap: 16px; align-items: start; }
.site-image img, .site-image-empty {
  width: 160px; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--rule); background: var(--ink-200);
}
.site-image-empty { display: grid; place-items: center; }
.site-image-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1; min-width: 200px; }
.site-image-actions .site-help { flex-basis: 100%; margin-top: 0; }
.field label.site-upload { position: relative; overflow: hidden; cursor: pointer; font-size: 13px; letter-spacing: 0.04em; text-transform: none; color: var(--paper); }
.field .site-upload input { position: absolute; inset: 0; min-height: 0; padding: 0; opacity: 0; cursor: pointer; }
.site-upload:focus-within { outline: 2px solid var(--red); outline-offset: 2px; }
.site-list-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.site-item { border: 1px solid var(--rule); background: var(--ink-100); margin-bottom: 8px; }
.site-item.is-open { border-color: rgba(229,29,37,.32); }
.site-item.is-hidden .site-item-title { color: var(--paper-mute); }
.site-item-head { display: flex; align-items: stretch; }
.site-item-title {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: none; border: 0; cursor: pointer; text-align: left;
  color: var(--paper); font: inherit; font-size: 14.5px;
}
.site-item-title span[data-summary] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-thumb { width: 44px; height: 44px; object-fit: cover; flex: none; background: var(--ink-200); }
.site-item-tools { display: flex; border-left: 1px solid var(--rule-soft); }
.site-tool {
  width: 42px; background: none; border: 0; cursor: pointer; color: var(--paper-dim); font-size: 16px;
}
.site-tool + .site-tool { border-left: 1px solid var(--rule-soft); }
.site-tool:hover:not([disabled]) { color: var(--paper); background: var(--ink-200); }
.site-tool[disabled] { opacity: .3; cursor: default; }
.site-item-body { padding: 18px 16px 16px; border-top: 1px solid var(--rule-soft); }
.site-item-actions { margin-top: 20px; }
.site-history { margin-bottom: 22px; padding: 16px; border: 1px solid var(--rule); background: var(--ink-100); }
.site-version {
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between;
  padding: 8px 0; border-top: 1px solid var(--rule-soft); font-size: 14px;
}
.site-version .btn { padding: 7px 12px; }
.site-hours { display: grid; gap: 8px; max-width: 520px; }
.site-hours-row { display: grid; grid-template-columns: 140px 1fr auto 1fr; gap: 10px; align-items: center; }
.site-hours-row .consent { margin: 0; }
.site-hours-row .site-hours-closed { grid-column: 2 / -1; grid-row: 1; }
.site-hours-row input[type=time] {
  width: 100%; min-height: 44px; padding: 10px 12px; color-scheme: dark;
  background: var(--ink-100); border: 1px solid var(--rule); color: var(--paper);
  font: 15px/1.4 var(--ui); border-radius: 0;
}
.site-hours-row input[type=time]:focus { outline: none; border-color: var(--red); }
.site-hours-row input[disabled] { visibility: hidden; }
.site-hours-row.is-invalid input[type=time] { border-color: var(--red); }
@media (max-width: 860px) {
  .site-layout { grid-template-columns: minmax(0, 1fr); }
  .site-nav { position: static; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .site-nav-group { grid-column: 1 / -1; margin: 10px 0 2px; }
}
@media (max-width: 560px) {
  .site-form { grid-template-columns: minmax(0, 1fr); }
  .site-hours-row { grid-template-columns: 1fr 1fr; }
  .site-hours-row .consent { grid-column: 1 / -1; }
  .site-hours-row > .small:not(.site-hours-closed) { display: none; }
  .site-hours-row .site-hours-closed { grid-column: 1 / -1; grid-row: auto; }
}

/* ---------- booking form: states ---------- */
.field-optional { text-transform: none; letter-spacing: 0; color: var(--paper-mute); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); }
.form-note.is-error { color: var(--red-bright); }
.form [data-submit][disabled] { opacity: .6; cursor: progress; }
.booking-sent {
  grid-column: 1 / -1; padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(229,29,37,.32); background: var(--ink-100);
}
.booking-sent h2 { margin: 12px 0 14px; }
.booking-sent .hero-actions { margin-top: 24px; }

/* ---------- people: guest artists & apprentices ---------- */
.people { display: grid; gap: clamp(30px, 4vw, 56px); }
.person {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 3vw, 44px); align-items: start;
  padding-top: clamp(26px, 3vw, 40px); border-top: 1px solid var(--rule-soft);
}
.people > .person:first-child { padding-top: 0; border-top: 0; }
.person-photo { aspect-ratio: 4/5; }
.person-body h3 { margin: 12px 0 0; }
.person-meta { margin-top: 8px; color: var(--paper-mute); }
.person-bio { font-size: 16px; line-height: 1.7; margin-top: 16px; }
.person-links { margin-top: 20px; }
.person-works {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px; margin-top: 24px;
}
.person-works .tile figcaption { display: none; }
.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(18px, 3vw, 40px);
}
.stat-row b {
  display: block; font-family: var(--display); font-weight: 400;
  font-size: clamp(38px, 6vw, 68px); line-height: 1; color: var(--paper);
}
.stat-row .label { display: block; margin-top: 10px; }
@media (max-width: 760px) {
  .person { grid-template-columns: minmax(0, 1fr); }
  .person-photo { aspect-ratio: 4/3; }
}

/* ---------- portal: gallery field ---------- */
.site-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px; align-items: start;
}
.site-gallery-item { margin: 0; border: 1px solid var(--rule); background: var(--ink-200); }
.site-gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.site-gallery-tools { display: flex; border-top: 1px solid var(--rule-soft); }
.site-gallery-tools .site-tool { flex: 1; height: 34px; }
.field .site-gallery-item input {
  min-height: 38px; padding: 8px 10px; font-size: 13px;
  border: 0; border-top: 1px solid var(--rule-soft);
}
.field label.site-gallery-add {
  display: grid; place-items: center; min-height: 120px; text-align: center;
  border: 1px dashed var(--rule);
}

/* ---------- portal: Alerts tab ---------- */
.alerts-grid { display: grid; gap: 18px; max-width: 720px; }
.alerts-card {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--rule); background: var(--ink-100);
}
.alerts-card > .label { margin-bottom: 12px; }
.alerts-card p + p { margin-top: 10px; }
.alerts-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.alerts-steps { margin: 12px 0 0 1.2em; display: grid; gap: 6px; color: var(--paper-dim); }
.alerts-devices { display: grid; gap: 1px; background: var(--rule-soft); }
.alerts-device {
  display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between;
  padding: 12px 0; background: var(--ink-100);
}
.alerts-devices .btn { padding: 8px 14px; }

/* a request opened from an alert */
.req.is-flash { animation: reqFlash 2.4s ease-out; }
@keyframes reqFlash {
  0%, 30% { box-shadow: inset 3px 0 0 var(--red); background: var(--ink-100); }
  100% { box-shadow: inset 3px 0 0 transparent; background: var(--ink-000); }
}

/* ---------- booking: bot check + privacy note ---------- */
.turnstile-slot { min-height: 65px; }
.turnstile-slot[hidden] { display: none; }
.form-privacy {
  grid-column: 1 / -1; margin: 4px 0 0; padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
  font-size: 12.5px; line-height: 1.6; color: var(--paper-mute);
}
.form-privacy strong { color: var(--paper-dim); font-weight: 500; }
@media (max-width: 700px) { .form-privacy { grid-column: 1; } }

/* two-step login set-up */
.mfa-qr { margin: 14px 0; width: 196px; padding: 8px; background: #fff; }
.mfa-qr img { display: block; width: 180px; height: 180px; }
.mfa-secret { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: var(--paper); word-break: break-all; }
