/* =====================================================================
   SOS · God in the City — Landing Page
   Design tokens: Marian Navy / Papal Gold / Warm Alabaster / Slate Charcoal
   Course tags: Olive Green (formation/spiritual) · Terracotta (history/community)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root{
  /* ---- Core brand palette ---- */
  --navy:        #1B2A55;
  --navy-deep:   #0F1830;
  --navy-soft:   #2C3D72;
  --gold:        #C6952C;
  --gold-light:  #E4C77A;
  --gold-dim:    #9C7420;
  --ivory:       #FAF6EC;
  --ivory-deep:  #F1E9D6;
  --charcoal:    #262A31;
  --charcoal-60: #262A3199;
  --olive:       #6E7A3F;
  --terracotta:  #B5583A;

  /* ---- Type ---- */
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ---- Rhythm ---- */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 50px -25px rgba(15, 24, 48, 0.45);
  --shadow-card: 0 12px 30px -18px rgba(15, 24, 48, 0.35);
  --ease: cubic-bezier(.22,.9,.32,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
.container{ width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 600; color: var(--navy); margin: 0; line-height: 1.08; }
.eyebrow{
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{ content:''; width: 26px; height: 1px; background: var(--gold-dim); display:inline-block; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-gold{ background: linear-gradient(155deg, var(--gold-light), var(--gold) 70%); color: var(--navy-deep); box-shadow: 0 10px 24px -10px rgba(198,149,44,.55); }
.btn-gold:hover{ transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(198,149,44,.65); }
.btn-outline-ivory{ border-color: rgba(250,246,236,.55); color: var(--ivory); }
.btn-outline-ivory:hover{ background: rgba(250,246,236,.12); border-color: var(--ivory); }
.btn-outline-navy{ border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover{ background: var(--navy); color: var(--ivory); }
.btn-ghost{ color: var(--navy); font-weight: 600; padding: 10px 4px; }
.btn-ghost:hover{ color: var(--gold-dim); }

/* ================= HEADER ================= */
/*
 * NOTE: the header background + blur live on ::before (not directly on
 * .site-header) on purpose. `backdrop-filter` on an element creates a new
 * containing block for any `position: fixed` descendant (same as
 * `transform`/`filter` do) — and .main-nav (the mobile menu panel) is
 * `position: fixed`. With backdrop-filter on .site-header itself, the
 * mobile menu was positioning against the header's own ~70px-tall box
 * instead of the viewport, squashing it down to almost nothing — which is
 * why it looked like it had no background on mobile. Keeping the header
 * itself filter-free avoids that.
 */
.site-header{
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid rgba(27,42,85,.08);
  transition: box-shadow .3s ease;
}
.site-header::before{
  content: '';
  position: absolute; inset: 0;
  background: rgba(250,246,236,.86);
  backdrop-filter: blur(10px) saturate(1.2);
  z-index: -1;
}
.site-header.is-scrolled{ box-shadow: 0 8px 24px -18px rgba(15,24,48,.35); }
.header-row{ display:flex; align-items:center; justify-content:space-between; padding: 16px 24px; }
.brand{ display:flex; align-items:center; gap: 12px; }
.brand-crest{ width: 40px; height: 40px; flex-shrink:0; }
.brand-text{ line-height: 1.1; }
.brand-text .name{ font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--navy); letter-spacing: .01em; }
.brand-text .tag{ font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dim); font-weight: 600; }

.main-nav{ display:flex; align-items:center; gap: 28px; }
.main-nav a{ font-size: 14.5px; font-weight: 600; color: var(--charcoal); position: relative; padding: 4px 0; }
.main-nav a::after{ content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px; background: var(--gold); transition: width .3s var(--ease); }
.main-nav a:hover::after{ width:100%; }
.header-actions{ display:flex; align-items:center; gap:10px; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--navy); margin:5px 0; border-radius:2px; }

/* ================= HERO ================= */
.hero{
  position: relative;
  background: radial-gradient(1200px 700px at 78% -10%, var(--navy-soft) 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--ivory);
  padding: 96px 0 120px;
  overflow: hidden;
}
.hero::before{
  content:'';
  position:absolute; inset:0;
  background-image:
    repeating-linear-gradient(0deg, rgba(250,246,236,.035) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(250,246,236,.035) 0 1px, transparent 1px 64px);
  mask-image: radial-gradient(circle at 70% 30%, black, transparent 70%);
  pointer-events:none;
}
.hero-grid{ position:relative; display:grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items:center; }
.hero-copy .eyebrow{ color: var(--gold-light); }
.hero-copy .eyebrow::before{ background: var(--gold-light); }
.hero-copy h1{
  font-size: clamp(38px, 5.4vw, 62px);
  color: var(--ivory);
  margin: 18px 0 20px;
  font-weight: 600;
}
.hero-copy h1 em{ font-style: italic; color: var(--gold-light); font-weight: 600; }
.hero-copy p.lede{
  font-size: 18px; line-height: 1.65; color: rgba(250,246,236,.82);
  max-width: 46ch; margin-bottom: 34px;
}
.hero-cta{ display:flex; flex-wrap:wrap; gap: 14px; margin-bottom: 40px; }
.hero-stats{ display:flex; gap: 34px; flex-wrap:wrap; }
.hero-stats div strong{ font-family: var(--font-display); font-size: 26px; color: var(--gold-light); display:block; }
.hero-stats div span{ font-size: 12.5px; letter-spacing:.06em; color: rgba(250,246,236,.65); text-transform: uppercase; }

/* Rose window signature motif */
.rose-wrap{ position: relative; display:flex; align-items:center; justify-content:center; min-height: 380px; }
.rose-window{ width: min(440px, 100%); height:auto; animation: rose-spin 120s linear infinite; transform-origin: 50% 50%; }
@keyframes rose-spin{ from{ transform: rotate(0deg);} to{ transform: rotate(360deg);} }
.rose-window .glow{ filter: drop-shadow(0 0 18px rgba(198,149,44,.35)); }
.rose-caption{
  position:absolute; bottom: -6px; left:50%; transform: translateX(-50%);
  font-family: var(--font-display); font-style: italic; font-size: 15px;
  color: rgba(250,246,236,.6); white-space:nowrap;
}

/* ================= SECTION SHELLS ================= */
.section{ padding: 96px 0; }
.section-ivory{ background: var(--ivory); }
.section-deep{ background: var(--ivory-deep); }
.section-head{ max-width: 640px; margin-bottom: 52px; }
.section-head h2{ font-size: clamp(28px, 3.6vw, 40px); margin-top: 14px; }
.section-head p{ font-size: 16.5px; color: var(--charcoal-60); margin-top: 14px; line-height: 1.6; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ================= COURSE GRID ================= */
.course-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.course-card{
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display:flex; flex-direction:column;
  border: 1px solid rgba(27,42,85,.06);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.course-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.course-media{
  position: relative; aspect-ratio: 16/10; overflow:hidden;
  background: linear-gradient(150deg, var(--navy), var(--navy-soft));
}
.course-media img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.course-card:hover .course-media img{ transform: scale(1.06); }
.course-media .placeholder-cross{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
}
.play-btn{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(180deg, rgba(15,24,48,0) 40%, rgba(15,24,48,.55));
  opacity: 0; transition: opacity .3s ease; cursor:pointer; border:none;
}
.course-media:hover .play-btn{ opacity:1; }
.play-btn .circle{
  width: 58px; height:58px; border-radius:50%;
  background: rgba(250,246,236,.92); display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.4);
  transition: transform .3s var(--ease);
}
.play-btn:hover .circle{ transform: scale(1.08); }
.play-btn svg{ width:20px; height:20px; fill: var(--navy); margin-left:3px; }

.course-tag{
  position:absolute; top:14px; left:14px;
  font-size: 11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  padding: 6px 12px; border-radius: 999px; color:#fff;
  background: var(--gold-dim);
}
.tag-theology{ background: var(--olive); }
.tag-formation{ background: var(--navy-soft); }
.tag-history{ background: var(--terracotta); }
.tag-general{ background: var(--gold-dim); }

.course-body{ padding: 22px 24px 24px; display:flex; flex-direction:column; gap: 12px; flex:1; }
.course-body h3{ font-size: 22px; color: var(--navy); }
.course-body p{ font-size: 14.5px; line-height:1.6; color: var(--charcoal-60); flex:1; margin:0; }
.course-meta{ display:flex; align-items:center; justify-content:space-between; padding-top: 10px; border-top: 1px dashed rgba(27,42,85,.15); }
.course-price{ font-family: var(--font-display); font-weight:700; font-size: 19px; color: var(--navy); }
.course-price small{ font-family: var(--font-body); font-weight:600; font-size: 11.5px; color: var(--charcoal-60); }
.course-link{ font-size: 13.5px; font-weight:700; color: var(--gold-dim); display:inline-flex; align-items:center; gap:6px; }
.course-link svg{ width:14px; height:14px; transition: transform .3s var(--ease); }
.course-link:hover svg{ transform: translateX(4px); }

.locked-note{
  margin-top: 44px; padding: 20px 26px; border-radius: var(--radius-md);
  background: #fff; border: 1px dashed rgba(27,42,85,.25);
  display:flex; align-items:center; gap:16px; flex-wrap:wrap; justify-content:space-between;
}
.locked-note p{ margin:0; font-size:14.5px; color: var(--charcoal-60); max-width: 46ch; }
.locked-note strong{ color: var(--navy); }

/* ================= HOW IT WORKS ================= */
.steps{ display:grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.step{ position:relative; padding: 30px 26px; background:#fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.step .num{ font-family: var(--font-display); font-size: 40px; font-weight:700; color: var(--gold); opacity:.55; }
.step h3{ font-size: 19px; margin: 10px 0 8px; }
.step p{ font-size: 14.5px; color: var(--charcoal-60); line-height:1.6; margin:0; }

/* ================= SCRIPTURE BAND ================= */
.scripture-band{
  background: var(--navy); color: var(--ivory);
  padding: 80px 0; position: relative; overflow:hidden;
}
.scripture-band::after{
  content:''; position:absolute; inset:0;
  background: radial-gradient(700px 400px at 15% 20%, rgba(198,149,44,.16), transparent 60%);
  pointer-events:none;
}
.scripture-inner{ max-width: 760px; margin:0 auto; text-align:center; position:relative; }
.scripture-inner .mark{ font-family: var(--font-display); font-size: 64px; color: var(--gold); line-height:1; opacity:.7; }
.scripture-inner blockquote{
  font-family: var(--font-display); font-style: italic; font-weight:500;
  font-size: clamp(22px, 3vw, 30px); line-height:1.5; margin: 8px 0 20px; color: var(--ivory);
}
.scripture-inner cite{ font-style: normal; font-size: 13px; letter-spacing:.1em; text-transform:uppercase; color: var(--gold-light); }

.info-tooltip { position: relative; display: inline-block; }

.info-icon {
  cursor: pointer;
  color: var(--gold-light);    /* was green (#3F7A5A) — too dark to see on the navy hero */
  font-size: 0.7em;
  font-weight: 700;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 1.3em;
  height: 1.3em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 3px;
  line-height: 1;
  user-select: none;
}

.info-popup {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1f1f1f;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 50;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.info-popup::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1f1f1f;
}
.info-popup a { color: #fff; text-decoration: underline; }
/* Invisible bridge across the gap between the "i" and the bubble, so the
   bubble stays open while the mouse travels up to click the link. */
.info-popup::before {
  content: "";
  position: absolute;
  left: -10px; right: -10px;
  top: 100%;
  height: 16px;
}
.info-icon:hover, .info-icon:focus-visible { background: rgba(228,199,122,.18); outline: none; }

.info-tooltip:hover .info-popup,
.info-tooltip:focus-within .info-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* ================= NEWSLETTER ================= */
.newsletter{
  background: var(--ivory-deep);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display:grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items:center;
  box-shadow: var(--shadow-card);
  position: relative; overflow:hidden;
}
.newsletter::before{
  content:''; position:absolute; right:-60px; top:-60px; width:220px; height:220px; border-radius:50%;
  background: radial-gradient(circle, rgba(198,149,44,.22), transparent 70%);
}
.newsletter h2{ font-size: clamp(24px,3vw,32px); }
.newsletter p{ color: var(--charcoal-60); font-size:15px; margin-top:12px; line-height:1.6; }
.subscribe-form{ display:flex; gap:10px; flex-wrap:wrap; }
.subscribe-form input[type=email]{
  flex:1; min-width: 220px; padding: 15px 18px; border-radius: 999px;
  border: 1.5px solid rgba(27,42,85,.18); font-family: var(--font-body); font-size:15px;
  background:#fff; color: var(--charcoal);
}
.subscribe-form input[type=email]:focus{ outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(198,149,44,.15); }
.subscribe-note{ font-size: 12.5px; color: var(--charcoal-60); margin-top: 12px; }
.subscribe-msg{ margin-top: 12px; font-size: 14px; font-weight:600; min-height: 20px; }
.subscribe-msg.ok{ color: var(--olive); }
.subscribe-msg.err{ color: var(--terracotta); }

/* ================= FOOTER ================= */
.site-footer{ background: var(--navy-deep); color: rgba(250,246,236,.82); padding-top: 72px; }
.footer-top{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(250,246,236,.1); }
.footer-brand .brand-text .name{ color: var(--ivory); }
.footer-brand p{ font-size: 14px; line-height:1.7; color: rgba(250,246,236,.6); margin-top:14px; max-width:32ch; }
.footer-col h4{ color: var(--gold-light); font-family: var(--font-body); font-size: 13px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:16px; }
.footer-col a{ display:block; font-size: 14.5px; color: rgba(250,246,236,.75); padding: 6px 0; transition: color .2s ease; }
.footer-col a:hover{ color: var(--gold-light); }

.portal-cards{ display:flex; flex-direction:column; gap:12px; }
.portal-card{
  display:flex; align-items:center; justify-content:space-between; gap: 12px;
  padding: 14px 18px; border-radius: var(--radius-md);
  background: rgba(250,246,236,.06); border: 1px solid rgba(250,246,236,.12);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.portal-card:hover{ background: rgba(250,246,236,.1); border-color: rgba(198,149,44,.5); transform: translateX(3px); }
.portal-card .label{ font-weight:700; font-size:14.5px; color: var(--ivory); }
.portal-card .sub{ display:block; font-size:12px; color: rgba(250,246,236,.55); font-weight:400; margin-top:2px; }
.portal-card svg{ width:16px; height:16px; flex-shrink:0; fill: var(--gold-light); }

.footer-bottom{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding: 24px 0 32px; font-size: 13px; color: rgba(250,246,236,.5); }
.footer-bottom a{ color: rgba(250,246,236,.6); }
.footer-bottom a:hover{ color: var(--gold-light); }

/* ================= MODAL (course preview) ================= */
.modal-overlay{
  position: fixed; inset:0; background: rgba(15,24,48,.78);
  display:flex; align-items:center; justify-content:center; padding: 24px;
  z-index: 200; opacity:0; pointer-events:none; transition: opacity .3s ease;
}
.modal-overlay.is-open{ opacity:1; pointer-events:auto; }
.modal-box{
  background:#fff; border-radius: var(--radius-lg); max-width: 760px; width:100%;
  overflow:hidden; transform: translateY(18px) scale(.98); transition: transform .35s var(--ease);
  max-height: 88vh; display:flex; flex-direction:column;
}
.modal-overlay.is-open .modal-box{ transform: translateY(0) scale(1); }
.modal-video{ position:relative; width:100%; aspect-ratio:16/9; background:#000; }
.modal-video iframe, .modal-video video{ width:100%; height:100%; border:0; }
.modal-body{ padding: 26px 28px 30px; overflow-y:auto; }
.modal-body h3{ font-size: 24px; margin-bottom: 6px; }
.modal-body p{ font-size: 15px; color: var(--charcoal-60); line-height:1.65; }
.modal-close{
  position:absolute; top:14px; right:14px; z-index:2;
  width:36px; height:36px; border-radius:50%; border:none; cursor:pointer;
  background: rgba(15,24,48,.55); color:#fff; font-size:18px; display:flex; align-items:center; justify-content:center;
}
.modal-close:hover{ background: rgba(15,24,48,.8); }
.modal-cta{ margin-top: 18px; }
.no-preview{ display:flex; flex-direction:column; align-items:center; justify-content:center; height:100%; gap:10px; color: rgba(250,246,236,.7); }
.no-preview svg{ width:40px; height:40px; fill: var(--gold); }

/* ================= REVEAL ANIMATIONS ================= */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform: translateY(0); }

/* ================= RESPONSIVE ================= */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .rose-wrap{ min-height: 260px; order:-1; }
  .rose-window{ width: 220px; }
  .course-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .newsletter{ grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 720px){
  .main-nav{ position:fixed; inset: 68px 0 0 0; background: var(--ivory); flex-direction:column; align-items:flex-start; padding: 28px 28px; gap: 4px; transform: translateX(100%); transition: transform .35s var(--ease); z-index:59; }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav a{ width:100%; padding: 14px 0; border-bottom: 1px solid rgba(27,42,85,.08); font-size:16px; }
  .nav-toggle{ display:block; }
  .header-actions .btn-outline-navy{ display:none; }
  .course-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr; }
  .section{ padding: 64px 0; }
  .hero{ padding: 64px 0 88px; }
}


/* =====================================================================
   Additions — Oct 2026: logo, FAQ, event pop-up, legal pages
   ===================================================================== */
.brand-logo{ width:44px; height:44px; flex-shrink:0; object-fit:contain; }
.site-footer .brand-logo{ background:var(--ivory); border-radius:50%; padding:4px; }

/* FAQ */
.faq-list{ max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item{ background:#fff; border-radius:var(--radius-md); box-shadow:var(--shadow-card); border:1px solid rgba(27,42,85,.06); }
.faq-item summary{
  list-style:none; cursor:pointer; padding:20px 56px 20px 24px; position:relative;
  font-family:var(--font-display); font-size:21px; font-weight:600; color:var(--navy);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:'+'; position:absolute; right:22px; top:50%; transform:translateY(-50%);
  width:28px; height:28px; border-radius:50%; background:var(--ivory-deep); color:var(--gold-dim);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-body); font-size:20px; transition:transform .3s var(--ease);
}
.faq-item[open] summary::after{ content:'–'; }
.faq-item p{ margin:0; padding:0 24px 22px; color:var(--charcoal-60); line-height:1.7; font-size:15.5px; }

/* Event pop-up */
.event-pop{
  position:fixed; inset:0; z-index:300; display:flex; align-items:center; justify-content:center; padding:18px;
  background:radial-gradient(900px 600px at 50% 30%, rgba(44,61,114,.75), rgba(15,24,48,.88));
  backdrop-filter:blur(4px); opacity:0; transition:opacity .35s ease;
}
.event-pop[hidden]{ display:none; }
.event-pop.is-open{ opacity:1; }
.event-pop-box{
  position:relative; width:min(880px, 100%); max-height:calc(100vh - 36px); max-height:calc(100dvh - 36px);
  display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.05fr);
  background:var(--ivory); border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:0 40px 90px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(228,199,122,.5);
  transform:translateY(24px) scale(.97); transition:transform .5s var(--ease);
}
.event-pop.is-open .event-pop-box{ transform:none; }
.event-pop-poster{ display:block; background:#fff; overflow:hidden; }
.event-pop-poster img{ width:100%; height:100%; object-fit:cover; object-position:top; transition:transform .6s var(--ease); }
.event-pop-poster:hover img{ transform:scale(1.03); }
.event-pop-body{ padding:34px 32px 28px; overflow-y:auto; display:flex; flex-direction:column; gap:14px; }
.event-pop-eyebrow{
  display:inline-flex; align-items:center; gap:8px; align-self:flex-start;
  font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--gold-dim); background:rgba(198,149,44,.12); padding:7px 12px; border-radius:999px;
}
.live-dot{ width:8px; height:8px; border-radius:50%; background:#C0392B; box-shadow:0 0 0 0 rgba(192,57,43,.6); animation:live 1.8s infinite; }
@keyframes live{ 0%{ box-shadow:0 0 0 0 rgba(192,57,43,.55);} 70%{ box-shadow:0 0 0 10px rgba(192,57,43,0);} 100%{ box-shadow:0 0 0 0 rgba(192,57,43,0);} }
.event-pop-body h2{ font-size:clamp(28px, 4vw, 38px); }
.event-pop-body > p{ margin:0; color:var(--charcoal-60); line-height:1.65; font-size:15.5px; }
.event-pop-facts{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; font-size:15px; }
.event-pop-facts li{ display:flex; gap:10px; align-items:flex-start; }
.event-pop-facts a{ color:var(--navy); text-decoration:underline; text-underline-offset:3px; }
.event-pop-pay{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
  padding:12px 14px; border-radius:var(--radius-md); background:var(--navy); color:var(--ivory); font-size:13px; letter-spacing:.06em; text-transform:uppercase;
}
.event-copy{
  font-family:var(--font-display); font-size:24px; font-weight:700; letter-spacing:.04em; color:var(--gold-light);
  background:none; border:1px dashed rgba(228,199,122,.6); border-radius:10px; padding:4px 12px; cursor:pointer; text-transform:none;
}
.event-copy small{ font-family:var(--font-body); font-size:11px; font-weight:600; color:rgba(250,246,236,.6); letter-spacing:0; }
.event-copy.is-copied small{ color:#9BD8A7; }
.event-pop-cta{ display:flex; gap:10px; flex-wrap:wrap; margin-top:4px; }
.event-pop-close{
  position:absolute; top:12px; right:12px; z-index:3; width:40px; height:40px; border-radius:50%;
  border:none; cursor:pointer; font-size:24px; line-height:1; color:var(--navy);
  background:rgba(250,246,236,.92); box-shadow:0 6px 16px -6px rgba(0,0,0,.4);
}
.event-pop-close:hover{ background:#fff; }
@media (max-width:760px){
  .event-pop{ align-items:flex-end; padding:0; }
  .event-pop-box{ grid-template-columns:1fr; border-radius:22px 22px 0 0; max-height:94vh; max-height:94dvh; overflow-y:auto; }
  .event-pop-poster{ max-height:52vh; }
  .event-pop-body{ padding:22px 20px 26px; overflow:visible; }
}

/* Legal / info pages */
.legal-hero{ background:radial-gradient(1000px 500px at 80% -20%, var(--navy-soft), var(--navy) 50%, var(--navy-deep)); color:var(--ivory); padding:70px 0 56px; }
.legal-hero h1{ color:var(--ivory); font-size:clamp(34px, 5vw, 52px); margin-top:12px; }
.legal-hero p{ color:rgba(250,246,236,.75); margin:12px 0 0; }
.legal-hero .eyebrow{ color:var(--gold-light); }
.legal-hero .eyebrow::before{ background:var(--gold-light); }
.legal-body{ max-width:780px; margin:0 auto; padding:56px 24px 80px; line-height:1.75; font-size:16.5px; }
.legal-body h2{ font-size:28px; margin:38px 0 10px; }
.legal-body h3{ font-size:21px; margin:24px 0 6px; }
.legal-body ul{ padding-left:22px; }
.legal-body li{ margin-bottom:6px; }
.legal-body a{ color:var(--gold-dim); text-decoration:underline; text-underline-offset:3px; }
.legal-note{ background:#FFF8E6; border:1px dashed rgba(198,149,44,.6); border-radius:var(--radius-md); padding:14px 18px; font-size:14.5px; color:#6b5413; }
.legal-toc{ background:#fff; border-radius:var(--radius-md); box-shadow:var(--shadow-card); padding:18px 22px; font-size:15px; }
.legal-toc ol{ margin:6px 0 0; padding-left:20px; columns:2; column-gap:28px; }
@media (max-width:640px){ .legal-toc ol{ columns:1; } }
