/*
Theme Name: Lantern Theatre LI
Theme URI: https://lanternli.com
Author: Lantern Theatre of Long Island
Description: A custom theme for Lantern Theatre of Long Island — Nassau County's longest-running community theatre. One-page traveling-troupe site with a "Productions" post type and dashboard-editable text via the Customizer. No page builders or extra plugins required.
Version: 1.5.3
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lantern-theatre
*/

:root{
  --night:    #0F1F18;
  --night-2:  #15291F;
  --night-3:  #1C3328;
  --glow:     #F4B43E;
  --glow-pale:#FBE6AE;
  --brass:    #B9802F;
  --ivory:    #F4ECD8;
  --dim:      #9FB1A4;
  --curtain:  #7E2A26;

  --maxw: 1120px;
  --pad: clamp(1.25rem, 4vw, 3rem);

  --f-display: "Fraunces", Georgia, serif;
  --f-marquee: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Mulish", system-ui, sans-serif;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  background:var(--night);
  color:var(--ivory);
  font-family:var(--f-body);
  font-size:clamp(1rem, 0.6vw + 0.9rem, 1.12rem);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

::selection{ background:var(--glow); color:var(--night); }

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

.wrap{ max-width:var(--maxw); margin-inline:auto; padding-inline:var(--pad); }

.eyebrow{
  font-family:var(--f-marquee);
  text-transform:uppercase;
  letter-spacing:.28em;
  font-weight:600;
  font-size:.74rem;
  color:var(--glow);
}

h1,h2,h3{ font-family:var(--f-display); font-weight:500; line-height:1.05; }

a:focus-visible, button:focus-visible{
  outline:2px solid var(--glow);
  outline-offset:3px;
  border-radius:2px;
}

/* skip link */
.skip-link{
  position:absolute; left:-999px; top:0; z-index:100;
  background:var(--glow); color:var(--night); padding:.6em 1em;
  font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.1em; font-size:.8rem;
}
.skip-link:focus{ left:.5rem; top:.5rem; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.55rem;
  font-family:var(--f-marquee);
  text-transform:uppercase; letter-spacing:.12em; font-weight:600;
  font-size:.86rem;
  padding:.85em 1.5em;
  border-radius:2px;
  text-decoration:none;
  transition:transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  border:1px solid transparent;
  cursor:pointer;
}
.btn-primary{ background:var(--glow); color:var(--night); box-shadow:0 0 0 0 rgba(244,180,62,.5); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 10px 30px -8px rgba(244,180,62,.55); }
.btn-ghost{ background:transparent; color:var(--ivory); border-color:rgba(244,236,216,.32); }
.btn-ghost:hover{ border-color:var(--glow); color:var(--glow); transform:translateY(-2px); }

/* ---------- nav ---------- */
header.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(15,31,24,.82);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(185,128,47,.22);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-block:.85rem; }
.brand{ display:flex; align-items:center; gap:.7rem; text-decoration:none; }
.brand svg{ width:26px; height:34px; flex:none; }
.brand .name{ font-family:var(--f-marquee); font-weight:600; text-transform:uppercase; letter-spacing:.18em; font-size:.98rem; line-height:1; }
.brand .name small{ display:block; font-size:.6rem; letter-spacing:.34em; color:var(--dim); margin-top:.3em; }
.nav-links{ display:flex; align-items:center; gap:1.6rem; }
.nav-links a.link{ font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.14em; font-size:.78rem; text-decoration:none; color:var(--dim); transition:color .15s; }
.nav-links a.link:hover{ color:var(--ivory); }
@media (max-width: 820px){ .nav-links a.link{ display:none; } }

/* ---------- hero ---------- */
.hero{ position:relative; overflow:hidden; }
.hero::before{
  content:""; position:absolute; z-index:0;
  width:120vw; height:120vw; max-width:1100px; max-height:1100px;
  right:-22%; top:-30%;
  background:radial-gradient(circle at center, rgba(244,180,62,.34) 0%, rgba(244,180,62,.14) 26%, rgba(244,180,62,0) 60%);
  pointer-events:none;
  animation:breathe 7s ease-in-out infinite;
}
.hero-inner{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.15fr .85fr; gap:2rem; align-items:center;
  padding-block:clamp(3.5rem, 9vw, 7rem);
}
.hero h1{ font-size:clamp(2.6rem, 6.2vw, 4.9rem); letter-spacing:-.015em; margin:.9rem 0 1.1rem; }
.hero h1 em{ font-style:italic; color:var(--glow-pale); }
.hero p.lead{ color:var(--ivory); max-width:46ch; font-size:1.12rem; opacity:.92; }
.hero .cta-row{ display:flex; flex-wrap:wrap; gap:.8rem; margin-top:1.9rem; }
.hero .since{ margin-top:2.2rem; padding-top:1.4rem; border-top:1px solid rgba(185,128,47,.28); display:flex; gap:2.2rem; flex-wrap:wrap; }
.hero .since div{ line-height:1.2; }
.hero .since b{ font-family:var(--f-display); font-size:1.65rem; display:block; color:var(--glow-pale); }
.hero .since span{ font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.16em; font-size:.66rem; color:var(--dim); }

.lantern-stage{ display:flex; justify-content:center; align-items:flex-start; }
.lantern{ width:min(190px, 50%); height:auto; filter:drop-shadow(0 18px 40px rgba(0,0,0,.45)); }
.lantern-photo{ width:min(360px,85%); border-radius:8px; border:1px solid var(--night-3); filter:drop-shadow(0 18px 40px rgba(0,0,0,.45)); }
.flame{ transform-origin:center; animation:flicker 2.6s ease-in-out infinite; }

@keyframes breathe{ 0%,100%{ opacity:.85; } 50%{ opacity:1; } }
@keyframes flicker{
  0%,100%{ opacity:.92; transform:scaleY(1) scaleX(1); }
  25%{ opacity:1; transform:scaleY(1.05) scaleX(.98); }
  50%{ opacity:.85; transform:scaleY(.97) scaleX(1.02); }
  75%{ opacity:1; transform:scaleY(1.03) scaleX(.99); }
}
@media (prefers-reduced-motion: reduce){ .hero::before, .flame{ animation:none; } }
@media (max-width: 760px){
  .hero-inner{ grid-template-columns:1fr; }
  .lantern-stage{ order:-1; }
  .lantern{ width:min(110px, 32%); }
}

/* ---------- section scaffolding ---------- */
.band{ padding-block:clamp(3.5rem, 8vw, 6.5rem); position:relative; }
.band.alt{ background:var(--night-2); border-block:1px solid rgba(185,128,47,.16); }
.band-head{ max-width:62ch; margin-bottom:2.6rem; }
.band-head h2{ font-size:clamp(1.9rem, 4vw, 3rem); margin:.7rem 0 .8rem; }
.band-head p{ color:var(--dim); }

/* ---------- productions ---------- */
.shows{ display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:1.4rem; }
.show{ background:var(--night); border:1px solid var(--night-3); border-radius:6px; overflow:hidden; display:flex; flex-direction:column; transition:transform .2s ease, border-color .2s ease; }
.band.alt .show{ background:var(--night-2); }
.show:hover{ transform:translateY(-4px); border-color:var(--brass); }
.show .poster{
  aspect-ratio:3/2; position:relative; overflow:hidden;
  background:radial-gradient(circle at 30% 25%, rgba(244,180,62,.22), transparent 55%), linear-gradient(150deg, var(--night-3), var(--night));
  display:flex; align-items:center; justify-content:center; border-bottom:1px solid var(--night-3);
}
.show .poster img{ width:100%; height:100%; object-fit:cover; }
.show .poster .mark{ font-family:var(--f-display); font-style:italic; color:var(--brass); opacity:.55; font-size:1.05rem; }
.show .body{ padding:1.3rem 1.4rem 1.5rem; }
.show .tag{ font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.16em; font-size:.66rem; color:var(--glow); }
.show h3{ font-size:1.5rem; margin:.45rem 0 .55rem; }
.show p{ color:var(--dim); font-size:.95rem; }
.show .meta{ margin-top:1rem; font-family:var(--f-marquee); letter-spacing:.08em; font-size:.78rem; color:var(--ivory); opacity:.8; text-transform:uppercase; }
.show .meta a{ color:var(--glow); text-decoration:none; }

/* ---------- about ---------- */
.about-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(2rem,5vw,4rem); align-items:center; }
.about-grid .prose p{ margin-bottom:1.1rem; }
.about-grid .prose p:last-child{ margin-bottom:0; }
.about-grid .prose h2{ font-size:clamp(1.9rem,4vw,3rem); margin:.7rem 0 1.1rem; }
.pull{ font-family:var(--f-display); font-style:italic; font-size:clamp(1.4rem,2.6vw,2rem); line-height:1.3; color:var(--glow-pale); border-left:3px solid var(--brass); padding-left:1.4rem; }
@media (max-width:760px){ .about-grid{ grid-template-columns:1fr; } }

/* ---------- steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1.5rem; }
.step{ position:relative; padding-top:1rem; }
.step .num{ font-family:var(--f-display); font-size:2.6rem; color:var(--brass); line-height:1; display:block; margin-bottom:.5rem; }
.step h3{ font-size:1.25rem; margin-bottom:.5rem; }
.step p{ color:var(--dim); font-size:.96rem; }

.tags{ display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1.8rem; }
.tags span{ font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.12em; font-size:.74rem; padding:.5em 1em; border:1px solid var(--night-3); border-radius:999px; color:var(--ivory); }

/* ---------- contact ---------- */
.contact{ position:relative; overflow:hidden; }
.contact::before{ content:""; position:absolute; inset:0; z-index:0; background:radial-gradient(circle at 80% 120%, rgba(244,180,62,.16), transparent 55%); pointer-events:none; }
.contact .wrap{ position:relative; z-index:1; }
.contact-card{ background:var(--night-2); border:1px solid rgba(185,128,47,.32); border-radius:8px; padding:clamp(1.8rem,4vw,3rem); display:grid; grid-template-columns:1fr auto; gap:2rem; align-items:center; }
.contact-card h2{ font-size:clamp(1.8rem,3.6vw,2.6rem); margin:.5rem 0 .8rem; }
.contact-card p{ color:var(--dim); max-width:46ch; }
.producer{ margin-top:1.4rem; }
.producer .who{ font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.14em; font-size:.72rem; color:var(--dim); }
.producer .name{ font-family:var(--f-display); font-size:1.4rem; color:var(--ivory); }
.contact-lines{ display:flex; flex-direction:column; gap:.7rem; margin-top:1.2rem; }
.contact-lines a{ display:inline-flex; align-items:center; gap:.6rem; text-decoration:none; font-weight:600; font-size:1.08rem; color:var(--ivory); transition:color .15s; }
.contact-lines a:hover{ color:var(--glow); }
.contact-lines svg{ width:18px; height:18px; flex:none; color:var(--glow); }
.contact-actions{ display:flex; flex-direction:column; gap:.8rem; }
@media (max-width:720px){ .contact-card{ grid-template-columns:1fr; } }

/* ---------- footer ---------- */
footer.site{ border-top:1px solid rgba(185,128,47,.2); padding-block:2.5rem; }
.foot-inner{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:1.2rem; align-items:center; }
.foot-inner .brand .name{ font-size:.86rem; }
.foot-inner small{ color:var(--dim); font-size:.82rem; line-height:1.6; }
.foot-inner small a{ color:var(--glow); text-decoration:none; }
.foot-links{ display:flex; gap:1.3rem; }
.foot-links a{ font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.12em; font-size:.74rem; color:var(--dim); text-decoration:none; }
.foot-links a:hover{ color:var(--glow); }

/* ---------- generic page / single production ---------- */
.page-body{ padding-block:clamp(3rem,7vw,5rem); }
.page-body .wrap{ max-width:760px; }
.page-body h1{ font-size:clamp(2rem,4.5vw,3.2rem); margin-bottom:1.4rem; }
.page-body h2{ font-family:var(--f-display); font-size:1.6rem; margin:2rem 0 .8rem; }
.page-body p{ margin-bottom:1.1rem; }
.page-body a{ color:var(--glow); }
.page-body .back{ display:inline-block; margin-bottom:1.5rem; font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.12em; font-size:.78rem; color:var(--dim); text-decoration:none; }
.page-body .back:hover{ color:var(--glow); }
.single-poster{ border-radius:8px; border:1px solid var(--night-3); margin-bottom:2rem; }

/* ============================================================
   ADDED SECTIONS — calendar, videos, gallery, cast, mobile nav
   ============================================================ */

/* ---------- mobile nav toggle ---------- */
.nav-toggle{ display:none; flex-direction:column; gap:5px; width:42px; height:38px; align-items:center; justify-content:center; background:transparent; border:1px solid rgba(244,236,216,.28); border-radius:3px; cursor:pointer; }
.nav-toggle span{ display:block; width:20px; height:2px; background:var(--ivory); transition:.2s; }
@media (max-width:820px){
  .nav-toggle{ display:flex; }
  .nav-links{ position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:stretch; gap:0; background:var(--night-2); border-bottom:1px solid rgba(185,128,47,.3); padding:0; max-height:0; overflow:hidden; transition:max-height .25s ease; }
  .nav-links.open{ max-height:60vh; padding:.5rem var(--pad) 1rem; }
  .nav-links a.link{ display:block; padding:.85rem 0; border-bottom:1px solid rgba(185,128,47,.14); color:var(--ivory); }
  .nav-links .btn-primary{ margin-top:.9rem; justify-content:center; }
}

/* ---------- calendar / agenda ---------- */
.agenda{ display:flex; flex-direction:column; gap:.9rem; }
.event-row{ display:flex; align-items:center; gap:1.3rem; background:var(--night-2); border:1px solid var(--night-3); border-radius:6px; padding:1rem 1.2rem; transition:border-color .2s ease, transform .2s ease; }
.event-row:hover{ border-color:var(--brass); transform:translateX(3px); }
.date-chip{ flex:none; width:64px; text-align:center; border:1px solid var(--brass); border-radius:5px; overflow:hidden; background:var(--night); }
.date-chip .mon{ display:block; font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.12em; font-size:.62rem; background:var(--brass); color:var(--night); padding:.22rem 0; font-weight:600; }
.date-chip .day{ display:block; font-family:var(--f-display); font-size:1.7rem; color:var(--glow-pale); line-height:1.5; padding:.1rem 0 .25rem; }
.event-info{ flex:1; min-width:0; }
.event-info h3{ font-size:1.3rem; margin-bottom:.3rem; }
.event-meta{ display:flex; flex-wrap:wrap; gap:.4rem 1.1rem; color:var(--dim); font-size:.9rem; }
.event-meta span{ position:relative; }
.event-meta span + span::before{ content:"·"; position:absolute; left:-.7rem; color:var(--brass); }
.event-cta{ flex:none; padding:.55em 1.1em; font-size:.74rem; }
.agenda-empty{ text-align:center; padding:2.5rem 1rem; border:1px dashed rgba(185,128,47,.4); border-radius:8px; color:var(--dim); }
.agenda-empty p{ margin-bottom:1.1rem; }
.gcal{ margin-top:2rem; border:1px solid var(--night-3); border-radius:8px; overflow:hidden; background:#fff; }
@media (max-width:560px){
  .event-row{ flex-wrap:wrap; }
  .event-cta{ width:100%; justify-content:center; margin-top:.4rem; }
}

/* ---------- videos ---------- */
.video-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:1.6rem; }
.video-item{ margin:0; }
.video-embed{ position:relative; aspect-ratio:16/9; border-radius:8px; overflow:hidden; border:1px solid var(--night-3); background:#000; }
.video-embed iframe, .video-embed video, .video-embed object, .video-embed embed{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-fallback{ display:flex; align-items:center; justify-content:center; background:linear-gradient(150deg,var(--night-3),var(--night)); }
.video-fallback a{ color:var(--glow); text-decoration:none; font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.12em; font-size:.9rem; }
.video-item figcaption{ margin-top:.8rem; font-family:var(--f-display); font-size:1.15rem; color:var(--ivory); }

/* ---------- gallery ---------- */
.gallery{ display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:.9rem; }
.gallery a{ position:relative; display:block; aspect-ratio:1/1; overflow:hidden; border-radius:6px; border:1px solid var(--night-3); cursor:zoom-in; }
.gallery img{ width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.gallery a:hover img{ transform:scale(1.06); }
.gallery .cap{ position:absolute; left:0; right:0; bottom:0; padding:.7rem .8rem .6rem; font-size:.8rem; color:var(--ivory); background:linear-gradient(to top, rgba(15,31,24,.92), transparent); opacity:0; transition:opacity .2s ease; }
.gallery a:hover .cap, .gallery a:focus-visible .cap{ opacity:1; }

/* lightbox */
.lightbox{ position:fixed; inset:0; z-index:200; display:none; align-items:center; justify-content:center; padding:4vmin; background:rgba(8,14,11,.92); backdrop-filter:blur(4px); }
.lightbox.show{ display:flex; }
.lightbox figure{ margin:0; max-width:92vw; max-height:90vh; display:flex; flex-direction:column; align-items:center; gap:.8rem; }
.lightbox img{ max-width:100%; max-height:82vh; object-fit:contain; border-radius:6px; box-shadow:0 20px 60px rgba(0,0,0,.6); }
.lightbox figcaption{ color:var(--glow-pale); font-family:var(--f-display); font-style:italic; font-size:1.05rem; text-align:center; }
.lightbox-close{ position:absolute; top:1.2rem; right:1.4rem; width:44px; height:44px; border-radius:50%; border:1px solid rgba(244,236,216,.3); background:transparent; color:var(--ivory); font-size:1.6rem; line-height:1; cursor:pointer; }
.lightbox-close:hover{ border-color:var(--glow); color:var(--glow); }

/* ---------- cast / company ---------- */
.cast-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:1.8rem 1.4rem; }
.cast-card{ margin:0; text-align:center; }
.headshot{ width:132px; height:132px; margin:0 auto 1rem; border-radius:50%; overflow:hidden; border:2px solid var(--brass); box-shadow:0 0 0 4px rgba(185,128,47,.12); }
.headshot img{ width:100%; height:100%; object-fit:cover; }
.headshot-empty{ display:flex; align-items:center; justify-content:center; background:radial-gradient(circle at 35% 30%, var(--night-3), var(--night)); }
.headshot-empty span{ font-family:var(--f-display); font-size:2.4rem; color:var(--brass); }
.cast-name{ font-family:var(--f-display); font-size:1.2rem; color:var(--ivory); }
.cast-role{ font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.16em; font-size:.66rem; color:var(--glow); margin-top:.25rem; }
.cast-bio{ color:var(--dim); font-size:.88rem; margin-top:.6rem; line-height:1.55; }

/* ---------- video playlist (auto-gallery) ---------- */
.video-playlist-wrap{ max-width:900px; margin:0 auto; }
.video-grid:not(:first-child){ margin-top:2rem; }
.video-playlist-wrap + .video-grid{ margin-top:2.4rem; padding-top:2.4rem; border-top:1px solid rgba(185,128,47,.18); }

/* ---------- 1.4.0 ---------- */
.video-modal-frame{ position:relative; width:min(1100px, 92vw); aspect-ratio:16/9; border-radius:8px; overflow:hidden; background:#000; box-shadow:0 20px 60px rgba(0,0,0,.6); }
.video-modal-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.about-side{ display:flex; flex-direction:column; gap:1.6rem; align-self:center; }
.fun-fact{ font-size:.98rem; line-height:1.6; color:var(--ivory); border:1px solid var(--night-3); border-radius:8px; padding:1rem 1.2rem; background:var(--night-2); }
.fun-fact span{ display:block; font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.14em; font-size:.75rem; color:var(--glow); margin-bottom:.35rem; }
.editor-hint{ border-color:rgba(244,180,62,.65); }
.cal-layout{ display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,380px); gap:clamp(1.75rem,4vw,3.5rem); align-items:start; }
.cal-layout .band-head{ margin-bottom:1.8rem; }
.cal-side.gcal{ margin-top:0; box-shadow:0 18px 40px rgba(0,0,0,.35); }
.cal-side iframe{ display:block; width:100%; height:560px; border:0; }
@media (max-width:860px){ .cal-layout{ grid-template-columns:1fr; } .cal-side iframe{ height:480px; } }
/* hero video + small lantern mark */
.hero-inner.has-video{ grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:clamp(2rem,4vw,3.5rem); }
.hero-media .video-embed{ border-color:rgba(185,128,47,.4); box-shadow:0 24px 60px rgba(0,0,0,.5); }
.hero-media-cap{ margin-top:.8rem; font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.16em; font-size:.68rem; color:var(--dim); }
.hero-mark{ display:flex; align-items:center; gap:.8rem; }
.lantern.lantern-mini{ width:34px; height:auto; flex:none; filter:drop-shadow(0 0 12px rgba(244,180,62,.5)); }
@media (max-width:760px){ .hero-inner.has-video{ grid-template-columns:1fr; } .lantern.lantern-mini{ width:28px; } }
/* Automatic YouTube Gallery in the hero — dark-theme styling */
.ayg-hero{ color:var(--ivory); }
.ayg-hero .ayg-player-container{ border-radius:8px; overflow:hidden; border:1px solid rgba(185,128,47,.4); box-shadow:0 24px 60px rgba(0,0,0,.5); }
.ayg-hero .ayg-player-caption{ padding:.7rem 0 0; }
.ayg-hero .ayg-player-title{ color:var(--glow-pale); font-family:var(--f-display); font-size:1.05rem; line-height:1.3; }
.ayg-hero .ayg-videos{ margin-top:1rem; }
.ayg-hero .ayg-thumbnail-image{ border-radius:6px; }
.ayg-hero .ayg-thumbnail-title{ color:var(--ivory); font-size:.82rem; line-height:1.35; }
.ayg-hero .ayg-thumbnail:hover .ayg-thumbnail-title{ color:var(--glow-pale); }
.ayg-hero .ayg-pagination{ text-align:center; margin-top:.6rem; }
.ayg-hero .ayg-btn{ background:transparent; color:var(--glow-pale); border:1px solid rgba(244,180,62,.6); border-radius:999px; padding:.55rem 1.3rem; font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.14em; font-size:.68rem; cursor:pointer; }
.ayg-hero .ayg-btn:hover{ background:rgba(244,180,62,.12); }
.hero-inner.has-video{ align-items:start; }
/* tighter top: less space above the hero, wider hero */
.hero .wrap.hero-inner{ max-width:1360px; padding-block:clamp(1.25rem, 3vw, 2.5rem) clamp(2.5rem, 6vw, 4.5rem); }
/* calendar tucked under the hero stats */
.hero-cal{ margin-top:1.4rem; }
.hero-cal-title{ font-family:var(--f-display); font-size:1.3rem; line-height:1.2; color:var(--glow-pale); margin:0 0 .6rem; }
.hero-cal-frame{ border-radius:8px; overflow:hidden; border:1px solid rgba(185,128,47,.4); background:#fff; box-shadow:0 18px 40px rgba(0,0,0,.35); }
.hero-cal-frame iframe{ display:block; width:100%; height:300px; border:0; }
.cast-bio a{ color:var(--glow-pale); text-decoration:underline; text-underline-offset:2px; }
.cast-bio a:hover{ color:var(--glow); }
.foot-inner small a.foot-onesheet{ display:inline-block; margin-top:.35rem; font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.12em; font-size:.74rem; }
.foot-inner small a.foot-onesheet::before{ content:"\2193\00a0"; }
/* Google Calendar embed in dark mode: invert Google's light UI, then blend black into the theme's panel colour */
.hero-cal-frame{ background:var(--night-2); border-color:rgba(185,128,47,.45); }
.hero-cal-frame iframe{ filter:invert(1) hue-rotate(180deg) contrast(.92) brightness(1.05); mix-blend-mode:lighten; }
/* ===================== Mobile polish (1.5.0) ===================== */
.mobile-book-bar{ display:none; }
.bio-more{ display:none; }
@media (max-width:760px){
  /* 1) hero order on phones: headline + Book → video → stats → calendar */
  .hero-inner.has-video{ display:flex; flex-direction:column; }
  .hero-inner.has-video .hero-copy{ display:contents; }
  .hero-inner.has-video .hero-copy > *{ order:1; }
  .hero-inner.has-video .hero-media{ order:2; margin-top:1.8rem; }
  .hero-inner.has-video .since{ order:3; }
  .hero-inner.has-video .hero-cal{ order:4; }

  /* 3) video thumbnails two-across */
  .ayg-hero .ayg-videos{ display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:.9rem .75rem !important; }
  .ayg-hero .ayg-videos > *{ width:auto !important; max-width:none !important; margin:0 !important; padding:0 !important; }
  .ayg-hero .ayg-thumbnail-title{ font-size:.8rem; }
  .ayg-hero .ayg-player-caption{ display:none; }

  /* 2) performers two-across, compact, long bios clamp with Read more */
  .cast-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.6rem .9rem; }
  .headshot{ width:96px; height:96px; margin-bottom:.7rem; }
  .cast-name{ font-size:1.02rem; line-height:1.25; }
  .cast-bio{ font-size:.86rem; line-height:1.5; display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical; overflow:hidden; }
  .cast-bio.open{ display:block; -webkit-line-clamp:unset; overflow:visible; }
  .bio-more{ display:inline-flex; align-items:center; min-height:44px; padding:0 .4rem; background:none; border:0; cursor:pointer;
    font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.12em; font-size:.75rem; color:var(--glow); }

  /* 4) sticky call/email bar */
  .mobile-book-bar{ display:flex; align-items:center; gap:.6rem; position:fixed; left:0; right:0; bottom:0; z-index:60;
    padding:.6rem max(1rem, env(safe-area-inset-left)) calc(.6rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
    background:rgba(15,31,24,.96); border-top:1px solid rgba(185,128,47,.45); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
  .mbb-label{ flex:1; font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.14em; font-size:.8rem; color:var(--glow-pale); }
  .mbb-btn{ display:inline-flex; align-items:center; justify-content:center; min-height:44px; min-width:84px; padding:0 1rem; border-radius:999px;
    font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.12em; font-size:.82rem; text-decoration:none;
    border:1px solid rgba(244,180,62,.7); color:var(--glow-pale); }
  .mbb-call{ background:var(--glow); color:var(--night); border-color:var(--glow); }
  body{ padding-bottom:calc(72px + env(safe-area-inset-bottom)); }

  /* 5) nothing smaller than ~12.5px on phones */
  .eyebrow, .hero .since span, .tag, .cast-role, .hero-media-cap, .show .meta, .foot-links a, .foot-inner small,
  .foot-inner small a.foot-onesheet, .venue-list li, .ayg-hero .ayg-btn{ font-size:max(.8rem, 12.5px); }

  .show .tag, .tags span, .brand .name small{ font-size:max(.8rem, 12.5px); }
  /* 6) comfortable tap targets for small links */
  .show .body a, .contact-lines a{ display:inline-flex; align-items:center; min-height:44px; }
  .foot-links{ flex-wrap:wrap; gap:0 1rem; }
  .foot-links a, .foot-inner small a{ display:inline-flex; align-items:center; min-height:44px; }
}
.foot-inner small a.foot-game{ display:inline-block; margin-top:.35rem; font-family:var(--f-marquee); text-transform:uppercase; letter-spacing:.12em; font-size:.74rem; }
.foot-inner small a.foot-game{ display:inline-flex; align-items:center; gap:.45em; }
.foot-game-icon{ width:1.45em; height:1.45em; flex:none; transform:translateY(-1px); }
.foot-inner small a.foot-game:hover .foot-game-icon{ transform:translateY(-1px) rotate(-8deg); }
@media (max-width:760px){ .foot-inner small a.foot-game{ display:inline-flex; align-items:center; min-height:44px; font-size:max(.8rem, 12.5px); } }
