/* Smokey Hollow Records — site styles (Direction A, "Late Session")
   Colours and fonts live in :root. Change them there and the whole site follows. */

:root {
  --bg: #14100e;
  --bg-2: #1c1612;
  --surface: #251d17;
  --line: rgba(239, 230, 214, .12);
  --text: #efe6d6;
  --muted: #b8aa96;
  --accent: #e8a23a;
  --accent-hover: #f2b252;
  --accent-ink: #1a120a;
  --display: "Fraunces", Georgia, serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1240px;
  --radius: 18px;
  --header-h: 66px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
[id] { scroll-margin-top: var(--header-h); }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Film grain over everything: the "smoky" texture */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
  padding: .75rem var(--gutter);
  background: rgba(20, 16, 14, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand b { display: block; font: 500 1.05rem/1.1 var(--display); letter-spacing: .01em; }
.brand small { display: block; font-size: .75rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: none; }
.nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: .9rem; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: .5rem; }
.menu-btn {
  background: none; border: 1px solid var(--line); color: var(--text);
  font: 500 .85rem var(--body); padding: .55rem .8rem; border-radius: 999px; cursor: pointer;
}
.mobile-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: .5rem var(--gutter) 1rem; }
.mobile-nav a { display: block; padding: .7rem 0; text-decoration: none; font: 400 1.35rem var(--display); border-bottom: 1px solid var(--line); }
/* Phones: badge only in the header; the full lockup sits in the hero */
@media (max-width: 559px) { .brand > span { display: none; } }
@media (min-width: 1060px) {
  .nav { display: block; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 999px; text-decoration: none; cursor: pointer;
  font: 600 .95rem/1 var(--body); letter-spacing: .01em;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: rgba(239, 230, 214, .4); color: var(--text); background: none; }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { padding: .6rem 1rem; font-size: .85rem; }

/* ---------- Sections (shared) ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 10vw, 7.5rem) var(--gutter); }
.section--tight { padding-top: 0; }
.eyebrow { font: 600 .75rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.section h2 { font: 350 clamp(2.2rem, 5.5vw, 4rem)/1.02 var(--display); letter-spacing: -.015em; margin: 0 0 1rem; max-width: 20ch; }
.section h2 i, .hero h1 i { font-style: italic; color: var(--accent); }
.lede { color: var(--muted); max-width: 56ch; margin: 0 0 3rem; font-size: 1.1rem; }
.small { font-size: .9rem; color: var(--muted); }
.text-link { color: var(--accent); text-underline-offset: 4px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.photo { border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.photo img, .photo video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) sepia(.08) brightness(.96); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 940px);
  display: flex; align-items: flex-end;
  padding: 7rem var(--gutter) clamp(2.5rem, 6vw, 5rem);
}
.hero__img {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  /* Warm-grade the photo so it sits in the brand palette */
  filter: saturate(.82) sepia(.12) contrast(1.03) brightness(.88);
  /* Fade the photo's bottom edge into the page, so it still blends when the overlay lifts */
  -webkit-mask-image: linear-gradient(to top, transparent, #000 14%);
  mask-image: linear-gradient(to top, transparent, #000 14%);
}
/* Wide screens: show more of the console, less of the lamps */
@media (orientation: landscape) { .hero__img { object-position: 50% 100%; } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 22% 38%, rgba(232, 162, 58, .22), transparent 70%),
    radial-gradient(50% 45% at 82% 40%, rgba(232, 162, 58, .16), transparent 70%),
    linear-gradient(to top, var(--bg) 2%, rgba(20, 16, 14, .82) 38%, rgba(20, 16, 14, .35) 75%, rgba(20, 16, 14, .55) 100%);
}
.hero::after { /* slow drifting smoke */
  content: ""; position: absolute; inset: -20%; z-index: -1; opacity: .5;
  background:
    radial-gradient(35% 25% at 30% 60%, rgba(239, 230, 214, .08), transparent 70%),
    radial-gradient(30% 22% at 70% 45%, rgba(239, 230, 214, .06), transparent 70%);
  filter: blur(20px);
  animation: drift 38s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(6%, -4%, 0) scale(1.08); } }
.hero__inner { width: 100%; max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; }

/* Scroll reveal: as the visitor scrolls, the copy and dark overlay fade first, leaving the
   photo clear for a moment, then the photo fades too. Parallax: the copy rises faster than the
   page, the photo drifts slower (30% of scroll speed).
   Modern browsers run this natively, tied to the scroll position (smooth on phones). The
   percentages are fractions of the hero's height scrolled. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .hero { --hero-h: min(100svh, 940px); }
    .hero__inner, .hero__img, .hero::before {
      animation-timing-function: linear; animation-fill-mode: both;
      animation-timeline: scroll(root); animation-range: 0 var(--hero-h);
    }
    .hero__inner { animation-name: hero-copy; }
    .hero__img { animation-name: hero-photo; }
    .hero::before { animation-name: hero-overlay; }
    .hero::after { opacity: 0; } /* the drifting smoke would compete with the parallax */
  }
}
@keyframes hero-copy {
  0% { opacity: 1; visibility: visible; transform: none; }
  28% { visibility: visible; }
  28.6% { opacity: 0; visibility: hidden; }
  100% { opacity: 0; visibility: hidden; transform: translateY(calc(var(--hero-h) * -.4)); }
}
@keyframes hero-photo {
  0% { opacity: 1; transform: none; }
  30% { opacity: 1; }
  86% { opacity: 0; }
  100% { opacity: 0; transform: translateY(calc(var(--hero-h) * .3)); }
}
@keyframes hero-overlay { 0% { opacity: 1; } 33%, 100% { opacity: 0; } }

/* Fallback for older browsers: fades only (script-driven movement looks jittery on phones).
   site.js adds .hero-reveal and sets --reveal from 0 to 1. */
.hero-reveal .hero__inner { opacity: calc(1 - var(--reveal, 0) * 3.5); }
.hero-reveal .hero::before, .hero-reveal .hero::after { opacity: calc(1 - var(--reveal, 0) * 3); }
.hero-reveal .hero__img { opacity: calc(1 - max(0, var(--reveal, 0) - .3) * 1.8); }
.hero.is-revealed .hero__inner { visibility: hidden; }
.lockup { display: flex; align-items: center; gap: 1rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.lockup img { width: clamp(64px, 9vw, 88px); filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .5)); }
.lockup span { display: block; font: 500 clamp(1.1rem, 2.4vw, 1.4rem)/1.15 var(--display); }
.lockup em { display: block; font: 500 .8rem/1.4 var(--body); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-top: .25rem; }
.hero h1 {
  margin: 0 0 1.25rem; max-width: 14ch;
  font: 350 clamp(2.9rem, 9vw, 7.25rem)/.98 var(--display);
  letter-spacing: -.02em;
}
.hero h1 i { font-weight: 300; }
.hero .sub { max-width: 46ch; margin: 0 0 2rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #ddd2c1; }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

.facts {
  max-width: var(--max); margin: 0 auto; padding: 1.5rem var(--gutter) 0;
  display: grid; grid-template-columns: 1fr; gap: .75rem 2rem;
  list-style: none; color: var(--muted); font-size: .9rem;
}
.facts li { padding-top: .9rem; border-top: 1px solid var(--line); }
.facts b { display: block; color: var(--text); font: 400 1.35rem/1.2 var(--display); margin-bottom: .1rem; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Three ways ---------- */
.ways { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .ways { grid-template-columns: repeat(3, 1fr); } }
.way { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.way__img { aspect-ratio: 4 / 3; overflow: hidden; }
.way__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) sepia(.08) brightness(.96); transition: transform .8s, filter .8s; }
.way:hover .way__img img { transform: scale(1.04); filter: none; }
.way__body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.way__num { font: italic 300 2.6rem/1 var(--display); color: var(--accent); margin-bottom: .75rem; }
.way h3 { font: 450 1.6rem/1.15 var(--display); margin: 0 0 .75rem; }
.way p { color: var(--muted); margin: 0 0 1.5rem; font-size: 1rem; }
.way__foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.way__price { font-size: .9rem; color: var(--muted); }
.way__price b { color: var(--text); font: 450 1.25rem var(--display); }
.way__link { display: inline-block; padding: .3rem 0; font-weight: 600; font-size: .9rem; color: var(--accent); text-decoration: none; white-space: nowrap; }
.way__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Stacked sections ---------- */

/* Stacked scrolling: the children of any [data-stack] container hold in place, then shrink and
   fade while the next one slides up over them. [data-stack="phone"] does this on phones only.
   site.js measures the page, sets --pin-top and each fade's scroll range, then adds .stacking. */
@media (prefers-reduced-motion: no-preference) {
  .stacking [data-stack] > *, .stack-measure [data-stack] > * {
    position: sticky; top: var(--pin-top, 0px);
    animation: stack-out linear both; animation-timeline: scroll(root);
  }
  .stacking [data-stack] > :last-child { position: relative; top: auto; animation: none; }
  .stacking .stack > *, .stack-measure .stack > * {
    transform-origin: 50% calc(100% - 50svh);
    /* opaque, full-width backing so each section covers the one beneath */
    background: var(--stack-bg, var(--bg)); box-shadow: 0 0 0 100vmax var(--stack-bg, var(--bg)); clip-path: inset(0 -100vmax);
  }
  .stacking .stack > .section--tight, .stack-measure .stack > .section--tight { padding-top: clamp(4rem, 10vw, 7.5rem); }
  .book { --stack-bg: var(--bg-2); }
  .stacking :is(.room, .gear > *, .rates-stack__rest) { background: var(--bg); } /* see-through items need a backing to cover */
  .stacking .gear > *, .stack-measure .gear > * { padding-top: 1rem; }
  /* Studio time: the title holds under the header while the rate cards stack beneath it */
  @media (max-width: 859px) {
    .stacking .rates-intro { position: sticky; top: var(--header-h); z-index: 2; background: var(--bg); }
    .stacking .stack-under { animation: under-away linear both; animation-timeline: scroll(root); }
    :is(.stacking, .stack-measure) .rates-intro { padding-top: 1rem; }
    :is(.stacking, .stack-measure) .rates-intro .lede { margin-bottom: 1.5rem; }
  }
  @media (min-width: 860px) { :is(.stacking, .stack-measure) [data-stack="phone"] > * { position: static; animation: none; } }
  /* While measuring, nothing holds or moves */
  .stack-measure [data-stack] > * { position: relative !important; top: auto !important; animation: none !important; }
}
/* moves top, not transform: Safari doesn't draw a scroll-driven transform on this sticky title */
@keyframes under-away { from { top: var(--header-h); } to { top: calc(var(--header-h) - var(--away, 0px)); } }
@keyframes stack-out { 99% { visibility: visible; } to { opacity: 0; transform: scale(.88); visibility: hidden; } }

/* ---------- Rooms ---------- */
.rooms { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.room { display: grid; gap: 1.5rem; align-items: center; }
.room .photo { aspect-ratio: 4 / 3; }
.room__size { font: italic 300 1.1rem var(--display); color: var(--accent); margin: 0 0 .5rem; }
.room h3 { font: 400 clamp(1.8rem, 3.6vw, 2.6rem)/1.05 var(--display); margin: 0 0 1rem; }
.room p { color: var(--muted); max-width: 48ch; }
.room__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: .75rem; }
.room .room__thumbs .photo { aspect-ratio: 1; border-radius: 12px; }
@media (min-width: 860px) {
  .room { grid-template-columns: 7fr 5fr; gap: 3.5rem; }
  .room--flip { grid-template-columns: 5fr 7fr; }
  .room--flip .room__media { order: 2; }
  .room--feature .photo { aspect-ratio: 16 / 11; }
}

/* ---------- Gear (spec sheet) ---------- */
.gear-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: 3rem; }
.gear-photos .photo { aspect-ratio: 3 / 4; }
@media (min-width: 860px) { .gear-photos { grid-template-columns: repeat(4, 1fr); } }
.gear-intro { display: grid; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 860px) { .gear-intro { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.inputs-callout {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 1.25rem 1.5rem; font-size: .95rem; color: var(--muted);
}
.inputs-callout b { color: var(--text); font: 400 1.3rem/1.2 var(--display); display: block; margin-bottom: .35rem; }
.inputs-callout p:last-child { margin: 0; }
.gear { display: grid; gap: 2.25rem 3rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gear { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gear { grid-template-columns: repeat(3, 1fr); } }
.gear h3 { font: 600 .75rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); padding-bottom: .75rem; border-bottom: 1px solid var(--accent); margin: 0; }
.gear ul { list-style: none; margin: 0; padding: 0; }
.gear li { padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .97rem; line-height: 1.4; }
.gear li span { color: var(--muted); font-size: .88rem; }
.gear--wide { grid-column: 1 / -1; }
/* Short lists are paired on phones so each stacking step fills the screen; wider screens ignore the pairing */
.gear__pair { display: grid; gap: 2.25rem; }
@media (min-width: 640px) { .gear__pair { display: contents; } }
@media (min-width: 1000px) { .gear--span2 { grid-column: span 2; } .gear--span2 ul { columns: 2; column-gap: 3rem; } .gear--span2 li { break-inside: avoid; } }

/* ---------- Rates ---------- */
/* Phones: the two cards and the info block are separate steps, so they can stack.
   Wider screens: one grid with the two cards side by side. */
.rates-stack { display: grid; gap: 1.25rem; }
.rates-stack__rest { padding-top: 1.75rem; }
@media (min-width: 760px) {
  .rates-stack { grid-template-columns: 1fr 1fr; row-gap: 0; }
  .rates-stack__rest { display: contents; }
  .rate-info, .policies-line { grid-column: 1 / -1; }
  .rates-stack .card { margin-bottom: 3rem; }
}
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.card--accent { border-color: rgba(232, 162, 58, .45); }
.card h3 { font: 400 1.7rem/1.1 var(--display); margin: 0 0 .35rem; }
.card .small { margin-bottom: 1.25rem; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: .85rem 0; border-top: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.price-table th { font-weight: 400; color: var(--muted); font-size: .95rem; }
.price-table td { text-align: right; font: 400 1.5rem/1 var(--display); white-space: nowrap; }
.price-table td small { font: 400 .85rem var(--body); color: var(--muted); }
.rate-info { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .rate-info { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } }
@media (min-width: 1100px) { .rate-info { grid-template-columns: repeat(4, 1fr); } }
.rate-info h3 { font: 400 1.35rem/1.2 var(--display); margin: 0 0 .75rem; }
.rate-info p, .rate-info li { color: var(--muted); font-size: .97rem; }
.rate-info ul { margin: 0; padding: 0; list-style: none; }
.rate-info li { padding: .5rem 0; border-top: 1px solid var(--line); }
.rate-info li b { color: var(--text); font-weight: 600; }
.policies-line { margin-top: 2.5rem; color: var(--muted); }

/* ---------- Book ---------- */
.book { background: var(--bg-2); border-block: 1px solid var(--line); }
.book__grid { display: grid; gap: 2rem; }
@media (max-width: 859px) {
  .book > .section { padding-bottom: 9rem; } /* breathing room before the next section slides over */
}
@media (min-width: 960px) { .book__grid { grid-template-columns: 4fr 7fr; gap: 4rem; align-items: start; } }
.book__steps { list-style: none; counter-reset: s; margin: 0 0 2rem; padding: 0; }
.book__steps li { counter-increment: s; display: flex; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.book__steps li::before { content: counter(s); font: italic 300 1.5rem/1 var(--display); color: var(--accent); min-width: 1.2rem; }
.embed-placeholder {
  min-height: clamp(320px, 50vw, 520px); border: 1px dashed rgba(239, 230, 214, .3); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  text-align: center; padding: 2rem; background: rgba(0, 0, 0, .2); color: var(--muted);
}
.embed-placeholder b { font: 400 1.6rem var(--display); color: var(--text); }
.embed-placeholder[hidden] { display: none; }

/* Booking form (assets/js/book.js) */
/* One card; book.js shows one step at a time */
.booker {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: clamp(1.1rem, 3vw, 1.75rem); overflow: hidden;
}
.booker [hidden] { display: none !important; }
.booker__panels { display: grid; }
.booker__step { grid-area: 1 / 1; margin: 0; padding: 0; border: 0; min-width: 0; outline: none; }
.booker__step.is-off { visibility: hidden; }
.booker__step.is-forward { animation: step-in .35s ease-out; }
.booker__step.is-back { animation: step-back .35s ease-out; }
@keyframes step-in { from { opacity: 0; transform: translateX(2.5rem); } }
@keyframes step-back { from { opacity: 0; transform: translateX(-2.5rem); } }
.booker__progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: .35rem; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.booker__progress button {
  width: 100%; padding: .7rem 0 0; background: none; border: 0; border-top: 3px solid var(--line);
  color: var(--muted); font: 500 .75rem/1.2 var(--body); text-align: left; cursor: pointer;
}
.booker__progress .is-done button { border-top-color: rgba(232, 162, 58, .55); }
.booker__progress [aria-current] { border-top-color: var(--accent); color: var(--text); }
.booker__progress button:disabled { cursor: default; opacity: .6; }
@media (max-width: 479px) { /* phones: just the bar, and tighter spacing so the card fits the screen */
  .booker__progress { margin-bottom: 1rem; line-height: 0; }
  .booker__progress button { position: relative; font-size: 0; padding-top: 0; }
  .booker__progress button::after { content: ""; position: absolute; inset: -.75rem 0; } /* a thin bar, but a finger-sized target */
  .booker__nav { margin-top: 1rem; padding-top: 1rem; }
}
.booker__nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.booker__nav .btn { white-space: nowrap; }
.booker__total { color: var(--muted); font-size: .9rem; text-align: center; }
.booker__step > legend { float: left; width: 100%; padding: 0; margin: 0 0 1rem; font: 400 1.35rem/1.2 var(--display); }
.booker__step > legend + * { clear: left; }
.booker__step > legend span { font: italic 300 1.35rem/1 var(--display); color: var(--accent); margin-right: .4rem; }
.booker__notice { margin: 0 0 1.25rem; padding: .9rem 1.1rem; border-radius: 12px; background: rgba(232, 162, 58, .12); border: 1px solid rgba(232, 162, 58, .4); }
.choices { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .choices--4 { grid-template-columns: repeat(4, 1fr); } }
.choice {
  position: relative; display: flex; flex-direction: column; gap: .2rem; cursor: pointer;
  padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2);
  transition: border-color .2s, background .2s;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice b { font-weight: 600; font-size: .98rem; }
.choice small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.choice:hover { border-color: rgba(239, 230, 214, .35); }
.choice:has(:checked) { border-color: var(--accent); background: rgba(232, 162, 58, .1); }
.choice:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.booker__engineer { margin-top: 1rem; max-width: 24rem; }
.booker__row { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: end; margin-top: 1rem; min-height: 4.6rem; } /* same height when half day has no boxes */
.booker__remote { margin-top: 1rem; }
.fields { display: grid; gap: 1rem; }
@media (min-width: 600px) { .fields { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.fields--pair { grid-template-columns: 7rem 1fr; } /* number of people beside project, even on phones */
.fields--pair > .field:not(.field--wide) { grid-column: auto; }
.fields--pair > .field--wide { grid-column: 1 / -1; }
.field { display: grid; gap: .35rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field > legend { font-size: .85rem; color: var(--muted); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--text); background: var(--bg);
  border: 1px solid rgba(239, 230, 214, .22); border-radius: 10px; padding: .7rem .85rem;
}
.field select { min-width: 9rem; }
.field textarea { resize: vertical; }
.field :is(input, select, textarea):focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; font-size: .95rem; }
.check input { accent-color: var(--accent); width: 1.1rem; height: 1.1rem; margin: .2rem 0 0; flex: none; }
.check small { display: block; color: var(--muted); font-size: .82rem; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.cal__head b { font: 400 1.15rem var(--display); }
.cal__nav { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--text); font-size: 1.3rem; cursor: pointer; }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .25rem; text-align: center; }
.booker[aria-busy="true"] :is(.cal__grid, .times) { opacity: .5; pointer-events: none; }
.cal__dow { font-size: .75rem; color: var(--muted); padding: .25rem 0; }
.cal__day {
  aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2);
  color: var(--text); font: 500 .95rem var(--body); cursor: pointer;
}
.cal__day:hover:not(:disabled) { border-color: var(--accent); }
.cal__day:disabled { border-color: transparent; background: none; color: rgba(239, 230, 214, .25); cursor: default; }
.cal__day[aria-pressed="true"], .times__btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.when { position: relative; max-width: 25rem; }
.cal.is-off { visibility: hidden; }
/* Start times sit over the calendar, in the same space; holidays have many, so they scroll within */
.times { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .75rem; }
.times__head { display: flex; align-items: center; gap: .75rem; }
.times__label { margin: 0; font-weight: 600; }
.times__list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: .4rem; align-content: start;
  flex: 1; min-height: 0; overflow-y: auto; padding: 3px;
}
.times__btn {
  padding: .6rem .4rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2);
  color: var(--text); font: 500 .9rem var(--body); cursor: pointer;
}
.times__btn:hover { border-color: var(--accent); }
.booker__step > .small:last-child { margin: 1rem 0 0; }
.booker__summary h3 { font: 400 1.35rem/1.2 var(--display); margin: 0 0 .5rem; }
.booker__summary h3 span { font: italic 300 1.35rem/1 var(--display); color: var(--accent); margin-right: .4rem; }
.booker__when { font-weight: 600; }
/* The summary never sets the card's height (a long lockout can add rows); if it's taller than the other steps it scrolls */
.booker__summary { contain: size; overflow-y: auto; }
.booker__summary .price-table { margin-bottom: .75rem; }
.price-table__total th, .price-table__total td { color: var(--text); font-weight: 600; }
.booker__summary .price-table :is(th, td) { padding-block: .55rem; }
.booker__summary .price-table td { font-size: 1.2rem; padding-left: 1rem; }
.booker__summary .price-table th small { display: block; font-size: .82rem; }
.booker__summary .check { margin: 1rem 0; }
/* Errors float just above Back/Next, over the step, so they don't change the card's height */
.booker__nav { position: relative; }
.booker__error {
  position: absolute; left: 0; right: 0; bottom: 100%; margin: 0 0 .6rem; padding: .65rem .9rem;
  background: #3b241d; border: 1px solid rgba(240, 138, 108, .5); border-radius: 10px;
  color: #f4a088; font-weight: 500; font-size: .92rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.booker__error:empty { display: none; }
.booker__summary .btn { width: 100%; }
.booker__summary .btn:disabled { opacity: .6; cursor: progress; }
.booker__summary .btn + .small { margin: .9rem 0 0; }

/* ---------- Mixing & Mastering ---------- */
.mm-hero { display: grid; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 860px) { .mm-hero { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; } }
.mm-hero .photo { aspect-ratio: 3 / 2; }
.mm-hero .photo img { object-position: 50% 15%; }
.mm-cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .mm-cards { grid-template-columns: 1fr 1fr; } }
.mm-cards .card { display: flex; flex-direction: column; }
.mm-cards .card > p { color: var(--muted); font-size: 1rem; }
.mm-cards .price-table { margin: .5rem 0 1.25rem; }
.mm-cards .terms { font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; }
.mm-cards .btn { margin-top: auto; align-self: flex-start; }

.prep { margin-top: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.prep > summary {
  list-style: none; cursor: pointer; padding: 1.25rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font: 400 1.3rem/1.2 var(--display);
}
.prep > summary::-webkit-details-marker { display: none; }
.prep > summary::after { content: "+"; font: 300 1.8rem/1 var(--body); color: var(--accent); transition: transform .2s; }
.prep[open] > summary::after { transform: rotate(45deg); }
.prep__body { padding: 0 1.5rem 1.5rem; display: grid; gap: 2rem; }
@media (min-width: 860px) { .prep__body { grid-template-columns: 3fr 2fr; gap: 3rem; } }
.prep h3 { font: 600 .75rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.prep ol { margin: 0 0 1.25rem; padding-left: 1.25rem; color: var(--muted); font-size: .97rem; }
.prep li { margin-bottom: .6rem; }
.prep li b, .prep p b { color: var(--text); font-weight: 600; }
.prep p { color: var(--muted); font-size: .97rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font: 400 clamp(1.15rem, 2.2vw, 1.35rem)/1.3 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 300 1.7rem/1 var(--body); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #fff; }
.faq details p { color: var(--muted); padding: 0 2.5rem 1.25rem 0; margin: 0; }

/* ---------- Engraving band (deliberately quiet) ---------- */
.band { border-block: 1px solid var(--line); }
.band__inner {
  max-width: var(--max); margin: 0 auto; padding: 2rem var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
}
.band h2 { font: 400 1.25rem/1.2 var(--display); margin: 0 0 .25rem; }
.band p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 62ch; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .contact { grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; } }
.contact__list { list-style: none; margin: 0 0 2rem; padding: 0; }
.contact__list li { padding: 1rem 0; border-top: 1px solid var(--line); }
.contact__list li:last-child { border-bottom: 1px solid var(--line); }
.contact__list span { display: block; font: 600 .72rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .45rem; }
.contact__list a { font: 400 1.3rem/1.3 var(--display); text-decoration: none; }
.contact__list a:hover { color: var(--accent); }
.contact .photo { aspect-ratio: 4 / 3; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: #0f0c0a; }
.footer__inner {
  max-width: var(--max); margin: 0 auto; padding: 3rem var(--gutter) 2.5rem;
  display: grid; gap: 2rem; font-size: .9rem; color: var(--muted);
}
@media (min-width: 760px) { .footer__inner { grid-template-columns: auto 1fr auto; align-items: center; } }
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__brand img { width: 64px; height: 64px; }
.footer__brand b { display: block; font: 500 1.1rem var(--display); color: var(--text); }
.footer__brand small { display: block; font-size: .78rem; letter-spacing: .04em; }
.footer p { margin: 0 0 .3rem; }
.footer a { text-underline-offset: 3px; }
.footer a:hover { color: var(--text); }
.social { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.social a { text-decoration: none; }

/* ---------- Policies page and 404 page ---------- */
.policies, .notfound { max-width: 820px; }
.policies h1, .notfound h1 {
  font: 350 clamp(2.4rem, 6.5vw, 4.5rem)/1.02 var(--display); letter-spacing: -.015em; margin: 0 0 1.25rem;
}
.policies h1 i, .notfound h1 i { font-style: italic; color: var(--accent); }
.policies > .small { margin-bottom: 3rem; }
.policies section { padding: 2rem 0; border-top: 1px solid var(--line); }
.policies h2 { font: 400 clamp(1.4rem, 3vw, 1.75rem)/1.2 var(--display); margin: 0 0 1rem; max-width: none; }
.policies ul { margin: 0; padding-left: 1.25rem; color: var(--muted); }
.policies li { margin-bottom: .7rem; }
.policies li::marker { color: var(--accent); }
.policies li b { color: var(--text); font-weight: 600; }
.policies__end { padding-top: 2.5rem; border-top: 1px solid var(--line); }
.policies__end p { color: var(--muted); margin-bottom: 1.75rem; }
.page-fill { min-height: 100svh; display: flex; flex-direction: column; } /* footer sits at the bottom */
.notfound { flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: center; }
.booking-page { flex: 1; width: 100%; }
.booking-details { margin: 0 0 2rem; border-top: 1px solid var(--line); }
.booking-details div { display: grid; gap: .2rem 1.5rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .booking-details div { grid-template-columns: 9rem 1fr; } }
.booking-details dt { color: var(--muted); font-size: .9rem; }
.booking-details dd { margin: 0; font-weight: 500; }
.booking-page .ctas { margin-top: 2rem; }
/* Cancel and reschedule on the client's booking page */
.booking-page .manage { margin-top: 2rem; max-width: 34rem; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); } /* beats .policies section */
.manage [data-confirm]:disabled { opacity: .45; cursor: default; }
.manage h2 { font: 400 1.7rem/1.1 var(--display); margin: 0 0 .5rem; }
.manage h2 i { color: var(--accent); }
.booking-page [data-addtime] { margin: 0 0 2rem; border-color: rgba(232, 162, 58, .45); }
/* An Add time step that won't fit: grey outline, not a yellow button */
.booking-page [data-addtime] .btn:disabled { background: none; border-color: var(--line); color: var(--muted); opacity: .6; cursor: default; }
.manage .ctas { margin-top: 1.5rem; }
.manage__picker { max-width: 25rem; }
.manage__picker[aria-busy="true"] :is(.cal__grid, .manage__times) { opacity: .5; pointer-events: none; }
.manage__times:not(:empty) { margin-top: 1.25rem; }
.manage__times .times__list { overflow: visible; }
.manage__warn, .manage__done { padding: .8rem 1rem; border-radius: 12px; background: rgba(232, 162, 58, .12); border: 1px solid rgba(232, 162, 58, .4); }
.manage__done { margin: 0 0 1.5rem; }
.manage__error { margin: 1rem 0 0; color: #f0a58f; }
.manage__link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }

/* ---------- Mixing & mastering order page (order.html) ---------- */
.order { display: grid; gap: 1.75rem; max-width: 40rem; }
.order .fields { grid-template-columns: 1fr; } /* one column: the long hints read better */
.order .field > span small { color: var(--muted); opacity: .8; }
.order__packages .choices { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.order__pay { display: grid; gap: .75rem; justify-items: start; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.order__total { margin: 0; font: 400 1.6rem/1.2 var(--display); }
.order__total .small { font: 400 .9rem var(--body); }
.order__pay .manage__error { margin: 0; }

/* ---------- Upload page (upload.html) ---------- */
.upload-page .upload { margin: 0 0 1rem; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid rgba(232, 162, 58, .45); max-width: 40rem; } /* beats .policies section */
.upload__title { font: 400 1.7rem/1.1 var(--display); margin: 0 0 1.25rem; }
.upload__drop {
  display: grid; justify-items: center; gap: .3rem; padding: 2.25rem 1rem; text-align: center; cursor: pointer;
  border: 1.5px dashed rgba(239, 230, 214, .3); border-radius: 14px; background: var(--bg-2); transition: border-color .2s, background .2s;
}
.upload__drop:hover, .upload__drop.is-over { border-color: var(--accent); background: rgba(232, 162, 58, .08); }
.upload__drop:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.upload__drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload__drop b { font: 400 1.35rem/1.2 var(--display); }
.upload__drop span { color: var(--muted); }
.upload__drop u { color: var(--accent); }
.upload__drop small { color: var(--muted); font-size: .82rem; margin-top: .4rem; }
.upload__files { list-style: none; margin: 1rem 0; padding: 0; }
.upload__file { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.upload__file p { margin: .4rem 0 0; }
.upload__row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.upload__row b { font-weight: 500; overflow-wrap: anywhere; }
.upload__bar { height: 6px; margin-top: .5rem; border-radius: 99px; background: rgba(239, 230, 214, .1); overflow: hidden; }
.upload__bar span { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width .3s; }
.upload__file.is-done .upload__bar span { background: #7fb77e; }
.upload__file.is-failed .upload__bar { display: none; }
.upload__file.is-failed p { color: #f0a58f; }
.upload__file.is-paused .upload__bar span, .upload__file.is-retrying .upload__bar span { background: var(--muted); }
.upload-page [data-got-it] { max-width: 40rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Admin page (admin.html, assets/js/admin.js) ---------- */
.admin { width: 100%; max-width: 960px; margin: 0 auto; padding: 1.5rem var(--gutter) 5rem; }
.admin h1 { font: 400 clamp(1.8rem, 4vw, 2.4rem)/1.1 var(--display); margin: 1.5rem 0 .75rem; }
.admin__h2 { font: 400 1.4rem/1.2 var(--display); margin: 2.5rem 0 .75rem; }
.admin__h3, .admin__action h3 { font: 400 1.2rem/1.2 var(--display); margin: 1.5rem 0 .5rem; }
.admin__action h3 { margin-top: 0; }
.admin__tabs, .admin__views { display: flex; gap: .4rem; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.admin__tabs a, .admin__views button {
  flex: none; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: none;
  color: var(--muted); font: 500 .9rem var(--body); text-decoration: none; cursor: pointer;
}
.admin__tabs a[aria-current], .admin__views [aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.admin__views { margin-bottom: .5rem; }
.admin__toast {
  position: fixed; left: 50%; bottom: 1.25rem; z-index: 50; transform: translateX(-50%); width: min(36rem, calc(100% - 2rem));
  margin: 0; padding: .85rem 1.1rem; border-radius: 12px; background: #2f3a26; border: 1px solid rgba(160, 200, 120, .45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.admin__toast.is-bad { background: #3b241d; border-color: rgba(240, 138, 108, .5); color: #f4c0b0; }
.admin__list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.admin__row {
  width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; text-align: left; cursor: pointer;
  padding: .9rem 1.1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit;
}
.admin__row:hover { border-color: rgba(239, 230, 214, .35); }
.admin__row-main { display: grid; gap: .15rem; }
.admin__row-main span { color: var(--muted); font-size: .92rem; }
.admin__row-side { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.admin__item {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem;
  padding: .75rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
}
.admin__item.is-past { opacity: .55; }
.admin__item > span { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; }
.admin__badge { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font: 600 .75rem/1.4 var(--body); background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); }
.admin__badge--confirmed, .admin__badge--holiday { color: #b9dc98; border-color: rgba(160, 200, 120, .45); }
.admin__badge--cancelled, .admin__badge--expired { color: #f4a088; border-color: rgba(240, 138, 108, .45); }
.admin__badge--hold, .admin__badge--warn, .admin__badge--summer { color: var(--accent); border-color: rgba(232, 162, 58, .5); }
.admin__form { display: grid; gap: 1rem; margin: 1.25rem 0; padding: 1.25rem; }
.admin__form .btn, .admin__action .btn { justify-self: start; }
.admin__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
.admin__grid [hidden] { display: none; }
.admin input[type="date"], .admin input[type="time"] { color-scheme: dark; }
.admin__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.admin__action { display: grid; gap: 1rem; margin: 1rem 0; padding: 1.25rem; }
.admin__action[hidden] { display: none; }
.admin__action fieldset .check { margin-top: .35rem; align-items: center; }
.admin__money, .check input.admin__money { width: 7rem; height: auto; margin: 0 0 0 .4rem; display: inline-block; font: 400 1rem var(--body); color: var(--text); background: var(--bg); border: 1px solid rgba(239, 230, 214, .22); border-radius: 8px; padding: .35rem .5rem; }
.admin__warn { padding: .8rem 1rem; border-radius: 12px; background: rgba(232, 162, 58, .12); border: 1px solid rgba(232, 162, 58, .4); }
.admin__hours { width: 100%; border-collapse: collapse; }
.admin__hours th { text-align: left; font-weight: 500; color: var(--muted); font-size: .9rem; padding: .4rem .5rem .4rem 0; }
.admin__hours td { padding: .3rem .5rem .3rem 0; }
.admin__hours input { width: 100%; min-width: 8rem; font: 400 1rem var(--body); color: var(--text); background: var(--bg); border: 1px solid rgba(239, 230, 214, .22); border-radius: 10px; padding: .6rem .75rem; }
@media (max-width: 599px) { /* phones: one season per block */
  .admin__hours thead { display: none; }
  .admin__hours tr { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; padding: .5rem 0; border-top: 1px solid var(--line); }
  .admin__hours tbody th { grid-column: 1 / -1; padding: 0; }
  .admin__hours td { padding: 0; }
}
.admin__copy { display: flex; gap: .5rem; margin: 1rem 0; }
.admin__copy input { flex: 1; min-width: 0; font: 400 .9rem var(--body); color: var(--text); background: var(--bg); border: 1px solid rgba(239, 230, 214, .22); border-radius: 10px; padding: .6rem .75rem; }
.admin__steps { color: var(--muted); padding-left: 1.25rem; }
.admin__steps li { margin-bottom: .5rem; }
.admin__steps b { color: var(--text); }
.admin__files { list-style: none; margin: 0 0 1rem; padding: 0; }
.admin__files li { display: flex; gap: 1rem; align-items: center; padding: .75rem 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.admin__files .btn { flex: none; }
.admin__log { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.admin__log li { padding: .45rem 0; border-top: 1px solid var(--line); }
.admin__log span { color: var(--muted); margin-right: .4rem; }
.admin__dialog {
  width: min(44rem, calc(100% - 1.5rem)); max-height: calc(100dvh - 2rem); padding: 0 1.25rem 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); color: var(--text);
}
.admin__dialog::backdrop { background: rgba(0, 0, 0, .6); }
.admin__dialog-head {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; margin-bottom: .5rem; background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.admin__dialog-head h2 { margin: 0; font: 400 1.4rem var(--display); }

/* ---------- Control-room iPad (studio.html) ---------- */
.studio { min-height: 100svh; }
.studio__main { max-width: 52rem; margin: 0 auto; padding: max(1.5rem, env(safe-area-inset-top)) var(--gutter) 3rem; }
.studio__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(2rem, 6vh, 4rem); }
.studio__clock { margin: 0; font: 400 clamp(1.6rem, 4vw, 2.2rem) var(--display); color: var(--muted); }
.studio__now h1 { font: 400 clamp(3rem, 9vw, 5.5rem)/1 var(--display); margin: .25rem 0 .75rem; }
.studio__now h1 i { font-style: italic; color: var(--accent); }
.studio__what { color: var(--muted); font-size: 1.15rem; margin: 0 0 2rem; }
.studio__left { font: 400 clamp(2.4rem, 7vw, 4rem)/1 var(--display); margin: 0; }
.studio__left.is-low { color: var(--accent); }
.studio__ends { color: var(--muted); font-size: 1.15rem; margin: .5rem 0 0; }
.studio__add { margin-top: clamp(2rem, 6vh, 3.5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.studio__add h2 { font: 400 1.8rem/1.2 var(--display); margin: 0 0 1.25rem; }
.studio__add h2 i { color: var(--accent); }
.studio__buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.studio__btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; padding: 1.4rem 1.5rem;
  border-radius: var(--radius); border: 1px solid rgba(232, 162, 58, .45); background: var(--surface);
  color: var(--text); font: 400 1rem var(--body); text-align: left; cursor: pointer;
}
.studio__btn b { font: 400 1.9rem/1.1 var(--display); color: var(--accent); }
.studio__btn span { color: var(--muted); }
.studio__btn:disabled { opacity: .35; cursor: default; border-color: var(--line); background: none; }
.studio__btn:disabled b { color: var(--muted); }
.studio__msg { position: fixed; left: 50%; bottom: max(1.5rem, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(40rem, calc(100% - 2rem));
  margin: 0; padding: 1rem 1.25rem; border-radius: 14px; background: var(--surface); border: 1px solid rgba(232, 162, 58, .45); }
.studio__msg.is-bad { border-color: #f0a58f; }
.studio__confirm { max-width: 30rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); padding: 2rem; }
.studio__confirm::backdrop { background: rgba(0, 0, 0, .6); }
.studio__confirm h2 { font: 400 2rem/1.1 var(--display); margin: 0 0 .75rem; }
.studio__confirm .ctas { margin-top: 1.5rem; }
