/* ==========================================================================
   LOVB COACH SUMMIT — STYLES
   Brand tokens from the LOVB Coach Summit design guide, laid out in the
   OneLOVB site system: navy + blush bands, giant lime numerals, white cards,
   line icons in blush circles, lime highlight for "you are here".
   ========================================================================== */

:root {
  /* Brand palette */
  --navy: #051243;
  --cream: #F7F2E4;
  --pink: #FF74D0;
  --lime: #EDFF9E;
  --lime-bright: #DCFA00;
  --cyan: #00D2DE;
  --blush: #FCD0C8;
  --white: #FFFFFF;

  --font: 'Poppins', system-ui, -apple-system, sans-serif;

  --ink-soft: rgba(5, 18, 67, .7);
  --line: rgba(5, 18, 67, .12);
  --on-navy-soft: rgba(255, 255, 255, .68);
  --on-navy-line: rgba(255, 255, 255, .14);

  /* Changes per event */
  --numerals: var(--lime-bright);
  --hero-bg: var(--blush);
  --tint: var(--blush);          /* icon circles */
  --tint-soft: #FEF1EE;          /* simultaneous-session boxes */

  --nav-h: 56px;
  --gutter: 16px;
}

/* Junior Coach Summit: light blue from the Junior badge */
html[data-event="junior"] {
  --hero-bg: #B2EBF2;
  --tint: #B2EBF2;
  --tint-soft: #E6F8FA;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 104px); background: var(--navy); }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--pink); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:active, .nav__links a:active, .chip:active, .faq__q:active { transform: scale(.98); }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--lime-bright); color: var(--navy); padding: 10px 14px; border-radius: 6px; font-weight: 600;
}
.skip:focus { left: 8px; }

/* ==========================================================================
   NAV (navy, sticky)
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: var(--navy);
  padding-top: env(safe-area-inset-top);
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; }
.nav__links { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.nav__links a {
  display: flex; align-items: center; justify-content: center; min-height: 44px;
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px;
  border-radius: 6px; line-height: 1.2;
}
.nav__links a:hover { color: var(--lime-bright); }
.nav__links a[aria-current="page"] { background: var(--lime-bright); color: var(--navy); }

/* ==========================================================================
   HERO (blush band + giant numerals)
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--hero-bg); color: var(--navy);
  padding: 12px 0 18px;
}
.hero__inner { position: relative; }

/* EventSelector */
.event-switch {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  padding: 4px; border-radius: 10px; border: 2px solid var(--navy);
  background: rgba(255, 255, 255, .35);
}
.event-switch__opt {
  appearance: none; border: 0; cursor: pointer;
  min-height: 50px; padding: 6px 8px; border-radius: 6px;
  background: transparent; color: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; line-height: 1.15;
}
.event-switch__name { font-weight: 600; font-size: 14px; }
.event-switch__dates { font-size: 12px; font-weight: 500; opacity: .75; }
.event-switch__opt[aria-checked="true"] { background: var(--navy); color: var(--lime-bright); }
.event-switch__opt[aria-checked="true"] .event-switch__dates { color: var(--white); opacity: .85; }

/* EventHero */
#hero-event { position: relative; }
.hero__numerals {
  display: block; margin: 14px 0 0 -.04em;
  font-size: 22vw; font-weight: 500; line-height: .82; letter-spacing: -.06em;
  color: var(--numerals); white-space: nowrap; pointer-events: none; user-select: none;
}
.hero__row {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  margin-top: 6px;
}
.hero__text { min-width: 0; }
.hero__title { font-size: 28px; font-weight: 600; line-height: 1.02; letter-spacing: -.03em; }
.hero__meta { margin-top: 8px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.hero__venue {
  margin-top: 4px; display: flex; align-items: flex-start; gap: 4px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft); line-height: 1.35;
}
.hero__venue svg { margin-top: 2px; color: var(--navy); }
.hero__map {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 10px;
  min-height: 40px; padding: 0 14px; border-radius: 4px;
  background: var(--navy); color: var(--lime-bright);
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.hero__logo { width: 68px; height: auto; flex: none; }

/* ==========================================================================
   STICKY DAY BAR (DateSelector)
   ========================================================================== */
.daybar {
  position: sticky; top: calc(var(--nav-h) + env(safe-area-inset-top)); z-index: 30;
  background: var(--navy);
  padding: 12px 0 12px;
  border-bottom: 1px solid var(--on-navy-line);
}
.days { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 8px; }
.day {
  appearance: none; cursor: pointer; position: relative;
  min-height: 60px; padding: 6px 4px; border-radius: 8px;
  border: 1.5px solid var(--on-navy-line); background: rgba(255, 255, 255, .05); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  line-height: 1;
}
.day__num { font-size: 24px; font-weight: 600; letter-spacing: -.04em; }
.day__weekday { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--on-navy-soft); }
.day__weekday .long { display: none; }
.day__today {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  background: var(--pink); color: var(--navy);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 2px 8px; border-radius: 999px; white-space: nowrap; line-height: 1.4;
}
.day[aria-selected="true"] { background: var(--lime-bright); border-color: var(--lime-bright); color: var(--navy); }
.day[aria-selected="true"] .day__weekday { color: var(--navy); }

/* ==========================================================================
   SCHEDULE (ScheduleCard, SpeakerInfo, LocationLabel)
   ========================================================================== */
.main { padding-top: 16px; padding-bottom: 36px; outline: none; }

.day-head {
  font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2;
  border-left: 4px solid var(--lime-bright); padding-left: 12px; margin-bottom: 12px;
}
.day-head span { color: var(--lime-bright); }
.day-head-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.day-head-row .day-head { margin-bottom: 0; }
.jump {
  margin-left: auto; appearance: none; cursor: pointer;
  border: 1.5px solid var(--lime-bright); background: transparent; color: var(--lime-bright);
  font-size: 13px; font-weight: 600; min-height: 36px; padding: 0 12px; border-radius: 999px;
}

.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.card {
  background: var(--white); color: var(--navy);
  border-radius: 12px; padding: 16px 16px 14px;
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
}
.card__icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--tint); color: var(--navy);
  display: grid; place-items: center; font-size: 23px;
}
.card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.card__time {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; letter-spacing: .01em; line-height: 1.3; padding-top: 1px;
}
.card__title { font-size: 19px; font-weight: 600; line-height: 1.22; letter-spacing: -.015em; }
.card__desc { font-size: 14px; color: var(--ink-soft); }
.card__foot { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.type { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }

.speaker { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; }
.speaker svg { font-size: 17px; color: var(--pink); }

/* LocationLabel — built to be spotted instantly */
.loc {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--navy); color: var(--lime-bright);
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2;
  padding: 7px 11px 7px 9px; border-radius: 4px;
}
.loc svg { font-size: 15px; }

/* Simultaneous sessions */
.tracks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; width: 100%; }
.track {
  border-radius: 8px; padding: 12px; background: var(--tint-soft);
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.track .loc { font-size: 15px; }
.track__title { font-size: 16px; font-weight: 600; line-height: 1.25; }
.track .speaker { font-size: 16px; font-weight: 600; }

/* States */
.card.is-past > * { opacity: .45; }
.card.is-now { box-shadow: 0 0 0 3px var(--lime-bright); }
.now-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--pink); color: var(--navy);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 2px 9px; border-radius: 999px;
}
.next-badge {
  display: inline-flex; align-items: center;
  background: var(--navy); color: var(--lime-bright);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 2px 9px; border-radius: 999px;
}
.now-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--navy); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* Placeholder tag */
.tbc {
  display: inline-block; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-soft); border: 1.5px dashed rgba(5, 18, 67, .3); border-radius: 4px; padding: 0 6px;
  line-height: 1.6; vertical-align: middle;
}

.empty { padding: 40px 0; text-align: center; color: var(--on-navy-soft); }

/* Footer */
.foot { padding: 8px 0 calc(40px + env(safe-area-inset-bottom)); text-align: center; }
.foot__cta {
  display: inline-block; color: var(--lime-bright); text-decoration: none;
  font-size: 17px; font-weight: 500; padding: 12px 4px; letter-spacing: -.01em;
}
.foot__cta:hover { text-decoration: underline; }
.foot p { font-size: 13px; color: var(--on-navy-soft); }
.foot .tbc { color: var(--on-navy-soft); border-color: var(--on-navy-line); }

/* ==========================================================================
   FAQ PAGE
   ========================================================================== */
.hero--faq { padding-bottom: 30px; }
.hero__watermark {
  position: absolute; right: -2vw; bottom: -6vw;
  font-size: 46vw; font-weight: 500; line-height: .8; letter-spacing: -.06em;
  color: var(--numerals); opacity: .55; pointer-events: none; user-select: none;
}
.faq-hero { position: relative; margin-top: 26px; }
.faq-hero__title { font-size: 36px; font-weight: 600; line-height: 1.22; letter-spacing: -.03em; }
.faq-hero__title em {
  font-style: normal; background: var(--lime-bright); padding: 0 .12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.faq-hero__sub { margin-top: 12px; font-size: 16px; font-weight: 500; }

.daybar--chips { padding: 14px 0 12px; }
.chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter);
  scroll-padding-inline: var(--gutter);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 4px; border: 1.5px solid var(--on-navy-line);
  color: var(--white); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.chip:hover { border-color: var(--lime-bright); color: var(--lime-bright); }

.main--faq { display: grid; gap: 30px; }
.faq-cat__title {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-size: 20px; font-weight: 600; letter-spacing: -.02em;
}
.faq-cat__title .num {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--pink); color: var(--navy); font-size: 14px; font-weight: 700; letter-spacing: 0;
}

.faq { background: var(--white); color: var(--navy); border-radius: 10px; margin-bottom: 8px; }
.faq__q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 16px;
  font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--lime-bright); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px;
  background: var(--navy); transform: translate(-50%, -50%);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq__icon { background: var(--navy); }
.faq[open] .faq__icon::before { background: var(--lime-bright); }
.faq[open] .faq__icon::after { display: none; }
.faq__a {
  margin: 0 16px; padding: 14px 0 16px;
  border-top: 2px solid var(--lime-bright);
  font-size: 15px; color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.faq__link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--lime-bright); background: var(--navy); padding: 7px 12px; border-radius: 4px;
  font-size: 14px; font-weight: 600; text-decoration: none;
}

/* ==========================================================================
   LARGER SCREENS — more space, same hierarchy
   ========================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .hero__numerals { font-size: 22vw; }

  .hero__title { font-size: 42px; }
  .hero__logo { width: 120px; }
  .day__weekday .long { display: inline; }
  .day__weekday .short { display: none; }
  .day { min-height: 76px; }
  .day__num { font-size: 30px; }
  .card { grid-template-columns: 52px 1fr; gap: 18px; padding: 20px 22px 18px; }
  .card__icon { width: 52px; height: 52px; font-size: 26px; }
  .card__title { font-size: 21px; }
  .tracks { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
  .faq-hero__title { font-size: 48px; }
}

@media (min-width: 960px) {
  :root { --nav-h: 72px; }
  .nav__links { flex: none; display: flex; gap: 8px; }
  .nav__links a { font-size: 18px; padding: 0 18px; }

  .hero { padding: 28px 0 44px; }
  .event-switch { max-width: 520px; }
  .hero__numerals { font-size: min(20vw, 230px); margin-top: 28px; }
  .hero__row { margin-top: 8px; }
  .hero__title { font-size: 64px; }
  .hero__meta { font-size: 22px; }
  .hero__venue { font-size: 16px; }
  .hero__logo { width: 170px; }

  .daybar { padding: 20px 0 18px; }
  .days { max-width: 780px; gap: 12px; }
  .day { min-height: 84px; }
  .day:hover:not([aria-selected="true"]) { border-color: var(--lime-bright); }
  .day__num { font-size: 34px; }

  .main { padding-top: 34px; padding-bottom: 48px; }
  .slots, .day-head { max-width: 880px; }
  .day-head { font-size: 26px; margin-bottom: 20px; }
  .slots { gap: 14px; }

  .hero--faq { padding-bottom: 56px; }
  .hero__watermark { font-size: 300px; right: 2vw; bottom: -40px; }
  .faq-hero { margin-top: 48px; }
  .faq-hero__title { font-size: 68px; }
  .faq-hero__sub { font-size: 20px; }
  .main--faq > * { max-width: 880px; }
  .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 2px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
