/* ═══════════════════════════════════════════════════════════════
   AGLF 2026 — NEXSUMMIT-INSPIRED DARK PREMIUM DESIGN SYSTEM
   Dark graphite surfaces · Orange accent · Geometric sans-serif
   ═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Surfaces */
  --bg: #0D0D0D;
  --bg-card: #1A1D2E;
  --bg-card-hover: #262B42;
  --bg-elevated: #2A2A2A;
  --bg-glass: rgba(10, 10, 10, .72);
  --bg-glass-strong: rgba(10, 10, 10, .88);

  /* Text */
  --text: #FFFFFF;
  --text-muted: #A9B4CC;
  --text-subtle: #66708A;

  /* Accent - AGLF blue */
  --accent: #004BFF;
  --accent-hover: #3364FF;
  --accent-dim: rgba(0, 75, 255, .14);
  --accent-border: rgba(0, 75, 255, .32);

  /* Borders */
  --border: #2A2A2A;
  --border-hover: #3A3A3A;
  --border-light: rgba(255, 255, 255, .06);

  /* Functional */
  --gold: #FFAC00;
  --gold-dim: rgba(255, 172, 0, .12);
  --amber: #FFC64D;

  /* Easing */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Radii */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 100px;

  /* Typography */
  --font-display: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ─── BASE RESETS ────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(255, 87, 34, .3);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION — Floating glassmorphism pill
   ═══════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: .75rem 0;
  transition: padding .35s var(--ease);
}

.site-nav.is-scrolled { padding: .5rem 0; }

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem .6rem .55rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), width .45s var(--ease), padding .35s var(--ease), gap .35s var(--ease), max-width .45s var(--ease), overflow .35s var(--ease);
}

.site-nav.is-scrolled .site-nav-inner {
  background: var(--bg-glass-strong);
  border-color: var(--border);
  box-shadow: none;
}

/* Shrink on scroll — nav collapses to brand-only pill */
.site-nav.is-shrunk .site-nav-inner {
  width: auto;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding-left: .85rem;
  padding-right: .85rem;
  gap: 0;
  overflow: hidden;
  cursor: pointer;
  animation: nav-shrink-bounce .55s cubic-bezier(.22, 1, .36, 1);
}

/* Nav links — animated shrink/expand */
.site-nav .nav-link,
.site-nav .nav-cta {
  transition: opacity .3s var(--ease), transform .35s var(--ease), width .4s var(--ease), padding .35s var(--ease), margin .35s var(--ease), visibility .3s var(--ease);
  white-space: nowrap;
  will-change: opacity, transform;
}

.site-nav.is-shrunk .nav-link,
.site-nav.is-shrunk .nav-cta {
  opacity: 0;
  width: 0;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
}

.site-nav.is-shrunk:hover .nav-link,
.site-nav.is-shrunk:hover .nav-cta {
  opacity: 1;
  width: auto;
  padding-left: inherit;
  padding-right: inherit;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Staggered delay on expand — each link gets a unique delay */
.site-nav.is-shrunk:hover .nav-link:nth-child(1) { transition-delay: .04s; }
.site-nav.is-shrunk:hover .nav-link:nth-child(2) { transition-delay: .08s; }
.site-nav.is-shrunk:hover .nav-link:nth-child(3) { transition-delay: .12s; }
.site-nav.is-shrunk:hover .nav-link:nth-child(4) { transition-delay: .16s; }
.site-nav.is-shrunk:hover .nav-link:nth-child(5) { transition-delay: .20s; }
.site-nav.is-shrunk:hover .nav-link:nth-child(6) { transition-delay: .24s; }
.site-nav.is-shrunk:hover .nav-cta { transition-delay: .28s; }

/* Reverse stagger on shrink — CTA fades first, links after */
.site-nav.is-shrunk .nav-link:nth-child(1) { transition-delay: .14s; }
.site-nav.is-shrunk .nav-link:nth-child(2) { transition-delay: .11s; }
.site-nav.is-shrunk .nav-link:nth-child(3) { transition-delay: .08s; }
.site-nav.is-shrunk .nav-link:nth-child(4) { transition-delay: .05s; }
.site-nav.is-shrunk .nav-link:nth-child(5) { transition-delay: .02s; }
.site-nav.is-shrunk .nav-link:nth-child(6) { transition-delay: 0s; }
.site-nav.is-shrunk .nav-cta { transition-delay: 0s; }

/* Expand on hover */
.site-nav.is-shrunk:hover .site-nav-inner {
  width: 100%;
  max-width: 1280px;
  padding-left: 1rem;
  padding-right: .6rem;
  gap: 1rem;
  overflow: visible;
}

.site-nav.is-shrunk:hover .menu-toggle {
  display: none !important;
}

@keyframes nav-shrink-bounce {
  0% { transform: scale(1); }
  68% { transform: scale(.965); }
  86% { transform: scale(1.012); }
  100% { transform: scale(1); }
}

.site-nav-brand {
  display: flex;
  align-items: baseline;
  gap: .15rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -.03em;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

.site-nav-brand span {
  font-weight: 500;
  color: var(--accent);
  font-size: .7rem;
  letter-spacing: .08em;
  vertical-align: super;
  margin-left: .1rem;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: .4rem .65rem;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: color .3s ease, background .3s ease;
  white-space: nowrap;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem 1rem;
  margin-left: .25rem;
  color: var(--text);
  background: var(--accent);
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .3s ease, transform .25s var(--ease), box-shadow .3s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 87, 34, .35);
}

.nav-cta .arrow {
  display: inline-block;
  transition: transform .3s var(--ease);
  font-size: .7rem;
}

.nav-cta:hover .arrow { transform: translateX(2px); }

/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  transition: border-color .3s ease, background .3s ease;
}

.menu-toggle:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}

.menu-toggle span {
  display: block;
  width: .7rem;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .3s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(13, 13, 13, .97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

.mobile-menu.hidden { display: none; }

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: .5rem;
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
}

.mobile-nav-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  padding: .75rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color .3s ease, padding-left .3s var(--ease);
}

.mobile-nav-link:hover {
  color: var(--accent);
  padding-left: .5rem;
}

.mobile-nav-link span {
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--text-subtle);
  letter-spacing: .05em;
}

.mobile-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.5rem;
  padding: .8rem 1.8rem;
  background: var(--accent);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background .3s ease, transform .25s var(--ease);
}

.mobile-nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.mobile-nav-cta .arrow {
  transition: transform .3s var(--ease);
}

.mobile-nav-cta:hover .arrow {
  transform: translate(2px, -2px);
}

/* ═══════════════════════════════════════════════════════════════
   HERO — NexSummit-style oversized editorial
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
}

.hero-inner {
  position: relative;
  width: 100%;
  padding-top: 8rem;
}

.hero-copy {
  max-width: 960px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.5rem;
  padding: .35rem .85rem;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
}

.hero-eyebrow .line {
  display: none;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 10rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 1.5rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(.85rem, 1.3vw, 1.1rem);
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  padding: .3rem .65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-card);
}

.hero-meta span + span { margin-left: .25rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: 0;
  font-family: var(--font-mono);
  font-size: .52rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-subtle);
  writing-mode: vertical-rl;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS — NexSummit pill system
   ═══════════════════════════════════════════════════════════════ */
.button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.6rem;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .25s var(--ease), box-shadow .3s ease;
  white-space: nowrap;
}

.button .arrow {
  display: inline-block;
  transition: transform .3s var(--ease);
}

.button:hover .arrow { transform: translateX(3px); }

.button-primary {
  background: var(--accent);
  color: var(--text);
}

.button-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 87, 34, .35);
}

.button-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.button-secondary:hover {
  color: var(--text);
  border-color: var(--text-subtle);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   SECTION LABEL
   ═══════════════════════════════════════════════════════════════ */
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION STRUCTURE — background & text ownership
   ────────────────────────────────────────────────────────────────
   BACKGROUND RULES (background lives on the <section> element ONLY):
   · Hero section        → ocean gradient (#hero, ocean-background.css)
   · Every other section → solid WHITE #FFFFFF
   · Cards / panels      → neutral light surface (never the ocean,
                           never the section white — cards stay
                           visually distinct)

   TEXT COLOR RULES:
   · All text on white sections → BLACK (#000)
   · Text inside neutral cards  → BLACK (#000)
   ═══════════════════════════════════════════════════════════════ */

/* ── Non-hero sections: solid WHITE on the <section> element ──── */
/* <main> is the opaque white base below the hero — sections, their
   padding, and container edges are all white (no ocean leakage). */
main {
  background: #ffffff !important;
}

main > section {
  background: #ffffff !important;
  /* Black tokens for all text on the white canvas */
  --text: #131313;
  --text-muted: #4A5468;
  --text-subtle: #8A94A8;
  --border: #D6DFF5;
  --border-hover: #C6D2F0;
  --border-light: #ECF0FA;
  --bg-card: #F7F9FF;
  --bg-card-hover: #EFF3FF;
  --bg-elevated: #ECF0FA;
}

/* ── Cards: neutral light surface + BLACK text ──────────────────
   Cards are visually distinct from the white section behind them.
   The ocean's translucent `main article` rule and any backdrop
   blur is killed here too. */
main > section .insight-item,
main > section .objective-item,
main > section .theme-item,
main > section .programme-day,
main > section .programme-day-heading,
main > section .programme-session,
main > section .outcome-item,
main > section .roadmap-item,
main > section .faq-item,
main > section .countdown-block,
main > section .speaker-card,
main > section .speaker-info {
  background: var(--bg-card) !important;   /* neutral surface, not the ocean */
  border-color: var(--border-light) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  --text: #000000;
  --text-muted: #333333;
  --text-subtle: #666666;
  --border: #e5e5e5;
  --border-hover: #cccccc;
  --border-light: #f0f0f0;
  --bg: #ffffff;
}

/* Card hover — must not re-introduce ocean translucent hover */
main > section article:not(.speaker-card):hover {
  background: var(--bg-card-hover) !important;
  border-color: var(--border-hover) !important;
}

/* Canvas-only elements (speaker heading row) — transparent over white */
main > section .speaker-heading {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ── Footer — solid WHITE section, black canvas text ──────────── */
.site-footer {
  margin-top: 0 !important;      /* remove ocean-revealing gap below <main> */
  padding-top: 4rem;             /* keep the visual spacing, now white */
  background: #ffffff !important;
  --text: #000000;
  --text-muted: #444444;
  --text-subtle: #888888;
  --border: #e5e5e5;
  --border-hover: #cccccc;
  --border-light: #f0f0f0;
}

/* ── Registration / success pages: premium navy canvas + white card ─
   (surface rules defined in the REGISTRATION / SUCCESS sections) */

.editorial-section {
  position: relative;
  padding: 80px 0;
}

.editorial-section-lined::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: var(--border);
}

.editorial-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
}

.editorial-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.editorial-intro header {
  display: flex;
  flex-direction: column;
}

.editorial-intro > p {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.section-heading-row {
  margin-bottom: 4rem;
}

.section-heading-row > p {
  margin-top: 1rem;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 560px;
}

/* ═══════════════════════════════════════════════════════════════
   INSIGHTS — 2x2 grid
   ═══════════════════════════════════════════════════════════════ */
.insight-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.insight-item {
  padding: 2.2rem 2rem;
  background: var(--bg-card);
  transition: background .35s ease;
}

.insight-item:hover { background: var(--bg-card-hover); }

.insight-item .item-index {
  display: block;
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: .75rem;
}

.insight-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 .5rem;
}

.insight-item p {
  font-size: .82rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   OBJECTIVES — NexSummit numbered list
   ═══════════════════════════════════════════════════════════════ */
.objective-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.objective-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr 2rem;
  align-items: start;
  gap: 1.5rem;
  padding: 2rem;
  border-bottom: 1px solid var(--border);
  transition: background .3s ease;
  cursor: default;
}

.objective-item:last-child { border-bottom: none; }
.objective-item:hover { background: var(--bg-card-hover); }

.objective-item .item-index {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  transition: transform .3s var(--ease);
}

.objective-item:hover .item-index { transform: translateX(3px); }

.objective-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 .4rem;
}

.objective-item p {
  font-size: .82rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.objective-item .item-arrow {
  font-size: .85rem;
  color: var(--text-subtle);
  transition: transform .3s var(--ease), color .3s ease;
  text-align: right;
  padding-top: .2rem;
}

.objective-item:hover .item-arrow {
  transform: translate(2px, -2px);
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   THEMES — Committee list
   ═══════════════════════════════════════════════════════════════ */
.theme-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.theme-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr 2rem;
  align-items: start;
  gap: 1.5rem;
  padding: 2rem;
  border-bottom: 1px solid var(--border);
  transition: background .3s ease;
  cursor: default;
}

.theme-item:last-child { border-bottom: none; }
.theme-item:hover { background: var(--bg-card-hover); }

.theme-item .item-index {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  transition: transform .3s var(--ease);
}

.theme-item:hover .item-index { transform: translateX(3px); }

.theme-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 .35rem;
}

.theme-item > div > p {
  font-size: .82rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.theme-members {
  margin-top: .5rem !important;
  font-family: var(--font-mono);
  font-size: .6rem !important;
  letter-spacing: .04em;
  color: var(--text-subtle) !important;
}

.theme-item .item-arrow {
  font-size: .85rem;
  color: var(--text-subtle);
  transition: transform .3s var(--ease), color .3s ease;
  text-align: right;
  padding-top: .2rem;
}

.theme-item:hover .item-arrow {
  transform: translate(2px, -2px);
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   SPEAKERS — NexSummit 3-column card grid
   ═══════════════════════════════════════════════════════════════ */
#speakers {
  position: relative;
}

main > section .speaker-heading {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #ffffff !important;
}

.speaker-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}

[data-speaker-wrapper] {
  position: relative;
}

[data-speaker-card] {
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .35s ease, transform .35s var(--ease), box-shadow .35s ease;
  opacity: 1 !important;
  transform: none !important;
}

[data-speaker-card]:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}

.speaker-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-elevated);
}

.speaker-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
  filter: grayscale(.2);
}

[data-speaker-card]:hover .speaker-image-wrap img {
  transform: scale(1.04);
  filter: grayscale(0);
}

.speaker-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(255, 87, 34, .14), transparent 55%),
    var(--bg-elevated);
}

.speaker-image-label {
  position: absolute;
  bottom: .6rem;
  left: .6rem;
  font-family: var(--font-mono);
  font-size: .5rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.speaker-info {
  padding: 1.25rem 1.25rem 1.5rem;
}

.speaker-organisation {
  font-family: var(--font-mono);
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

.speaker-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 .25rem;
}

.speaker-role {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
}

.speaker-bio {
  font-size: .75rem;
  line-height: 1.6;
  color: var(--text-subtle);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.speaker-counter {
  display: none;
}

.speaker-label {
  display: none;
}

/* Speaker cards — hidden state */
.speaker-card-wrapper.is-hidden {
  display: none;
}

/* Speaker social icons */
.speaker-socials {
  display: flex;
  gap: .6rem;
  margin-top: .75rem;
}

.speaker-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-subtle);
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}

.speaker-social:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* Speaker toggle button */
.speaker-toggle .arrow {
  display: inline-block;
  transition: transform .3s var(--ease);
}

.speaker-toggle:hover .arrow {
  transform: translateX(3px);
}

.speaker-toggle[aria-expanded="true"] .arrow {
  transform: rotate(90deg);
}

/* ═══════════════════════════════════════════════════════════════
   PROGRAMME — Timeline schedule
   ═══════════════════════════════════════════════════════════════ */
.programme-heading { text-align: left; }

.programme-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.programme-day {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.programme-day-heading {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.programme-day-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--accent-border);
  background: var(--accent-dim);
  flex-shrink: 0;
}

.programme-day-number span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
}

.programme-day-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 .15rem;
}

.programme-day-heading > div > p {
  font-size: .78rem;
  color: var(--text-muted);
  margin: 0;
}

.programme-sessions {
  display: flex;
  flex-direction: column;
}

.programme-session {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  transition: background .25s ease;
}

.programme-session:last-child { border-bottom: none; }
.programme-session:hover { background: rgba(255, 255, 255, .02); }

.programme-time {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  color: var(--accent);
  padding-top: .15rem;
  white-space: nowrap;
}

.programme-session-title {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  margin: 0 0 .25rem;
  transition: transform .3s var(--ease);
}

.programme-session:hover .programme-session-title {
  transform: translateX(2px);
}

.programme-session-detail {
  font-size: .78rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.programme-tracks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .5rem;
  margin-top: .6rem;
}

.programme-track {
  padding: .45rem .7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.programme-track-name {
  font-family: var(--font-mono);
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--accent);
  margin: 0 0 .1rem;
}

.programme-track-detail {
  font-size: .6rem;
  color: var(--text-subtle);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   OUTCOMES — Key highlights
   ═══════════════════════════════════════════════════════════════ */
.outcome-heading { text-align: left; }

.outcome-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 4rem;
}

.outcome-item {
  padding: 2rem;
  background: var(--bg-card);
  transition: background .3s ease;
}

.outcome-item:hover { background: var(--bg-card-hover); }

.outcome-item-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 .75rem;
}

.outcome-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.outcome-item li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: .4rem;
  font-size: .8rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.outcome-item li span {
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Roadmap */
.roadmap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.roadmap-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.roadmap-list {
  display: flex;
  flex-direction: column;
}

.roadmap-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  transition: background .25s ease;
}

.roadmap-item:last-child { border-bottom: none; }
.roadmap-item:hover { background: rgba(255, 255, 255, .02); }

.roadmap-item h4 {
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 600;
  margin: 0 0 .2rem;
}

.roadmap-item p {
  font-size: .72rem;
  color: var(--text-subtle);
  margin: 0;
}

.roadmap-item time {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .05em;
  color: var(--accent);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   COUNTDOWN TICKER
   ═══════════════════════════════════════════════════════════════ */
.countdown-section {
  text-align: center;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 700px;
  margin: 2rem auto 0;
}

.countdown-block {
  padding: 2rem 1rem;
  background: var(--bg-card);
}

.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: .5rem;
}

.countdown-label {
  font-family: var(--font-mono);
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

/* ═══════════════════════════════════════════════════════════════
   FAQ — Accordion
   ═══════════════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: background .25s ease;
}

.faq-question:hover { background: var(--bg-card-hover); }

.faq-icon {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out), padding .4s var(--ease-out);
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 2rem 1.5rem;
  font-size: .85rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION — Pre-footer banner
   ═══════════════════════════════════════════════════════════════ */
.cta-section {
  text-align: center;
}

.cta-section .section-label { margin-bottom: 1.5rem; }

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.1;
}

.cta-sub {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 1.5rem;
}

.cta-meta {
  display: flex;
  justify-content: center;
  gap: .25rem;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.cta-meta span {
  padding: .3rem .65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-card);
}

.cta-meta span + span { margin-left: .25rem; }

.cta-actions {
  display: flex;
  justify-content: center;
  gap: .75rem;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-item] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}

[data-reveal-item].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 5rem 0 2.5rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: var(--border);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.site-footer-kicker {
  font-family: var(--font-mono);
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.site-footer-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.site-footer-intro {
  font-size: .82rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.site-footer-location {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin: 0;
}

.site-footer-location span {
  color: var(--border);
  margin: 0 .35rem;
}

.site-footer-label {
  font-family: var(--font-mono);
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin: 0 0 1.25rem;
}

.site-footer-column p {
  margin: 0 0 .6rem;
  font-size: .78rem;
  color: var(--text-muted);
}

.site-footer-link {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  font-size: .78rem;
  transition: color .3s ease;
}

.site-footer-link:hover { color: var(--accent); }

.site-footer-muted {
  font-family: var(--font-mono);
  font-size: .52rem;
  letter-spacing: .06em;
  color: var(--text-subtle);
  margin-left: .25rem;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.site-footer-policies {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-footer-legal {
  margin: 0;
  font-size: .65rem;
  color: var(--text-subtle);
}

.site-footer-policy-link {
  font-size: .65rem;
  color: var(--text-subtle);
  text-decoration: none;
  transition: color .3s ease;
}

.site-footer-policy-link:hover { color: var(--text); }

.site-footer-mark {
  margin: 0;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: .48rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   REGISTRATION
   ═══════════════════════════════════════════════════════════════ */
.registration-page #main-content,
.success-page #main-content,
.legal-page #main-content {
  padding-top: 9rem;
}

.registration-page,
.success-page {
  --reg-navy: #0C2B42;
  --reg-ink: #10222E;
  --reg-muted: #5B6B78;
  --reg-gold: #C49A2F;
  --reg-gold-soft: #E5C45A;
  --reg-green: #05634F;
  --reg-line: #DCE4EA;
  --reg-error: #C0392B;
}

/* ── Navy canvas (beats the site-wide white <section> fill) ── */
.registration-page .reg-section,
.success-page .reg-section {
  position: relative;
  padding-bottom: 6rem;
  background:
    radial-gradient(110% 90% at 12% -8%, rgb(13 80 106 / .55), transparent 58%),
    radial-gradient(90% 80% at 100% 0%, rgb(7 150 105 / .16), transparent 52%),
    linear-gradient(168deg, #0B2A40 0%, #082033 46%, #051722 100%) !important;
  border-top: 1px solid rgb(229 196 90 / .12);
}

.registration-page .reg-section .container { max-width: 1180px; }

/* ── Header ─────────────────────────────────────────────────── */
.reg-header {
  text-align: center;
  padding-top: 3.25rem;
}

.reg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--reg-gold-soft);
}

.reg-eyebrow::before,
.reg-eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(229 196 90 / .7));
}

.reg-eyebrow::after { background: linear-gradient(270deg, transparent, rgb(229 196 90 / .7)); }

.reg-title {
  margin: 1.15rem auto 0;
  max-width: 860px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.2vw, 3.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.025em;
  color: #FFFFFF;
  text-wrap: balance;
}

.reg-lede {
  margin: 1.35rem auto 0;
  max-width: 660px;
  font-size: clamp(.92rem, 1.4vw, 1.05rem);
  line-height: 1.75;
  color: rgb(226 236 242 / .84);
}

/* ── Fact chips ─────────────────────────────────────────────── */
.reg-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem 1rem;
  margin: 2.25rem 0 0;
}

.reg-fact {
  min-width: 180px;
  padding: .8rem 1.3rem;
  border: 1px solid rgb(229 196 90 / .26);
  border-radius: 14px;
  background: rgb(255 255 255 / .035);
}

.reg-fact dt {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgb(229 196 90 / .85);
  margin-bottom: .35rem;
}

.reg-fact dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* ── Premium form card ──────────────────────────────────────── */
.registration-page .reg-form {
  position: relative;
  margin: 3rem auto 0;
  max-width: 1060px;
  padding: clamp(1.6rem, 4vw, 3.25rem);
  background: #FFFFFF !important;
  border: 1px solid rgb(255 255 255 / .55) !important;
  border-radius: 20px;
  color: var(--reg-ink);
  box-shadow:
    0 24px 70px -28px rgb(1 8 16 / .65),
    0 8px 24px -12px rgb(1 8 16 / .35);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.reg-form-errors {
  margin-bottom: 1.75rem;
  padding: .9rem 1.1rem;
  border: 1px solid rgb(192 57 43 / .32);
  background: #FDF5F4;
  border-radius: 12px;
  color: var(--reg-error);
  font-size: .82rem;
  line-height: 1.6;
}

.reg-form-errors ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reg-form-errors li + li { margin-top: .25rem; }

/* ── Two-column layout ─────────────────────────────────────── */
.reg-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
}

.reg-col-heading {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.75rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--reg-line);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--reg-navy);
}

.reg-col-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--reg-line);
  margin-left: .5rem;
}

.reg-col-index {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--reg-gold);
}

/* ── Fields ────────────────────────────────────────────────── */
.reg-field + .reg-field { margin-top: 1.5rem; }

.reg-label {
  display: block;
  margin-bottom: .5rem;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--reg-navy);
}

.reg-asterisk {
  margin-left: .2rem;
  color: var(--reg-gold);
}

.reg-hint {
  margin: 0 0 .55rem;
  font-size: .78rem;
  line-height: 1.6;
  color: var(--reg-muted);
}

.reg-error {
  margin: .45rem 0 0;
  font-size: .74rem;
  line-height: 1.5;
  color: var(--reg-error);
}

/* Django-rendered inputs */
.registration-page .django-field {
  width: 100%;
  height: 58px;
  padding: 0 1.1rem;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--reg-ink);
  background: #FFFFFF;
  border: 1px solid var(--reg-line);
  border-radius: 12px;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.registration-page .django-field::placeholder {
  color: #93A0AB;
  opacity: 1;
}

.registration-page .django-field:focus {
  outline: none;
  border-color: var(--reg-gold);
  box-shadow: 0 0 0 3px rgb(196 154 47 / .16);
}

/* Select */
.registration-page select.django-field {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M2 1.5l4 4 4-4' stroke='%230C2B42' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  padding-right: 2.9rem;
}

.registration-page select.django-field option {
  background: #FFFFFF;
  color: var(--reg-ink);
}

/* Textarea — rationale is the centrepiece */
.registration-page textarea.django-field {
  height: auto;
  min-height: 196px;
  padding: .9rem 1.1rem;
  line-height: 1.65;
  resize: vertical;
}

/* ── Error states ───────────────────────────────────────────── */
.reg-field--error .django-field {
  border-color: rgb(192 57 43 / .6);
}

.reg-field--error .django-field:focus {
  border-color: var(--reg-error);
  box-shadow: 0 0 0 3px rgb(192 57 43 / .14);
}

/* ── Declaration endorsement ────────────────────────────────── */
.reg-field--declaration {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid var(--reg-line);
  border-radius: 12px;
  background: #F7FAFC;
}

.reg-check {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  cursor: pointer;
}

.reg-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: .1rem 0 0;
  border: 1.5px solid #B9C6D0;
  border-radius: 6px;
  background: #FFFFFF;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.reg-check input[type="checkbox"]::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #FFFFFF;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1.5 5.2L4.4 8l6.1-6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1.5 5.2L4.4 8l6.1-6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  transition: opacity .2s ease;
}

.reg-check input[type="checkbox"]:checked {
  background: var(--reg-green);
  border-color: var(--reg-green);
}

.reg-check input[type="checkbox"]:checked::after { opacity: 1; }

.reg-check:focus-within {
  outline: 2px solid rgb(196 154 47 / .55);
  outline-offset: 2px;
  border-radius: 6px;
}

.reg-check-label {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--reg-ink);
}

/* ── Submit ─────────────────────────────────────────────────── */
.reg-submit-wrap {
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--reg-line);
}

.reg-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  width: 100%;
  height: 60px;
  padding: 0 2rem;
  border: 1px solid rgb(229 196 90 / .65);
  border-radius: 14px;
  background: linear-gradient(135deg, #0B2B45 0%, #082033 58%, #06202F 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 14px 30px -14px rgb(6 32 47 / .65);
  transition: transform .25s var(--ease), border-color .3s ease, box-shadow .3s ease, opacity .3s ease;
}

.reg-submit:hover {
  transform: translateY(-2px);
  border-color: var(--reg-gold-soft);
  box-shadow: 0 18px 36px -14px rgb(6 32 47 / .75);
}

.registration-page .reg-submit:focus-visible,
.success-page .reg-submit:focus-visible {
  outline: 2px solid var(--reg-gold);
  outline-offset: 3px;
}

.reg-submit-arrow {
  display: inline-block;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform .3s var(--ease);
}

.reg-submit:hover .reg-submit-arrow { transform: translateX(5px); }

.reg-submit:disabled,
.reg-submit[aria-busy="true"] {
  cursor: wait;
  opacity: .72;
  transform: none;
  box-shadow: none;
}

.reg-submit.is-loading .reg-submit-arrow { transform: none; }

.reg-note {
  margin: 1.25rem auto 0;
  max-width: 560px;
  text-align: center;
  font-size: .78rem;
  line-height: 1.65;
  color: #7C8A96;
}

/* Soft entrance — page header + form card (no-reduce only) */
@media (prefers-reduced-motion: no-preference) {
  .reg-eyebrow,
  .reg-title,
  .reg-lede,
  .reg-facts {
    animation: reg-rise .7s var(--ease-out) both;
  }

  .reg-eyebrow { animation-delay: 60ms; }
  .reg-title { animation-delay: 140ms; }
  .reg-lede { animation-delay: 220ms; }
  .reg-facts { animation-delay: 300ms; }

  .reg-form,
  .success-card {
    animation: reg-rise .8s var(--ease-out) both;
    animation-delay: 380ms;
  }
}

@keyframes reg-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive — registration / success */
@media (max-width: 900px) {
  .reg-layout { grid-template-columns: 1fr; gap: 2rem; }
  .reg-form { margin-top: 2.25rem; }
}

@media (max-width: 767px) {
  .reg-section { padding-bottom: 4rem; }
  .reg-header { padding-top: 2.25rem; }
  .reg-facts { flex-direction: column; align-items: center; }
  .reg-fact { min-width: 0; width: 100%; max-width: 380px; }
  .reg-form { padding: 1.5rem 1.25rem; }
  .reg-submit { height: 56px; }
}

@media (max-width: 480px) {
  .reg-title { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .reg-lede { font-size: .9rem; }
  .reg-form { padding: 1.25rem 1rem; }
  .reg-eyebrow::before,
  .reg-eyebrow::after { width: 20px; }
  .success-card { padding: 2rem 1.25rem; }
}

/* Honeypot anti-spam field - visually hidden from humans */
.hp-field-wrap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   SUCCESS PAGE
   ═══════════════════════════════════════════════════════════════ */
.success-card {
  max-width: 640px;
  margin: 3rem auto 0;
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  background: #FFFFFF !important;
  border: 1px solid rgb(255 255 255 / .55) !important;
  border-radius: 20px;
  color: var(--reg-ink);
  box-shadow:
    0 24px 70px -28px rgb(1 8 16 / .65),
    0 8px 24px -12px rgb(1 8 16 / .35);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.success-eyebrow { margin-bottom: 1rem; }

.success-title {
  margin: 0 auto;
  max-width: 460px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--reg-navy);
}

.success-copy {
  margin: 1.1rem auto 0;
  max-width: 460px;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--reg-muted);
}

.success-ref {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 1.75rem auto 0;
  padding: .8rem 1.2rem;
  border: 1px solid rgb(196 154 47 / .35);
  border-radius: 999px;
  background: rgb(196 154 47 / .08);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--reg-navy);
}

.success-ref strong { color: var(--reg-gold); }

.success-cta { margin-top: 2rem; }

/* ── Success emblem (checkmark draw) ─────────────────────────── */
.success-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  border: 1px solid rgb(212 167 44 / .35);
  background: rgb(212 167 44 / .1);
}

.success-emblem svg { width: 44px; height: 44px; overflow: visible; }

.success-emblem-ring {
  fill: none;
  stroke: var(--reg-gold);
  stroke-width: 2;
  stroke-linecap: round;
}

.success-emblem-check {
  fill: none;
  stroke: var(--reg-green);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: no-preference) {
  .success-emblem {
    animation: reg-pop .55s var(--ease-out) both;
  }

  .success-emblem-ring {
    stroke-dasharray: 138;
    stroke-dashoffset: 138;
    animation: reg-draw 650ms var(--ease-out) forwards;
  }

  .success-emblem-check {
    stroke-dasharray: 46;
    stroke-dashoffset: 46;
    animation: reg-draw 420ms var(--ease-out) 520ms forwards;
  }
}

@keyframes reg-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes reg-pop {
  from { opacity: 0; transform: scale(.86); }
  to { opacity: 1; transform: scale(1); }
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL
   ═══════════════════════════════════════════════════════════════ */
.legal-content {
  max-width: 640px;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 .75rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2.5rem 0 .5rem;
}

.legal-content p {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.legal-content a {
  color: var(--accent);
  text-decoration: none;
  transition: color .3s ease;
}

.legal-content a:hover { color: var(--accent-hover); text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   MESSAGES
   ═══════════════════════════════════════════════════════════════ */
.messages-banner {
  padding: 1rem 1.5rem;
  border: 1px solid var(--accent-border);
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 1024
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { max-width: 100%; padding-left: 1.5rem; padding-right: 1.5rem; }
  .site-nav-links { gap: .1rem; }
  .nav-link { padding: .35rem .5rem; font-size: .6rem; }
  .hero-section { padding-bottom: 3rem; }
  .hero-inner { padding-top: 7rem; }
  .editorial-section { padding: 60px 0; }
  .speaker-cards-container { gap: 1rem; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 768
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .site-nav-links { display: none !important; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .site-nav.is-shrunk .site-nav-inner { width: 100%; max-width: 1280px; overflow: visible; }
  .site-nav.is-shrunk:hover .site-nav-inner { width: 100%; }
  .site-nav.is-shrunk .nav-link,
  .site-nav.is-shrunk .nav-cta { opacity: 0; width: 0; padding: 0; visibility: hidden; pointer-events: none; }
  .site-nav.is-shrunk:hover .nav-link,
  .site-nav.is-shrunk:hover .nav-cta { opacity: 0; }
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }

  .hero-section {
    min-height: 90svh;
    padding-bottom: 2.5rem;
    align-items: center;
  }

  .hero-inner { padding-top: 5rem; }
  .hero-title { font-size: clamp(2.5rem, 12vw, 4.5rem); }
  .hero-index { display: none; }

  .editorial-section { padding: 3rem 0; }
  .editorial-intro { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
  .insight-list { grid-template-columns: 1fr; }

  .objective-item, .theme-item {
    grid-template-columns: 2.5rem 1fr 1.5rem;
    gap: 1rem;
    padding: 1.5rem;
  }

  .objective-item .item-index, .theme-item .item-index { font-size: 1.3rem; }

  .speaker-cards-container {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .programme-session {
    grid-template-columns: 4rem 1fr;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }

  .programme-day-heading { padding: 1.25rem; }
  .outcome-list { grid-template-columns: 1fr; }
  .countdown-grid { grid-template-columns: repeat(2, 1fr); }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
  }

  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .reg-form { padding: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 480
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .site-nav-inner { padding: .45rem .75rem; }
  .site-nav-brand { font-size: .9rem; }

  .hero-eyebrow { font-size: .52rem; margin-bottom: 1rem; }
  .hero-title { font-size: clamp(2rem, 11vw, 3.5rem); margin-bottom: 1rem; }
  .hero-subtitle { font-size: .78rem; margin-bottom: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .button {
    width: 100%;
    justify-content: center;
    padding: .75rem 1.25rem;
  }

  .editorial-section { padding: 2.5rem 0; }

  .objective-item, .theme-item {
    grid-template-columns: 2rem 1fr 1.2rem;
    gap: .75rem;
    padding: 1.25rem 1rem;
  }

  .speaker-cards-container { grid-template-columns: 1fr; }

  .programme-session { grid-template-columns: 1fr; gap: .5rem; }
  .programme-time { padding-top: 0; }
  .programme-tracks { grid-template-columns: 1fr; }

  .countdown-grid { grid-template-columns: repeat(2, 1fr); }
  .countdown-block { padding: 1.25rem .75rem; }

  .roadmap-item {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    padding: 1.25rem;
  }

  .cta-heading { font-size: clamp(1.4rem, 6vw, 2rem); }
  .faq-question { padding: 1.25rem 1rem; font-size: .9rem; }
  .faq-answer-inner { padding: 0 1rem 1.25rem; }
}

/* ═══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-hero-item], [data-reveal], [data-reveal-item] {
    opacity: 1 !important;
    transform: none !important;
  }

  .button .arrow, .nav-cta .arrow, .item-arrow { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════
   BACKDROP-FILTER FALLBACK
   ═══════════════════════════════════════════════════════════════ */
@supports not ((backdrop-filter: blur(1px))) {
  .site-nav-inner { background: var(--bg-glass-strong); }
  .reg-form { background: #ffffff; }
}

/* ═══════════════════════════════════════════════════════════════
   ERROR PAGES (404 / 500)
   ═══════════════════════════════════════════════════════════════ */
.error-page-main {
  padding-top: 9rem;
}

.error-content {
  max-width: 560px;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.error-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 .75rem;
}

.error-content p {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.error-content a {
  color: var(--accent);
  text-decoration: none;
}

.error-content a:hover { text-decoration: underline; }

.error-actions .button {
  min-width: 200px;
}

@media (max-width: 480px) {
  .error-content { padding: 2rem 1.5rem; }
}
