/* Endgame Town Hall 2026 : Homepage
   Implemented from Figma "Endgame Townhall 2026 v4", node 198:820 (DT-Homepage).
   Font: BDO Grotesk (SIL OFL, self-hosted); Work Sans for the ticket BUY NOW label. */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "BDO Grotesk";
  src: url("assets/fonts/BDOGrotesk-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "BDO Grotesk";
  src: url("assets/fonts/BDOGrotesk-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "BDO Grotesk";
  src: url("assets/fonts/BDOGrotesk-DemiBold.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "BDO Grotesk";
  src: url("assets/fonts/BDOGrotesk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #000000;
  --text: #ffffff;
  --text-muted: #eaeaea;
  --card-bg: rgba(255, 255, 255, 0.05);
  --border: rgba(234, 234, 234, 0.2);
  --border-soft: rgba(255, 255, 255, 0.1);
  --green: #00af6f;
  --maxw: 1440px;
  --pad: 120px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  --gradient-warm: linear-gradient(135deg, #f9b233 0%, #f07a3d 42%, #f4295f 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "BDO Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400;
  text-align: center;
}

/* Big faint watermark heading behind section titles.
   A slow light band sweeps across (shimmer) over the base vertical fade,
   and it reveals with a fade-up when scrolled into view. */
.watermark {
  font-weight: 300;
  font-size: clamp(70px, 15.5vw, 223px);
  line-height: 0.85;
  text-align: center;
  white-space: nowrap;
  background-image:
    linear-gradient(100deg, transparent 32%, rgba(255, 255, 255, 0.22) 50%, transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15) 21%, rgba(35, 35, 35, 0.15) 70%);
  background-size: 250% 100%, 100% 100%;
  background-position: 200% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 1s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.watermark.in-view {
  opacity: 1;
  transform: none;
  animation: wm-shimmer 7s linear 0.4s infinite;
}
@keyframes wm-shimmer {
  from { background-position: 200% 0, 0 0; }
  to { background-position: -120% 0, 0 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-lg { padding: 14px 24px; }

.btn-outline {
  border: 1px solid var(--border);
  color: #fff;
  background: transparent;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

/* Standard gradient button : uses the exported orange→pink button asset */
.btn-gradient {
  position: relative;
  color: #fff;
  background-color: #f4295f;
  background-image: url("home-assets/btn-orange.png");
  background-size: cover;
  background-position: center;
}
.btn-gradient:hover { filter: brightness(1.08); }

.btn-white {
  background: #fff;
  color: #0a0a0a;
}
.btn-white:hover { filter: brightness(0.92); }

/* Dark pill used on bright backgrounds (CTA banner) */
.btn-dark {
  background: linear-gradient(180deg, #201512, #000);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 22px;
}
.btn-dark:hover { filter: brightness(1.25); }

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 32px 0;
  background: linear-gradient(180deg, rgba(6, 6, 6, 0.75), rgba(6, 6, 6, 0));
  transition: background 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.3);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  padding: 18px 0;
}
/* Constrains header content to the same 1440 grid + 120px edges as every
   section, so the logo (left) and Buy Ticket (right) align with all content. */
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  position: relative;
  width: 181px;
  height: 50px;
  flex-shrink: 0;
}
.logo img { position: absolute; max-width: none; }
.logo-endgame { left: 28.22%; top: 0; width: 43.56%; height: 39.32%; }
.logo-townhall { left: 0; top: 48.05%; width: 100%; height: 51.96%; }

.nav { display: flex; align-items: center; gap: 20px; }
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 16px;
  padding: 10px 0;
}
.nav-links a:hover { color: #fff; }
/* Disabled nav items (Speakers, Agenda — not live yet) */
.nav-disabled {
  color: rgba(255, 255, 255, 0.32);
  font-weight: 600;
  font-size: 16px;
  padding: 10px 0;
  cursor: not-allowed;
  user-select: none;
}
.nav-actions { display: flex; gap: 16px; align-items: center; }
/* Social icons in the header, left of Buy Ticket */
.nav-social {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-muted);
  transition: color 0.15s ease, transform 0.15s ease;
}
.nav-social a:hover { color: #fff; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* header clearance on top, modest breathing room at bottom : no dead space */
  padding: 200px 0 96px;
}
/* Fallback gradient behind the video: visible while it loads or if
   autoplay is blocked on mobile, so the hero never looks empty. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000 url("home-assets/gradasi-atas.png") no-repeat top center;
  background-size: 100% min(58vh, 520px);
}
/* KV loop video (EGTH Loop animation KV.mp4) as the hero banner background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  /* Fade in once the first frame is decoded : avoids a raw-decode flash on load */
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero-video.ready { opacity: 1; }
/* Autoplay blocked (Low Power Mode / Data Saver): hide the element entirely
   so the browser's native play glyph can never appear. */
.hero-video.blocked { opacity: 0 !important; visibility: hidden; }
/* Legibility scrim: keeps the headline readable and fades the lower half to
   black so the meta row and buttons sit on solid black, matching the design. */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 30%, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.9) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.85) 78%, #000 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-title {
  font-weight: 400;
  font-size: clamp(38px, 6vw, 86px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}
.hero-title .line { display: block; }

/* Meta row spans the full content width: date left, time centered, venue right :
   left/right edges line up with the logo and Buy Ticket button. */
.hero-meta {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin-top: 88px;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.hero-meta li { flex: 1; }
.hero-meta li:first-child { text-align: left; }
/* nudge the centre date slightly left so it reads optically centred against the long venue on the right */
.hero-meta li:nth-child(2) { text-align: center; transform: translateX(-18px); }
.hero-meta li:last-child { text-align: right; }

/* ---- Video-hero mode: the animated title lives inside the video ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero-video-mode { min-height: 90vh; align-items: flex-end; padding: 140px 0 56px; }
.hero-video-mode .hero-video { opacity: 1; object-position: center center; }
/* keep the poster visible if autoplay is blocked (never a black hero) */
.hero-video-mode .hero-video.blocked { opacity: 1 !important; visibility: visible; }
/* no scrim: let the full video show. Meta stays legible via a soft text-shadow. */
.hero-video-mode .hero-scrim { display: none; }
.hero-video-mode .hero-meta { margin-top: 0; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); }

.hero-actions {
  margin-top: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---- Gooey hero headline morph (plays once on load, like the coming-soon page) ---- */
.intro-hero .hero-title {
  filter: url(#threshold) blur(0.6px);
}
.intro-hero .hero-title .line {
  opacity: 0;
  animation: hero-line-in 1.1s cubic-bezier(0.25, 0.6, 0.3, 1) forwards;
  will-change: filter, opacity;
}
.intro-hero .hero-title .line:nth-child(1) { animation-delay: 0.15s; }
.intro-hero .hero-title .line:nth-child(2) { animation-delay: 0.75s; }
@keyframes hero-line-in {
  from { opacity: 0.02; filter: blur(0.5em); }
  70% { opacity: 0.85; }
  to { opacity: 1; filter: blur(0em); }
}
.hero-actions-right { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==================== KEY TOPICS ==================== */
.topics {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px var(--pad) 60px;
}
.topics-head, .tickets-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}
.topics-eyebrow, .tickets-eyebrow {
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 400;
  text-align: center;
  position: relative;
  z-index: 1;
}
.tickets-eyebrow { text-transform: uppercase; }
/* watermark overlaps just under the eyebrow */
.topics-head .watermark,
.tickets-head .watermark {
  margin-top: -0.15em;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 72px 24px;
  margin-top: 40px;
}
/* Desktop: the two page wrappers dissolve so all 8 topics fill the 4-col grid */
.topics-page { display: contents; }
.topics-pager { display: none; }
.topic {
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.topic h3 {
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 24px;
  transition: color 0.3s ease;
}
.topic p {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}
/* Hover: lift the card, warm-gradient the title, brighten the copy */
.topic:hover {
  transform: translateY(-8px);
}
.topic:hover h3 {
  background: linear-gradient(90deg, #f9b233, #f4642f 45%, #f4295f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.topic:hover p {
  color: rgba(255, 255, 255, 0.95);
}

/* ==================== TICKETS ==================== */
.tickets {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px var(--pad) 80px;
}
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.ticket-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  background: var(--card-bg);
  /* Entrance reveal (staggered by JS) + hover lift */
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.3s ease;
}
.ticket-card.in-view { opacity: 1; transform: none; }
.ticket-card.in-view:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.ticket-head {
  position: relative;
  text-align: center;
  padding: 12px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background-color: #0a0a0a;
  background-size: cover;
  background-position: center;
}
/* Per client feedback: Scholars & Luminaries name-bars are plain (solid) —
   only Pioneers keeps the gradient strip. */
.ticket-head-scholars,
.ticket-head-luminaries { background-image: none; }
.ticket-head-pioneers { background-image: url("home-assets/ticket-pioneers-head.png"); }

.ticket-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 24px;
  background: var(--card-bg);
}
/* Wider gap between the price/seats block and "TICKET INCLUDES" so the card breathes */
.ticket-body-top { display: flex; flex-direction: column; gap: 48px; }

.ticket-price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.ticket-tier {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ticket-old {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  color: var(--text-muted);
}
.ticket-old .strike { text-decoration: line-through; }
.ticket-old .save {
  background: var(--green);
  color: #0a0a0a;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 100px;
}
.ticket-price {
  font-size: 35px;
  color: var(--text-muted);
  line-height: 1;
}
.ticket-price-lg { font-size: 40px; color: #fff; margin-top: 8px; }
.ticket-price-soon { font-size: 34px; letter-spacing: 0.01em; }
.ticket-seats {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* TradingView-style rolling numbers (odometer) */
.odo {
  display: inline-flex;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
  white-space: pre;
}
.odo-c { display: inline-block; white-space: pre; }
.odo-d {
  display: inline-block;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  vertical-align: baseline;
}
.odo-strip {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.odo-strip > span { display: block; height: 1em; line-height: 1; text-align: center; }

.ticket-includes { display: flex; flex-direction: column; gap: 15px; }
.includes-label {
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
}
/* Coming-soon tier: no benefit list, just a centred note */
.ticket-includes-soon { align-items: center; justify-content: center; min-height: 160px; text-align: center; }
.ticket-soon-note { font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, 0.78); max-width: 220px; line-height: 1.5; }
.ticket-card-featured .ticket-soon-note { color: rgba(255, 255, 255, 0.92); }
.ticket-includes ul { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.ticket-includes li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.3;
}
.ticket-includes b { font-weight: 700; }
.check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: #fff;
  position: relative;
}
.check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 4px;
  height: 8px;
  border: solid #0a0a0a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Per client feedback: in-card CTA buttons are hidden — one "Buy Now" (header style)
   sits above the disclaimer and links straight to GoersApp. */
.ticket-btn { display: none; }
.tickets-cta { text-align: center; margin: 20px 0 44px; }
.tickets-buy { padding: 16px 52px; font-size: 16px; border-radius: 8px; }
.ticket-btn:hover { background: rgba(255, 255, 255, 0.08); }
/* Promo banner inside the Scholars ticket card */
.ticket-banner {
  display: block;
  margin-top: 16px;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease;
}
.ticket-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.ticket-banner:hover { transform: translateY(-2px); }
.ticket-btn-solid { background: #fff; color: #0a0a0a; border-color: #fff; }
.ticket-btn-solid:hover { filter: brightness(0.92); background: #fff; }
/* Disabled ticket button (e.g. Pioneers — Coming Soon) */
.ticket-btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Featured Pioneers card: full warm→purple gradient */
.ticket-card-featured {
  border: none;
}
.ticket-card-featured .ticket-body {
  background-color: #f4295f;
  background-image: url("home-assets/ticket-pioneers-bg.png");
  background-size: cover;
  background-position: center;
}
.ticket-card-featured .ticket-price,
.ticket-card-featured .ticket-seats { color: #fff; }
.ticket-card-featured .check { background: #fff; }

.tickets-disclaimer {
  text-align: center;
  max-width: 1180px;
  margin: 40px auto 0;
}
/* Toned down per client feedback (the exclusion copy was hurting conversion) */
.disclaimer-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.4);
}
.disclaimer-body {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.32);
}
.tickets-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  text-align: center;
}
.tickets-contact p { font-size: clamp(16px, 1.6vw, 20px); }
.tickets-contact a[href^="#"] { text-decoration: underline; }

/* ==================== PAST TOWNHALL CAROUSEL ==================== */
.past { padding: 80px 0; }
.past .section-title { margin-bottom: 40px; }
/* Left edge aligns with the content grid; the gallery bleeds full to the
   right edge (no right gutter) so the next slide peeks off-screen. */
.carousel {
  position: relative;
  max-width: none;
  margin: 0;
  padding-left: max(var(--pad), calc((100% - var(--maxw)) / 2 + var(--pad)));
  padding-right: 0;
}
.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
}
.carousel-track:active { cursor: grabbing; }
.carousel-track::-webkit-scrollbar { display: none; }
/* Each slide is slightly narrower than the viewport so the next one peeks
   on the right, matching the Figma carousel. */
.carousel-slide {
  flex: 0 0 92%;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
}
.carousel-slide img {
  width: 100%;
  height: clamp(280px, 48.5vw, 700px);
  object-fit: cover;
  pointer-events: none;
}
/* Clean look like Figma — no overlaid arrow buttons (auto-advance + drag) */
.carousel-btn { display: none; }

/* ==================== FAQ ==================== */
.faq {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px var(--pad);
}
.faq .section-title { margin-bottom: 40px; }
/* Two columns */
.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}
.faq-col { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.25s ease;
}
.faq-item:hover { border-color: rgba(255, 255, 255, 0.45); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  font-size: clamp(15px, 1.5vw, 17px);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* Hover: nudge the question right and brighten it; grow the +/- icon */
.faq-item:hover summary { color: #fff; padding-left: 6px; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.25s ease, color 0.25s ease;
}
.faq-item:hover summary::after { color: #fff; transform: scale(1.2); }
.faq-item[open] summary { color: #fff; }
.faq-item[open] summary::after { content: "\2212"; transform: rotate(180deg); }
.faq-answer {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  max-width: 95%;
}
/* Answer eases in each time an item opens */
.faq-item[open] .faq-answer {
  animation: faq-answer-in 0.38s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes faq-answer-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== CTA BANNER ==================== */
.cta {
  padding: 40px var(--pad) 80px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.cta-inner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  padding: 72px 60px;
  min-height: 300px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background-color: #000;
  background-image: url("home-assets/bg-cta-banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cta-text {
  flex: 1;
  text-align: right;
  text-transform: uppercase;
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-shadow: 0 0 40px rgba(245, 183, 0, 0.35);
}
/* Gradient pill: "Become Our Sponsor" (pink → gold, per mockup) */
.btn-sponsor-pill {
  flex-shrink: 0;
  padding: 14px 26px;
  border-radius: 100px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background-image: linear-gradient(90deg, #e43671 0%, #f07a3d 55%, #f5b700 100%);
}
.btn-sponsor-pill:hover { filter: brightness(1.08); }

/* ==================== TICKET PAGE ==================== */
/* First section clears the fixed header (no hero on this page) */
.ticket-main { position: relative; z-index: 1; }
.ticket-page .tickets { padding-top: 200px; }
.ticket-page .faq { padding-top: 200px; }
/* Purple top bleed (Gradasi Atas) behind the header/top */
.page-top-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: min(52vh, 460px);
  background-image: url("home-assets/gradasi-atas.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: 0;
  pointer-events: none;
}

.speakers {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--pad) 100px;
}
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
/* Empty placeholder cards (speakers not announced yet) */
.speaker-card {
  aspect-ratio: 280 / 329;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(234, 234, 234, 0.08);
  border-radius: 5px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.25s ease;
}
.speaker-card.in-view { opacity: 1; transform: none; }
.speaker-card.in-view:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.28);
}

.view-all {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}
.view-all a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.15s ease, gap 0.2s ease;
}
.view-all a:hover { background: rgba(255, 255, 255, 0.08); gap: 18px; }
.view-all svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ==================== THANK YOU PAGE ==================== */
.thanks {
  max-width: 720px;
  margin: 0 auto;
  padding: 220px var(--pad) 160px;
  text-align: center;
}
.thanks-eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}
.thanks-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 24px;
}
.thanks-desc {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin: 0 auto 40px;
}
.thanks-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== TERMS / LEGAL PAGE ==================== */
.legal { padding-top: 200px; }
.legal-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--pad) 120px;
}
.legal-title {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  text-align: center;
}
.legal-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 30px 0;
}
.legal-list {
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.legal-list li {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  padding-left: 10px;
}

/* ==================== APPLY TO SPEAK PAGE ==================== */
.apply-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 200px var(--pad) 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.apply-eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}
.apply-heading {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 24px;
}
.apply-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 32px;
  max-width: 560px;
}
.apply-hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Sponsor page: hero text (left) sits beside the form (right); text stays in view */
.sponsor-hero { padding-bottom: 100px; }
.sponsor-hero .apply-hero-left {
  position: sticky;
  top: 120px;
}

/* Shared benefit card (hero-right + speaker-benefit) */
.benefit-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(234, 234, 234, 0.1);
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s ease;
}
.benefit-card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.28); }
.benefit-card h3 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}
.benefit-card p {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.speaker-benefit {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--pad);
}
.benefit-title {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  text-align: center;
  margin-bottom: 40px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Apply form */
.apply-form-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px var(--pad) 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
/* Left column stays in view while the form scrolls */
.apply-form-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}
.apply-form-intro h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  margin-bottom: 20px;
}
/* Required-field asterisk */
.req { color: #f4642f; margin-left: 3px; }
.apply-form-intro p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
}
.apply-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-field { display: flex; flex-direction: column; gap: 10px; }
.form-field label,
.form-field .field-label {
  font-size: 16px;
  color: #fff;
}
.form-field input,
.form-field select {
  width: 100%;
  height: 51px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(234, 234, 234, 0.15);
  border-radius: 6px;
  font-family: inherit;
  font-size: 16px;
  color: #fff;
  transition: border-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}
.form-field input::placeholder { color: rgba(255, 255, 255, 0.4); }
.form-field input:focus,
.form-field select:focus { outline: none; border-color: rgba(255, 255, 255, 0.5); }
.select-wrap { position: relative; }
.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.6);
}
.form-field select:invalid { color: rgba(255, 255, 255, 0.4); }

.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio {
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 51px;
  padding: 0 16px;
  border: 1px solid rgba(234, 234, 234, 0.15);
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.radio:hover { border-color: rgba(255, 255, 255, 0.35); }
.radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s ease;
}
.radio input:checked + .dot { border-color: #f4642f; }
.radio input:checked + .dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #f4642f;
}
.radio:has(input:checked) { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.04); }

/* Vertical checkbox options (sponsor goals) */
.checkbox-list { display: flex; flex-direction: column; gap: 12px; }
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 51px;
  padding: 0 16px;
  border: 1px solid rgba(234, 234, 234, 0.15);
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.checkbox-row:hover { border-color: rgba(255, 255, 255, 0.35); }
.checkbox-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox-row .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s ease;
}
.checkbox-row input:checked + .dot { border-color: #f4642f; }
.checkbox-row input:checked + .dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #f4642f;
}
.checkbox-row:has(input:checked) { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.04); }

.apply-submit {
  align-self: flex-start;
  min-width: 179px;
  padding: 12px 40px;
  margin-top: 4px;
}
.form-note { font-size: 15px; color: #f9b233; min-height: 0; }
.form-note:empty { display: none; }
.form-disclaimer {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}

/* ==================== FOOTER ==================== */
.site-footer {
  position: relative;
  padding-top: 120px;
}
.footer-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 200px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(245, 150, 40, 0.9), rgba(244, 100, 40, 0.3) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--pad) 60px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}
/* Per client feedback: endgame + SGPP logos side by side (no "A Program By" label) */
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
}
/* logo-endgame.svg uses preserveAspectRatio="none", so it must get a box that
   matches its viewBox ratio (~4.02:1) or it stretches ("gepeng"). */
.footer-endgame { width: 121px; height: 30px; display: block; }
.footer-program-logo { width: 190px; height: auto; }
.footer-social {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}
.footer-social a { color: #fff; opacity: 0.9; transition: opacity 0.15s ease; }
.footer-social a:hover { opacity: 1; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  :root { --pad: 48px; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .ticket-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .faq-list { gap: 0 40px; }
  .speakers-grid { grid-template-columns: repeat(3, 1fr); }
  .apply-hero { grid-template-columns: 1fr; gap: 32px; }
  .apply-form-section { grid-template-columns: 1fr; gap: 32px; }
  .apply-form-intro { position: static; top: auto; }
  .sponsor-hero .apply-hero-left { position: static; top: auto; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --pad: 20px; }

  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 6, 0.98);
    backdrop-filter: blur(12px);
    justify-content: center;
    gap: 40px;
    padding: 40px;
  }
  .nav.open .nav-links { flex-direction: column; gap: 28px; text-align: center; }
  .nav.open .nav-links a,
  .nav.open .nav-disabled { font-size: 22px; }
  .nav.open .nav-actions { flex-direction: column; width: 100%; max-width: 280px; gap: 24px; }
  .nav.open .nav-actions .btn { width: 100%; padding: 14px; }
  .nav.open .nav-social { gap: 12px; }
  .nav.open .nav-social a { width: 44px; height: 44px; }
  .nav.open .nav-social svg { width: 24px; height: 24px; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* header-inner already handles horizontal padding — vertical only here */
  .site-header { padding: 16px 0; }

  /* Mobile tap targets: minimum ~44px for comfortable touch */
  .nav-toggle {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .btn { min-height: 46px; }
  .ticket-btn { height: 46px; }
  .footer-social { gap: 4px; }
  .footer-social a { padding: 10px; }
  .footer-contact a { padding: 10px 0; }

  .hero { min-height: 0; height: auto; max-height: none; padding: 150px 0 80px; }
  /* mobile hero video: full screen width (blends to black at its edges), meta below */
  .hero-video-mode { min-height: 0; height: auto; display: block; padding: 64px 0 32px; }
  .hero-video-mode .hero-bg { position: relative; inset: auto; height: auto; overflow: visible; background: transparent; }
  .hero-video-mode .hero-video { position: relative; inset: auto; display: block; width: 100%; height: auto; object-fit: contain; }
  .hero-video-mode .hero-inner { padding-top: 14px; }
  .hero-video-mode .hero-meta { margin-top: 0; }
  .hero-meta { flex-direction: column; gap: 12px; margin-top: 48px; }
  .hero-meta li, .hero-meta li:first-child, .hero-meta li:last-child { text-align: center; }
  .hero-meta li:nth-child(2) { transform: none; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 36px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions-right { flex-direction: column; }

  .topics { padding-top: 80px; }
  /* Mobile: paged carousel — 4 topics per page, swipeable, with a pager */
  .topics-grid {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    margin-top: 24px;
  }
  .topics-grid::-webkit-scrollbar { display: none; }
  .topics-page {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
  .topics-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 36px;
  }
  .topics-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
  }
  .topics-nav:hover { background: rgba(255, 255, 255, 0.08); }
  .topics-nav:disabled { opacity: 0.3; cursor: default; }
  .topics-indicator { font-size: 16px; font-weight: 600; min-width: 56px; text-align: center; }

  .faq-list { grid-template-columns: 1fr; gap: 0; }

  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .ticket-page .tickets, .ticket-page .faq { padding-top: 120px; }

  /* CTA banner stacks: heading on top, sponsor pill below */
  .cta-inner { flex-direction: column; align-items: center; text-align: center; padding: 56px 28px; gap: 28px; }
  .cta-text { order: -1; text-align: center; }
  .legal, .apply-hero { padding-top: 120px; }
  .radio { min-width: 100%; flex: 1 1 100%; }

  .carousel-slide { flex: 0 0 90%; }

  /* Mobile footer order (per Figma): email → social → brand/logo/program */
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }
  .footer-contact { order: 0; }
  .footer-social { order: 1; justify-content: center; }
  .footer-brand { order: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .watermark {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .watermark.in-view { animation: none; }
}

/* ==================== SPEAKERS PAGE ==================== */
.speakers-page, .agenda-page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 190px var(--pad) 100px;
}
.cms-error { color: rgba(255, 255, 255, 0.6); font-size: 16px; padding: 40px 0; }
.sp-section-title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
}
.sp-featured { margin-top: 8px; }
.sp-featured-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sp-pager { display: flex; align-items: center; gap: 18px; }
.sp-nav {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent; color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.sp-nav:hover { background: rgba(255, 255, 255, 0.08); }
.sp-nav:disabled { opacity: 0.3; cursor: default; }
.sp-indicator { font-size: 15px; font-weight: 600; min-width: 54px; text-align: center; }

.sp-featured-track {
  display: flex; gap: 20px; margin-top: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.sp-featured-track::-webkit-scrollbar { display: none; }
.sp-card { flex: 0 0 280px; scroll-snap-align: start; }
.sp-card-photo {
  width: 100%; aspect-ratio: 280 / 329; border-radius: 6px;
  background: rgba(255, 255, 255, 0.05) center/cover no-repeat;
}
.sp-card-meta { margin-top: 18px; }
.sp-card-name {
  font-size: clamp(24px, 2.3vw, 30px); font-weight: 700; line-height: 1.08;
  text-transform: uppercase; letter-spacing: 0.01em;
}
.sp-card-role { margin-top: 6px; font-size: 17px; font-weight: 600; color: rgba(255, 255, 255, 0.78); }

.sp-all { margin-top: 72px; }
.sp-all .sp-section-title { margin-bottom: 24px; }
/* Scoped under .speakers-page — the sponsors section reuses .sp-row/.sp-name.
   Card grid matching the home-page speakers section (.sh-grid/.sh-card). */
.speakers-page .sp-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; }
.speakers-page .sp-thumb {
  width: 100%; aspect-ratio: 280 / 329; border-radius: 14px;
  background: rgba(255, 255, 255, 0.05) center/cover no-repeat;
}
.speakers-page .sp-row-main { display: block; margin-top: 16px; }
.speakers-page .sp-name {
  display: block; font-weight: 700; font-size: clamp(21px, 1.9vw, 28px); line-height: 1.1;
  text-transform: uppercase; letter-spacing: 0.01em;
}
.speakers-page .sp-role { display: block; margin-top: 6px; font-size: clamp(15px, 1.2vw, 17px); font-weight: 600; color: rgba(255, 255, 255, 0.78); }

/* ==================== AGENDA PAGE ==================== */
.agenda-list { margin-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.ag-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  align-items: start;
}
.ag-row-simple { align-items: center; }
.ag-time { font-size: 17px; font-weight: 400; color: #fff; }
.ag-title-simple { font-size: 20px; color: #e43671; }
.ag-cat { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: #e43671; margin-bottom: 8px; }
.ag-title { font-size: clamp(20px, 2vw, 26px); font-weight: 400; line-height: 1.2; }
.ag-desc { margin-top: 12px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.6); }
.ag-people { display: flex; gap: 32px; flex-wrap: wrap; }
.ag-group-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.5); margin-bottom: 14px; }
.ag-people-row { display: flex; gap: 12px; }
.ag-person { width: 110px; }
.ag-person-photo {
  width: 100%; aspect-ratio: 125 / 147; border-radius: 5px;
  background: rgba(255, 255, 255, 0.06) center/cover no-repeat;
}
.ag-person-name { margin-top: 10px; font-size: 13px; line-height: 1.3; }
.ag-person-role { margin-top: 2px; font-size: 12px; line-height: 1.3; color: rgba(255, 255, 255, 0.5); }

/* ==================== SPEAKERS + AGENDA — MOBILE ==================== */
@media (max-width: 768px) {
  .speakers-page, .agenda-page { padding-top: 110px; }
  .sp-featured-track { gap: 16px; }
  .sp-card { flex: 0 0 78%; }

  /* All Speakers on mobile = 2-col card grid (same as home) */
  .speakers-page .sp-list { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .speakers-page .sp-row-main { margin-top: 12px; }
  .speakers-page .sp-name { font-size: 18px; }
  .speakers-page .sp-role { margin-top: 4px; font-size: 14px; }

  .ag-row { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }
  .ag-people { gap: 20px; }
  .ag-person { width: 96px; }
}

/* ==================== CMS announcement bar (optional, off by default) ==================== */
.cms-announce {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, #f5b700 0%, #f07a3d 50%, #e43671 100%);
  color: #1a0a12; font-weight: 600; font-size: 15px; text-align: center;
  padding: 9px 16px; letter-spacing: 0.005em;
}
body.has-announce .site-header { top: 40px; }

/* ==================== SPEAKERS (home grid) ==================== */
.speakers-home { padding: 40px 80px 90px; }
.speakers-home .topics-head { position: relative; margin-bottom: 40px; }
.sh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; }
.sh-card { display: flex; flex-direction: column; }
.sh-photo {
  aspect-ratio: 280 / 329; border-radius: 14px; overflow: hidden;
  background: #141317 center/cover no-repeat;
}
.sh-photo.is-empty { border: 1px solid rgba(255,255,255,0.08); }
.sh-cap { margin-top: 16px; }
.sh-name {
  font-weight: 700; font-size: clamp(21px, 1.9vw, 28px); line-height: 1.1;
  text-transform: uppercase; letter-spacing: 0.01em;
}
.sh-role { margin-top: 6px; font-size: clamp(15px, 1.2vw, 17px); font-weight: 600; color: rgba(255,255,255,0.78); }
.sh-viewall {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 44px; font-size: 20px; font-weight: 500; color: #fff; transition: gap 0.2s ease;
}
.sh-viewall:hover { gap: 18px; }
.sh-viewall svg { display: block; }

/* ==================== SPONSORS / PARTNERS ==================== */
.sponsors { padding: 30px 80px 90px; }
.sponsors-card {
  border-radius: 28px; padding: 56px 40px 64px;
  background: linear-gradient(157deg, #b31e52 0%, #7a1c63 30%, #3a1440 55%, #140a18 82%, #0b0a0d 100%);
}
.sp-tier { text-align: center; }
.sp-tier + .sp-tier { margin-top: 52px; }
.sp-tier-title { font-size: 30px; font-weight: 700; letter-spacing: 0.01em; margin-bottom: 34px; color: #fff; }
.sp-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 36px 64px; }
.sp-row + .sp-row { margin-top: 34px; }
.sp-row-featured { margin-bottom: 6px; }
.sp-logo { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; }
.sp-logo img { max-height: 60px; max-width: 240px; width: auto; object-fit: contain; display: block; }
.sp-logo-lg img { max-height: 82px; max-width: 460px; }
.sp-name { font-size: 22px; font-weight: 600; color: rgba(255,255,255,0.92); letter-spacing: 0.02em; }
.sp-logo-lg .sp-name { font-size: 30px; font-weight: 700; }
.sp-logo[href]:hover { opacity: 0.82; transition: opacity 0.15s ease; }

@media (max-width: 900px) {
  .speakers-home, .sponsors { padding-left: 20px; padding-right: 20px; }
  .sh-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .sh-name { font-size: 18px; }
  .sh-role { font-size: 14px; }
  .sponsors-card { padding: 40px 20px 48px; border-radius: 22px; }
  .sp-tier-title { font-size: 23px; margin-bottom: 26px; }
  .sp-row { gap: 26px 36px; }
  .sp-logo img { max-height: 46px; max-width: 160px; }
  .sp-logo-lg img { max-height: 60px; max-width: 260px; }
  .sp-name { font-size: 18px; }
  .sp-logo-lg .sp-name { font-size: 23px; }
  .sh-viewall { font-size: 17px; }
}
