@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/outfit-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f6f8fc;
  --panel: #ffffff;
  --ink: #0d1220;
  --muted: #5b6474;
  --line: #e3e7f0;
  --brand: #1e56d6;
  --brand-strong: #16409f;
  --brand-bright: #3d7bff;
  --sky: #8fb4ff;
  --brand-soft: #e9f0ff;
  /* rgb triples of the brand tints above, so rgba() glow tints follow an
     admin-picked brand colour (see the brand <style> override in render.js) */
  --brand-glow: 61, 123, 255;
  --brand-glow-deep: 30, 86, 214;
  --brand-glow-light: 143, 180, 255;
  --dark: #0a0e18;
  --dark-2: #111a30;
  --panel-2: #eef2f8;
  --on-dark: #eef2fb;
  --on-dark-muted: #9aa7c4;
  --danger: #c03d38;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 14, 24, 0.05), 0 10px 30px rgba(10, 14, 24, 0.07);
  --shadow-lift: 0 6px 18px rgba(10, 14, 24, 0.1), 0 18px 44px rgba(16, 26, 48, 0.12);
  --display: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.1rem; }

h1, h2, h3 { font-family: var(--display); line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin: 0.4em 0 0.5em; }
h2 { font-size: clamp(1.35rem, 3.5vw, 1.7rem); margin: 0.3em 0 0.5em; }
h3 { font-size: 1.12rem; margin: 0.4em 0; }
p { margin: 0.5em 0 1em; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 2px; border-radius: 4px; }

.muted { color: var(--muted); font-size: 0.95rem; }
.price { font-weight: 600; color: var(--brand); }

/* Sections + eyebrows */
.section { margin: 2.8rem 0; }
.section-title { margin-top: 0.2em; }
.section-lead { color: var(--muted); max-width: 46rem; font-size: 1.04rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin: 0 0 0.4rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--brand-bright); border-radius: 2px; }
.eyebrow.on-dark { color: var(--sky); }
.eyebrow.on-dark::before { background: var(--sky); }
.page-head { padding-top: 1.4rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.72rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.96rem;
  font-family: var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); color: #fff; }
.btn:active { transform: translateY(0); }
.btn.primary { background: var(--brand); box-shadow: 0 6px 18px rgba(var(--brand-glow-deep), 0.28); }
.btn.primary:hover { background: var(--brand-strong); }
.btn.bright { background: var(--brand-bright); box-shadow: 0 6px 20px rgba(var(--brand-glow), 0.35); }
.btn.bright:hover { background: var(--brand); }
.btn.outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.outline:hover { border-color: var(--brand); color: var(--brand); box-shadow: none; }
.btn.ghost { background: rgba(255, 255, 255, 0.08); color: var(--on-dark); border-color: rgba(255, 255, 255, 0.25); backdrop-filter: blur(4px); }
.btn.ghost:hover { border-color: var(--sky); color: var(--sky); }
.btn.ghost-dark { background: var(--panel); color: var(--ink); border-color: var(--line); }
.btn.ghost-dark:hover { border-color: var(--brand); color: var(--brand); box-shadow: none; }
.btn.small { padding: 0.42rem 0.85rem; font-size: 0.88rem; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }

/* Utility bar */
.utility-bar { background: var(--dark); color: var(--on-dark); font-size: 0.82rem; }
.utility-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.3rem; flex-wrap: wrap; }
.utility-bar a { color: var(--on-dark-muted); display: inline-flex; align-items: center; gap: 0.35rem; text-decoration: none; margin-right: 1.1rem; }
.utility-bar a:hover { color: var(--sky); }
.utility-bar svg { width: 14px; height: 14px; fill: currentColor; }
.utility-right a { margin-right: 0; margin-left: 1.1rem; font-weight: 600; }

/* Header / nav */
.site-header {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10, 14, 24, 0.09); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 3.6rem; flex-wrap: wrap; }
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--display);
  font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.site-nav { display: none; width: 100%; flex-direction: column; padding: 0.4rem 0 0.9rem; }
.site-nav.open { display: flex; }
.site-nav a { padding: 0.6rem 0.2rem; text-decoration: none; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); font-size: 1rem; }
.site-nav a.active { color: var(--brand); font-weight: 700; }
.site-nav .nav-cta { margin-top: 0.7rem; border-bottom: 0; color: #fff; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 760px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; flex-direction: row; width: auto; padding: 0; gap: 1.5rem; align-items: center; }
  .site-nav a { border-bottom: 0; padding: 0.4rem 0; }
  .site-nav .nav-cta { margin: 0; padding: 0.5rem 1.1rem; font-size: 0.9rem; }
}

/* Page wrapper */
.page { padding-bottom: 3rem; min-height: 60vh; }

/* Hero */
.hero {
  position: relative;
  color: var(--on-dark);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(var(--brand-glow), 0.32), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(var(--brand-glow-deep), 0.25), transparent 60%),
    linear-gradient(155deg, #0a0e18 20%, #111a30 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(var(--brand-glow-light), 0.14) 1px, transparent 1.6px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.15) 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.15) 85%);
  pointer-events: none;
}
/* Background video (when one is uploaded). The blue gradient stays underneath
   as the loading/fallback backdrop; the scrim keeps the text readable.
   Explicit offsets instead of the newer inset shorthand for older WebKits. */
.hero-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; pointer-events: none; }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(155deg, rgba(10, 14, 24, 0.78) 20%, rgba(10, 14, 24, 0.42) 55%, rgba(13, 20, 40, 0.6) 100%);
}
@media (prefers-reduced-motion: reduce) {
  /* No autoplaying motion: fall back to the gradient backdrop. */
  .hero-video { display: none; }
}

/* About section photo (when one is uploaded) sits beside the text; with no
   photo the section is text-only. */
.about-body { display: flex; align-items: center; gap: clamp(1.6rem, 5vw, 3.4rem); }
.about-copy { min-width: 0; }
.about-photo { flex: 0 0 auto; width: clamp(220px, 30vw, 360px); margin: 0; }
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(4, 8, 18, 0.18), 0 0 0 1px rgba(20, 40, 80, 0.12);
}
@media (max-width: 699px) {
  .about-body { flex-direction: column; align-items: center; }
  .about-photo { width: 100%; max-width: 380px; }
}
.hero-inner { position: relative; padding: clamp(3rem, 9vw, 5.2rem) 0 clamp(2.2rem, 6vw, 3.2rem); }
.hero h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); margin: 0.35em 0; max-width: 21ch; }
.hero-sub { font-size: clamp(1.02rem, 2.6vw, 1.18rem); color: var(--on-dark-muted); max-width: 44rem; margin-bottom: 1.4rem; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* Logo shown to the right of the hero text (when one is uploaded) */
.hero-inner.has-logo { display: flex; align-items: center; justify-content: space-between; gap: clamp(1.6rem, 5vw, 4rem); }
.hero-copy { min-width: 0; }
.hero-logo { flex: 0 0 auto; position: relative; z-index: 1; }
.hero-logo img {
  display: block;
  width: clamp(150px, 20vw, 250px);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(4, 8, 18, 0.55), 0 0 0 1px rgba(var(--brand-glow-light), 0.22);
}
/* Transparent-background variant: the artwork floats straight on the hero,
   so the opaque-card look would draw a box around nothing. */
.hero-logo.blend img { border-radius: 0; box-shadow: none; }
@media (max-width: 699px) {
  /* On phones the hero reads best centred: text and its buttons line up */
  .hero-inner { text-align: center; }
  .hero h1, .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-inner.has-logo { flex-direction: column; align-items: center; gap: 1.5rem; }
  .hero-logo img { width: 132px; }
  /* Standalone section buttons centre on phones too */
  .section-cta { text-align: center; }
}

.hero-stats { position: relative; border-top: 1px solid rgba(var(--brand-glow-light), 0.18); background: rgba(6, 10, 18, 0.35); }
.hero-stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.6rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.hero-stat { display: flex; flex-direction: column; gap: 0.1rem; }
.hero-stat .num { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2rem); color: var(--sky); letter-spacing: -0.02em; }
.hero-stat .label { font-size: 0.85rem; color: var(--on-dark-muted); }

/* Cards */
.card-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin: 1.4rem 0 1.2rem; }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(var(--brand-glow-deep), 0.35); }
.card h3 { margin-top: 0.3rem; }
.card-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.2rem; height: 2.2rem; padding: 0 0.4rem;
  border-radius: 10px;
  background: var(--brand-soft); color: var(--brand);
  font-family: var(--display); font-weight: 700; font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* Blog cards */
.blog-card .pill { margin-bottom: 0.6rem; }
.blog-card h3 { font-size: 1.18rem; }
.blog-card h3 a { color: var(--ink); text-decoration: none; }
.blog-card h3 a:hover { color: var(--brand); }
.more-link { font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.more-link:hover span { transform: translateX(3px); }
.more-link span { display: inline-block; transition: transform 0.15s ease; }
.pill {
  display: inline-block; padding: 0.22rem 0.7rem; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--on-dark);
  background:
    radial-gradient(600px 260px at 80% -20%, rgba(var(--brand-glow), 0.35), transparent 60%),
    linear-gradient(150deg, #0a0e18, #14214a);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 5vw, 2.8rem) 1.4rem;
  margin: 2.6rem 0 0.6rem;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(var(--brand-glow-light), 0.12) 1px, transparent 1.6px);
  background-size: 20px 20px;
  pointer-events: none;
}
.cta-band h2 { margin: 0 0 0.3rem; font-size: clamp(1.4rem, 4vw, 1.9rem); }
.cta-band p { color: var(--on-dark-muted); max-width: 40rem; margin: 0.3rem auto 1.2rem; }

/* Gallery */
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
@media (min-width: 700px) { .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
/* The hidden attribute and .hidden class must always win over author rules */
[hidden] { display: none !important; }
.hidden { display: none !important; }

/* FAQ accordion */
.faq-list { max-width: 52rem; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  margin-bottom: 0.55rem; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 0.85rem 1rem; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 0.8rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-weight: 700; color: var(--brand-bright); }
.faq-item[open] summary::after { content: '–'; }
.faq-item summary:hover { background: var(--panel-2); }
.faq-item p { margin: 0; padding: 0.2rem 1rem 0.9rem; color: var(--muted); }

.photo-item { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--dark); }
.photo-item .glink { display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: zoom-in; }
.photo-item img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.photo-item .glink:hover img { transform: scale(1.05); opacity: 0.92; }
.video-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
.video-item { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.video-item video { width: 100%; aspect-ratio: 16 / 9; background: #000; display: block; }
.video-item figcaption { padding: 0.55rem 0.8rem; font-size: 0.9rem; color: var(--muted); }

/* Audio players */
.audio-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .audio-grid { grid-template-columns: repeat(2, 1fr); } }
.audio-item { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.audio-item audio { width: 100%; display: block; }

.ap { padding: 0.8rem 0.9rem 0.9rem; display: flex; flex-direction: column; gap: 0.6rem; }
.ap-top { display: flex; gap: 0.7rem; align-items: flex-start; }
.ap-play {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff; transition: background 0.2s ease, transform 0.15s ease;
}
.ap-play:hover:not(:disabled) { background: var(--brand-strong); }
.ap-play:active { transform: scale(0.94); }
.ap-play:disabled { opacity: 0.7; cursor: progress; }
.ap-play svg { width: 22px; height: 22px; fill: currentColor; }
.ap-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.ap-wave { width: 100%; height: 46px; display: block; border-radius: 6px; background: var(--brand-soft); cursor: pointer; touch-action: none; }
.ap-bar { display: flex; align-items: center; gap: 0.6rem; }
.ap-time { font-size: 0.78rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ap-ctl { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.ap input[type='range'] { min-width: 0; }
.ap-ctl input[type='range'] { accent-color: var(--brand); }
.ap-vol { width: 90px; }
.ap-mute {
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel); cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--ink); padding: 0;
}
.ap-mute svg { width: 18px; height: 18px; fill: currentColor; }
.ap-mute:hover { border-color: var(--brand); color: var(--brand); }
.ap-gear {
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel); cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--muted); padding: 0; position: relative; flex: none; margin-left: auto;
}
.ap-gear svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ap-gear:hover, .ap-gear.on { border-color: var(--brand); color: var(--brand); }
.ap-gear.has-ch::after {
  content: ''; position: absolute; top: -3px; right: -3px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--brand); border: 2px solid var(--bg);
}
.ap-extra { border-top: 1px solid var(--line); }
.ap-extra[hidden] { display: none; }
.ap-rate, .ap-out {
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel);
  font: inherit; font-size: 0.8rem; color: var(--ink); padding: 0.3rem 0.45rem; cursor: pointer;
}
.ap-rate:hover, .ap-out:hover { border-color: var(--brand); color: var(--brand); }
.ap-loop {
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel);
  font: inherit; font-size: 0.8rem; padding: 0.3rem 0.7rem; cursor: pointer; color: var(--ink);
}
.ap-loop.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: 600; }
.ap-title { font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 0.55rem; overflow-wrap: anywhere; }
.ap-ch { border-top: 1px solid var(--line); padding-top: 0.55rem; }
.ap-ch[hidden] { display: none; }
.ap-ch-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.ap-layout {
  font-size: 0.78rem; font-weight: 700; color: var(--brand);
  background: var(--brand-soft); border-radius: 999px; padding: 0.2rem 0.6rem;
}
.ap-out-note { font-size: 0.75rem; color: var(--muted); }
.ap-ch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.35rem 0.6rem; }
.ap-ch-row { display: flex; align-items: center; gap: 0.35rem; min-width: 0; }
.ap-ch-row.is-muted .ap-chip { opacity: 0.45; text-decoration: line-through; }
.ap-chip {
  flex: 1; min-width: 0; text-align: left; border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel); font: inherit; font-size: 0.78rem; padding: 0.28rem 0.5rem;
  cursor: pointer; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ap-chip:hover { border-color: var(--brand); }
.ap-chip[aria-pressed='false'] { border-style: dashed; }
.ap-ch-vol { flex: 0 0 64px; width: 64px; accent-color: var(--brand); }
.ap-spin {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  animation: ap-spin 0.8s linear infinite;
}
@keyframes ap-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ap-spin { animation: none; border-top-color: rgba(255,255,255,0.35); } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(6, 9, 18, 0.93);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 78vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox .lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff; width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lightbox .lb-btn:hover { background: var(--brand-bright); border-color: var(--brand-bright); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 0.6rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.6rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; } }

/* Blog post */
.blog-post { max-width: 46rem; padding-top: 1.4rem; }
.blog-post .pill { margin-bottom: 0.8rem; }
.blog-post h1 { margin-top: 0.2em; }
.post-body { font-size: 1.03rem; }
.post-body img { border-radius: var(--radius); margin: 0.8rem 0; box-shadow: var(--shadow-sm); }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 1.2rem 0; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-sm); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-body blockquote { border-left: 3px solid var(--brand-bright); margin: 1.2em 0; padding: 0.2em 1.1em; color: var(--muted); background: var(--panel); border-radius: 0 var(--radius) var(--radius) 0; }
.post-body h2 { margin-top: 1.4em; }
.back-link { margin-top: 1.6rem; font-weight: 600; }

/* Terms & privacy page */
.page-head + section.section p { color: var(--ink); }
section.section h2.section-title { scroll-margin-top: 5rem; }
section.section ul { margin: 0.4rem 0 0.8rem; padding-left: 1.2rem; }

/* Booking */
.booking-app { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .booking-app { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; box-shadow: var(--shadow-sm);
}
.panel h2 { margin: 0 0 0.6rem; font-size: 1.2rem; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.6rem; }
.cal-head h2 { margin: 0; font-size: 1.08rem; }
.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 0.7rem; font-size: 0.7rem; color: var(--muted); text-align: center; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 4px; }
.cal-day {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 0.9rem;
  background: transparent;
  cursor: pointer;
  font-family: var(--body);
  color: var(--ink);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.cal-day:hover { border-color: var(--brand); }
.cal-day .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-bright); margin-top: 2px; }
.cal-day.empty { cursor: default; }
.cal-day.disabled { color: #aab2c0; cursor: default; }
.cal-day.disabled:hover { border-color: transparent; }
.cal-day.today { border-color: var(--line); box-shadow: inset 0 0 0 1px var(--line); }
.cal-day.selected { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(var(--brand-glow-deep), 0.35); }
.cal-day.selected:hover { border-color: var(--brand); }
.cal-day.selected .dot { background: #fff; }
.cal-day .more { font-size: 0.65rem; color: #aab2c0; font-weight: 700; position: absolute; top: 4px; right: 6px; line-height: 1; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-top: 0.9rem; font-size: 0.8rem; color: var(--muted); }
.cal-legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-bright); margin-right: 0.35rem; }
.cal-legend .dot.taken { background: #c3cad8; }
.cal-legend .dot.closed { background: transparent; border: 1.5px solid #c3cad8; width: 7px; height: 7px; }
#calHint { min-height: 1.4em; margin: 0.6rem 0 0; }

.slots-list { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0.7rem 0 1rem; }
.slot-btn {
  padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-family: var(--body); font-size: 0.95rem; cursor: pointer; font-weight: 600;
  color: var(--ink);
  transition: all 0.15s ease;
}
.slot-btn:hover { border-color: var(--brand); color: var(--brand); }
.slot-btn.selected { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 5px 14px rgba(var(--brand-glow-deep), 0.3); }

.booking-form { border-top: 1px solid var(--line); padding-top: 0.4rem; }
.booking-form h3 { margin: 0.6rem 0 0.2rem; }
.booking-form label { display: block; margin: 0.6rem 0; font-weight: 600; font-size: 0.9rem; }
.booking-form input, .booking-form textarea {
  display: block; width: 100%; margin-top: 0.25rem;
  padding: 0.6rem 0.7rem; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; background: #fff; color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.booking-form input:focus, .booking-form textarea:focus {
  outline: none; border-color: var(--brand-bright); box-shadow: 0 0 0 3px rgba(var(--brand-glow), 0.18);
}
.booking-form input.invalid, .booking-form textarea.invalid {
  border-color: var(--danger); box-shadow: 0 0 0 3px rgba(192, 61, 56, 0.15);
}
.booking-form input.invalid:focus, .booking-form textarea.invalid:focus {
  border-color: var(--danger); box-shadow: 0 0 0 3px rgba(192, 61, 56, 0.15);
}
.form-msg.ok { color: var(--brand); font-weight: 600; }
.form-msg.err { color: var(--danger); font-weight: 600; }
.slot-echo { font-weight: 600; }

.info-band {
  background: var(--brand-soft);
  border: 1px solid rgba(var(--brand-glow-deep), 0.18);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}
.info-band p { margin: 0.2rem 0; }

/* Footer */
.site-footer {
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(var(--brand-glow-deep), 0.18), transparent 60%),
    var(--dark);
  color: var(--on-dark);
  margin-top: 3rem;
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; padding: 2.6rem 1.1rem 2rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr 1fr; } }
.site-footer h4 {
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sky); margin: 0 0 0.7rem; font-weight: 700;
}
.site-footer a { display: block; color: var(--on-dark-muted); text-decoration: none; padding: 0.18rem 0; }
.site-footer a:hover { color: var(--sky); }
.footer-logo { font-family: var(--display); font-weight: 700; font-size: 1.4rem; margin: 0 0 0.2rem; }
.footer-logo::after { content: '.'; color: var(--brand-bright); }
.footer-tag { color: var(--on-dark-muted); margin: 0 0 0.8rem; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  display: inline-block; padding: 0.3rem 0.9rem; border-radius: 999px;
  border: 1px solid rgba(var(--brand-glow-light), 0.3); color: var(--on-dark-muted); font-size: 0.85rem; font-weight: 600;
}
.footer-social a:hover { border-color: var(--sky); color: var(--sky); }
.footer-plain { color: var(--on-dark-muted); display: block; padding: 0.18rem 0; }
.footer-note p { margin: 0; padding: 1.2rem 0 0; font-size: 0.9rem; color: var(--on-dark-muted); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(var(--brand-glow-light), 0.14);
  padding-top: 1rem; padding-bottom: 1.4rem;
  color: var(--on-dark-muted); font-size: 0.85rem;
}
.footer-bottom a { display: inline; color: var(--on-dark-muted); }

/* Ticker band */
.ticker {
  overflow: hidden;
  background: var(--dark);
  border-top: 1px solid rgba(var(--brand-glow-light), 0.12);
  border-bottom: 1px solid rgba(var(--brand-glow-light), 0.12);
  padding: 0.85rem 0;
}
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 32s linear infinite; will-change: transform; }
.ticker-track.hold { animation-play-state: paused; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-seq { display: flex; align-items: center; gap: 1.4rem; padding-right: 1.4rem; flex-shrink: 0; }
.tick-word {
  font-family: var(--display);
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #c7d6f5; white-space: nowrap;
}
.tick-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-bright); flex-shrink: 0; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* Hero beat pulse + vinyl grooves */
.hero .eyebrow::after {
  content: '';
  width: 9px; height: 9px; margin-left: 2px;
  border-radius: 50%;
  background: var(--brand-bright);
  animation: beat 2.2s ease-out infinite;
}
@keyframes beat {
  0% { box-shadow: 0 0 0 0 rgba(var(--brand-glow), 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(var(--brand-glow), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--brand-glow), 0); }
}
.hero::after {
  content: '';
  position: absolute;
  right: -170px; top: 50%;
  transform: translateY(-50%);
  width: min(60vw, 620px); aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, rgba(var(--brand-glow-light), 0.07) 0 2px, transparent 2px 26px);
  -webkit-mask-image: radial-gradient(circle, black 25%, transparent 72%);
  mask-image: radial-gradient(circle, black 25%, transparent 72%);
  animation: spin 60s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

/* How-it-works steps */
.steps-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin: 1.3rem 0 1.1rem; }
@media (min-width: 700px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card h3 { margin-top: 0.4rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: var(--display); font-weight: 700;
  box-shadow: 0 5px 16px rgba(var(--brand-glow-deep), 0.35);
}

/* Home studio strip */
.studio-video {
  margin: 1.2rem 0 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #000;
}
.studio-video video { width: 100%; aspect-ratio: 16 / 9; display: block; }
.studio-photos { margin-top: 0; }
.strip-more { margin-top: 1rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn, .card, .photo-item img { transition: none; }
  .ticker-track, .hero .eyebrow::after, .hero::after { animation: none; }
}
