:root {
  --bg: #0b0b0f;
  --fg: #f3f4f6;
  --muted: #a7adbb;
  --accent: #e5b80b;
  --accent-2: #6ee7b7;
  --scrim: 0.35;
  /* tier accents */
  --gold-1: #e5b80b;
  --gold-2: #f6e27a;
  --gold-3: #8a6f00;
  --silver-1: #cfd8dc;
  --teal-1: #6ee7b7;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
}

#deck { position: relative; width: 100vw; height: 100vh; }

.slide {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  transition: background-image 300ms ease-out, opacity 300ms ease-out;
}

/* Zoom background on slide 1 by ~30% */
[data-slide="s1"] { background-size: 130%; }

.scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.58), rgba(0,0,0,0.72)); opacity: var(--scrim); }

.content {
  position: relative; z-index: 1;
  width: min(1200px, 88vw);
  padding: clamp(16px, 4vw, 48px);
  max-height: calc(100vh - 140px);
  overflow: auto;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  box-shadow: 0 10px 36px rgba(0,0,0,0.35);
}

/* Vertical scroll affordance */
.content[data-scrollable="true"]::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.55));
  pointer-events: none; border-bottom-left-radius: inherit; border-bottom-right-radius: inherit;
  opacity: 1; transition: opacity 200ms ease;
}
.content[data-scrollable="true"][data-at-bottom="true"]::before { opacity: 0; }
.content[data-scrollable="true"]::after {
  content: 'Scroll ↓';
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 10px; padding: 4px 8px; font-size: 12px; letter-spacing: 0.02em;
  color: var(--fg); opacity: 0.9; background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  pointer-events: none; transition: opacity 200ms ease, transform 200ms ease;
}
.content[data-scrollable="true"][data-at-bottom="true"]::after { opacity: 0; transform: translateX(-50%) translateY(6px); }

/* Minimal overlay for first slide */
[data-slide="s1"] .content {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  overflow: visible;
}

/* Pin eyebrows to top corners for s1 */
[data-slide="s1"] .topbar {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  z-index: 3;
}

/* Make right eyebrow highly visible on s1 */
[data-slide="s1"] .topbar .eyebrow--muted {
  color: #111;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-1));
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
[data-slide="s1"] .donate-badge { display: inline-flex; align-items: center; gap: 6px; }
[data-slide="s1"] .donate-badge .badge-uhn { height: 16px; width: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6)); }

/* Lower and shrink the main title only on s1 */
[data-slide="s1"] h1 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(64px, 12vh, 110px);
  margin: 0;
  font-size: clamp(24px, 4.2vw, 48px);
  text-align: center;
  width: 96vw;
}

/* Global UHN badge overlay */
.uhn-badge { position: absolute; top: 8px; right: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; padding: 6px 8px; backdrop-filter: blur(4px); }
.uhn-badge img { height: 22px; width: auto; display: block; }
.uhn-badge .uhn-text { font-weight: 800; letter-spacing: 0.02em; font-size: 12px; color: var(--fg); opacity: 0.9; }

/* Avoid overlap on slide 1 which already contains a prominent UHN label */
[data-slide="s1"] .uhn-badge { display: none; }

@media (max-width: 900px) {
  .uhn-badge { top: 6px; right: 6px; padding: 4px 6px; }
  .uhn-badge img { height: 18px; }
}

.hero-splash { display: grid; place-items: center; margin: 10px 0; }
.hero-splash img { width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 12px 36px rgba(0,0,0,0.45); object-fit: cover; }

/* Slide 1 hero logos */
[data-slide="s1"] .hero-logos { position: absolute; left: 50%; top: 16vh; transform: translateX(-50%); display: grid; gap: 10px; place-items: center; z-index: 2; }
[data-slide="s1"] .s1-hero { position: relative; }
/* Shrink logos on slide 1: approx one-third of prior size */
.logo-6ixelement { width: min(160px, 20vw); height: auto; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.85)) drop-shadow(0 16px 38px rgba(0,0,0,0.75)); }
.logo-6ixfashion { width: min(300px, 30vw); height: auto; filter: drop-shadow(0 12px 32px rgba(0,0,0,0.6)); opacity: 0.95; }

/* UHN support band under logos on slide 1 */
[data-slide="s1"] .support-uhn { position: static; transform: none; margin: 6px auto 0; display: inline-flex; align-items: center; gap: 10px; background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; padding: 6px 10px; z-index: 2; box-shadow: 0 8px 22px rgba(0,0,0,0.45); }
[data-slide="s1"] .support-uhn img { height: 22px; width: auto; display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)); }
[data-slide="s1"] .support-uhn .label { font-weight: 800; letter-spacing: 0.02em; font-size: 13px; color: var(--fg); opacity: 0.95; white-space: normal; display: block; }

/* lightweight chart styles */
.charts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 10px; }
.chart { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 10px; }
.chart-title { font-weight: 800; letter-spacing: 0.02em; margin-bottom: 6px; }
.chart-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.chart-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: inherit; }
.chart-note { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* Inline portrait components for slides */
.portrait { display: grid; place-items: center; }
.portrait-oval { width: min(320px, 38vw); aspect-ratio: 3/4; object-fit: cover; border-radius: 50% / 40%; border: 2px solid rgba(255,255,255,0.2); box-shadow: 0 12px 36px rgba(0,0,0,0.45); }

.eyebrow {
  letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 800; color: var(--accent);
  font-size: clamp(13px, 2.1vw, 20px);
}
.eyebrow--muted { color: var(--muted); }

.topbar { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.topbar .eyebrow { white-space: nowrap; }
[data-slide="s1"] .topbar { margin: clamp(8px, 2vw, 16px) 0; padding: 0 clamp(8px, 2.5vw, 24px); }
[data-slide="s1"] h1 { margin-top: clamp(16px, 4vw, 48px); margin-bottom: 0; }

h1, h2, h3 { font-family: 'Poppins', 'Inter', sans-serif; margin: 0 0 14px; line-height: 1.05; }
h1 { font-size: clamp(36px, 6.5vw, 84px); font-weight: 800; }
h2 { font-size: clamp(28px, 4.5vw, 56px); font-weight: 700; }
h3 { font-size: clamp(22px, 3.4vw, 40px); font-weight: 700; }
p { margin: 8px 0 0; font-size: clamp(16px, 1.6vw, 20px); color: var(--fg); opacity: 0.95; }

/* elevate readability over photos */
h1, h2, h3, p, li { text-shadow: 0 1px 2px rgba(0,0,0,0.65); }
.headline-xl { font-size: clamp(32px, 5.4vw, 68px); letter-spacing: -0.01em; }

.kpis { display: grid; gap: 8px 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 18px; }
.kpi { font-size: clamp(16px, 1.5vw, 18px); color: var(--fg); }

.list { margin-top: 12px; display: grid; gap: 8px; }
.list li { font-size: clamp(15px, 1.5vw, 18px); color: var(--fg); line-height: 1.6; }
.list li::marker { color: var(--accent); }

/* compact list spacing for dense sections */
.list.tight { gap: 4px; }
.list.tight li { line-height: 1.4; }

/* premium checklist bullets */
.checks { list-style: none; padding-left: 0; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
.checks li { list-style: none; }
.checks li::marker { content: ''; }

.note { color: var(--fg); opacity: 0.9; margin-top: 12px; font-weight: 600; font-size: clamp(15px, 1.5vw, 18px); }
.note--highlight { background: rgba(229,184,11,0.12); border: 1px solid rgba(229,184,11,0.35); padding: 10px 12px; border-radius: 12px; }
/* Polished "View all benefits" inline button */
.view-all { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 4px 8px; border-radius: 999px; text-decoration: none; font-weight: 800; color: #111; background: linear-gradient(90deg, var(--gold-2), var(--gold-1)); border: 1px solid rgba(255,255,255,0.35); box-shadow: 0 6px 14px rgba(0,0,0,0.35); }
.view-all:hover { filter: brightness(1.05); }
.view-ico { display: inline-block; width: 14px; height: 14px; line-height: 14px; text-align: center; color: #111; background: #fff3; border-radius: 50%; padding: 0 2px; }

/* standardized badges */
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 6px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; font-weight: 800; font-size: clamp(12px, 1.4vw, 14px); border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.08); box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.badge .icon { font-size: 1em; }
.badge--time { background: linear-gradient(90deg, rgba(110,231,183,0.22), rgba(255,255,255,0.08)); border-color: rgba(110,231,183,0.55); }
.badge--location { background: linear-gradient(90deg, rgba(229,184,11,0.22), rgba(255,255,255,0.08)); border-color: rgba(229,184,11,0.55); }
.badge--artifacts { background: linear-gradient(90deg, rgba(229,184,11,0.32), rgba(110,231,183,0.18)); border-color: rgba(229,184,11,0.75); box-shadow: 0 0 0 2px rgba(229,184,11,0.45), 0 16px 36px rgba(229,184,11,0.22); }

/* stacked badge pairs */
.badge-stack { display: grid; gap: 6px; margin-top: 8px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }

.two-col { display: grid; gap: clamp(12px, 3vw, 36px); grid-template-columns: 1.1fr 1fr; align-items: start; }
.card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: clamp(12px, 2.5vw, 24px); backdrop-filter: blur(4px); }
/* oval portrait aesthetic */
.portrait { display: grid; place-items: center; }
.portrait-oval { width: min(320px, 38vw); aspect-ratio: 3/4; object-fit: cover; border-radius: 50% / 40%; border: 2px solid rgba(255,255,255,0.2); box-shadow: 0 12px 36px rgba(0,0,0,0.45); }

/* standardized sponsorship tiers */
.tiers { display: grid; gap: clamp(12px, 2vw, 24px); grid-template-columns: repeat(2, minmax(260px, 1fr)); margin-top: clamp(10px, 1.8vw, 18px); }
.tier { position: relative; border-radius: 16px; padding: clamp(14px, 2.2vw, 24px); background: rgba(12,12,16,0.72); border: 1px solid rgba(255,255,255,0.16); box-shadow: 0 10px 28px rgba(0,0,0,0.35); backdrop-filter: blur(8px); }
.tier p, .tier li { text-shadow: 0 1px 2px rgba(0,0,0,0.7); }
.tier__header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.tier__name { font-family: 'Poppins', 'Inter', sans-serif; font-weight: 800; font-size: clamp(16px, 1.9vw, 22px); letter-spacing: 0.02em; }
.tier__price { font-weight: 700; color: var(--accent); font-size: clamp(14px, 1.8vw, 20px); }
.tier__badge { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(90deg, rgba(229,184,11,0.18), rgba(110,231,183,0.10)); color: #fff; border: 1px solid rgba(229,184,11,0.45); border-radius: 999px; padding: 4px 10px; font-size: clamp(12px, 1.2vw, 14px); margin-bottom: 8px; }
.tier ul { margin: 8px 0 0; padding-left: 18px; }
.tier ul li { margin: 4px 0; }
.tier--title {
  border-color: rgba(229,184,11,0.8);
  box-shadow: 0 0 0 2px rgba(229,184,11,0.85), 0 22px 56px rgba(229,184,11,0.26), inset 0 0 48px rgba(229,184,11,0.12);
  background: linear-gradient(180deg, rgba(229,184,11,0.16), rgba(12,12,16,0.72));
}
.tier--presenting { box-shadow: 0 0 0 2px rgba(110,231,183,0.45), 0 14px 30px rgba(110,231,183,0.14); border-color: rgba(110,231,183,0.6); }
.tier--spotlight { box-shadow: 0 0 0 1px rgba(255,255,255,0.28), 0 10px 24px rgba(0,0,0,0.22); }
.tier--supporting { opacity: 0.98; }

/* subtle tier header bling */
.tier--title .tier__name { background: linear-gradient(90deg, var(--gold-2), var(--gold-1)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier--presenting .tier__name { color: var(--teal-1); }

/* s18 price badge */
.price-line { margin: 6px 0 12px; }
.price-badge { display: inline-block; color: #0b4f37; background: linear-gradient(90deg, #8ff0c8, #6ee7b7); border: 1px solid rgba(110,231,183,0.8); border-radius: 999px; padding: 4px 10px; font-weight: 800; }

@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
}

.ui { position: fixed; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); display: flex; align-items: center; justify-content: center; padding: 12px clamp(12px, 3.5vw, 28px); gap: 12px; pointer-events: none; z-index: 1000; background: rgba(12,12,16,0.5); border-top: 1px solid rgba(255,255,255,0.12); box-shadow: 0 -10px 28px rgba(0,0,0,0.35); backdrop-filter: blur(6px); }
.btn { pointer-events: auto; background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)); color: var(--fg); border: 1px solid rgba(255,255,255,0.28); border-radius: 10px; padding: 10px 14px; font-size: 16px; cursor: pointer; transition: transform 120ms ease, background 120ms ease, box-shadow 120ms ease; box-shadow: 0 8px 22px rgba(0,0,0,0.35); }
.btn#btn-music { position: relative; }
.music-status { position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; color: #111; box-shadow: 0 2px 6px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.6); }
.music-status--on { background: #8ff0c8; }
.music-status--muted { background: #ff6b6b; }
.btn#btn-apply { background: linear-gradient(180deg, #f6e27a, #e5b80b); color: #111; border-color: rgba(229,184,11,0.95); box-shadow: 0 14px 32px rgba(229,184,11,0.35), 0 8px 22px rgba(0,0,0,0.35); font-weight: 900; letter-spacing: 0.03em; }
.btn#btn-apply::after { content: ''; position: absolute; inset: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); pointer-events: none; }
.btn:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.nav { font-size: 22px; padding: 8px 14px; }
.btn#btn-prev, .btn#btn-next {
  background: rgba(12,12,16,0.65);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
  z-index: 1100;
}
.btn#btn-prev:hover, .btn#btn-next:hover { background: rgba(12,12,16,0.8); }
.spacer { flex: 1; }
.meta { display: flex; align-items: center; gap: 12px; justify-content: center; }
.btn-mini { font-size: 11px; padding: 0 6px; min-width: 24px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; margin: 0 2px; }
.counter { display: none; }

.progress { position: fixed; left: 0; right: 0; bottom: env(safe-area-inset-bottom, 0px); height: 3px; background: rgba(255,255,255,0.08); z-index: 1000; }
.bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 200ms ease-out; }

/* Persistent brand logos */
.brand {
  position: fixed; top: 8px; left: 8px; right: 8px; display: flex; gap: 10px; align-items: center; justify-content: flex-start; z-index: 1100;
}
.brand img { height: 28px; width: auto; opacity: 0.95; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)); }
@media (max-width: 900px) {
  .brand { top: 6px; left: 6px; right: 6px; gap: 10px; }
  .brand img { height: 28px; }
  /* On slides 2+, hide 6ixElement and enlarge others */
  [data-slide]:not([data-slide="s1"]) ~ .brand .brand-6ixelement { display: none; }
  /* Hide 30% pill and any duplicate UHN badges on mobile */
  .brand .brand-pill { display: none !important; }
  #uhn-badge, .uhn-badge { display: none !important; }
  /* Remove UHN brand logo on mobile top bar */
  .brand .brand-uhn { display: none !important; }
  /* Make logos prominent but with breathing room and a subtle glass backdrop */
  [data-slide]:not([data-slide="s1"]) ~ .brand { justify-content: center; gap: 8px; }
  [data-slide]:not([data-slide="s1"]) ~ .brand .brand-6ixfashion {
    height: auto; width: 72vw; max-width: 72vw; margin: 0 4px;
    background: rgba(0,0,0,0.52); padding: 6px 10px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 16px 44px rgba(0,0,0,0.6);
  }
  /* Compact the gold pill on slides 2+ */
  [data-slide]:not([data-slide="s1"]) ~ .brand .brand-pill { font-size: 12px; padding: 2px 8px; }
  /* Hide brand bar on slide 1 to reduce clutter */
  [data-slide="s1"] ~ .brand { display: none; }
  /* Hide fullscreen toggle on mobile */
  #btn-fullscreen { display: none; }
}

/* Integrated gold pill for 30% to UHN in brand bar */
.brand-pill { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(90deg, var(--gold-2), var(--gold-1)); color: #111; border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; padding: 4px 10px; font-weight: 800; box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.brand-pill .pill-ico { height: 14px; width: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6)); }

.help { position: absolute; left: 50%; transform: translateX(-50%); bottom: 36px; font-size: 12px; color: var(--muted); text-align: center; opacity: 0.8; }

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .ui { padding-bottom: 8px; }
  /* add breathing room above headings on mobile */
  .content { padding-top: clamp(24px, 8vw, 40px); }
  /* Avoid overlap with fixed brand bar on slides 2+ */
  [data-slide]:not([data-slide="s1"]) .content { padding-top: clamp(64px, 12vw, 96px); }
  .content > h1:first-child,
  .content > h2:first-child,
  .content > h3:first-child { margin-top: 12px; }
  /* ensure content doesn't overlap with fixed controls on mobile */
  .content { padding-bottom: 80px; }
  /* thicker visible scrollbar on mobile */
  .content { scrollbar-width: thin; scrollbar-color: var(--accent) rgba(255,255,255,0.08); }
  .content::-webkit-scrollbar { width: 10px; }
  .content::-webkit-scrollbar-track { background: rgba(255,255,255,0.06); border-radius: 10px; }
  .content::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-radius: 10px; }
  /* edge-to-edge vertical nav arrows */
  #btn-prev, #btn-next { position: fixed; top: 20vh; height: 60vh; width: 24px; font-size: 26px; display: grid; place-items: center; pointer-events: auto; z-index: 1100; }
  #btn-prev { left: 0; border-radius: 0 10px 10px 0; }
  #btn-next { right: 0; border-radius: 10px 0 0 10px; }
  /* smaller share */
  #btn-share-global { font-size: 14px; padding: 6px 10px; }

  /* Slide 1 mobile tuning */
  [data-slide="s1"] .scrim { opacity: 0.5; }
  [data-slide="s1"] .topbar { top: 6px; left: 6px; right: 6px; }
  [data-slide="s1"] .topbar .eyebrow { font-size: clamp(11px, 3.2vw, 14px); }
  [data-slide="s1"] .topbar .eyebrow--muted { padding: 4px 8px; }
  /* On mobile remove all topbar badges entirely */
  [data-slide="s1"] .topbar { justify-content: center; }
  [data-slide="s1"] .topbar .eyebrow:first-child { display: none; }
  [data-slide="s1"] .donate-badge { display: none !important; }
  /* make date headline wrap nicely on small screens */
  [data-slide="s1"] .topbar .eyebrow { white-space: normal; line-height: 1.25; max-width: 70vw; }
  [data-slide="s1"] .topbar { align-items: flex-start; }
  /* Centered date below main logo with white text to avoid gold-on-gold */
  [data-slide="s1"] .s1-date { display: block; margin: 6px auto 6px; text-align: center; max-width: 92vw; background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; padding: 6px 10px; color: #fff; }
  [data-slide="s1"] h1 {
    bottom: calc(110px + env(safe-area-inset-bottom, 0px));
    font-size: clamp(20px, 5.5vw, 32px);
    width: 92vw;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 8px 12px;
  }
  /* mobile sizes for hero logos and support band */
  .logo-6ixelement { width: min(190px, 42vw); }
  /* Fit neatly within the gold oval on mobile */
  .logo-6ixfashion { width: min(330px, 80vw); }
  /* Vertically center the 6ixFashion logo block (raised slightly to clear taller oval) */
  [data-slide="s1"] .hero-logos { top: 46vh; transform: translate(-50%, -50%); }
  /* ensure both logos stack and center */
  [data-slide="s1"] .hero-logos img { display: block; }
  /* subtle "present" label under Six Element */
  [data-slide="s1"] .s1-present {
    margin: 4px 0 6px;
    padding: 2px 8px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
  }
  /* Elegant oval ring and backdrop fade for emphasis */
  [data-slide="s1"] .s1-oval-ring {
    position: absolute; left: 50%; top: 50vh; transform: translate(-50%, -50%);
    width: min(520px, 94vw); height: min(500px, 100vw);
    border-radius: 50% / 40%;
    border: 2px solid rgba(229,184,11,0.75);
    box-shadow: 0 0 0 4px rgba(229,184,11,0.18), inset 0 0 80px rgba(0,0,0,0.35);
    z-index: 1; pointer-events: none;
  }
  [data-slide="s1"] .s1-spotlight {
    position: absolute; left: 50%; top: 50vh; transform: translate(-50%, -50%);
    width: min(600px, 100vw); height: min(540px, 108vw);
    border-radius: 50% / 42%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.15), rgba(0,0,0,0.55) 62%, rgba(0,0,0,0.75) 100%);
    filter: blur(2px);
    z-index: 0; pointer-events: none;
  }
  [data-slide="s1"] .support-uhn { position: static; transform: none; margin: 8px auto 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
  /* Force label on next line under the logo */
  [data-slide="s1"] .support-uhn .label { white-space: normal; line-height: 1.25; display: block; text-align: center; }

  /* Polished CTA: center above headline and remove neon look */
  /* Floating CTA removed */

  /* S1 dual CTAs */
  /* Center CTAs directly under Seasons logo */
  [data-slide="s1"] .s1-ctas { position: static; transform: none; display: grid; gap: 10px; justify-items: center; margin-top: 12px; z-index: 3; }
  .cta-btn { font-weight: 900; letter-spacing: 0.05em; border-radius: 999px; padding: 14px 20px; border: 1px solid rgba(229,184,11,0.95); cursor: pointer; position: relative; overflow: hidden; min-width: 90vw; }
  .cta-btn::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); pointer-events: none; }
  .cta-btn--gold { background: linear-gradient(180deg, #f6e27a, #e5b80b); color: #111; box-shadow: 0 14px 32px rgba(229,184,11,0.35), 0 8px 22px rgba(0,0,0,0.35); }
  .cta-btn--gold:hover { filter: brightness(1.05); transform: translateY(-1px); }
  .cta-btn--outlined { background: linear-gradient(180deg, #6ee7b7, #35c59a); color: #0b4f37; border-color: rgba(53,197,154,0.9); box-shadow: 0 14px 28px rgba(53,197,154,0.35), 0 8px 22px rgba(0,0,0,0.35); }
  .cta-btn--outlined:hover { filter: brightness(1.05); transform: translateY(-1px); }
  [data-slide="s1"] .support-uhn img { height: 18px; }
  [data-slide="s1"] .support-uhn .label { font-size: 12px; }
}

/* Video overlay */
.video-overlay { position: fixed; inset: 0; z-index: 1400; display: grid; place-items: center; }
.video-overlay[hidden] { display: none !important; }
.video-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.72); }
.video-frame { position: relative; width: auto; max-width: 92vw; height: min(70vh, calc(100vh - 180px)); background: #000; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); display: grid; }
.video-frame video { width: auto; height: 100%; object-fit: contain; border-radius: 14px; }
.video-close { position: absolute; top: -38px; right: 0; background: rgba(0,0,0,0.65); color: #fff; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; padding: 6px 10px; cursor: pointer; }

@media (orientation: landscape) {
  .video-frame { width: min(960px, 92vw); height: min(540px, 70vh); }
  .video-frame video { width: 100%; height: 100%; }
}

@media (orientation: portrait) {
  .video-frame { max-width: 84vw; height: min(68vh, calc(100vh - 200px)); }
}

/* Ask the Pitch Deck panel */
.ask {
  position: fixed;
  right: clamp(8px, 2vw, 20px);
  bottom: clamp(50px, 8vh, 100px);
  width: min(600px, 92vw);
  max-height: min(70vh, 560px);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  background: linear-gradient(180deg, rgba(12,12,16,0.96), rgba(12,12,16,0.9));
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 16px 44px rgba(0,0,0,0.55);
  z-index: 1200;
}
.ask__header { display: flex; align-items: center; gap: 10px; }
.ask__title { font-weight: 800; letter-spacing: 0.02em; }
.ask__spacer { flex: 1; }
.ask__body { display: grid; gap: 10px; grid-template-rows: auto 1fr; min-height: 0; }
.ask__system-row { display: grid; gap: 6px; }
#ask-system { width: 100%; background: rgba(255,255,255,0.06); color: var(--fg); border: 1px solid rgba(255,255,255,0.16); border-radius: 8px; padding: 8px 10px; resize: vertical; }
.ask__key { display: flex; gap: 8px; }
#ask-key { flex: 1; background: rgba(255,255,255,0.06); color: var(--fg); border: 1px solid rgba(255,255,255,0.16); border-radius: 8px; padding: 10px 12px; }
.ask__input-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: start; }
#ask-input { width: 100%; background: rgba(255,255,255,0.06); color: var(--fg); border: 1px solid rgba(255,255,255,0.16); border-radius: 8px; padding: 10px 12px; resize: vertical; }
.ask__output { overflow: auto; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 10px 12px; font-size: 14px; color: var(--fg); display: grid; gap: 10px; }
.msg { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.msg__avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); display: grid; place-items: center; color: #111; font-size: 16px; font-weight: 900; box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.msg__bubble { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; padding: 10px 12px; }
.msg--ai .msg__avatar::after { content: '🤖'; }
.msg--talking .msg__avatar { animation: talk 900ms infinite ease-in-out; }
@keyframes talk { 0% { transform: translateY(0); } 50% { transform: translateY(-2px); } 100% { transform: translateY(0); } }
/* draggable window affordance */
.ask--window { resize: both; overflow: auto; }
#ask-drag-handle { cursor: move; }

@media (max-width: 900px) {
  .ask { left: 8px; right: 8px; bottom: 70px; width: auto; max-height: 65vh; }
  #inquiry-modal.ask { max-height: 60vh; width: min(480px, 94vw); }
  .inquiry .grid { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  .inquiry input, .inquiry select, .inquiry textarea { padding: 8px 10px; font-size: 14px; }
  #inquiry-form .actions { position: sticky; bottom: 0; background: rgba(12,12,16,0.96); padding-top: 6px; }

  /* Mobile nav arrows: make them visible and tappable */
  #btn-prev, #btn-next { position: fixed; top: 20vh; height: 60vh; width: 42px; font-size: 28px; display: grid; place-items: center; pointer-events: auto; z-index: 1100; }
  #btn-prev { left: 0; border-radius: 0 12px 12px 0; }
  #btn-next { right: 0; border-radius: 12px 0 0 12px; }
}


/* Ensure hidden attribute actually hides elements that define display */
[hidden] { display: none !important; }

/* Inquiry form layout reuse of ask panel styles */
/* Music panel */
.music { position: fixed; right: clamp(8px, 2vw, 16px); bottom: calc(env(safe-area-inset-bottom, 0px) + 60px); display: grid; gap: 8px; background: rgba(12,12,16,0.92); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; padding: 10px; z-index: 1200; box-shadow: 0 12px 28px rgba(0,0,0,0.45); }
.music__row { display: flex; gap: 8px; align-items: center; }
.music select, .music input[type="range"] { background: rgba(255,255,255,0.08); color: var(--fg); border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; padding: 6px 8px; }
.inquiry { display: grid; gap: 10px; }
.inquiry .grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(160px, 1fr)); }
.inquiry label { display: grid; gap: 6px; }
.inquiry input, .inquiry select, .inquiry textarea {
  width: 100%; background: rgba(255,255,255,0.06); color: var(--fg);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 8px; padding: 10px 12px;
}
.inquiry .company-info { font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.inquiry .actions { display: flex; justify-content: end; gap: 8px; }

/* Table of Contents Drawer */
.toc { position: fixed; top: 0; bottom: 0; left: 0; width: min(360px, 86vw); background: rgba(12,12,16,0.96); border-right: 1px solid rgba(255,255,255,0.12); z-index: 1300; box-shadow: 0 10px 36px rgba(0,0,0,0.5); transform: translateX(-100%); transition: transform 220ms ease; display: grid; grid-template-rows: auto 1fr; }
.toc[aria-hidden="false"] { transform: translateX(0); }
.toc__header { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.toc__title { font-weight: 800; letter-spacing: 0.02em; }
.toc__spacer { flex: 1; }
.toc__list { overflow: auto; padding: 12px; display: grid; gap: 12px; }
.toc__section { display: grid; gap: 8px; padding: 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.03); }
.toc__blurb { font-size: 14px; color: var(--fg); opacity: 0.9; }

/* Floating CTA */
.cta { position: fixed; right: clamp(10px, 2vw, 16px); bottom: clamp(70px, 10vh, 120px); z-index: 900; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #111; border: none; font-weight: 800; padding: 12px 16px; border-radius: 999px; box-shadow: 0 10px 28px rgba(0,0,0,0.35); cursor: pointer; }
.cta:hover { filter: brightness(1.05); transform: translateY(-1px); }


