/* ---------- SESSIONS (landing + single) ----------
   Loaded after front-page.css + event.css (see omniva_assets() in
   functions.php), so this reuses .wrap/.eyebrow/.btn/.divider-ring/
   .section-head/.breadcrumb/.back-link as-is. A fresh composition distinct
   from both the Homepage Hero and the Coming Soon pulse — one single
   oversized, dim background wordmark ("OMNIVA SESSIONS") centered behind
   the hero, with the foreground title sitting on top of it. No pulse/
   signal mark. */

/* ---------- Landing hero ----------
   Kept just tall enough to give the moving background wordmark room to
   breathe around the foreground title, without leaving a dead gap before
   "Latest Sessions" below (see .sessions-grid-section's padding-top
   override further down, which removes the global `section{padding:110px 0}`
   top gap on top of this). Cinematic black/red gradient + marquee motion
   share the same visual tokens/keyframe as .feature-marquee
   (assets/css/front-page.css, tokens defined in style.css :root) — same
   design family, but dialed down via its own --marquee-speed/--marquee-
   opacity so it reads as a page header, not a promotional block. Height
   stays independently controlled via this rule's own min-height/padding. */
.sessions-hero{--marquee-speed:58s;--marquee-opacity:.12;
  position:relative;min-height:56vh;display:flex;align-items:center;padding:150px 0 40px;overflow:hidden;isolation:isolate;}
.sessions-hero-bg{position:absolute;inset:0;z-index:0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 30%, var(--marquee-glow-red-dim), transparent 60%),
    linear-gradient(180deg, var(--marquee-black) 0%, var(--marquee-burgundy) 22%, var(--marquee-red-deep) 50%, var(--marquee-red-dark) 78%, var(--marquee-black) 100%);}
.sessions-hero-bg::after{content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse 90% 70% at 50% 100%, rgba(0,0,0,.6), transparent 55%);}
.sessions-hero-inner{position:relative;z-index:2;max-width:640px;margin:0 auto;text-align:center;}
.sessions-hero-inner .eyebrow{justify-content:center;}
.sessions-hero h1{font-size:clamp(38px,6vw,68px);font-weight:600;margin-top:16px;color:#fff;}
.sessions-hero-inner p{margin:20px auto 0;font-size:17px;line-height:1.7;color:var(--ink-dim);max-width:560px;}

/* Background typography — a single continuous phrase, scaled with viewport
   width so it spans most/all of the hero at every breakpoint, drifting
   slowly right-to-left behind the foreground title using the same
   marquee-scroll-x keyframe as the Feature Marquee (style.css). Kept
   low-opacity (--marquee-opacity above) so the foreground "OMNIVA Sessions"
   title stays clearly dominant, and noticeably dimmer than the Homepage
   Feature Marquee's own opacity — atmospheric, not promotional.
   .sessions-hero's overflow:hidden crops it at the viewport edge where it
   runs wider than the hero. The track holds two identical copies of the
   phrase back to back; animating translateX from 0 to -50% moves exactly
   one copy's width, so the loop restarts on an identical frame with no
   visible jump — still reads as one continuous "OMNIVA SESSIONS" stream,
   never two different phrases. prefers-reduced-motion gets an explicit
   static rule below (in addition to the global handling in style.css) so
   the resting frame is guaranteed clean rather than mid-animation. */
.sessions-hero-bgtype{position:absolute;top:50%;left:0;width:100%;z-index:1;transform:translateY(-50%);
  overflow:hidden;pointer-events:none;}
.sessions-hero-bgtype-track{display:flex;width:max-content;animation:marquee-scroll-x var(--marquee-speed) linear infinite;}
.sessions-hero-bgtype-item{flex:0 0 auto;white-space:nowrap;font-family:'Space Grotesk',sans-serif;font-weight:700;
  line-height:1;font-size:clamp(56px,11vw,200px);letter-spacing:-.02em;color:#fff;opacity:var(--marquee-opacity);padding-right:.5em;}
@media (prefers-reduced-motion: reduce){
  .sessions-hero-bgtype-track{animation:none;transform:translateX(0);}
}

/* ---------- Grid ----------
   Overrides the global `section{padding:110px 0;}` (front-page.css) on the
   top edge only — the hero above already provides its own bottom breathing
   room (padding-bottom:40px), so the two combined were leaving a large dead
   gap before "Latest Sessions" once the hero's min-height was reduced. */
.sessions-grid-section{padding-top:40px;}
.sessions-grid-section .section-head{max-width:none;}
.sessions-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.session-card{display:block;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--bg-raised);
  transition:border-color .25s ease, transform .25s ease;}
.session-card:hover{border-color:var(--red);transform:translateY(-4px);}
.session-card-media{position:relative;aspect-ratio:4/5;background:var(--bg);overflow:hidden;}
.session-card-media img{width:100%;height:100%;object-fit:cover;filter:grayscale(.2) contrast(1.05);transition:transform .3s ease;}
.session-card:hover .session-card-media img{transform:scale(1.04);}
.session-card-media-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:var(--bg-raised);}
.session-card-media-placeholder img{width:56px;height:56px;object-fit:contain;opacity:.35;}
.session-card-status{position:absolute;top:16px;left:16px;font-family:'JetBrains Mono',monospace;font-size:10px;font-weight:600;
  letter-spacing:.1em;text-transform:uppercase;border-radius:100px;padding:5px 12px;}
.session-card-status.is-live{color:#fff;background:var(--red);}
.session-card-status.is-soon{color:var(--ink);border:1px solid var(--line);background:rgba(0,0,0,.6);backdrop-filter:blur(4px);}
.session-card-body{padding:20px 22px 24px;}
.session-card-number{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--red-bright);margin-bottom:8px;}
.session-card-artist{font-family:'Space Grotesk',sans-serif;font-size:19px;font-weight:600;}
.session-card-location{margin-top:4px;font-size:13px;color:var(--ink-dim);}

/* ---------- Single Session ---------- */
.session-single-head{max-width:820px;margin-bottom:36px;}
.session-single-head h1{font-size:clamp(30px,4.4vw,48px);font-weight:600;margin-top:12px;}
.session-single-meta{display:flex;gap:24px;flex-wrap:wrap;margin-top:18px;font-family:'JetBrains Mono',monospace;font-size:13px;
  letter-spacing:.05em;text-transform:uppercase;color:var(--ink-dim);}
.session-single-meta-item a{color:var(--ink);transition:color .2s ease;}
.session-single-meta-item a:hover{color:var(--red-bright);}
.session-single-frame{position:relative;width:100%;aspect-ratio:16/9;border-radius:20px;overflow:hidden;border:1px solid var(--line);background:#000;}
.session-single-frame video,
.session-single-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;}
.session-single-frame-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;
  background-size:cover;background-position:center;background-color:var(--bg-raised);}
.session-single-frame-placeholder::before{content:'';position:absolute;inset:0;background:rgba(0,0,0,.7);}
.session-single-frame-placeholder img{position:relative;width:52px;height:52px;object-fit:contain;opacity:.7;}
.session-single-frame-placeholder span{position:relative;font-family:'JetBrains Mono',monospace;font-size:12px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink-dim);}
.session-single-description{max-width:720px;margin-top:32px;}
.session-single-description p{color:var(--ink-dim);font-size:16px;line-height:1.8;margin-bottom:14px;}

.session-single-nav{display:flex;justify-content:space-between;gap:20px;padding:48px 0 0;flex-wrap:wrap;}
.session-single-nav-link{font-family:'JetBrains Mono',monospace;font-size:13px;letter-spacing:.05em;text-transform:uppercase;
  color:var(--ink-dim);transition:color .2s ease;max-width:46%;}
.session-single-nav-link:hover{color:var(--red-bright);}
.session-single-nav-link.is-next{margin-left:auto;text-align:right;}

@media (max-width:900px){
  .sessions-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:600px){
  .sessions-hero{min-height:auto;padding:120px 0 36px;}
  .sessions-grid-section{padding-top:28px;}
  .sessions-grid{grid-template-columns:1fr;}
  .session-single-nav-link{max-width:100%;}
}
