/* GLORY — shared styles across all three landing pages */

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

:root{
  /* Chapter III — Pride palette. Path: Sloth lilac #B8A4D9 → Lust red #D6453F → Pride soft warm light yellow #F2E2A6.
     Chapter III is now showing, so the live accents (event bar, links, hovers) carry the Pride yellow.
     --accent is the current-chapter accent; --pride / --lust / --lilac are the fixed per-chapter colours. */
  --bg:#0a0805;
  --ink:#fff;
  --ink-soft:rgba(255,250,240,0.72);
  --ink-mute:rgba(255,248,236,0.48);
  --rule:rgba(255,248,232,0.18);
  --accent:#F2E2A6;
  --pride:#F2E2A6;
  --pride-deep:#E7CF7F;
  --lust:#D6453F;
  --serif:'EB Garamond','Cormorant Garamond',Georgia,serif;
  --display:'Cormorant Garamond','EB Garamond',Georgia,serif;
  --sans:'Inter','Helvetica Neue',Arial,sans-serif;
  --maxw:1180px;
  --gutter:clamp(20px,5vw,72px);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:var(--serif);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body{line-height:1.55;font-size:18px}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none;border-bottom:1px solid var(--rule);transition:border-color .2s ease,color .2s ease}
a:hover{border-color:var(--ink)}

/* Layout */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--gutter)}
section{padding:clamp(56px,9vw,120px) 0;border-top:1px solid var(--rule)}
section:first-of-type{border-top:0}

/* Type */
.eyebrow{font-family:var(--sans);font-weight:500;font-size:11px;letter-spacing:0.32em;text-transform:uppercase;color:var(--ink-mute)}
.display{font-family:var(--display);font-weight:500;font-size:clamp(56px,11vw,148px);line-height:0.92;letter-spacing:-0.015em;margin:0}
.h1{font-family:var(--display);font-weight:500;font-size:clamp(36px,5.4vw,68px);line-height:1.04;letter-spacing:-0.01em;margin:0 0 .4em}
.h2{font-family:var(--display);font-weight:500;font-size:clamp(28px,3.6vw,44px);line-height:1.1;letter-spacing:-0.005em;margin:0 0 .5em}
.h3{font-family:var(--display);font-weight:500;font-size:clamp(22px,2.4vw,30px);line-height:1.2;margin:0 0 .4em}
.lede{font-family:var(--display);font-style:italic;font-weight:400;font-size:clamp(22px,2.6vw,32px);line-height:1.35;color:var(--ink-soft);max-width:42ch}
p{margin:0 0 1em;color:var(--ink-soft);max-width:64ch}
small,.small{font-family:var(--sans);font-size:13px;color:var(--ink-mute);letter-spacing:.02em}

/* Header / Nav */
.nav{position:sticky;top:0;z-index:30;background:rgba(0,0,0,.78);backdrop-filter:blur(14px);border-bottom:1px solid var(--rule)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:14px var(--gutter);gap:24px}
.logo{display:flex;align-items:center;gap:12px;border:0;flex-shrink:0}
.logo svg{width:22px;height:22px}
.logo-word{font-family:var(--display);font-weight:500;font-size:20px;letter-spacing:.32em}
.nav-links{display:flex;gap:28px;font-family:var(--sans);font-size:13px;letter-spacing:.16em;text-transform:uppercase}
.nav-links a{border:0;color:var(--ink-mute)}
.nav-links a:hover{color:var(--ink)}
@media (max-width:720px){.nav-links{display:none}}

/* Event bar — ubiquitous strip showing venue + date + time + chapter (soft warm light yellow wash — Pride, Chapter III now showing) */
.event-bar{position:sticky;top:0;z-index:31;background:var(--accent);border-bottom:1px solid rgba(0,0,0,.14);color:#0a0a0a}
.event-bar + .nav{top:auto;position:relative}  /* let event-bar own the sticky top */
.event-bar-inner{display:flex;align-items:center;gap:0;padding:11px var(--gutter);font-family:var(--sans);font-size:12.5px;letter-spacing:.06em;color:#0a0a0a;min-height:42px}
.event-bar .eb-segment{display:inline-flex;align-items:center;gap:10px;padding:0 18px;border-right:1px solid rgba(0,0,0,.14);white-space:nowrap}
.event-bar .eb-segment:first-child{padding-left:0}
.event-bar .eb-segment:last-child{border-right:0;margin-left:auto;padding-right:0}
.event-bar .eb-label{font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:rgba(0,0,0,.55);opacity:1}
.event-bar .eb-value, .event-bar .eb-chapter-text{color:#0a0a0a;font-weight:600;letter-spacing:.04em}
.event-bar .eb-date{position:relative}
.event-bar .eb-date::after{content:"";position:absolute;left:0;right:0;bottom:-5px;height:2px;background:#0a0a0a;opacity:.75}
.event-bar .eb-chapter{display:inline-block;position:relative;min-height:18px}
.event-bar .eb-chapter-text{transition:opacity .65s ease}
.event-bar .eb-chapter-text.is-out{opacity:0}
.event-bar .eb-find{display:inline-flex;align-items:center;gap:8px;color:#fff;background:#0a0a0a;text-decoration:none;font-size:12px;letter-spacing:.12em;text-transform:uppercase;padding:7px 16px;border:1px solid #0a0a0a;border-radius:999px;transition:background .2s,border-color .2s,color .2s}
.event-bar .eb-find::before{content:"";display:inline-block;width:6px;height:6px;border-radius:999px;background:#fff}
.event-bar .eb-find:hover{background:#1b1b1b;border-color:#1b1b1b}
.event-bar .eb-ig{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;margin-left:10px;color:#0a0a0a;border:1.76px solid #0a0a0a;border-radius:999px;text-decoration:none;transition:transform .15s,background .2s,color .2s}
.event-bar .eb-ig svg{width:15px;height:15px;display:block;stroke-width:2.2}
.event-bar .eb-ig:hover{background:#0a0a0a;color:var(--accent);transform:scale(1.08)}

@media (max-width:900px){
  .event-bar-inner{flex-wrap:wrap;gap:8px 0;padding:10px var(--gutter)}
  .event-bar .eb-segment{padding:4px 14px;font-size:11.5px}
  .event-bar .eb-segment:nth-child(3){border-right:0}
  .event-bar .eb-chapter{flex-basis:100%;padding:6px 0 2px;border-top:1px solid rgba(0,0,0,.12);margin-top:4px;border-right:0}
  .event-bar .eb-find{margin-left:auto}
  .event-bar .eb-ig{margin-left:8px}
}
@media (max-width:560px){
  .event-bar .eb-label{display:none}
  .event-bar .eb-segment{padding:4px 10px}
  .event-bar .eb-segment:first-child{padding-left:0}
  .event-bar .eb-chapter .eb-label{display:inline;font-size:9px}
}

/* Hero */
.hero{padding-top:clamp(80px,14vw,180px);padding-bottom:clamp(60px,10vw,140px);position:relative;overflow:hidden}
.hero .eyebrow{margin-bottom:28px}
.hero .display{margin-bottom:28px}
.hero-sub{max-width:36ch}
.hero-meta{display:flex;flex-wrap:wrap;gap:20px 40px;margin-top:48px;font-family:var(--sans);font-size:13px;letter-spacing:.06em;color:var(--ink-mute)}
.hero-meta strong{display:block;color:var(--ink);font-weight:600;letter-spacing:.04em;font-size:14px;margin-bottom:4px;text-transform:uppercase}

.hero-glyph{position:absolute;right:calc(var(--gutter) * 0.6);top:50%;transform:translateY(-50%);width:min(38vw,440px);opacity:.85;pointer-events:none}
@media (max-width:980px){.hero-glyph{position:relative;right:auto;top:auto;transform:none;width:60vw;margin:48px auto 0;opacity:.7}}

/* CTA */
.btn{display:inline-flex;align-items:center;gap:10px;padding:16px 28px;font-family:var(--sans);font-size:13px;letter-spacing:.18em;text-transform:uppercase;border:1px solid var(--ink);color:var(--ink);background:transparent;transition:background .2s ease,color .2s ease;cursor:pointer}
.btn:hover{background:var(--ink);color:var(--bg)}
.btn.solid{background:var(--ink);color:var(--bg)}
.btn.solid:hover{background:transparent;color:var(--ink)}
.cta-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:40px}

/* Grid utilities */
.cols-2{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(32px,5vw,72px)}
.cols-3{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(28px,4vw,56px)}
@media (max-width:860px){.cols-2,.cols-3{grid-template-columns:1fr}}

/* Chapter cards */
.chapter{border-top:1px solid var(--rule);padding-top:32px}
.chapter .num{font-family:var(--sans);font-size:12px;letter-spacing:.32em;color:var(--ink-mute);margin-bottom:16px}
.chapter h3{margin-top:6px}

/* Quote */
.pull{font-family:var(--display);font-style:italic;font-size:clamp(26px,3.4vw,40px);line-height:1.25;letter-spacing:-.005em;color:var(--ink);max-width:30ch}
.pull::before{content:"“";display:block;font-size:1.6em;line-height:.5;color:var(--ink-mute);margin-bottom:16px}

/* Detail block */
.fact-list{list-style:none;padding:0;margin:0}
.fact-list li{display:flex;justify-content:space-between;gap:24px;padding:18px 0;border-top:1px solid var(--rule);font-family:var(--sans);font-size:14px}
.fact-list li:last-child{border-bottom:1px solid var(--rule)}
.fact-list .k{color:var(--ink-mute);text-transform:uppercase;letter-spacing:.16em;font-size:11px;flex:0 0 38%;align-self:center}
.fact-list .v{color:var(--ink);text-align:right;flex:1}

/* FAQ */
.faq details{border-top:1px solid var(--rule);padding:22px 0}
.faq details:last-of-type{border-bottom:1px solid var(--rule)}
.faq summary{cursor:pointer;list-style:none;font-family:var(--display);font-size:clamp(20px,2.4vw,26px);display:flex;justify-content:space-between;align-items:center;gap:24px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-family:var(--sans);font-weight:300;font-size:28px;color:var(--ink-mute);transition:transform .3s ease}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{margin-top:14px;color:var(--ink-soft)}

/* Footer */
footer{padding:64px 0 80px;border-top:1px solid var(--rule);font-family:var(--sans);font-size:13px;color:var(--ink-mute)}
footer .cols-3{align-items:start;gap:48px}
footer h4{font-family:var(--display);color:var(--ink);font-size:18px;margin:0 0 16px;font-weight:500;letter-spacing:.04em}
footer a{border:0;color:var(--ink-mute)}
footer a:hover{color:var(--ink)}
.fine{margin-top:56px;padding-top:24px;border-top:1px solid var(--rule);display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;color:var(--ink-mute)}

/* Tag pill */
.pill{display:inline-block;padding:6px 12px;border:1px solid var(--rule);border-radius:999px;font-family:var(--sans);font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--ink-soft)}

/* Variant: cream surface (used in wellness for contrast block) */
.surface-cream{background:#f3efe6;color:#171717}
.surface-cream p{color:rgba(23,23,23,.74)}
.surface-cream .eyebrow{color:rgba(23,23,23,.55)}
.surface-cream .pull{color:#171717}
.surface-cream .small{color:rgba(23,23,23,.55)}
.surface-cream a{color:#171717;border-color:rgba(23,23,23,.25)}
.surface-cream .btn{border-color:#171717;color:#171717}
.surface-cream .btn:hover{background:#171717;color:#f3efe6}
.surface-cream .fact-list li{border-top-color:rgba(23,23,23,.18)}
.surface-cream .fact-list li:last-child{border-bottom-color:rgba(23,23,23,.18)}
.surface-cream .fact-list .k{color:rgba(23,23,23,.55)}
.surface-cream .fact-list .v{color:#171717}

/* Variant: ivory pages can re-skin the body via class on <body> */
body.ivory{background:#f3efe6;color:#171717}
body.ivory{--bg:#f3efe6;--ink:#171717;--ink-soft:rgba(23,23,23,.74);--ink-mute:rgba(23,23,23,.5);--rule:rgba(23,23,23,.18)}

/* Subtle entrance */
.fade-up{opacity:0;transform:translateY(14px);transition:opacity .8s ease,transform .8s ease}
.fade-up.is-in{opacity:1;transform:none}

/* Numbered roman list */
.roman{counter-reset:r;list-style:none;padding:0;margin:0}
.roman li{counter-increment:r;padding:24px 0;border-top:1px solid var(--rule);display:grid;grid-template-columns:80px 1fr;gap:28px;align-items:baseline}
.roman li:last-child{border-bottom:1px solid var(--rule)}
.roman li::before{content:counter(r,upper-roman);font-family:var(--display);font-size:clamp(28px,3.4vw,42px);color:var(--ink-mute);letter-spacing:.04em}

/* Marquee-style date strip */
.datestrip{display:flex;flex-wrap:wrap;gap:24px 48px;font-family:var(--sans);font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-mute);padding:18px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.datestrip span strong{color:var(--ink);margin-right:10px;letter-spacing:.18em}

/* Partner / collaborator logos */
.partners{text-align:center;padding-top:clamp(56px,8vw,96px);padding-bottom:clamp(56px,8vw,96px)}
.partners-eyebrow{font-family:var(--sans);font-weight:500;font-size:11px;letter-spacing:.32em;text-transform:uppercase;color:var(--ink-mute);margin-bottom:48px}
.partners-row{display:flex;align-items:center;justify-content:center;gap:clamp(48px,7vw,84px);flex-wrap:wrap;width:100%}
.partner{display:inline-flex;align-items:center;justify-content:center;border:0;opacity:.85;transition:opacity .25s ease,transform .25s ease;padding:8px 0}
.partner:hover{opacity:1;transform:translateY(-2px)}
.partner img{display:block;max-width:100%;height:auto}
/* Four-partner row — sized for optical balance, not equal width. Each tuned to ~70% of previous footprint. */
img.partner-bildzweig{width:126px;max-width:126px}
img.partner-russo{width:150px;max-width:150px}
img.partner-mephisto{width:100px;max-width:100px}
img.partner-kenaz{width:56px;max-width:56px}
img.partner-rosa{width:74px;max-width:74px}
/* Tablet: keep side-by-side but tighten */
@media (max-width:900px){
  .partners-row{gap:44px}
  img.partner-bildzweig{width:110px;max-width:110px}
  img.partner-russo{width:130px;max-width:130px}
  img.partner-mephisto{width:88px;max-width:88px}
  img.partner-kenaz{width:50px;max-width:50px}
  img.partner-rosa{width:66px;max-width:66px}
}
/* Mobile: stack centered with vertical breathing room */
@media (max-width:600px){
  .partners-row{flex-direction:column !important;gap:36px !important;align-items:center !important}
  img.partner-bildzweig{width:140px;max-width:140px}
  img.partner-russo{width:170px;max-width:170px}
  img.partner-mephisto{width:108px;max-width:108px}
  img.partner-kenaz{width:62px;max-width:62px}
  img.partner-rosa{width:82px;max-width:82px}
  .partners-eyebrow{margin-bottom:36px}
}

/* Inline glyph row */
.glyph-row{display:flex;gap:48px;align-items:center;justify-content:center;padding:24px 0}
.glyph-row svg{width:64px;height:64px;color:var(--ink)}
/* Inline state mark — small, quiet, follows surrounding font/colour */
.state-mark{display:inline-block;width:1em;height:1em;vertical-align:-0.16em;color:var(--ink-soft);margin:0 0.18em;flex-shrink:0}
.state-mark svg{width:100%;height:100%;display:block}
/* Chapter ornament — sits ahead of the chapter number/eyebrow line */
.chapter-ornament{display:inline-block;width:14px;height:14px;vertical-align:-0.18em;color:var(--ink-soft);margin-right:10px}
.chapter-ornament svg{width:100%;height:100%;display:block}
/* Curve milestone marks for the Path to Glory diagram */
.curve-mark{color:var(--ink)}

/* Per-chapter book CTA */
.chapter-cta{margin-top:18px;font-family:var(--sans);font-size:13px;letter-spacing:.04em}
.chapter-cta a{color:var(--ink);border-bottom:1px solid var(--ink-soft);padding-bottom:2px;transition:color .2s, border-color .2s}
.chapter-cta a:hover{color:#fff;border-bottom-color:#fff}

/* Per-chapter venue (Chapter II steps off the meadow) */
.chapter-venue{margin-top:10px;font-family:var(--sans);font-size:12.5px;letter-spacing:.04em;color:var(--ink-soft);line-height:1.6}
.chapter-venue a{color:var(--ink-soft)}
.chapter-venue a:hover{color:var(--accent);border-bottom-color:var(--accent)}
.chapter-venue-kicker{font-family:var(--serif);font-style:italic;color:var(--ink-mute);letter-spacing:.01em}
.venue-sealed-kicker{font-family:var(--sans);font-weight:600;text-transform:uppercase;letter-spacing:.14em;font-size:.72em;color:var(--pride)}

/* Eventbar link colour-matches the dark ink on coral */
.event-bar .eb-link{color:inherit;text-decoration:none;border-bottom:1px solid rgba(0,0,0,.32);padding-bottom:1px;transition:border-color .15s}
.event-bar .eb-link:hover{border-bottom-color:#0a0a0a}

/* Now-showing chapter chip becomes a quiet scroll-link */
.event-bar .eb-now{color:inherit;text-decoration:none;border-bottom:1px solid transparent;padding-bottom:1px;transition:border-color .2s}
.event-bar .eb-now:hover{border-bottom-color:rgba(0,0,0,.45)}
.event-bar .eb-now:focus-visible{outline:2px solid #0a0a0a;outline-offset:3px;border-radius:2px}

/* Tagline rotator on hub */
.tagline-rotator{position:relative;display:block}
.tagline-rotator .tagline{display:block;opacity:0;transition:opacity 600ms ease}
.tagline-rotator .tagline:not(:first-child){position:absolute;inset:0}
.tagline-rotator .tagline.is-active{opacity:1}
@media (prefers-reduced-motion: reduce){
  .tagline-rotator .tagline{transition:none}
}

/* ============================================== */
/* Venue Mystery — lavender drifting wave pattern */
/* ============================================== */
:root{
  --lilac:#B8A4D9;
  --lilac-soft:rgba(184,164,217,0.62);
  --lilac-mute:rgba(184,164,217,0.32);
}

.venue-mystery{
  position:relative;
  display:block;
  margin:0;
  padding:18px 0 20px;
  font-family:var(--sans);
  letter-spacing:.02em;
}
.venue-mystery .vm-waves{
  display:block;
  width:100%;
  height:42px;
  overflow:hidden;
  margin-bottom:10px;
  opacity:.95;
}
.venue-mystery .vm-waves svg{
  display:block;
  width:200%;
  height:100%;
  animation:vm-drift 38s linear infinite;
}
.venue-mystery .vm-caption{
  display:block;
  color:var(--lilac);
  font-size:13px;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:500;
}
.venue-mystery .vm-sub{
  display:block;
  color:var(--lilac-soft);
  font-family:var(--serif);
  font-style:italic;
  font-size:14px;
  letter-spacing:.01em;
  margin-top:4px;
  text-transform:none;
}

/* Compact variant for inline list items (chapter rows, dl rows) */
.venue-mystery.is-inline{padding:6px 0 4px}
.venue-mystery.is-inline .vm-waves{height:18px;margin-bottom:4px}
.venue-mystery.is-inline .vm-caption{font-size:11px;letter-spacing:.22em}
.venue-mystery.is-inline .vm-sub{display:none}

@keyframes vm-drift{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
@media (prefers-reduced-motion: reduce){
  .venue-mystery .vm-waves svg{animation:none}
}

/* Real venue block — replaces the lavender mystery wave. */
.venue-block{
  padding:32px 36px;
  border:1px solid rgba(184,164,217,.35);
  border-radius:14px;
  background:rgba(184,164,217,.04);
}
.venue-block .venue-eyebrow{
  font-family:var(--sans);
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--ink-mute);
  margin-bottom:14px;
}
.venue-block .venue-name{
  font-family:var(--display);
  font-weight:500;
  font-size:clamp(22px,2.6vw,30px);
  color:var(--ink);
  margin:0 0 8px;
  letter-spacing:-0.01em;
}
.venue-block .venue-sub{
  color:var(--ink-soft);
  font-size:15px;
  margin:0 0 22px;
  max-width:48ch;
}
.venue-block .venue-list{
  list-style:none;
  margin:0 0 22px;
  padding:0;
}
.venue-block .venue-list li{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:18px;
  padding:10px 0;
  border-top:1px solid rgba(184,164,217,.18);
  font-family:var(--sans);
  font-size:13.5px;
  color:var(--ink-soft);
}
.venue-block .venue-list li:first-child{border-top:0}
.venue-block .venue-list .k{
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--ink-mute);
  padding-top:2px;
}
.venue-block .venue-list .v{color:var(--ink-soft);line-height:1.5}
.venue-block .venue-list .v a{color:var(--ink);border-bottom:1px solid rgba(184,164,217,.5)}
.venue-block .venue-list .v a:hover{border-bottom-color:#B8A4D9}
.venue-block .venue-cta{margin:0}

/* Chapter label above each venue box */
.venue-block .venue-chapter{
  font-family:var(--sans);
  font-size:11px;
  font-weight:600;
  letter-spacing:.24em;
  text-transform:uppercase;
  margin-bottom:18px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,236,232,.12);
}

/* ---- Chapter color schemes (path: Sloth lilac → Lust rose → Pride luminous white) ---- */
.venue-block+.venue-block{margin-top:22px}

/* Chapter I — Sloth · lilac (the existing scheme) */
.venue-block.ch-sloth{
  border-color:rgba(184,164,217,.35);
  background:rgba(184,164,217,.04);
}
.venue-block.ch-sloth .venue-chapter{color:#cdb6e8}
.venue-block.ch-sloth .venue-list li{border-top-color:rgba(184,164,217,.18)}
.venue-block.ch-sloth .venue-list .v a{border-bottom-color:rgba(184,164,217,.5)}
.venue-block.ch-sloth .venue-list .v a:hover{border-bottom-color:#B8A4D9}

/* Chapter II — Lust · red */
.venue-block.ch-lust{
  border-color:rgba(214,69,63,.42);
  background:rgba(214,69,63,.06);
}
.venue-block.ch-lust .venue-chapter{color:#e2564f}
.venue-block.ch-lust .venue-list li{border-top-color:rgba(214,69,63,.22)}
.venue-block.ch-lust .venue-list .v a{border-bottom-color:rgba(214,69,63,.6)}
.venue-block.ch-lust .venue-list .v a:hover{border-bottom-color:#e2564f}
.venue-block.ch-lust .btn{border-color:rgba(214,69,63,.55)}
.venue-block.ch-lust .btn:hover{border-color:#e2564f;color:#fff}

/* Chapter III — Pride · soft warm light yellow. The box is open now:
   the venue is revealed (Café Rosa). A gentle golden dawn glow, no longer sealed. */
.venue-block.ch-pride{
  border:2px solid var(--pride);
  background:rgba(242,226,166,.06);
  box-shadow:
    0 0 0 1px rgba(242,226,166,.22),
    0 0 22px rgba(242,226,166,.22),
    0 0 48px rgba(242,226,166,.12),
    inset 0 0 38px rgba(242,226,166,.04);
  animation:boxGlow 5s ease-in-out infinite;
}
.venue-block.ch-pride .venue-chapter{
  color:var(--pride);
  text-shadow:0 0 14px rgba(242,226,166,.4);
}
.venue-block.ch-pride .venue-list li{border-top-color:rgba(242,226,166,.22)}
.venue-block.ch-pride .venue-list .v a{border-bottom-color:rgba(242,226,166,.6)}
.venue-block.ch-pride .venue-list .v a:hover{border-bottom-color:var(--pride)}
.venue-block.ch-pride .btn{border-color:rgba(242,226,166,.55)}
.venue-block.ch-pride .btn:hover{border-color:var(--pride);color:#0a0a0a;background:var(--pride)}
/* The sealed Pride box: a closed glowing crate. Light pours out through the
   seams of the lid — the Gremlins crate. Centered, narrower than the open
   chapters: it is a package, not an address card. Lit up from within. */
.venue-block.ch-pride-sealed{
  position:relative;
  text-align:center;
  /* Align with the other chapter cards in .venue-section (max-width:760px).
     The "set apart" job is done by the slow mystery shimmer, not by width. */
  padding:70px 40px 44px;       /* extra top room for the lid + its light burst */
  overflow:hidden;
  isolation:isolate;
  /* the crate body: dark, lit from within at the top where the lid meets it */
  background:
    radial-gradient(160% 120% at 50% -2%, rgba(242,226,166,.55) 0%, rgba(242,226,166,.16) 14%, rgba(242,226,166,.03) 38%, rgba(20,16,8,0) 64%),
    linear-gradient(180deg, rgba(52,44,24,.55) 0%, rgba(24,18,8,.85) 40%, rgba(16,12,6,.92) 100%);
}
/* The lid line: the bright central rendija where light bursts out. */
.venue-block.ch-pride-sealed::before{
  content:"";
  position:absolute;
  left:6%; right:6%; top:30px;
  height:5px;
  border-radius:4px;
  background:linear-gradient(90deg,
    rgba(242,226,166,0) 0%,
    rgba(242,226,166,.6) 12%,
    var(--pride) 34%,
    var(--pride) 66%,
    rgba(242,226,166,.6) 88%,
    rgba(242,226,166,0) 100%);
  box-shadow:
    0 0 14px 3px rgba(242,226,166,1),
    0 0 34px 9px rgba(242,226,166,.7),
    0 0 70px 18px rgba(242,226,166,.4),
    0 14px 60px 14px rgba(242,226,166,.28);
  animation:lidLeak 11s ease-in-out infinite;
  z-index:2;
}
/* The lid: a band above the main seam carrying secondary leaking slits,
   plus a downward bloom so the light reads as escaping into the dark box. */
.venue-block.ch-pride-sealed::after{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:120px;
  pointer-events:none;
  z-index:1;
  background:
    /* downward glow plume from the seam into the box */
    radial-gradient(80% 130% at 50% 30px, rgba(242,226,166,.42), rgba(242,226,166,.10) 38%, rgba(242,226,166,0) 70%),
    /* a thinner secondary seam just below the lid */
    linear-gradient(90deg, rgba(242,226,166,0) 16%, rgba(242,226,166,.55) 38%, rgba(242,226,166,.7) 50%, rgba(242,226,166,.55) 62%, rgba(242,226,166,0) 84%),
    /* short vertical light leaks puncturing the lid edge */
    repeating-linear-gradient(90deg,
      rgba(242,226,166,0) 0 22px,
      rgba(242,226,166,.5) 22px 24px);
  background-size:100% 100%, 100% 2px, 100% 16px;
  background-position:50% 0, 50% 54px, 50% 0;
  background-repeat:no-repeat, no-repeat, repeat-x;
  -webkit-mask:linear-gradient(180deg,#000 0%, #000 30%, rgba(0,0,0,.35) 70%, rgba(0,0,0,0) 100%);
  mask:linear-gradient(180deg,#000 0%, #000 30%, rgba(0,0,0,.35) 70%, rgba(0,0,0,0) 100%);
  animation:lidLeak 11s ease-in-out .8s infinite;
}
.venue-block.ch-pride-sealed .venue-chapter,
.venue-block.ch-pride-sealed .venue-name,
.venue-block.ch-pride-sealed .venue-sub,
.venue-block.ch-pride-sealed .venue-cta{
  position:relative;
  z-index:3;
}
.venue-block.ch-pride-sealed .venue-chapter{
  border-bottom:0;
  padding-bottom:0;
  margin-bottom:18px;
}
.venue-block.ch-pride-sealed .venue-name{
  color:var(--pride);
  text-shadow:0 0 18px rgba(242,226,166,.55), 0 0 44px rgba(242,226,166,.3);
}
.venue-block.ch-pride-sealed .venue-sub{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
.venue-block.ch-pride-sealed{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.venue-block.ch-pride-sealed .venue-chapter,
.venue-block.ch-pride-sealed .venue-name,
.venue-block.ch-pride-sealed .venue-sub,
.venue-block.ch-pride-sealed .venue-cta{
  width:100%;
}
.venue-block.ch-pride-sealed .venue-cta{
  display:flex;
  justify-content:center;
  text-align:center;
  margin-top:22px;
}
/* Slow, mysterious shimmer — a long, soft breath rather than a pulse. */
@keyframes lidLeak{
  0%,100%{opacity:.74; filter:brightness(.92)}
  45%    {opacity:.88; filter:brightness(1.08)}
  62%    {opacity:1;   filter:brightness(1.22)}
  78%    {opacity:.88; filter:brightness(1.08)}
}
@media (prefers-reduced-motion:reduce){
  .venue-block.ch-pride-sealed::before,
  .venue-block.ch-pride-sealed::after{animation:none}
}
@keyframes boxGlow{
  0%,100%{box-shadow:0 0 0 1px rgba(242,226,166,.20), 0 0 18px rgba(242,226,166,.20), 0 0 42px rgba(242,226,166,.10), inset 0 0 34px rgba(242,226,166,.04)}
  50%{box-shadow:0 0 0 1px rgba(242,226,166,.30), 0 0 28px rgba(242,226,166,.32), 0 0 60px rgba(242,226,166,.18), inset 0 0 44px rgba(242,226,166,.06)}
}
.btn.btn-locked{
  cursor:default;
  opacity:.85;
  border-color:rgba(242,226,166,.55);
  color:var(--pride);
}
.btn.btn-locked:hover{background:transparent;color:var(--pride)}
@media (prefers-reduced-motion:reduce){
  .venue-block.ch-pride{animation:none}
}

/* Inline venue link (used in fact-lists and hero meta) */
.venue-link{
  color:var(--ink);
  border-bottom:1px solid rgba(184,164,217,.55);
  transition:border-color .2s;
}
.venue-link:hover{border-bottom-color:#B8A4D9}
/* chapter-coded footer venue links */
.venue-link.vl-sloth{border-bottom-color:rgba(184,164,217,.6)}
.venue-link.vl-sloth:hover{border-bottom-color:#B8A4D9}
.venue-link.vl-lust{border-bottom-color:rgba(214,69,63,.75)}
.venue-link.vl-lust:hover{border-bottom-color:#D6453F}
.venue-link.vl-pride{border-bottom-color:rgba(242,226,166,.75)}
.venue-link.vl-pride:hover{border-bottom-color:#F2E2A6}

@media (max-width:600px){
  .venue-block{padding:22px 18px}
  .venue-block .venue-list li{
    grid-template-columns:1fr;
    gap:2px;
    padding:8px 0;
  }
  .venue-block .venue-list .k{padding-top:0}
}

/* Compact venue card used inside footer columns */
.venue-mini{
  border:1px solid rgba(184,164,217,.32);
  border-radius:10px;
  padding:14px 16px;
  background:rgba(184,164,217,.04);
}
.venue-mini-name{
  font-family:var(--display);
  font-size:17px;
  color:var(--ink);
  margin-bottom:4px;
  letter-spacing:-.005em;
}
.venue-mini-sub{
  color:var(--ink-soft);
  font-size:13px;
  line-height:1.5;
  margin-bottom:10px;
}
.venue-mini-meta{
  font-family:var(--sans);
  font-size:11.5px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ink-mute);
  margin-bottom:12px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(184,164,217,.18);
}
.venue-mini-cta{margin:0;font-size:13px}

/* Standalone Find Us section above the footer */
.venue-section{padding:64px 0 32px}
.venue-section .display{
  font-size:clamp(28px,3.6vw,44px);
  margin:8px 0 28px;
  font-weight:500;
  letter-spacing:-.01em;
}
.venue-section .venue-block{max-width:760px}
.venue-section .venue-block .venue-list li{
  grid-template-columns:140px 1fr;
  font-size:14.5px;
}
@media (max-width:600px){
  .venue-section{padding:44px 0 24px}
  .venue-section .venue-block .venue-list li{
    grid-template-columns:1fr;
  }
}

/* Documentation block — Chapter I photos by Sam Kioni Roberts */
.doc-block{margin-top:8px}
.doc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:24px}
.doc-grid figure{margin:0;position:relative;overflow:hidden;background:rgba(255,255,255,.04);border:1px solid var(--rule)}
.doc-grid img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:4/5;transition:transform .6s ease,filter .6s ease;filter:saturate(.92) contrast(1.02)}
.doc-grid figure:hover img{transform:scale(1.03);filter:saturate(1) contrast(1.04)}
.doc-credit{font-family:var(--sans);font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--ink-mute);margin-top:18px}
.doc-credit a{border-bottom:1px solid var(--ink-mute)}
.doc-credit a:hover{color:var(--ink);border-bottom-color:var(--ink)}
@media (max-width:720px){.doc-grid{grid-template-columns:repeat(2,1fr);gap:8px}}
.doc-grid.doc-grid-3{grid-template-columns:repeat(3,1fr)}
@media (max-width:720px){.doc-grid.doc-grid-3{grid-template-columns:repeat(2,1fr)}}

/* Inline documentation link (sketchers, theatre) */
.doc-inline{display:inline-flex;align-items:center;gap:10px;font-family:var(--sans);font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--ink-mute);border-bottom:1px solid var(--rule);padding-bottom:2px}
.doc-inline:hover{color:var(--ink);border-bottom-color:var(--ink)}

/* Newsletter quiet line (footers) */
.fine .newsletter-line{display:block;margin-top:8px;font-family:var(--sans);font-size:12px;color:var(--ink-mute);letter-spacing:.04em}
.fine .newsletter-line a{color:var(--ink-soft);border-bottom-color:var(--ink-mute)}
.fine .newsletter-line a:hover{color:var(--ink);border-bottom-color:var(--ink)}

/* Wellness page surface override for documentation on cream */
.surface-cream .doc-grid figure{border-color:rgba(23,23,23,.12);background:rgba(23,23,23,.04)}
.surface-cream .doc-credit{color:rgba(23,23,23,.6)}
.surface-cream .doc-credit a{border-bottom-color:rgba(23,23,23,.4)}
.surface-cream .doc-credit a:hover{color:#171717;border-bottom-color:#171717}

/* Phase III · The Vision — dedicated #apply landing block (wellness) */
.apply-section{position:relative;overflow:hidden;background:radial-gradient(ellipse at 85% 30%, rgba(242,226,166,0.12), transparent 60%), var(--bg)}
.apply-grid{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:64px;align-items:start}
.apply-body{max-width:72ch}
.apply-body .eyebrow{display:inline-flex;align-items:center;gap:12px;color:var(--pride)}
.apply-body .eyebrow .state-mark{color:var(--pride);width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center}
.apply-body .eyebrow .state-mark svg{width:18px;height:18px;display:block}
.apply-body h2 em{font-style:italic;color:var(--pride);font-weight:500}
.apply-body .apply-title{max-width:none}  /* the <br/> mirror-break is the only line break; never let "peak." orphan onto a third line */
.apply-body p em{font-style:italic;color:var(--ink);font-weight:500}
.apply-mark{display:flex;justify-content:flex-end;padding-top:8px;opacity:.55}
.apply-mark svg{width:180px;height:225px;display:block}
.apply-ctas{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin-top:36px}
.apply-ctas .doc-inline{border-bottom-color:rgba(242,226,166,.45)}
.apply-ctas .doc-inline:hover{color:var(--pride);border-bottom-color:var(--pride)}
.btn-primary{display:inline-flex;align-items:center;gap:10px;background:var(--pride);color:#0a0a0a;border:1px solid var(--pride);padding:14px 26px;font-family:var(--sans);font-size:13px;letter-spacing:.16em;text-transform:uppercase;font-weight:600;border-radius:0;transition:background .2s,color .2s,transform .15s}
.btn-primary:hover{background:#0a0a0a;color:var(--pride);border-color:var(--pride);transform:translateY(-1px)}
@media (max-width:820px){
  .apply-grid{grid-template-columns:1fr;gap:32px}
  .apply-mark{justify-content:flex-start;order:-1;opacity:.45}
  .apply-mark svg{width:120px;height:150px}
}

/* ---- Documentation password gate: pixel veil + modal ---- */
.doc-grid figure{position:relative;overflow:hidden}
/* canvas veil sits above each locked image */
.doc-veil{
  position:absolute;inset:0;width:100%;height:100%;
  display:block;z-index:3;pointer-events:none;
  opacity:1;transition:opacity .9s ease;
}
.doc-grid.doc-revealed .doc-veil{opacity:0}
.doc-grid.doc-revealed figure .doc-veil{pointer-events:none}

/* Modal overlay */
.docgate-overlay{
  position:fixed;inset:0;z-index:1000;
  display:flex;align-items:center;justify-content:center;
  padding:24px;
  background:rgba(10,8,5,.72);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  opacity:0;transition:opacity .5s ease;
}
.docgate-overlay.is-open{opacity:1}
.docgate-overlay[hidden]{display:none}
.docgate-modal{
  width:min(440px,92vw);
  background:#f3efe6;color:#171717;
  border:1px solid rgba(23,23,23,.14);
  border-radius:2px;
  padding:38px 34px 34px;
  box-shadow:0 30px 80px rgba(0,0,0,.5);
  transform:translateY(10px) scale(.98);
  transition:transform .5s cubic-bezier(.16,1,.3,1);
  font-family:var(--serif);
}
.docgate-overlay.is-open .docgate-modal{transform:translateY(0) scale(1)}
.docgate-eyebrow{
  font-family:var(--sans);font-weight:500;font-size:11px;
  letter-spacing:.32em;text-transform:uppercase;
  color:rgba(23,23,23,.5);margin-bottom:14px;
}
.docgate-title{
  font-family:var(--display);font-weight:400;
  font-size:clamp(24px,3.4vw,30px);line-height:1.15;
  margin:0 0 12px;color:#171717;
}
.docgate-lede{
  font-size:15px;line-height:1.5;color:rgba(23,23,23,.72);
  margin:0 0 22px;max-width:none;
}
.docgate-form{display:flex;gap:10px;flex-wrap:wrap}
.docgate-input{
  flex:1 1 180px;min-width:0;
  font-family:var(--sans);font-size:15px;letter-spacing:.02em;
  padding:13px 15px;
  background:#fff;color:#171717;
  border:1px solid rgba(23,23,23,.28);border-radius:2px;
  outline:none;transition:border-color .2s ease;
}
.docgate-input:focus{border-color:#171717}
.docgate-submit{flex:0 0 auto;cursor:pointer}
.docgate-error{
  font-family:var(--sans);font-size:13.5px;line-height:1.55;
  color:#b23b36;margin:16px 0 0;max-width:none;
}
.docgate-error a{color:#b23b36;border-bottom:1px solid rgba(178,59,54,.5)}
.docgate-error a:hover{border-bottom-color:#b23b36}
.docgate-modal.shake{animation:docgate-shake .4s cubic-bezier(.36,.07,.19,.97)}
@keyframes docgate-shake{
  10%,90%{transform:translateX(-1px)}
  20%,80%{transform:translateX(2px)}
  30%,50%,70%{transform:translateX(-4px)}
  40%,60%{transform:translateX(4px)}
}
@media (prefers-reduced-motion: reduce){
  .doc-veil{transition:opacity .3s ease}
  .docgate-overlay,.docgate-modal{transition:opacity .2s ease}
  .docgate-modal.shake{animation:none}
}

/* Inline "enter password" control shown after modal is dismissed */
.doc-unlock{
  display:inline-flex;align-items:center;gap:8px;
  margin-top:14px;cursor:pointer;
  font-family:var(--sans);font-size:12px;font-weight:500;
  letter-spacing:.22em;text-transform:uppercase;
  color:#171717;background:transparent;
  border:1px solid rgba(23,23,23,.4);border-radius:2px;
  padding:10px 16px;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.doc-unlock::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.8}
.doc-unlock:hover{background:#171717;color:#f3efe6;border-color:#171717}
.doc-unlock[hidden]{display:none}
/* backdrop is clickable to dismiss */
.docgate-overlay{cursor:pointer}
.docgate-modal{cursor:auto}
