/* ── Event Story page (story.php) ─────────────────────────────────────────────
   Uses the site theme variables from style.css (--bg, --amber, --cream, fonts…)
   so the page matches the rest of the website. --st-space comes from the JSON. */

.story{display:block;background:var(--bg);color:var(--cream);font-family:var(--font-body);font-weight:300;line-height:1.65}
.story img{display:block;max-width:100%}

.story section{position:relative;overflow:visible;padding:0}
.story .st-section{padding:var(--st-space) 0 0}
.story .st-section--tight{padding-top:calc(var(--st-space) * .6)}
.story > .st-section:last-child{padding-bottom:var(--st-space)}
.st-container{width:100%;max-width:1240px;margin:0 auto;padding:0 3rem}

/* Typography — mirrors .sec-kicker / .sec-h / .sec-desc */
.st-eyebrow{display:flex;align-items:center;gap:.6rem;font-family:var(--font-head);font-size:.72rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--amber);margin-bottom:1rem}
.st-eyebrow span{width:24px;height:1px;background:var(--amber);flex-shrink:0}
.st-h2{font-family:var(--font-disp);font-size:clamp(1.8rem,4vw,2.5rem);font-weight:700;line-height:1.2;color:var(--cream);margin:0 0 1.25rem}
.st-h2 em,.st-h3 em{font-style:italic;color:var(--amber)}
.st-h3{font-family:var(--font-disp);font-size:1.6rem;font-weight:700;line-height:1.2;color:var(--cream);margin:0}
.st-p{font-size:1.05rem;line-height:1.8;color:var(--cream2);margin:0 0 1.1rem}
.st-p--narrow{max-width:640px}

/* Buttons — mirrors .btn-primary / .btn-secondary */
.st-btn{display:inline-flex;align-items:center;gap:.7rem;font-family:var(--font-head);font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;padding:.95rem 2rem;border-radius:3px;border:1.5px solid var(--amber);transition:all .3s}
.st-btn--primary{background:var(--amber);color:var(--bg)}
.st-btn--primary:hover{background:transparent;color:var(--amber)}
.st-btn--outline{background:transparent;color:var(--amber);border-color:#d4a85359}
.st-btn--outline:hover{background:var(--amber);border-color:var(--amber);color:var(--bg)}
.st-btn i{font-size:.95em;transition:transform .25s}
.st-btn:hover .fa-arrow-right{transform:translateX(3px)}
.st-link{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--font-head);font-size:.7rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--amber);text-decoration:none;white-space:nowrap}
.st-link:hover{color:var(--amber2)}

/* ── HERO ───────────────────────────────────────────────────────────── */
.story .st-hero{background:var(--bg);min-height:clamp(520px,80vh,720px);display:flex;align-items:center;padding:calc(68px + 3.5rem) 0 4rem;overflow:hidden;border-bottom:1px solid var(--line)}
.st-hero-media{position:absolute;top:0;right:0;bottom:0;width:62%}
.st-hero-media img{width:100%;height:100%;object-fit:cover}
.st-hero-media::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,var(--bg) 0%,#07080ab3 30%,#07080a33 65%,#07080a1a 100%),linear-gradient(0deg,#07080acc 0%,transparent 40%),linear-gradient(180deg,#07080a99 0%,transparent 25%)}
.st-hero--full .st-hero-media{width:100%}
.st-hero--full .st-hero-media::after{background:linear-gradient(90deg,var(--bg) 0%,#07080ac7 50%,#07080a66 100%)}
.st-hero::before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse 45% 60% at 18% 55%,#d4a85314 0%,transparent 70%)}
.st-hero-inner{position:relative;z-index:2}
.st-hero-inner > *{max-width:540px}
.st-hero-title{font-family:var(--font-disp);font-size:clamp(2.4rem,5vw,3.6rem);font-weight:700;line-height:1.06;color:var(--cream);margin:0 0 .9rem}
.st-hero-title .accent{color:var(--amber)}
.st-hero-sub{font-family:var(--font-disp);font-style:italic;font-size:clamp(1.25rem,2.4vw,1.7rem);line-height:1.3;color:var(--amber);margin:0 0 1.25rem}
.st-hero-desc{font-size:1.05rem;line-height:1.8;color:var(--cream2);margin:0 0 1.75rem}
.st-hero-meta{display:flex;flex-wrap:wrap;gap:1.25rem 2.5rem;margin-bottom:2.25rem}
.st-meta-item{display:flex;gap:.8rem;align-items:flex-start}
.st-meta-item i{color:var(--amber);font-size:1.2rem;margin-top:.15rem}
.st-meta-item strong{display:block;font-family:var(--font-head);font-size:.85rem;font-weight:600;letter-spacing:.03em;color:var(--cream)}
.st-meta-item span{display:block;font-size:.8rem;color:var(--muted)}

/* ── TEXT + IMAGE ───────────────────────────────────────────────────── */
.st-split{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.st-split--rev .st-split-media{order:-1}
.st-split--solo{grid-template-columns:1fr;max-width:820px}
.st-split-media{position:relative}
.st-split-media::before{content:'';position:absolute;inset:-12px 12px 12px -12px;border:1px solid var(--line);border-radius:8px;pointer-events:none}
.st-split-media img{position:relative;width:100%;aspect-ratio:6/5;object-fit:cover;border-radius:8px}

/* ── FEATURE GRID — mirrors .svc-item ───────────────────────────────── */
.st-features{display:grid;grid-template-columns:repeat(var(--st-cols),minmax(0,1fr));gap:1.25rem;margin-top:.75rem}
.st-feature{background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:2rem 1.6rem;transition:all .3s}
.st-feature:hover{border-color:var(--amber);background:var(--amber-dim);transform:translateY(-4px)}
.st-feature i{font-size:1.6rem;color:var(--amber);margin-bottom:1.2rem}
.st-feature h3{font-family:var(--font-head);font-size:.95rem;font-weight:700;letter-spacing:.02em;line-height:1.35;color:var(--cream);margin:0 0 .6rem}
.st-feature p{font-size:.92rem;line-height:1.7;color:var(--cream2);margin:0}

/* ── VIDEO ──────────────────────────────────────────────────────────── */
.st-video-card{display:grid;grid-template-columns:1.25fr 1fr;gap:3rem;align-items:center;background:var(--bg2);border:1px solid var(--line);border-radius:8px;padding:1.5rem 3rem 1.5rem 1.5rem}
.st-video-card--stack{grid-template-columns:1fr;padding:1.5rem;text-align:center}
.st-video-card--stack .st-eyebrow{justify-content:center}
.st-video{position:relative;aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:#000}
.st-video iframe,.st-video video{position:absolute;inset:0;width:100%;height:100%;border:0}
.st-video-poster{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:#000}
.st-video-poster img{width:100%;height:100%;object-fit:cover;filter:brightness(.7);transition:transform .5s,filter .3s}
.st-video-poster:hover img{transform:scale(1.03);filter:brightness(.5)}
.st-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:72px;height:72px;border-radius:50%;background:var(--amber);color:var(--bg);display:flex;align-items:center;justify-content:center;font-size:1.4rem;padding-left:4px;box-shadow:0 0 0 10px #d4a85340;transition:transform .25s}
.st-video-poster:hover .st-play{transform:translate(-50%,-50%) scale(1.08)}

/* ── GALLERY — mirrors .gal-item ────────────────────────────────────── */
.st-head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;margin-bottom:1.75rem}
.st-head-row .st-h2{margin-bottom:.5rem}
.st-head-row .st-p{margin:0}
.st-gallery{display:grid;gap:.9rem}
.st-gallery--grid{grid-template-columns:repeat(var(--st-cols),minmax(0,1fr))}
.st-gallery--grid .st-gallery-item{aspect-ratio:4/3}
/* Bento: every group of 6 = two large tiles + four small tiles */
.st-gallery--bento{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:150px;grid-auto-flow:dense}
.st-gallery--bento .st-gallery-item{grid-column:span 1;grid-row:span 1}
.st-gallery--bento .st-gallery-item:nth-child(6n+1),
.st-gallery--bento .st-gallery-item:nth-child(6n+2){grid-column:span 2;grid-row:span 2}
.st-gallery-item{position:relative;display:block;overflow:hidden;border-radius:8px;border:2px solid transparent;background:var(--surface);transition:border-color .3s,box-shadow .3s}
.st-gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease,filter .4s}
.st-gallery-item::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#07080ad9 0%,transparent 50%);opacity:0;transition:opacity .3s}
.st-gallery-item:hover{border-color:var(--amber);box-shadow:0 0 0 3px rgba(212,168,83,.18)}
.st-gallery-item:hover img{transform:scale(1.06)}
.st-gallery-item:hover::after,.st-gallery-item:hover .st-caption{opacity:1}
.st-zoom{position:absolute;top:.6rem;right:.6rem;z-index:2;width:30px;height:30px;border-radius:50%;background:#07080aa6;border:1px solid var(--line);color:var(--amber);display:flex;align-items:center;justify-content:center;font-size:.72rem}
.st-caption{position:absolute;left:.9rem;right:.9rem;bottom:.75rem;z-index:2;font-family:var(--font-head);font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--cream);opacity:0;transition:opacity .3s}

/* ── EVENT DETAILS — mirrors .stat-block ────────────────────────────── */
.st-details{display:flex;align-items:center;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:1.6rem 2rem}
.st-details-head{flex:1 1 200px;padding-right:2rem}
.st-details-head .st-eyebrow{margin-bottom:.4rem}
.st-detail{flex:1 1 180px;display:flex;gap:.9rem;align-items:flex-start;padding:.5rem 1.75rem;border-left:1px solid var(--line)}
.st-detail i{color:var(--amber);font-size:1.1rem;margin-top:.2rem}
.st-detail span{display:block;font-size:.78rem;color:var(--muted)}
.st-detail strong{display:block;font-family:var(--font-disp);font-size:1.1rem;font-weight:700;line-height:1.3;color:var(--amber)}

/* ── CALL TO ACTION — mirrors .cta-section ──────────────────────────── */
.story .st-cta{background:var(--bg2);border-top:1px solid var(--line2);padding:4.5rem 0;margin-top:var(--st-space);overflow:hidden}
.st-cta::before,.st-cta::after{content:'';position:absolute;border-radius:50%;border:1px solid var(--line);pointer-events:none}
.st-cta::before{width:260px;height:260px;left:-150px;top:-120px;box-shadow:0 0 0 22px var(--bg2),0 0 0 23px var(--line)}
.st-cta::after{width:300px;height:300px;right:-140px;bottom:-190px;box-shadow:0 0 0 22px var(--bg2),0 0 0 23px var(--line)}
.st-cta-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:2rem}
.st-cta .st-h2{margin-bottom:.6rem}
.st-cta .st-p{max-width:540px;margin:0}
.st-cta .st-btn{flex-shrink:0}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media(max-width:1024px){
  .st-container{padding:0 1.5rem}
  .st-features{grid-template-columns:repeat(min(var(--st-cols),2),minmax(0,1fr))}
  .st-video-card{grid-template-columns:1fr;padding:1.25rem;gap:1.75rem}
  .st-video-text{padding:0 .5rem .5rem}
  .st-gallery--grid{grid-template-columns:repeat(min(var(--st-cols),3),minmax(0,1fr))}
  .st-details-head{flex-basis:100%;padding:0 0 1rem}
  .st-details-head + .st-detail{border-left:0;padding-left:0}
}
@media(max-width:860px){
  .st-container{padding:0 1rem}
  .story .st-hero{min-height:0;padding:calc(68px + 12rem) 0 3rem;align-items:flex-end}
  .st-hero-media{width:100%}
  .st-hero-media::after,.st-hero--full .st-hero-media::after{background:linear-gradient(0deg,var(--bg) 0%,var(--bg) 38%,#07080a80 75%,#07080aa6 100%)}
  .st-split{grid-template-columns:1fr;gap:2.5rem}
  .st-split--rev .st-split-media{order:0}
  .st-head-row{flex-direction:column;align-items:flex-start}
  .st-gallery--bento{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:140px}
  .st-gallery--bento .st-gallery-item:nth-child(6n+2){grid-column:span 1;grid-row:span 1}
  .st-cta-inner{flex-direction:column;align-items:flex-start}
}
@media(max-width:540px){
  .st-features,.st-gallery--grid{grid-template-columns:1fr}
  .st-details{padding:1.25rem}
  .st-detail{flex-basis:100%;border-left:0;padding:.75rem 0;border-top:1px solid var(--line)}
  .st-details-head + .st-detail{border-top:0}
  .st-hero-meta{gap:1rem 1.5rem}
  .st-play{width:58px;height:58px;font-size:1.1rem}
}
