/* ==========================================================================
   NBBOA AGM & Conference 2027
   Palette sampled from the NBBOA logo: navy field, teal N, leaf-green house,
   lime O. Motion uses transform/opacity only and respects reduced motion.
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #0a1628;
  --navy-900: #0f2036;
  --navy-800: #162a45;
  --navy-700: #1e3756;
  --navy-600: #2a4a70;
  --teal-300: #6fd3c9;
  --teal-400: #2bb5a9;
  --teal-500: #1ba39c;
  --teal-700: #0e7c76;
  --green-400: #8cc63f;
  --green-700: #4e7f1a;
  --lime-400: #d7df23;
  --lime-200: #eef2a6;

  /* Neutrals */
  --ivory: #f6f7f2;
  --paper: #ffffff;
  --ink: #12233a;
  --ink-soft: #3e516a;
  --line-light: #d9e0dc;

  /* On dark */
  --on-dark: #eef4f6;
  --on-dark-soft: #a9bacb;
  --line-dark: rgba(169, 186, 203, .18);

  /* Type */
  --font-sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --step--1: clamp(.875rem, .85rem + .1vw, .9375rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.2rem + .9vw, 1.9rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.6vw, 2.6rem);
  --step-4: clamp(2.15rem, 1.55rem + 2.9vw, 3.9rem);
  --step-5: clamp(2.7rem, 1.6rem + 5vw, 5.6rem);

  /* Space */
  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem);
  --gutter: clamp(1rem, .4rem + 2.6vw, 2.5rem);
  --container: 1200px;
  --header-h: 72px;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgba(10, 22, 40, .06), 0 6px 16px -6px rgba(10, 22, 40, .12);
  --shadow-2: 0 2px 6px rgba(10, 22, 40, .08), 0 24px 48px -16px rgba(10, 22, 40, .28);

  /* Motion tokens */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.45, .64, 1);
  --dur-1: 150ms;
  --dur-2: 250ms;
  --dur-3: 450ms;
  --dur-4: 800ms;

  /* Layers */
  --z-raised: 10;
  --z-header: 40;
  --z-menu: 50;
  --z-header-open: 55;
  --z-progress: 60;
  --z-skip: 100;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Keep the hidden attribute working on elements that set their own display */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--on-dark);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--lime-400);
  outline-offset: 3px;
  border-radius: 6px;
}
.section--light :focus-visible { outline-color: var(--teal-700); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: .75rem; left: .75rem;
  z-index: var(--z-skip);
  padding: .75rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--lime-400);
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--dur-2) var(--ease-out);
}
.skip-link:focus { transform: none; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* ---------- Sections & type ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--light { background: var(--ivory); color: var(--ink); color-scheme: light; }
.section--dark { background: var(--navy-900); color: var(--on-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.1rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-300);
}
.section--light .eyebrow { color: var(--teal-700); }
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: left center;
}

.h2 {
  font-size: var(--step-4);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.h2 em, .footer-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--lime-400);
}
.section--light .h2 em { color: var(--teal-700); }

.lead { font-size: var(--step-1); line-height: 1.6; color: var(--on-dark-soft); }
.section--light .lead { color: var(--ink-soft); }
.section--light p { color: var(--ink-soft); }

.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; }
}
.split .lead + .btn { margin-top: 1.5rem; }
.about-intro p + p { margin-top: 1rem; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--split {
  display: grid;
  gap: 1.25rem;
  align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr auto; }
}
.section-head--center { text-align: center; max-width: 46rem; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-top: 1.25rem; }

.note {
  display: inline-flex;
  align-items: flex-start;
  gap: .6rem;
  max-width: 26rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  font-size: var(--step--1);
  color: var(--on-dark-soft);
}
.note .icon { color: var(--lime-400); margin-top: .15rem; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .75rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--dur-2) var(--ease-out),
    background-color var(--dur-2) ease,
    border-color var(--dur-2) ease,
    color var(--dur-2) ease,
    box-shadow var(--dur-3) var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform var(--dur-3) var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: .95rem 1.8rem; font-size: 1.0625rem; }

.btn--primary { background: var(--lime-400); color: var(--navy-900); }
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .8s var(--ease-out);
}
.btn--primary:hover { box-shadow: 0 10px 28px -10px rgba(215, 223, 35, .6); }
.btn--primary:hover::after { transform: translateX(130%); }

.btn--ghost { border-color: rgba(238, 244, 246, .3); color: var(--on-dark); background: transparent; }
.btn--ghost:hover, .btn--ghost[aria-expanded="true"] { border-color: var(--teal-400); background: rgba(43, 181, 169, .1); }

.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); box-shadow: 0 12px 28px -12px rgba(15, 32, 54, .55); }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-progress);
  height: 3px;
  pointer-events: none;
}
.progress-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal-400), var(--green-400), var(--lime-400));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  height: var(--header-h);
  padding-top: env(safe-area-inset-top);
  box-sizing: content-box;
  transition:
    transform var(--dur-3) var(--ease-out),
    background-color var(--dur-3) ease,
    box-shadow var(--dur-3) ease,
    opacity var(--dur-4) ease;
}
.site-header.is-scrolled {
  background: rgba(15, 32, 54, .95);
  box-shadow: 0 1px 0 var(--line-dark);
}
@media (min-width: 768px) {
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header.is-scrolled {
      background: rgba(15, 32, 54, .85);
      -webkit-backdrop-filter: blur(14px) saturate(140%);
      backdrop-filter: blur(14px) saturate(140%);
    }
  }
}
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 44px;
  text-decoration: none;
}
.brand img { width: 58px; height: auto; transition: transform var(--dur-3) var(--ease-spring); }
.brand:hover img { transform: rotate(-4deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.0625rem; font-weight: 700; letter-spacing: .08em; }
.brand-text span { font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-300); white-space: nowrap; }

.nav { display: none; margin-left: auto; }
@media (min-width: 1100px) { .nav { display: block; } }
.nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .8rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--on-dark-soft);
  text-decoration: none;
  transition: color var(--dur-2) ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: .8rem; right: .8rem; bottom: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime-400);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--dur-3) var(--ease-out);
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--on-dark); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left center; }

.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
@media (min-width: 1100px) { .header-actions { margin-left: .5rem; } }

.lang-toggle {
  --lang-w: 44px;
  --lang-h: 38px;
  position: relative;
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
}
.lang-toggle button {
  position: relative;
  z-index: 1;
  min-width: var(--lang-w);
  min-height: var(--lang-h);
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--on-dark-soft);
  cursor: pointer;
  transition: color var(--dur-3) ease;
}
.lang-toggle button[aria-pressed="true"] { color: var(--navy-900); }
.lang-pill {
  position: absolute;
  top: 3px; left: 3px;
  width: var(--lang-w); height: var(--lang-h);
  border-radius: var(--radius-pill);
  background: var(--teal-400);
  transition: transform var(--dur-3) var(--ease-spring);
}
.lang-toggle[data-lang="fr"] .lang-pill { transform: translateX(var(--lang-w)); }

/* Small phones (≤359px): tighten the header so everything fits on one row */
@media (max-width: 359px) {
  .header-inner { gap: .5rem; }
  .header-actions { gap: .4rem; }
  .brand { gap: .5rem; }
  .brand img { width: 44px; }
  .lang-toggle { --lang-w: 40px; }
}

.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.menu-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.menu-btn .icon { grid-area: 1 / 1; transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2) ease; }
.menu-btn .icon-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.menu-btn[aria-expanded="true"] .icon-open { opacity: 0; transform: rotate(90deg) scale(.6); }
.menu-btn[aria-expanded="true"] .icon-close { opacity: 1; transform: none; }
@media (min-width: 1100px) { .menu-btn { display: none; } }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 1.5rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(80% 50% at 100% 0%, rgba(43, 181, 169, .18), transparent 70%),
    var(--navy-950);
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3);
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity var(--dur-3) var(--ease-out), visibility 0s; }
.mobile-links li, .mobile-menu-foot {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
}
.mobile-menu.is-open .mobile-links li, .mobile-menu.is-open .mobile-menu-foot {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 45ms + 80ms);
}
.mobile-links a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: var(--step-3);
  font-weight: 500;
  letter-spacing: -.02em;
  text-decoration: none;
}
.mm-num { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; color: var(--teal-300); }
.mobile-menu-foot { display: grid; gap: 1rem; }
.mobile-menu-foot p { color: var(--on-dark-soft); font-size: var(--step--1); }

body.menu-open { overflow: hidden; }
body.menu-open .site-header {
  z-index: var(--z-header-open);
  background: transparent;
  box-shadow: none;
  transform: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + clamp(2rem, 6vw, 4.5rem)) 0 clamp(4rem, 8vw, 6rem);
  overflow: clip;
  background: radial-gradient(110% 80% at 85% 0%, var(--navy-700) 0%, var(--navy-900) 58%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 70% 45%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 70% 45%, #000 25%, transparent 78%);
}
.hero-grid::before {
  content: "";
  position: absolute;
  inset: -56px;
  background-image:
    linear-gradient(rgba(111, 211, 201, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 211, 201, .08) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: grid-drift 28s linear infinite;
}
@keyframes grid-drift { to { transform: translate3d(56px, 56px, 0); } }

.orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb--teal {
  width: 62vmax; height: 62vmax;
  left: -24vmax; top: -16vmax;
  background: radial-gradient(closest-side, rgba(27, 163, 156, .26), transparent);
  animation: orb-a 24s var(--ease-in-out) infinite alternate;
}
.orb--lime {
  width: 46vmax; height: 46vmax;
  right: -16vmax; bottom: -24vmax;
  background: radial-gradient(closest-side, rgba(215, 223, 35, .12), transparent);
  animation: orb-b 28s var(--ease-in-out) infinite alternate;
}
@keyframes orb-a { to { transform: translate3d(9vmax, 7vmax, 0) scale(1.08); } }
@keyframes orb-b { to { transform: translate3d(-8vmax, -6vmax, 0) scale(1.12); } }
.hero.is-offscreen .hero-grid::before,
.hero.is-offscreen .orb,
.hero.is-offscreen .orbit { animation-play-state: paused; }

.hero-inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 3rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.12fr .88fr; }
}

.hero-eyebrow { color: var(--lime-400); }
.eyebrow sup { font-size: .72em; line-height: 0; text-transform: none; letter-spacing: .04em; }
.hero-title {
  margin: 0 0 1.5rem;
  font-size: var(--step-5);
  line-height: .98;
  font-weight: 600;
  letter-spacing: -.035em;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding: 0 .12em .1em 0;
  margin-bottom: -.1em;
}
.hero-title .line > span { display: inline-block; }
.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.015em;
  color: var(--lime-400);
}
.hero-lead { max-width: 34rem; font-size: var(--step-1); color: var(--on-dark-soft); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.75rem;
  margin: 1.75rem 0 2rem;
  font-weight: 500;
}
.hero-meta li { display: inline-flex; align-items: center; gap: .55rem; }
.hero-meta .icon { color: var(--teal-300); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Calendar menu */
.cal { position: relative; }
.cal-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: var(--z-raised);
  display: grid;
  gap: 2px;
  min-width: 250px;
  padding: .4rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--navy-800);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.98);
  transform-origin: top left;
  transition: opacity var(--dur-2) ease, transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.cal-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-2) ease, transform var(--dur-3) var(--ease-out), visibility 0s; }
.cal-menu--end { left: auto; right: 0; transform-origin: top right; }
.cal-menu a {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  padding: .5rem .8rem;
  border-radius: 10px;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--dur-1) ease;
}
.cal-menu a:hover { background: rgba(43, 181, 169, .14); }
.cal-menu .icon { color: var(--teal-300); }

/* Countdown */
.countdown-wrap { margin-top: 2.75rem; }
.countdown-label {
  margin-bottom: .75rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  max-width: 440px;
}
.cd-unit {
  padding: .9rem .4rem .75rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
  text-align: center;
}
.cd-num {
  display: block;
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.35rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.cd-name {
  display: block;
  margin-top: .45rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.countdown-status { font-size: var(--step-1); font-weight: 600; color: var(--lime-400); }
.countdown-guide { margin-top: 1rem; }

/* Hero art */
.hero-art { position: relative; width: 100%; max-width: 540px; margin-inline: auto; }
@media (max-width: 959px) { .hero-art { max-width: 360px; } }
.hero-art svg { width: 100%; height: auto; overflow: visible; }

/* Shared SVG art styles */
.c-teal { stroke: var(--teal-400); }
.c-teal-l { stroke: var(--teal-300); }
.c-teal-dim { stroke: rgba(111, 211, 201, .35); }
.c-green { stroke: var(--green-400); }
.c-lime { stroke: var(--lime-400); }
.c-lime-faint { stroke: rgba(215, 223, 35, .35); }
.c-soft { stroke: #6f8aa3; }
.c-faint { stroke: rgba(169, 186, 203, .28); stroke-width: 1.25; }
.dashed { stroke-dasharray: 4 7; }
.art-label { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: .22em; fill: var(--on-dark-soft); }
.orbit {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  display: none;
  width: 44px;
  height: 64px;
  margin-left: -22px;
  justify-content: center;
}
@media (min-width: 960px) and (min-height: 760px) { .scroll-cue { display: flex; } }
.scroll-cue-line {
  position: relative;
  width: 1px;
  height: 100%;
  overflow: hidden;
  background: var(--line-dark);
}
.scroll-cue-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, var(--lime-400));
  transform: translateY(-100%);
  animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue { 60%, 100% { transform: translateY(100%); } }

/* ---------- Ribbon ---------- */
.ribbon {
  position: relative;
  padding: 1.15rem 0;
  border-block: 1px solid var(--line-dark);
  background: var(--navy-950);
}
.ribbon-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ribbon-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ribbon.is-paused .ribbon-track, .ribbon.is-offscreen .ribbon-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.ribbon-group {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  white-space: nowrap;
  font-size: var(--step-2);
  font-weight: 500;
  letter-spacing: -.01em;
}
.ribbon-group em { font-family: var(--font-serif); font-weight: 300; color: var(--teal-300); }
.ribbon-mark {
  width: 14px; height: 12px;
  flex: none;
  background: var(--lime-400);
  clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%);
}
.ribbon-toggle {
  position: absolute;
  top: 50%;
  right: max(.5rem, calc(var(--gutter) - 1rem));
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: var(--navy-800);
  cursor: pointer;
  transform: translateY(-50%);
  opacity: .75;
  transition: opacity var(--dur-2) ease;
}
.ribbon-toggle:hover, .ribbon-toggle:focus-visible { opacity: 1; }
.ribbon-toggle .icon { grid-area: 1 / 1; width: 1rem; height: 1rem; }
.ribbon-toggle .icon-play, .ribbon.is-paused .ribbon-toggle .icon-pause { display: none; }
.ribbon.is-paused .ribbon-toggle .icon-play { display: block; }

/* ---------- About ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: clamp(3rem, 6vw, 4.5rem);
  border-block: 1px solid var(--line-light);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: .25rem;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(.5rem, 2vw, 1.5rem);
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--line-light); }
.stat dd {
  font-size: clamp(2.6rem, 1.6rem + 4.5vw, 4.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
}
.stat-suffix { font-size: .42em; vertical-align: super; letter-spacing: 0; color: var(--teal-700); margin-left: .05em; }
.stat dt { font-size: var(--step--1); font-weight: 500; color: var(--ink-soft); }

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out), border-color var(--dur-3) ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-500), var(--green-400), var(--lime-400));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-4) var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(27, 163, 156, .14), rgba(140, 198, 63, .14));
  color: var(--teal-700);
  transition: transform var(--dur-3) var(--ease-spring);
}
.card:hover .card-icon { transform: rotate(-6deg) scale(1.06); }
.card-icon .icon { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; font-size: var(--step-1); font-weight: 600; line-height: 1.3; color: var(--ink); }
.card p { font-size: .98rem; }

/* ---------- Program ---------- */
.program {
  background:
    radial-gradient(70% 50% at 0% 0%, rgba(27, 163, 156, .12), transparent 70%),
    var(--navy-900);
}
.tablist {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line-dark);
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
  min-height: 64px;
  padding: 1rem clamp(.5rem, 2vw, 1.5rem) 1.25rem;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--on-dark-soft);
  transition: color var(--dur-2) ease, background-color var(--dur-2) ease;
}
.tab:hover { color: var(--on-dark); background: rgba(255, 255, 255, .02); }
.tab[aria-selected="true"] { color: var(--on-dark); }
.tab-day { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.tab[aria-selected="true"] .tab-day { color: var(--lime-400); }
.tab-date { font-size: var(--step-2); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.tab-date strong { font-weight: 600; }
.tab-theme { display: none; font-family: var(--font-serif); font-style: italic; font-weight: 300; color: var(--teal-300); }
@media (min-width: 640px) { .tab-theme { display: block; } }
.tab-indicator {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: calc(100% / 3);
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--teal-400), var(--lime-400));
  transform: translateX(calc(var(--tab, 0) * 100%));
  transition: transform var(--dur-3) var(--ease-out);
}

.tabpanel { padding-top: 1rem; }
.tabpanel:focus-visible { outline-offset: 6px; }
.timeline { position: relative; }
.session {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: .35rem;
  padding: 1.35rem 0 1.35rem 1.75rem;
  border-bottom: 1px solid var(--line-dark);
}
.session::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line-dark);
}
.session::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1.75rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--navy-900);
  box-shadow: inset 0 0 0 2px var(--teal-400);
  transition: transform var(--dur-3) var(--ease-spring), background-color var(--dur-2) ease;
}
.session:hover::after { transform: scale(1.4); background: var(--teal-400); }
@media (min-width: 720px) {
  .session { grid-template-columns: 8.5rem 1fr; gap: 1.5rem; padding-left: 2rem; }
}
.session-time {
  padding-top: .15rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--teal-300);
  white-space: nowrap;
}
.session-title { font-size: var(--step-1); font-weight: 600; line-height: 1.35; }
.session-desc { margin-top: .35rem; max-width: 46rem; color: var(--on-dark-soft); font-size: .98rem; }
.session--break .session-title { font-size: 1rem; font-weight: 500; color: var(--on-dark-soft); }
.session--break::after { box-shadow: inset 0 0 0 2px #50687f; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .55rem;
  padding: .28rem .65rem;
  border-radius: var(--radius-pill);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--keynote { color: var(--lime-400); background: rgba(215, 223, 35, .12); }
.chip--technical { color: var(--teal-300); background: rgba(43, 181, 169, .14); }
.chip--business { color: #c9d6e3; background: rgba(201, 214, 227, .1); }
.chip--social { color: var(--green-400); background: rgba(140, 198, 63, .13); }

/* ---------- Venue ---------- */
.venue-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 960px) { .venue-grid { grid-template-columns: 1fr 1fr; } }
.venue-copy .lead { margin-top: 1.25rem; }
.venue-address {
  display: flex;
  gap: .85rem;
  margin: 1.75rem 0;
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--green-400);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper);
  font-style: normal;
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.venue-address .icon { color: var(--teal-700); margin-top: .2rem; }
.venue-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

.venue-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 480 / 420;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(27, 163, 156, .2), transparent 70%),
    var(--navy-900);
  box-shadow: var(--shadow-2);
}
.venue-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(111, 211, 201, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 211, 201, .07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.venue-art svg { position: relative; width: 100%; height: 100%; }
.venue-tag {
  position: absolute;
  top: 7%;
  left: 59%;
  padding: .4rem .8rem;
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--navy-900);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-1);
}

.venue-pin { transform-box: fill-box; transform-origin: 50% 100%; }
.pin-pulse {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}
.venue-art.is-in .pin-pulse { animation: pulse 2.6s var(--ease-out) 1.6s infinite; }
.venue-art.is-in .pin-pulse--late { animation-delay: 2.9s; }
@keyframes pulse {
  0% { transform: scale(1); opacity: .9; }
  100% { transform: scale(3.2); opacity: 0; }
}
.venue-art.is-offscreen .pin-pulse { animation-play-state: paused; }

.travel {
  display: grid;
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.travel-item {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--paper);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.travel-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.travel-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--navy-800);
  color: var(--lime-400);
}
.travel-item h3 { margin-bottom: .3rem; font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.travel-item p { font-size: .95rem; line-height: 1.55; }

/* ---------- Dining guide ---------- */
/* A lighter navy than Registration below, so the two dark sections read as separate */
.dining {
  border-top: 1px solid var(--line-dark);
  background:
    radial-gradient(55% 45% at 100% 0%, rgba(215, 223, 35, .08), transparent 70%),
    var(--navy-800);
}
.dine-lead { max-width: 34rem; }

/* Two-option switch between the General and Allergy-conscious guides */
.guide-switch {
  --tabs: 2;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--tabs), minmax(0, 1fr));
  max-width: 34rem;
  margin-bottom: 1.75rem;
  padding: 4px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  background: rgba(10, 22, 40, .35);
}
.guide-pill {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc((100% - 8px) / var(--tabs));
  border-radius: var(--radius-pill);
  background: var(--teal-400);
  transform: translateX(calc(var(--tab, 0) * 100%));
  transition: transform var(--dur-3) var(--ease-spring);
}
.guide-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .5rem .85rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--on-dark-soft);
  cursor: pointer;
  touch-action: manipulation;
  transition: color var(--dur-3) ease;
}
.guide-tab:hover { color: var(--on-dark); }
.guide-tab[aria-selected="true"] { color: var(--navy-900); }
.guide-tab .icon { width: 1.1rem; height: 1.1rem; }
.dine-panel:focus-visible { outline-offset: 6px; }

/* Guide switch and "Takeout only" on one row, wrapping on phones */
.dine-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-bottom: 1.75rem;
}
.dine-controls .guide-switch { flex: 1 1 22rem; margin-bottom: 0; }
.takeout-toggle {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 48px;
  padding: .35rem .5rem .35rem .25rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--on-dark);
  cursor: pointer;
  touch-action: manipulation;
}
.takeout-toggle > .icon { width: 1.1rem; height: 1.1rem; color: var(--lime-400); }
.switch-track {
  position: relative;
  flex: none;
  width: 46px;
  height: 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  background: rgba(169, 186, 203, .22);
  transition: background-color var(--dur-2) ease, border-color var(--dur-2) ease;
}
.switch-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--on-dark);
  transition: transform var(--dur-3) var(--ease-spring), background-color var(--dur-2) ease;
}
.takeout-toggle:hover .switch-track { border-color: var(--lime-400); }
.takeout-toggle[aria-pressed="true"] .switch-track { border-color: var(--lime-400); background: var(--lime-400); }
.takeout-toggle[aria-pressed="true"] .switch-thumb { transform: translateX(20px); background: var(--navy-900); }
.dine-guides.takeout-only .spot:not([data-takeout]) { display: none; }

.allergy-note {
  display: flex;
  gap: .85rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(215, 223, 35, .3);
  border-left: 3px solid var(--lime-400);
  border-radius: var(--radius);
  background: rgba(215, 223, 35, .06);
}
.allergy-note > .icon { width: 1.4rem; height: 1.4rem; margin-top: .1rem; color: var(--lime-400); }
.allergy-note-title { font-weight: 600; color: var(--on-dark); }
.allergy-note p + p { margin-top: .25rem; font-size: .95rem; color: var(--on-dark-soft); }
.allergy-event { margin-top: 1.25rem; font-size: var(--step--1); color: var(--on-dark-soft); }

.spots {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.spot {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1.5rem 1.5rem 1.1rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(10, 22, 40, .35);
  transition: transform var(--dur-3) var(--ease-out), border-color var(--dur-3) ease;
}
.spot[hidden] { display: none; }
.spot:hover { transform: translateY(-4px); border-color: rgba(215, 223, 35, .4); }
.spot--onsite {
  border-color: rgba(215, 223, 35, .45);
  background: linear-gradient(160deg, rgba(215, 223, 35, .09), rgba(10, 22, 40, .35) 60%);
}
.spot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .4rem .75rem;
  margin-bottom: .35rem;
}
.spot-walk {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--lime-400);
}
.spot-walk .icon { width: 1rem; height: 1rem; }
.spot-kind {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-300);
}
.spot-name { font-size: var(--step-1); font-weight: 600; line-height: 1.3; }
.spot-desc { color: var(--on-dark-soft); font-size: .96rem; }
.spot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .9rem;
  margin-top: .15rem;
  font-size: .875rem;
}
.spot-meta:empty, .spot-meta:not(:has(> :not([hidden]))) { display: none; }
.spot-hours { color: var(--on-dark-soft); }
.spot-eat { font-weight: 600; color: var(--teal-300); }
.spot-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .1rem .55rem;
  border: 1px solid rgba(215, 223, 35, .45);
  border-radius: var(--radius-pill);
  font-size: .75rem;
  font-weight: 600;
  color: var(--lime-400);
}
.spot-badge .icon { width: .85rem; height: .85rem; }
.spot-eat[hidden] { display: none; }
.spot-diet { display: flex; flex-wrap: wrap; gap: .4rem; }
.spot-diet li {
  padding: .25rem .65rem;
  border-radius: var(--radius-pill);
  background: rgba(140, 198, 63, .13);
  font-size: .75rem;
  font-weight: 600;
  color: var(--green-400);
}
.spot-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1rem;
  margin-top: auto;
  padding-top: .85rem;
  border-top: 1px solid var(--line-dark);
  font-size: .875rem;
  color: var(--on-dark-soft);
}
.spot-desc + .spot-foot { margin-top: .75rem; }
.spot-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--teal-300);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-2) ease;
}
.spot-link:hover { color: var(--lime-400); }
.spot-link .icon { width: 1rem; height: 1rem; transition: transform var(--dur-3) var(--ease-out); }
.spot-link:hover .icon { transform: translate(2px, -2px); }

.dine-note {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  max-width: 46rem;
  margin-top: 1.75rem;
  font-size: var(--step--1);
  color: var(--on-dark-soft);
}
.dine-note .icon { margin-top: .15rem; color: var(--teal-300); }

/* ---------- Registration ---------- */
.register {
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(140, 198, 63, .1), transparent 70%),
    var(--navy-900);
}
.tiers {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.tier {
  --mx: 50%;
  --my: 0%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
  transition: transform var(--dur-3) var(--ease-out), border-color var(--dur-3) ease;
}
.tier::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(43, 181, 169, .16), transparent 45%);
  opacity: 0;
  transition: opacity var(--dur-3) ease;
}
.tier:hover { transform: translateY(-4px); border-color: rgba(43, 181, 169, .45); }
.tier:hover::before { opacity: 1; }
.tier--featured {
  border-color: transparent;
  background:
    linear-gradient(var(--navy-800), var(--navy-800)) padding-box,
    linear-gradient(140deg, var(--teal-400), var(--green-400) 50%, var(--lime-400)) border-box;
  border: 1.5px solid transparent;
}
.tier--featured:hover { border-color: transparent; }
@media (min-width: 900px) { .tier--featured { transform: translateY(-12px); } .tier--featured:hover { transform: translateY(-16px); } }
.tier-badge {
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  background: var(--lime-400);
  color: var(--navy-900);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tier-name { font-size: var(--step-2); font-weight: 600; letter-spacing: -.02em; }
.tier-for { margin-top: .2rem; color: var(--teal-300); font-weight: 500; }
.tier-price {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin: 1.5rem 0;
  padding-block: 1.25rem;
  border-block: 1px solid var(--line-dark);
}
.tier-amount { font-size: var(--step-3); font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.tier-note { font-size: .875rem; color: var(--on-dark-soft); }
.tier-list { display: grid; gap: .7rem; }
.tier-list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .98rem; }
.tier-list .icon { width: 1.1rem; height: 1.1rem; margin-top: .25rem; color: var(--green-400); stroke-width: 2.25; }

.dates { margin-top: clamp(3.5rem, 7vw, 5rem); }
.dates-title {
  margin-bottom: 1.5rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  text-align: center;
}
.dates-line {
  position: relative;
  display: grid;
  gap: 1.5rem;
}
.dates-line::before {
  content: "";
  position: absolute;
  top: 8px; bottom: 8px; left: 7px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal-400), var(--green-400), var(--lime-400));
  transform-origin: top center;
}
@media (min-width: 720px) {
  .dates-line { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .dates-line::before {
    top: 7px; bottom: auto;
    left: 12.5%; right: 12.5%;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-400), var(--green-400), var(--lime-400));
    transform-origin: left center;
  }
  .dates-line li { text-align: center; align-items: center; padding-left: 0 !important; }
  .dates-line li::before { left: 50% !important; margin-left: -8px; }
}
.dates-line li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding-left: 2rem;
  padding-top: 0;
}
@media (min-width: 720px) { .dates-line li { padding-top: 2rem; } }
.dates-line li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--navy-900);
  box-shadow: inset 0 0 0 3px var(--teal-400);
}
.dates-line li:last-child::before { box-shadow: inset 0 0 0 3px var(--lime-400); background: var(--lime-400); }
.dates-when { font-weight: 600; font-size: var(--step-1); }
.dates-what { color: var(--on-dark-soft); font-size: .95rem; }

.reg-cta { margin-top: clamp(3rem, 6vw, 4.5rem); text-align: center; }
.reg-help { margin-top: 1.1rem; color: var(--on-dark-soft); font-size: .95rem; }
.reg-help a { color: var(--teal-300); text-underline-offset: 3px; }

/* ---------- Sponsors ---------- */
.sp-tiers {
  display: grid;
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.sp-tier {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--paper);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.sp-tier::before {
  content: "";
  display: block;
  width: 36px; height: 4px;
  margin-bottom: 1.1rem;
  border-radius: 4px;
  background: var(--tier-color, var(--teal-500));
  transition: width var(--dur-4) var(--ease-out);
}
.sp-tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.sp-tier:hover::before { width: 64px; }
.sp-tier--platinum { --tier-color: linear-gradient(90deg, #8fa3b8, #dfe7ee); }
.sp-tier--gold { --tier-color: var(--lime-400); }
.sp-tier--silver { --tier-color: var(--teal-500); }
.sp-tier--exhibitor { --tier-color: var(--green-400); }
.sp-tier h3 { margin-bottom: .45rem; font-size: var(--step-1); font-weight: 600; color: var(--ink); }
.sp-tier p { font-size: .96rem; }

.logo-wall { margin-top: clamp(3rem, 6vw, 4.5rem); }
.logo-wall-title {
  margin-bottom: 1.25rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.logo-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
}
.logo-grid li {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 1rem;
  border: 1.5px dashed #b7c4bf;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 500;
  color: #5d6f84;
  transition: border-color var(--dur-3) ease, background-color var(--dur-3) ease, color var(--dur-3) ease;
}
.logo-grid li:hover { border-color: var(--teal-700); background: rgba(27, 163, 156, .06); color: var(--teal-700); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.faq-contact { margin-top: 1.5rem; color: var(--on-dark-soft); }
.faq-contact a { color: var(--teal-300); font-weight: 500; text-underline-offset: 3px; }
.faq-list { border-top: 1px solid var(--line-dark); }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 1.1rem 0;
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: color var(--dur-2) ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal-300); }
.faq-item summary .icon {
  width: 36px; height: 36px;
  padding: 8px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition: transform var(--dur-3) var(--ease-out), background-color var(--dur-2) ease, color var(--dur-2) ease;
}
.faq-item[open] summary .icon { transform: rotate(180deg); background: var(--lime-400); color: var(--navy-900); border-color: var(--lime-400); }
.faq-body { padding: 0 3rem 1.5rem 0; color: var(--on-dark-soft); }
.faq-item[open] .faq-body { animation: faq-in var(--dur-3) var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: var(--section-y) 0 calc(2rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-dark);
  background:
    radial-gradient(60% 60% at 100% 100%, rgba(27, 163, 156, .14), transparent 70%),
    var(--navy-950);
}
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-dark);
}
.footer-title { font-size: var(--step-5); font-weight: 600; line-height: 1; letter-spacing: -.035em; }
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { width: 104px; height: auto; margin-bottom: 1.1rem; }
.footer-brand p { color: var(--on-dark-soft); font-size: .95rem; max-width: 26rem; }
.footer-brand strong { color: var(--on-dark); font-weight: 600; }
.footer-h {
  margin-bottom: .9rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-300);
}
.footer-nav ul { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.footer-nav a { display: flex; }
.footer-nav a, .footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-dark-soft);
  text-decoration: none;
  transition: color var(--dur-2) ease;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--lime-400); }
.footer-venue { margin-top: .75rem; color: var(--on-dark-soft); font-size: .95rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: .875rem;
  color: var(--on-dark-soft);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: var(--z-raised);
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--lime-400);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.9);
  transition: opacity var(--dur-3) ease, transform var(--dur-3) var(--ease-spring), visibility 0s linear var(--dur-3), background-color var(--dur-2) ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--navy-700); }

/* ==========================================================================
   Motion: intro, reveal, line drawing (only when JS is running)
   ========================================================================== */
.js .site-header { opacity: 0; }
.js.is-ready .site-header { opacity: 1; }

.js [data-intro] { opacity: 0; transform: translateY(18px); }
.js.is-ready [data-intro] {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms + 80ms);
}
.js .hero-title .line > span { transform: translateY(108%); }
.js.is-ready .hero-title .line > span {
  transform: none;
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms + 120ms);
}

.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
/* Cards with hover lifts drop [data-reveal] once revealed (see main.js) so hover transforms apply */
@media (min-width: 900px) { .js .tier--featured[data-reveal].is-in { transform: translateY(-12px); } }

.js .eyebrow[data-reveal]::before { transform: scaleX(0); }
.js .eyebrow[data-reveal].is-in::before { transform: scaleX(1); transition: transform var(--dur-4) var(--ease-out) .2s; }
.js .hero-eyebrow::before { transform: scaleX(0); }
.js.is-ready .hero-eyebrow::before { transform: scaleX(1); transition: transform 1s var(--ease-out) .25s; }

/* SVG line drawing: paths use pathLength="1" */
.js .draw { stroke-dasharray: 1 2; stroke-dashoffset: 1; opacity: 0; }
.js.is-ready .hero-art .draw,
.js .draw-on-view.is-in .draw {
  stroke-dashoffset: 0;
  opacity: 1;
  transition: stroke-dashoffset 1.6s var(--ease-in-out) var(--d, 0s), opacity .2s linear var(--d, 0s);
}
.js .art-fade { opacity: 0; }
.js.is-ready .hero-art .art-fade,
.js .draw-on-view.is-in .art-fade { opacity: 1; transition: opacity 1s ease var(--d, 0s); }

.js .venue-pin { opacity: 0; transform: translateY(-40px); }
.js .venue-art.is-in .venue-pin { opacity: 1; transform: none; transition: transform .9s var(--ease-spring) 1.2s, opacity .3s ease 1.2s; }
.js .venue-tag { opacity: 0; transform: translateY(8px); }
.js .venue-art.is-in .venue-tag { opacity: 1; transform: none; transition: opacity .6s ease 1.6s, transform .6s var(--ease-out) 1.6s; }

/* Key-dates line draws down (mobile) or across (wider screens) */
@media (max-width: 719px) {
  .js .dates[data-reveal] .dates-line::before { transform: scaleY(0); }
  .js .dates[data-reveal].is-in .dates-line::before { transform: scaleY(1); transition: transform 1.4s var(--ease-in-out) .2s; }
}
@media (min-width: 720px) {
  .js .dates[data-reveal] .dates-line::before { transform: scaleX(0); }
  .js .dates[data-reveal].is-in .dates-line::before { transform: scaleX(1); transition: transform 1.4s var(--ease-in-out) .2s; }
}
.js .dates[data-reveal] .dates-line li { opacity: 0; transform: translateY(10px); }
.js .dates[data-reveal].is-in .dates-line li {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 280ms + 300ms);
}

/* Program items rise in when the section is reached and on each tab change */
.program.is-in .tabpanel:not([hidden]) .session { animation: rise .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 55ms); }
/* Dining cards likewise; "backwards" so the cards' own hover lift still works afterwards */
.dining.is-in .dine-panel:not([hidden]) .spot { animation: rise .7s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* Language swap crossfade */
main, .site-footer, .nav, .header-cta, .mobile-menu nav { transition: opacity .18s ease; }
.is-switching main, .is-switching .site-footer, .is-switching .nav, .is-switching .header-cta { opacity: 0; }

/* Lighter motion for low-power / data-saver devices */
.lite .orb, .lite .hero-grid::before, .lite .orbit { animation: none; }

/* ==========================================================================
   Phones and touchscreens: most delegates will only have a phone
   ========================================================================== */
/* Keep focused elements clear of the floating back-to-top button */
html { scroll-padding-bottom: 5rem; }

/* Finger-sized targets */
@media (pointer: coarse) {
  .lang-toggle { --lang-h: 44px; }
}
/* Standalone links: a taller tap area without changing the line's layout */
.reg-help a, .faq-contact a {
  display: inline-block;
  padding-block: .8rem;
  margin-block: -.8rem;
}

/* The hero illustration is decoration; keep it compact so content comes sooner */
@media (max-width: 479px) {
  .hero-art { max-width: 280px; }
}

/* Hover effects stick after a tap on touchscreens, so cancel them where nothing can hover */
@media (hover: none) {
  .card:hover, .travel-item:hover, .sp-tier:hover, .tier:hover, .spot:hover { transform: none; }
  .card:hover { box-shadow: var(--shadow-1); border-color: var(--line-light); }
  .card:hover::before { transform: scaleX(0); }
  .card:hover .card-icon { transform: none; }
  .travel-item:hover, .sp-tier:hover { box-shadow: none; }
  .sp-tier:hover::before { width: 36px; }
  .tier:hover { border-color: var(--line-dark); }
  .tier--featured:hover { border-color: transparent; }
  .tier:hover::before { opacity: 0; }
  .spot:hover { border-color: var(--line-dark); }
  .spot--onsite:hover { border-color: rgba(215, 223, 35, .45); }
  .session:hover::after { transform: none; background: var(--navy-900); }
  .logo-grid li:hover { border-color: #b7c4bf; background: none; color: #5d6f84; }
}
@media (hover: none) and (min-width: 900px) {
  .tier--featured:hover { transform: translateY(-12px); }
}

/* ==========================================================================
   Reduced motion: show everything, keep only instant state changes
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js [data-intro], .js [data-reveal], .js .hero-title .line > span,
  .js .venue-pin, .js .venue-tag, .js .dates[data-reveal] .dates-line li { opacity: 1; transform: none; }
  .js .draw { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 1; }
  .js .art-fade { opacity: 1; }
  .js .eyebrow[data-reveal]::before, .js .hero-eyebrow::before, .js .dates[data-reveal] .dates-line::before { transform: none; }
  .ribbon-track { animation: none; }
  .ribbon-toggle { display: none; }
  .pin-pulse { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-menu, .progress, .ribbon, .hero-art, .hero-bg, .to-top, .scroll-cue, .cal, .countdown-wrap { display: none !important; }
  body, .section--dark, .site-footer, .hero { background: #fff !important; color: #000 !important; }
  .tabpanel[hidden] { display: block !important; }
  [data-reveal], [data-intro] { opacity: 1 !important; transform: none !important; }
}
