/* ============================================================
   PERFORMER TEMPLATE — STYLES
   2026 editorial theme. Light colors come from config.js (injected
   by script.js as CSS variables on :root). Dark mode overrides live
   here. Don't hardcode brand colors — use the vars.
   ============================================================ */

:root {
   /* Fallbacks; script.js overwrites these from config.colors + config.fonts. */
   --espresso: #1a1512;
   --paper: #f5f0e8;
   --ink: #2a2320;
   --ink-soft: #5a5048;
   --accent: #836526;        /* gold TEXT on paper — AA 4.8:1 (eyebrows, links) */
   --accent-dk: #6b521f;
   --gold: #c9a24b;
   --gold-dk: #a5822f;
   --gold-lt: #d8b45f;   /* lighter gold — used for gold-fill button hover so dark
                            text stays WCAG AA (7.8:1); --accent is for gold TEXT on paper */
   --rose: #9e5347;
   --line: rgba(42, 35, 32, 0.16);
   --font-heading: 'Fraunces', serif;
   --font-body: 'Inter', sans-serif;

   /* Light text for use ON dark surfaces. The hero (over a dark photo) and the
      .section--dark sections are ALWAYS dark in BOTH themes, so this text must
      stay light in both themes — it does NOT derive from --paper (which flips). */
   --paper-soft: rgba(245, 240, 232, 0.72);

   /* Semantic tokens (remapped in dark mode) */
   --bg-dark: var(--espresso);
   --bg-paper: var(--paper);
   --text-on-dark: #f5f0e8;      /* stays light in both themes */
   --text-on-paper: var(--ink);
   --nav-bg: rgba(26, 21, 18, 0.72);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
   margin: 0;
   background: var(--bg-dark);
   color: var(--text-on-dark);
   font-family: var(--font-body);
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; width: 100%; }

.skip-link {
   position: absolute; left: -9999px; top: 0; z-index: 2000;
   background: var(--gold); color: var(--ink);
   padding: 0.7rem 1.1rem; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Global keyboard focus indicator (WCAG 2.4.7) ----------
   Visible ring for keyboard users on every interactive element; mouse
   clicks don't trigger :focus-visible so it stays clean. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
   outline: 3px solid var(--gold);
   outline-offset: 2px;
   border-radius: 4px;
}
/* On the dark hero/nav, a gold ring can be low-contrast over gold fills;
   add a paper halo so it's always visible. */
.nav__book:focus-visible,
.btn--primary:focus-visible {
   outline-color: var(--paper);
}

/* ---------- Scroll reveal ---------- */
.reveal {
   opacity: 0; transform: translateY(28px);
   transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
               transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
   will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   NAV
   ============================================================ */
#nav {
   position: sticky; top: 0; z-index: 1000; width: 100%;
   background: var(--nav-bg);
   -webkit-backdrop-filter: blur(14px) saturate(120%);
   backdrop-filter: blur(14px) saturate(120%);
   border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}
.nav__inner {
   max-width: 1240px; margin: 0 auto; padding: 0.9rem 1.25rem;
   display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav__wordmark {
   font-family: var(--font-heading); font-weight: 600;
   font-size: clamp(1.15rem, 2.2vw, 1.45rem); letter-spacing: 0.01em;
   color: var(--text-on-dark); text-decoration: none; white-space: nowrap;
   display: inline-flex; align-items: center; gap: 0.6rem;
}
.nav__wordmark img { height: 40px; width: auto; }
.nav__wordmark:hover { color: var(--gold); }

.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.nav__links a {
   font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
   letter-spacing: 0.02em; color: var(--paper-soft); text-decoration: none;
   transition: color 0.25s ease; white-space: nowrap; background: none; border: none; cursor: pointer;
}
.nav__links a:hover { color: var(--text-on-dark); }

.nav__links a.nav__book {
   background: var(--gold); color: var(--ink) !important;
   padding: 0.55rem 1.1rem; border-radius: 999px; font-weight: 600 !important;
   border: 1.5px solid var(--gold);
   transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.nav__links a.nav__book:hover {
   background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-1px);
   box-shadow: 0 8px 24px rgba(201, 162, 75, 0.28);
}

.nav__theme {
   background: none; border: 1px solid rgba(245,240,232,0.28); color: var(--paper-soft);
   width: 38px; height: 38px; border-radius: 999px; cursor: pointer; font-size: 1rem;
   display: inline-flex; align-items: center; justify-content: center; transition: border-color .25s, color .25s;
}
.nav__theme:hover { color: var(--text-on-dark); border-color: var(--text-on-dark); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text-on-dark); transition: transform .3s, opacity .3s; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
   position: relative; min-height: 100vh; min-height: 100svh;
   display: flex; flex-direction: column; justify-content: flex-end;
   padding: 6rem 1.25rem 4.5rem; overflow: hidden; color: var(--text-on-dark);
   background-size: cover; background-position: center 28%; background-repeat: no-repeat;
}
.hero__scrim {
   position: absolute; inset: 0; z-index: 1;
   /* Layered for legibility: a bottom-heavy vertical gradient PLUS a soft
      radial darken anchored to the lower-left where the text sits. Keeps
      overlaid text WCAG-legible over any hero photo. */
   background:
      radial-gradient(120% 90% at 20% 100%, rgba(26,21,18,0.85) 0%, rgba(26,21,18,0.35) 45%, rgba(26,21,18,0) 75%),
      linear-gradient(to top,
         rgba(26,21,18,0.97) 0%, rgba(26,21,18,0.88) 22%,
         rgba(26,21,18,0.60) 46%, rgba(26,21,18,0.34) 70%, rgba(26,21,18,0.42) 100%);
}
.hero__content {
   position: relative; z-index: 2; width: 100%;
   max-width: 900px; margin: 0 auto 0 max(1.25rem, calc((100% - 1240px) / 2 + 1.25rem));
}
.hero__eyebrow {
   font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
   letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.1rem;
}
.hero__headline {
   font-family: var(--font-heading); font-weight: 600; line-height: 1.02;
   letter-spacing: -0.015em; font-size: clamp(2.9rem, 8.5vw, 6.4rem);
   margin: 0 0 1.4rem; max-width: 14ch; text-shadow: 0 2px 24px rgba(0,0,0,0.65), 0 1px 3px rgba(0,0,0,0.5);
}
.hero__headline em { font-style: italic; color: var(--gold); }
.hero__subtitle {
   font-family: var(--font-body); font-size: clamp(1rem, 1.5vw, 1.18rem);
   line-height: 1.65; color: var(--paper-soft); max-width: 52ch; margin: 0 0 2.2rem;
   text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Buttons (shared) ---------- */
.btn {
   font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; letter-spacing: 0.01em;
   padding: 0.95rem 1.9rem; border-radius: 999px; text-decoration: none; cursor: pointer;
   display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid transparent;
   transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,162,75,0.32); }
.btn--ghost { background: transparent; color: var(--text-on-dark); border-color: rgba(245,240,232,0.55); }
.btn--ghost:hover { border-color: var(--text-on-dark); background: rgba(245,240,232,0.08); transform: translateY(-2px); }

.hero__scroll { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-decoration: none; }
.hero__scroll-label { font-family: var(--font-body); font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--paper-soft); }
.hero__scroll-line { width: 1px; height: 42px; background: linear-gradient(to bottom, var(--gold), transparent); animation: heroScrollPulse 2s ease-in-out infinite; transform-origin: top; }
@keyframes heroScrollPulse { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { padding: clamp(4rem, 10vw, 8rem) 0; }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--paper { background: var(--bg-paper); color: var(--text-on-paper); }

.section__head { max-width: 640px; margin: 0 auto clamp(2.5rem, 6vw, 4rem); text-align: center; }
.eyebrow {
   display: inline-block; font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
   letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.section--paper .eyebrow { color: var(--accent); }
.section__title { font-family: var(--font-heading); font-weight: 500; font-size: clamp(2.4rem, 7vw, 4.75rem); line-height: 1.02; margin: 0 0 1.1rem; letter-spacing: -0.01em; }
.section__lede { font-family: var(--font-body); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.7; margin: 0; }
.section--dark .section__lede { color: var(--paper-soft); }
.section--paper .section__lede { color: var(--ink); opacity: 0.82; }

/* ---------- Performances ---------- */
.perf-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3rem); }
.perf-video { margin: 0; }
.perf-frame {
   position: relative; width: 100%; padding-top: 56.25%; border-radius: 14px; overflow: hidden;
   background: #0f0b09; box-shadow: 0 22px 55px rgba(0,0,0,0.45); border: 1px solid rgba(201,162,75,0.16);
}
.perf-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.perf-caption { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.1rem 0.25rem 0; }
.perf-title { font-family: var(--font-heading); font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.15; color: var(--text-on-dark); }
.perf-desc { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
@media (min-width: 760px) { .perf-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Gallery (masonry via CSS columns) ---------- */
/* Photos keep their natural aspect ratio (no cropping) and pack tightly into
   balanced columns. Column count scales with viewport. */
.gal-grid {
   column-count: 1;
   column-gap: 1rem;
}
.gal-tile {
   position: relative;
   margin: 0 0 1rem;              /* vertical rhythm between stacked tiles */
   border-radius: 16px;
   overflow: hidden;
   background: #0f0b09;
   box-shadow: 0 14px 36px rgba(0,0,0,0.4);
   border: 1px solid rgba(245,240,232,0.06);
   break-inside: avoid;           /* never split a photo across columns */
   -webkit-column-break-inside: avoid;
   page-break-inside: avoid;
   display: block;
}
.gal-tile img {
   width: 100%;
   height: auto;                  /* natural aspect ratio — no crop */
   display: block;
   transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.gal-tile:hover img, .gal-tile:focus-within img { transform: scale(1.04); }
/* The wide/tall bento hints are ignored in masonry (kept in config for the
   optional bento layout); masonry balances by natural height instead. */
@media (min-width: 640px) { .gal-grid { column-count: 2; } }
@media (min-width: 980px) { .gal-grid { column-count: 3; } }
@media (min-width: 1280px) { .gal-grid { column-count: 4; } }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.about__portrait { position: relative; }
.about__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: 0 28px 60px -24px rgba(26,21,18,0.45); }
.about__portrait::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); border-radius: 20px; z-index: -1; opacity: 0.55; }
.about__body .eyebrow { margin-bottom: 1rem; }
.about__body h2 { font-family: var(--font-heading); font-weight: 500; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.05; margin: 0 0 1.75rem; }
.about__body p { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.85; margin: 0 0 1.35rem; max-width: 46ch; }
.about__body p:last-child { margin-bottom: 0; }
.about__body .accent { font-family: var(--font-heading); font-style: italic; color: var(--rose); }
@media (min-width: 860px) { .about__inner { grid-template-columns: 0.9fr 1.1fr; gap: 4.5rem; } }

/* ---------- Offer (teaching / services / packages / topics) ---------- */
.offer__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.offer__inner h2 { font-family: var(--font-heading); font-weight: 500; font-size: clamp(2.2rem, 5.5vw, 3.4rem); line-height: 1.08; margin: 0 0 1.5rem; }
.offer__lede { font-family: var(--font-body); font-size: 1.08rem; line-height: 1.8; color: var(--paper-soft); margin: 0 auto 2.5rem; max-width: 52ch; }
.offer__points { list-style: none; padding: 0; margin: 0 auto 2.75rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1rem; max-width: 620px; }
.offer__points li { font-family: var(--font-body); font-size: 0.92rem; letter-spacing: 0.02em; color: var(--text-on-dark); border: 1px solid rgba(201,162,75,0.4); border-radius: 999px; padding: 0.55rem 1.25rem; }
.offer__points li::before { content: "\2726"; color: var(--gold); margin-right: 0.55rem; font-size: 0.8rem; }

/* ---------- Events / dates ---------- */
.events-list { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; }
.event-row {
   display: grid;
   grid-template-columns: minmax(140px, auto) 1fr auto;
   align-items: center;
   gap: 1rem 1.5rem;
   padding: 1.15rem 0.25rem;
   border-bottom: 1px solid var(--line);
}
.event-row:first-child { border-top: 1px solid var(--line); }
.event-date {
   font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
   letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
   white-space: nowrap;
}
.event-info { display: flex; flex-direction: column; gap: 0.15rem; text-align: left; }
.event-venue { font-family: var(--font-heading); font-size: 1.15rem; color: var(--text-on-paper); }
.event-city { font-family: var(--font-body); font-size: 0.9rem; color: var(--ink); opacity: 0.7; }
.event-action { justify-self: end; }
.event-tickets {
   font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
   text-decoration: none; color: var(--ink); background: var(--gold);
   padding: 0.5rem 1.1rem; border-radius: 999px; white-space: nowrap;
   border: 1.5px solid var(--gold); transition: background 0.2s ease, transform 0.2s ease;
}
.event-tickets:hover { background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-1px); }
.event-note { font-family: var(--font-body); font-size: 0.85rem; color: var(--ink); opacity: 0.65; white-space: nowrap; }
@media (max-width: 620px) {
   .event-row { grid-template-columns: 1fr auto; gap: 0.35rem 1rem; }
   .event-date { grid-column: 1 / -1; }
}

/* ---------- Contact ---------- */
.contact__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.contact__inner h2 { font-family: var(--font-heading); font-weight: 500; font-size: clamp(2.2rem, 5.5vw, 3.4rem); line-height: 1.08; margin: 0 0 1rem; }
.contact__lede { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.75; color: var(--ink); opacity: 0.82; margin: 0 auto 2.75rem; max-width: 46ch; }
.contact-form { text-align: left; display: grid; gap: 1.25rem; }
.field label { display: block; font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); opacity: 0.7; margin: 0 0 0.5rem; }
.field input, .field textarea, .field select {
   width: 100%; box-sizing: border-box; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
   background: rgba(255,255,255,0.55); border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem 1rem;
   transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,0.22); }
/* Honeypot: visually hidden, off-screen, not announced — bots fill it, humans don't. */
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact__recaptcha { display: flex; justify-content: center; margin: 0.25rem 0; }
.contact__btn { justify-self: center; }
.contact__status { font-family: var(--font-body); font-weight: 600; text-align: center; margin: 0.25rem 0 0; }
.contact__status--ok { color: #2a7052; }
.contact__status--err { color: #b23b3b; }
[data-theme="dark"] .contact__status--ok { color: #5fd39a; }
[data-theme="dark"] .contact__status--err { color: #ff8a8a; }
.contact__social { margin-top: 2.75rem; display: flex; justify-content: center; gap: 1rem; }
.contact__social a {
   display: inline-flex; align-items: center; justify-content: center;
   width: 44px; height: 44px; border-radius: 999px; text-decoration: none;
   color: var(--accent); font-size: 1.15rem;
   border: 1px solid var(--line);
   transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.contact__social a:hover {
   color: var(--ink); background: var(--gold); border-color: var(--gold); transform: translateY(-2px);
}
/* Screen-reader-only text (accessible label behind the icon) */
.sr-only {
   position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
   overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer { background: var(--bg-dark); color: var(--paper-soft); padding: 3.5rem 0; text-align: center; border-top: 1px solid rgba(201,162,75,0.2); }
.footer__name { font-family: var(--font-heading); font-weight: 500; font-size: 1.5rem; color: var(--text-on-dark); margin: 0 0 0.5rem; letter-spacing: 0.01em; }
.footer__tag { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; }
.footer__social { display: flex; justify-content: center; gap: 1.25rem; margin: 0 0 1.25rem; }
.footer__social a { color: var(--paper-soft); font-size: 1.15rem; transition: color 0.2s; }
.footer__social a:hover { color: var(--gold); }
.footer__credit { font-family: var(--font-body); font-size: 0.82rem; color: var(--paper-soft); margin: 0; }
.footer__credit a:hover { color: var(--gold); }

/* ============================================================
   DARK MODE — remap semantic tokens so "paper" sections invert.
   Toggled by [data-theme="dark"] on <html> (script.js).
   ============================================================ */
[data-theme="dark"] {
   /* Cohesive palette flip: redefine the whole token set (like the
      local-service-template) so every section, not just "paper" ones, adopts
      the dark scheme. Config colors are scoped to :root:not([data-theme="dark"])
      in script.js, so these win in dark mode. */
   --espresso: #14100d;
   --paper: #1c1a17;          /* "paper" sections become deep warm charcoal */
   --ink: #f2ede3;            /* text on paper is now light */
   --ink-soft: #c3bcae;       /* muted body text on dark (AA 9.2:1) */
   --accent: #d7ad74;         /* gold TEXT on dark — AA 8.4:1 (eyebrows, links) */
   --accent-dk: #e0bd8a;
   --gold: #d7ad74;           /* brighter gold reads better on dark */
   --gold-dk: #e0bd8a;
   --gold-lt: #e6c79b;        /* AA-safe hover: light gold + dark button text */
   --rose: #cf9086;           /* lighter rose — AA on dark paper */
   --line: rgba(245, 240, 232, 0.14);
   --paper-soft: rgba(242, 237, 227, 0.72);

   --bg-dark: #14100d;
   --bg-paper: #1c1a17;
   --text-on-dark: #f2ede3;
   --text-on-paper: #f2ede3;
   --nav-bg: rgba(20, 16, 13, 0.85);
}
/* Gold-fill buttons keep dark text in dark mode for AA contrast. */
[data-theme="dark"] .btn--primary,
[data-theme="dark"] .nav__links a.nav__book { color: #14100d !important; }
/* Eyebrows: gold reads well on the dark paper sections. */
[data-theme="dark"] .section--paper .eyebrow { color: var(--gold); }
/* Form fields: subtle light fill on dark. */
[data-theme="dark"] .field input,
[data-theme="dark"] .field textarea,
[data-theme="dark"] .field select { background: rgba(255,255,255,0.06); color: var(--ink); }
[data-theme="dark"] .field input:focus,
[data-theme="dark"] .field textarea:focus,
[data-theme="dark"] .field select:focus { box-shadow: 0 0 0 3px rgba(215,173,116,0.28); }
/* Gallery/video tiles blend into the darker bg. */
[data-theme="dark"] .gal-tile,
[data-theme="dark"] .perf-frame { background: #0c0908; }

@media (prefers-reduced-motion: reduce) {
   html { scroll-behavior: auto; }
   .reveal { opacity: 1; transform: none; transition: none; }
   .hero__scroll-line { animation: none; opacity: 0.8; }
   .gal-tile img { transition: none; }
}

/* ============================================================
   RESPONSIVE / MOBILE NAV
   ============================================================ */
@media (max-width: 820px) {
   .nav__toggle { display: flex; }
   /* Compact dropdown that sizes to its CONTENT — anchored just below the nav
      bar at the right. No full-height panel, no scrolling: the handful of links
      fit comfortably on any phone. Fades/scales in from the top-right. */
   .nav__links {
      position: absolute;
      top: calc(100% + 8px);
      right: max(0.75rem, env(safe-area-inset-right, 0px));
      left: auto;
      width: max-content;
      min-width: 200px;
      max-width: min(88vw, 320px);
      flex-direction: column;
      align-items: stretch;
      gap: 0.25rem;
      padding: 0.5rem;
      background: rgba(26, 21, 18, 0.98);
      -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
      border: 1px solid rgba(245, 240, 232, 0.12);
      border-radius: 16px;
      box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.6);
      /* animate open/close */
      transform-origin: top right;
      transform: scale(0.96) translateY(-6px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.2s;
   }
   .nav__links.is-open {
      transform: none;
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
   }
   /* Each item is a comfortable full-width tap target (>=44px), evenly spaced. */
   .nav__links a {
      font-size: 1rem;
      padding: 0.7rem 0.9rem;
      border-radius: 10px;
      width: 100%;
   }
   .nav__links a:hover,
   .nav__links a:focus-visible { background: rgba(245, 240, 232, 0.08); }
   /* Book button + theme toggle sit inline in the flow, full width. */
   .nav__links a.nav__book { text-align: center; margin-top: 0.25rem; }
   .nav__links .nav__theme { align-self: flex-start; margin-top: 0.25rem; }
   .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
   .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
   .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 720px) {
   #hero { padding: 5rem 1.25rem 4rem; background-position: center 22%; }
   .hero__content { margin: 0; }
   .hero__headline { font-size: clamp(2.6rem, 12vw, 3.6rem); }
   .hero__ctas .btn { flex: 1 1 auto; }
}

/* ============================================================
   SECTION DIVIDER — hairline between two adjacent same-color sections
   (e.g. events + contact are both --paper) so they don't visually merge.
   ============================================================ */
.section--paper + .section--paper { border-top: 1px solid var(--line); }
.section--dark + .section--dark { border-top: 1px solid rgba(245, 240, 232, 0.08); }

/* ============================================================
   PRINT — clean, ink-friendly layout for EPKs / saved contact info.
   Hides interactive chrome, forces light colors, avoids page-break splits.
   ============================================================ */
@media print {
   #nav, .hero__scroll, .nav__toggle, .nav__theme, .contact__recaptcha,
   .contact-form .btn, .hero__ctas, .offer .btn, .event-tickets { display: none !important; }
   html, body { background: #fff !important; color: #000 !important; }
   .section, #hero { padding: 1.25rem 0 !important; min-height: auto !important; }
   #hero { color: #000 !important; }
   .hero__scrim { display: none !important; }
   .section--dark, .section--paper, #site-footer, #hero {
      background: #fff !important; color: #000 !important;
   }
   .section__title, .section__lede, .hero__headline, .hero__subtitle,
   .about__body p, .perf-title, .footer__name, .footer__credit,
   .eyebrow, .perf-desc, .footer__tag { color: #000 !important; }
   .perf-frame, .gal-tile, .about__portrait img { box-shadow: none !important; border-color: #ccc !important; }
   a { color: #000 !important; text-decoration: underline; }
   /* Show link URLs so a printed page is still actionable. */
   .contact__social a[href]::after,
   .footer__credit a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
   .reveal { opacity: 1 !important; transform: none !important; }
   .perf-video, .gal-tile, .event-row, .about__inner { break-inside: avoid; page-break-inside: avoid; }
}
