/* ============================================================
   Theme tokens
   ============================================================ */
:root {
  --bg:            #FFFFFF;
  --surface:       #F8F9FF;
  --text:          #1A1A2E;
  --text-muted:    rgba(26,26,46,0.65);
  --border:        rgba(26,26,46,0.1);
  --nav-bg:        rgba(255,255,255,0.75);
  --footer-bg:     #F0F4FF;
  --section-alt:   #F8F9FF;
  --section-dark:  #111827;
  --card-bg:       #FFFFFF;
  --card-border:   rgba(26,26,46,0.06);
  --card-shadow:   0 14px 32px -28px rgba(30,58,138,0.2);
  --member-bg:     #F8F9FF;
  --body:          rgba(26,26,46,0.78);
  --body-strong:   rgba(26,26,46,0.82);
  --title:         #1A1A2E;
  --label:         rgba(26,26,46,0.55);

  --accordion-icon-bg: rgba(30,58,138,0.08);
  --accordion-icon-fg: #1E3A8A;
  --link-color:    #1E3A8A;

  --amber-accent: #D97706; --amber-bg: rgba(245,158,11,0.06); --amber-text: #92400E; --amber-icon: #B45309;
  --blue-accent:  #1D4ED8; --blue-bg:  rgba(59,130,246,0.06); --blue-text:  #1E3A8A; --blue-icon:  #1D4ED8;
  --red-accent:   #DC2626; --red-bg:   rgba(220,38,38,0.06);  --red-text:   #991B1B; --red-icon:   #DC2626;

  --grad-from: #1E3A8A;
  --grad-to:   #EC4899;
  --gradient:  linear-gradient(90deg, #1E3A8A 0%, #EC4899 100%);

  --nav-height: 64px;
}

[data-theme="dark"] {
  --bg:           #0D0D1A;
  --surface:      #1A1A2E;
  --text:         #E8E8F0;
  --text-muted:   rgba(232,232,240,0.65);
  --border:       rgba(232,232,240,0.1);
  --nav-bg:       rgba(13,13,26,0.75);
  --footer-bg:    #0D0D1A;
  --section-alt:  #1A1A2E;
  --section-dark: #111827;
  --card-bg:      #1E2A3A;
  --card-border:  rgba(232,232,240,0.08);
  --card-shadow:  0 14px 32px -22px rgba(0,0,0,0.6);
  --member-bg:    #1E2A3A;
  --body:         rgba(232,232,240,0.78);
  --body-strong:  rgba(232,232,240,0.82);
  --title:        #E8E8F0;
  --label:        rgba(232,232,240,0.55);

  --accordion-icon-bg: rgba(30,58,138,0.25);
  --accordion-icon-fg: #A5B4FC;
  --link-color:   #A5B4FC;

  --amber-accent: #FCD34D; --amber-bg: rgba(245,158,11,0.08); --amber-text: #FCD34D; --amber-icon: #FCD34D;
  --blue-accent:  #93C5FD; --blue-bg:  rgba(59,130,246,0.08); --blue-text:  #93C5FD; --blue-icon:  #93C5FD;
  --red-accent:   #FCA5A5; --red-bg:   rgba(220,38,38,0.08);  --red-text:   #FCA5A5; --red-icon:   #FCA5A5;
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}
section, header, footer, article, aside {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid #EC4899;
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus-visible, a:focus-visible {
  box-shadow: 0 0 0 3px rgba(236,72,153,0.35);
}
::selection {
  background: rgba(236,72,153,0.3);
}
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0; }
address { font-style: normal; }

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  opacity: 0.85;
}
.nav-logo-ai {
  background-image: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  opacity: 1;
}
/* Desktop nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 12px 12px;
  border-radius: 6px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active {
  color: var(--text);
  font-weight: 700;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}
/* Theme toggle button */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
  margin-left: 8px;
  flex-shrink: 0;
}
.theme-toggle svg { pointer-events: none; }
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun  { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

/* Mobile controls (hamburger + toggle) */
.nav-mobile-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-mobile-controls .theme-toggle { margin-left: 0; }
.menu-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-mobile-controls { display: none; }
}

/* Mobile drawer */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 100;
}
.drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  animation: drawerFadeIn 0.18s ease-out;
}
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(80vw, 320px);
  background: var(--card-bg);
  color: var(--text);
  padding: 16px 0 24px;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 12px rgba(0,0,0,0.2);
  animation: drawerSlideIn 0.22s ease-out;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.drawer-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--text-muted);
}
.drawer-close {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--text);
  font-size: 16px; font-weight: 500;
  padding: 15px 16px 15px 22px;
  border-bottom: 1px solid var(--border);
  transition: background 0.18s ease;
}
.drawer-nav a:hover { background: rgba(30,58,138,0.04); }
.drawer-nav a.active {
  font-weight: 700;
  background: rgba(30,58,138,0.04);
}
[data-theme="dark"] .drawer-nav a.active { background: rgba(255,255,255,0.04); }
.drawer-nav a.active::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 4px; border-radius: 2px;
  background: var(--gradient);
}

@keyframes drawerSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes drawerFadeIn  { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  width: 100%;
  background: var(--footer-bg);
  color: var(--text);
  transition: background-color 0.3s ease;
}
.footer-gradient-bar {
  height: 3px; width: 100%;
  background: var(--gradient);
}
.footer-body {
  padding: 40px 24px;
  display: flex; flex-direction: column;
  align-items: center; gap: 24px;
  text-align: center;
}
.footer-partners-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted);
}
.footer-logos {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 40px; row-gap: 20px;
}
.footer-logos a {
  display: inline-flex; align-items: center;
  height: 40px; text-decoration: none;
}
.footer-logos img {
  height: 40px; width: auto;
  object-fit: contain; opacity: 0.85;
  transition: opacity 0.2s ease;
}
.footer-logos img:hover, .footer-logos a:hover img { opacity: 1; }
.footer-logos .text-partner {
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.4px; color: var(--text);
  opacity: 0.85; white-space: nowrap;
  transition: opacity 0.2s ease;
}
.footer-logos a:hover .text-partner { opacity: 1; }
.footer-contact { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-contact-line { font-size: 14px; color: var(--text); font-weight: 500; }
.footer-contact-line a { color: inherit; text-decoration: none; font-weight: 600; }
.footer-hashtag {
  background-image: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; font-weight: 700;
}
.footer-divider { height: 1px; width: 100%; background: rgba(99,60,180,0.2); }
.footer-copyright {
  padding: 14px 24px; text-align: center;
  font-size: 12px; letter-spacing: 0.2px;
  color: var(--text-muted);
}

/* ============================================================
   Scroll-to-top
   ============================================================ */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient);
  border: none; cursor: pointer; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(236,72,153,0.4);
  transition: transform 0.15s ease, opacity 0.2s ease;
  opacity: 0;
}
.scroll-top:not([hidden]) { opacity: 1; }
.scroll-top:hover { transform: translateY(-2px); }

/* ============================================================
   Common layout helpers
   ============================================================ */
.page-section {
  width: 100%;
  padding: clamp(24px,3.5vw,40px) 24px 88px;
  transition: background 0.25s ease;
  scroll-margin-top: 80px;
}
.page-inner { max-width: 1180px; margin: 0 auto; }
.page-inner--md  { max-width: 1080px; margin: 0 auto; }
.page-inner--sm  { max-width: 980px;  margin: 0 auto; }
.page-inner--xs  { max-width: 840px;  margin: 0 auto; }

.page-title {
  margin: 0; text-align: center;
  font-size: clamp(28px,4vw,40px);
  font-weight: 800; letter-spacing: -0.6px;
  color: var(--title);
}
.sub-title {
  margin: 0;
  font-size: clamp(20px,2.4vw,24px);
  font-weight: 700; letter-spacing: -0.3px;
  color: var(--title);
}

/* ============================================================
   Gradient accent bars
   ============================================================ */
.grad-bar-h { /* horizontal, used as card top border */
  height: 4px; width: 100%; border-radius: 0;
  background: var(--gradient);
}
.grad-bar-v { /* vertical left accent */
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg,var(--grad-from),var(--grad-to));
}
.grad-bar-small { /* small decorative underline */
  height: 2px; width: 32px; border-radius: 2px;
  background: var(--gradient);
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
}
.card--pad { padding: 22px 22px 20px; }
.card--pad-lg { padding: clamp(24px,4vw,36px); }
.card--top-accent { border-top: 4px solid var(--grad-from); }

/* Key dates grid */
.dates-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 16px;
}
.date-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-top: 4px solid var(--grad-from);
  border-radius: 12px;
  padding: 22px 22px 20px;
  box-shadow: var(--card-shadow);
  display: flex; flex-direction: column; gap: 6px;
}
.date-card-icon { display: inline-flex; align-items: center; gap: 8px; color: var(--grad-from); }
.date-card-value { font-size: clamp(20px,2.2vw,24px); font-weight: 800; letter-spacing: -0.3px; line-height: 1.15; color: var(--title); }
.date-card-label { font-size: 13.5px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.2px; line-height: 1.4; }

/* Notice banners */
.notice-banner {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px 14px 16px;
  border-radius: 10px;
  font-size: 14.5px; line-height: 1.6;
}
.notice-banner--amber { background: var(--amber-bg); border-left: 4px solid var(--amber-accent); color: var(--amber-text); }
.notice-banner--blue  { background: var(--blue-bg);  border-left: 4px solid var(--blue-accent);  color: var(--blue-text);  }
.notice-banner--red   { background: var(--red-bg);   border-left: 4px solid var(--red-accent);   color: var(--red-text);   }
.notice-banner svg    { flex: 0 0 18px; margin-top: 2px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px;
  background: var(--gradient);
  color: #fff; font-size: 15.5px; font-weight: 700;
  letter-spacing: 0.2px; text-decoration: none;
  border: none; cursor: pointer;
  box-shadow: 0 18px 40px -16px rgba(236,72,153,0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 44px -16px rgba(236,72,153,0.6);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text); font-size: 14px; font-weight: 600;
  letter-spacing: 0.2px; text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-secondary:hover { background: var(--surface); }

/* ============================================================
   Inline links
   ============================================================ */
.inline-link {
  color: var(--link-color);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
.inline-link:hover { text-decoration: underline; }
.inline-link--placeholder { text-decoration: underline dashed; text-decoration-thickness: 1px; }
.placeholder-note { margin-top: 6px; font-size: 13px; font-style: italic; color: var(--text-muted); }

/* ============================================================
   Accordion
   ============================================================ */
.accordion {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%; display: flex; align-items: center;
  gap: 14px; padding: 14px 18px;
  background: transparent; border: 0; cursor: pointer;
  text-align: left; color: var(--title);
}
.accordion-icon-wrap {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 10px;
  background: var(--accordion-icon-bg); color: var(--accordion-icon-fg);
  display: inline-flex; align-items: center; justify-content: center;
}
.accordion-title {
  flex: 1; font-size: 15.5px; font-weight: 700; letter-spacing: -0.1px;
}
.accordion-chevron {
  transition: transform 0.2s ease;
  color: var(--body);
  flex: 0 0 18px;
}
.accordion-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }
.accordion-body {
  padding: 0 18px 18px 68px;
  color: var(--body); font-size: 14.5px; line-height: 1.65;
  display: none;
}
.accordion-trigger[aria-expanded="true"] + .accordion-body { display: block; }

/* ============================================================
   Committee cards
   ============================================================ */
.committee-grid {
  list-style: none;
  margin: 20px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 14px;
}
.committee-card {
  position: relative;
  background: var(--member-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 16px 18px 16px 22px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.committee-name { font-size: 15px; font-weight: 600; color: var(--title); line-height: 1.35; }
.committee-affil { margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--text-muted); opacity: 0.7; }

/* ============================================================
   Info row (About page)
   ============================================================ */
.info-row { margin-bottom: 0; }
.info-row + .info-row { margin-top: 18px; }
.info-label { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--label); }
.info-value { margin-top: 6px; font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--title); }

/* ============================================================
   Speaker cards
   ============================================================ */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 20px;
}
.speaker-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--card-shadow);
  display: flex; flex-direction: column; gap: 14px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.speaker-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -18px rgba(30,58,138,0.28);
}
[data-theme="dark"] .speaker-card:hover { box-shadow: 0 22px 40px -18px rgba(0,0,0,0.85); }
.speaker-card-top-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
}
.speaker-avatar-row { display: flex; align-items: center; gap: 14px; }
.speaker-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface); color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; flex: 0 0 56px;
}
.speaker-avatar--tba { font-size: 13px; letter-spacing: 0.5px; }
.speaker-avatar img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.speaker-name { font-size: 16px; font-weight: 700; color: var(--title); line-height: 1.25; }
.speaker-role { margin-top: 3px; font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.speaker-bio { font-size: 14px; line-height: 1.6; color: var(--body); }
.speaker-bio--tba { font-style: italic; color: var(--text-muted); }
.speaker-expand-btn {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; border: 0; padding: 0; cursor: pointer;
  color: var(--link-color); font-size: 13px; font-weight: 600;
}
.speaker-bottom-bar {
  height: 3px; border-radius: 2px; margin-top: auto;
  background: var(--gradient); opacity: 0;
  transition: opacity 0.2s ease;
}
.speaker-card:hover .speaker-bottom-bar { opacity: 0.9; }

/* ============================================================
   Partner cards
   ============================================================ */
.partners-grid {
  margin-top: 48px;
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 24px;
}
.partner-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: clamp(20px,3vw,28px);
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 96px minmax(0,1fr);
  gap: 20px; align-items: start;
  flex: 1 1 380px; max-width: 520px;
}
.partner-logo-tile {
  width: 96px; height: 96px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
}
.partner-logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-logo-tile--text {
  font-size: 12px; font-weight: 700; letter-spacing: 0.2px; line-height: 1.25;
  text-align: center; color: var(--text-muted);
  border-style: dashed;
}
.partner-name { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.2px; line-height: 1.3; }
.partner-name a { color: var(--title); text-decoration: none; }
.partner-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.partner-desc { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--body); }

/* ============================================================
   Hero (Home)
   ============================================================ */
.hero {
  position: relative; width: 100%;
  min-height: 320px; padding-bottom: 28px;
  margin-top: calc(-1 * var(--nav-height));
  overflow: hidden;
  background-size: cover; background-position: center top;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.25) 100%);
  z-index: 1; pointer-events: none;
}
.hero-crest-wrap { position: relative; z-index: 2; width: 100%; overflow: visible; }
.hero-crest {
  display: block; position: relative; margin: 0 auto;
  width: clamp(304px,35vw,416px); height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.35));
  pointer-events: none; user-select: none;
}
.hero-title-wrap {
  position: relative; z-index: 2;
  margin: clamp(13px,1.6vh,19px) 0 0;
  line-height: 0;
}
.hero-title-img {
  display: block;
  width: clamp(374px,44vw,544px); max-width: 95vw; height: auto;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.35));
}
.hero-date {
  position: relative; z-index: 2;
  margin: clamp(10px,1.5vh,18px) 0 0;
  max-width: 90vw;
  font-size: clamp(11px,1.4vw,15px); font-weight: 500;
  letter-spacing: 0.07em; color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
  text-align: center;
}
.hero-ctas {
  position: relative; z-index: 2;
  margin-top: clamp(16px,2vh,28px);
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 12px;
}
.hero-btn-primary {
  appearance: none; cursor: pointer;
  padding: clamp(9px,1.1vh,12px) clamp(19px,2.8vw,35px);
  border-radius: 8px;
  background: linear-gradient(90deg,#1E3A8A,#EC4899);
  color: #fff; border: 1px solid rgba(255,255,255,0.5);
  font-size: clamp(12px,1.2vw,15px); font-weight: 600;
  letter-spacing: 0.2px; white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25), 0 0 20px rgba(255,255,255,0.25), 0 18px 40px -14px rgba(236,72,153,0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}
.hero-btn-primary:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.85);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3), 0 0 24px rgba(255,255,255,0.35), 0 22px 44px -14px rgba(236,72,153,0.6);
}

/* ============================================================
   Home body
   ============================================================ */
.home-partners-section {
  width: 100%; background: var(--bg);
  padding: 56px 24px 24px;
}
.home-partners-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 40px;
}
.cambridge-logo-placeholder {
  width: 100%; max-width: 460px; min-height: 96px;
  border-radius: 12px; border: 2px dashed var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  padding: 18px 24px; text-align: center;
}
.cambridge-logo-placeholder span {
  font-size: 13px; font-weight: 600; letter-spacing: 0.4px;
  color: var(--text-muted); font-style: italic;
}
.partners-row { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.partners-row-label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.partners-row-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; row-gap: 24px; }
.partners-row-logos img { height: 48px; width: auto; object-fit: contain; opacity: 0.95; }
.partners-row-logos .text-partner { height: 48px; display: inline-flex; align-items: center; font-size: 16px; font-weight: 700; letter-spacing: 0.4px; color: var(--text); white-space: nowrap; }

.home-body { width: 100%; background: var(--bg); padding: 32px 24px 80px; }
.home-body-inner { max-width: 880px; margin: 0 auto; }

/* ============================================================
   Location: Venue card
   ============================================================ */
.venue-card {
  margin-top: 48px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--card-shadow);
  display: grid; grid-template-columns: 1fr;
}
.venue-img-placeholder {
  min-height: 220px; background: var(--surface); color: var(--text-muted);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px; text-align: center; gap: 10px;
  font-style: italic; font-size: 14px; line-height: 1.5;
}
a.venue-img-placeholder {
  text-decoration: none; cursor: pointer;
  transition: background 0.15s;
}
a.venue-img-placeholder:hover { background: rgba(30,58,138,0.06); }
[data-theme="dark"] a.venue-img-placeholder:hover { background: rgba(255,255,255,0.05); }
.venue-map-hint {
  display: inline-flex; align-items: center; gap: 5px;
  font-style: normal; font-size: 12px; font-weight: 600;
  letter-spacing: 0.3px; color: var(--label);
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 20px; padding: 4px 10px;
}
.venue-img-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.venue-address { padding: clamp(20px,3vw,28px); }
.venue-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--label); }
.venue-name { margin: 6px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -0.3px; color: var(--title); }
.venue-addr { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--body); }
@media (min-width: 760px) { .venue-card { grid-template-columns: 1fr 1.1fr; } }

/* ============================================================
   Location: Post-conference cards
   ============================================================ */
.post-conf-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 16px; }
.post-conf-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 20px 22px; box-shadow: var(--card-shadow); }
.post-conf-label { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--label); }
.post-conf-body { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--body); }

/* ============================================================
   Location: Safety advice
   ============================================================ */
.safety-card {
  margin-top: 56px;
  background: var(--amber-bg);
  border: 1px solid var(--amber-accent);
  border-radius: 14px; padding: clamp(20px,3vw,28px);
}
[data-theme="dark"] .safety-card { border-color: rgba(245,158,11,0.3); }
.safety-icon-wrap {
  width: 40px; height: 40px; flex: 0 0 40px;
  border-radius: 10px; background: rgba(245,158,11,0.18);
  color: var(--amber-icon);
  display: inline-flex; align-items: center; justify-content: center;
}
.safety-title { margin: 0; font-size: clamp(18px,2vw,22px); font-weight: 800; letter-spacing: -0.3px; color: var(--amber-text); }
.safety-intro { margin-top: 16px; font-size: 15px; line-height: 1.65; color: var(--body); }
.safety-list { margin-top: 12px; padding-left: 22px; font-size: 15px; line-height: 1.7; color: var(--body); display: flex; flex-direction: column; gap: 4px; }
.safety-emergency {
  margin-top: 18px; padding: 12px 16px; border-radius: 10px;
  background: rgba(220,38,38,0.08); border: 1px solid rgba(220,38,38,0.25);
  color: var(--red-text); font-size: 14.5px; line-height: 1.55;
  display: flex; align-items: flex-start; gap: 10px;
}
[data-theme="dark"] .safety-emergency { border-color: rgba(220,38,38,0.4); }

/* ============================================================
   Terms list (inside accordion)
   ============================================================ */
.terms-list { padding-left: 22px; line-height: 1.7; display: flex; flex-direction: column; gap: 4px; }
.terms-block { display: flex; flex-direction: column; gap: 4px; }
.terms-block-heading { font-size: 14.5px; font-weight: 700; }

/* ============================================================
   FAQ (inside Location accordion)
   ============================================================ */
.faq-list { display: flex; flex-direction: column; }
.faq-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 14.5px; font-weight: 700; color: var(--title); letter-spacing: -0.1px; }
.faq-a { margin-top: 6px; font-size: 14.5px; line-height: 1.65; color: var(--body); }

/* ============================================================
   Registration page
   ============================================================ */
.inclusion-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.inclusion-item { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--body); }
.inclusion-check { flex: 0 0 18px; margin-top: 2px; color: #16A34A; }
[data-theme="dark"] .inclusion-check { color: #34D399; }

/* ============================================================
   Programme page (placeholder)
   ============================================================ */
.programme-placeholder {
  min-height: 60vh; display: flex; align-items: center; justify-content: center;
  padding: 120px 24px;
}

/* ============================================================
   Subsection heading (Speakers)
   ============================================================ */
.subsection-heading {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(20px,2.4vw,24px); font-weight: 700;
  letter-spacing: -0.3px; color: var(--title);
  margin: 0 0 20px;
}
.subsection-heading-bar { width: 28px; height: 3px; border-radius: 2px; background: var(--gradient); flex-shrink: 0; }

/* ============================================================
   Hero responsive
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero { min-height: 280px; padding-bottom: 24px; }
  .hero-crest { width: clamp(230px,41vw,328px); }
  .hero-title-wrap { margin-top: clamp(11px,1.5vh,16px); }
  .hero-title-img { width: clamp(272px,51vw,425px); }
}
@media (max-width: 767px) {
  .hero { min-height: 300px; padding-bottom: 28px; }
  .hero-crest { width: clamp(180px,61vw,270px); }
  .hero-title-wrap { margin-top: clamp(9px,1.35vh,14px); }
  .hero-title-img { width: clamp(198px,74vw,324px); }
  .hero-btn-primary { width: min(80vw,260px); padding: 10px 22px; font-size: 13px; }
}
