/*
Theme Name: WAO Congress 2026
Theme URI: https://wao-congress.org
Author: WAO Congress Team
Description: Official theme for the 6th Global WAO Congress, Windhoek 2026
Version: 1.0.0
Text Domain: wao-congress
*/

/* ===========================
   CSS VARIABLES & RESET
=========================== */
:root {
  --purple: #7D51A1;
  --orange: #FB6500;
  --blue: #40578D;
  --teal: #1998a6;          /* corrected from brand guide */
  --purple-light: #f0ebf8;
  --orange-light: #fff4ee;
  --blue-light: #eef1f8;
  --teal-light: #e6f6f8;
  --white: #ffffff;
  --off-white: #fafaf8;
  --light: #f4f2f0;
  --border: #e8e4de;
  --text: #1c1c1e;
  --text-mid: #5a5a6e;
  --text-light: #8a8a9a;
  --nav-h: 70px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Roboto', sans-serif;  /* brand typeface */
  font-weight: 400;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===========================
   SKIP LINK
=========================== */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--orange); color: #fff;
  padding: 10px 20px; font-weight: 700; z-index: 9999;
  border-radius: 0 0 6px 6px; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ===========================
   NAVIGATION
=========================== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: box-shadow .25s;
}
.site-nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.08); }
.nav-wrap {
  max-width: 1240px; margin: 0 auto;
  padding: 0 24px; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }

/* Real image logo (from ACF field or WP custom logo) */
.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Fallback text logo — shown when no image is set */
.nav-logo-fallback {
  display: flex; align-items: center; gap: 8px;
}
.nlf-wao {
  font-family: 'Roboto', sans-serif;
  font-weight: 900; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--orange), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.nlf-div {
  color: var(--border); font-size: 1.4rem; font-weight: 200;
}
.nlf-text {
  font-size: .58rem; font-weight: 500; color: var(--text-mid);
  text-transform: uppercase; letter-spacing: .04em;
  line-height: 1.4;
}
.nlf-text strong { color: var(--orange); font-weight: 700; }

/* Keep old logo mark/text classes working as fallback */
.nav-logo-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-mark svg { width: 20px; height: 20px; fill: #fff; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-text .nl-main { font-weight: 700; font-size: .85rem; color: var(--text); letter-spacing: -.01em; }
.nav-logo-text .nl-sub { font-size: .65rem; color: var(--text-light); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }
.nav-menu {
  display: flex; align-items: center;
  gap: 4px; list-style: none;
}
.nav-menu a {
  display: block; padding: 6px 14px;
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  border-radius: 6px; transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-menu a:hover { color: var(--text); background: var(--light); }
.nav-menu .nav-btn {
  background: var(--orange); color: #fff !important;
  padding: 8px 18px; border-radius: 6px;
  font-weight: 700; font-size: 13px; letter-spacing: .02em;
  transition: opacity .15s !important;
}
.nav-menu .nav-btn:hover { opacity: .88; background: var(--orange) !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all .25s;
}
.mob-nav {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 800;
  padding: 24px; overflow-y: auto;
}
.mob-nav.open { display: block; }
.mob-nav ul { list-style: none; }
.mob-nav ul li { border-bottom: 1px solid var(--border); }
.mob-nav ul a {
  display: block; padding: 16px 0;
  font-size: 16px; font-weight: 500; color: var(--text);
}
.mob-nav .mob-cta {
  display: block; margin-top: 20px;
  background: var(--orange); color: #fff;
  text-align: center; padding: 15px;
  border-radius: 8px; font-weight: 700; font-size: 15px;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding-bottom: 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  /* Fallback gradient shown when no image is uploaded */
  background: linear-gradient(160deg, #1a1035 0%, #2d1b5e 30%, #40578D 65%, #2a9d8f 100%);
  background-size: cover;
  background-position: center top;
}
/* When a photo is uploaded via ACF, this overlay sits on top of it
   — keeps text legible while the photo shows through underneath */
.hero-bg::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg,
    rgba(26,16,53,0.78) 0%,
    rgba(45,27,94,0.65) 30%,
    rgba(64,87,141,0.50) 65%,
    rgba(42,157,143,0.45) 100%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background-image: radial-gradient(circle at 20% 50%, rgba(251,101,0,0.15) 0%, transparent 55%),
                    radial-gradient(circle at 80% 20%, rgba(64,87,141,0.25) 0%, transparent 50%);
}
.hero-dim {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(to top, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.10) 55%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 10;
  max-width: 1240px; width: 100%;
  margin: 0 auto; padding: 0 24px;
  padding-top: calc(var(--nav-h) + 40px);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.9);
  font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 100px;
  margin-bottom: 28px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); display: inline-block; }
.hero-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 5rem);
  color: #fff; line-height: 1.06;
  letter-spacing: -.02em;
  margin-bottom: 22px;
  max-width: 780px;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--orange), #ffb347);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title-sub {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  letter-spacing: .02em;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  max-width: 560px; line-height: 1.7;
  font-weight: 300; margin-bottom: 36px;
}
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px;
  font-weight: 700; font-size: 14px;
  letter-spacing: .02em; transition: all .18s;
  border: none; cursor: pointer;
  font-family: 'Roboto', sans-serif;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { opacity: .88; transform: translateY(-1px); }
.btn-white {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff; backdrop-filter: blur(6px);
}
.btn-white:hover { background: rgba(255,255,255,0.2); }
.btn-outline {
  background: transparent; border: 1.5px solid var(--purple);
  color: var(--purple); padding: 12px 24px; border-radius: 7px;
  font-weight: 700; font-size: 13px; letter-spacing: .02em;
  transition: all .18s; cursor: pointer;
  font-family: 'Roboto', sans-serif;
  display: inline-flex; align-items: center; gap: 7px;
}
.btn-outline:hover { background: var(--purple); color: #fff; }
.hero-countdown {
  display: inline-flex; align-items: flex-start; gap: 4px;
  background: rgba(0,0,0,0.3); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 18px 24px;
}
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 56px; }
.cd-num {
  font-family: 'Roboto', sans-serif;
  font-size: 2.2rem; color: #fff; line-height: 1;
  letter-spacing: -.02em;
}
.cd-lbl { font-size: 9px; color: rgba(255,255,255,.5); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
.cd-colon { font-size: 1.8rem; color: rgba(255,255,255,.3); line-height: 1; padding: 0 2px; margin-top: 4px; }

/* ===========================
   SECTION SHARED
=========================== */
.section { padding: 88px 24px; }
.wrap { max-width: 1240px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}
.section-heading {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text); line-height: 1.15;
  letter-spacing: -.02em; margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem; color: var(--text-mid);
  line-height: 1.75; font-weight: 300;
  max-width: 620px;
}
.divider { height: 1px; background: var(--border); margin: 0 auto; max-width: 1240px; }

/* ===========================
   KEY FACTS STRIP
=========================== */
.facts-strip {
  background: var(--purple);
  padding: 0 24px;
}
.facts-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255,255,255,.12);
}
.fact-item {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,.12);
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.fact-item .fi-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.12); border-radius: 8px;
  margin-bottom: 14px;
}
.fact-item .fi-val {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem; color: #fff;
  margin-bottom: 4px; line-height: 1.2;
}
.fact-item .fi-label {
  font-size: .76rem; color: rgba(255,255,255,.55);
  font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}

/* ===========================
   ABOUT
=========================== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-body .theme-box {
  background: linear-gradient(135deg, var(--purple-light), var(--orange-light));
  border-left: 4px solid var(--orange);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px; margin: 20px 0 28px;
}
.about-body .theme-box p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.15rem; color: var(--purple);
  font-style: italic; line-height: 1.5;
}
.about-body p {
  font-size: .95rem; color: var(--text-mid);
  line-height: 1.82; font-weight: 300; margin-bottom: 16px;
}
.about-visual { position: relative; }
.about-card {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
.about-card-img {
  height: 260px;
  background: linear-gradient(135deg, #2d1b5e, #40578D, #2a9d8f);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-card-img .africa-text {
  font-family: 'Roboto', sans-serif;
  font-size: 3.5rem; color: rgba(255,255,255,0.15);
  letter-spacing: .05em; user-select: none;
  position: absolute;
}
.about-card-img .first-badge {
  background: rgba(251,101,0,0.9); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 8px 16px;
  border-radius: 100px; position: relative; z-index: 1;
}
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 24px; gap: 16px;
}
.about-stat { text-align: center; }
.about-stat .as-num {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem; color: var(--purple); line-height: 1;
}
.about-stat .as-lbl {
  font-size: .75rem; color: var(--text-light);
  font-weight: 500; text-transform: uppercase;
  letter-spacing: .08em; margin-top: 4px;
}
.key-dates {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 28px;
}
.kd-item {
  background: var(--light); border-radius: 8px;
  padding: 16px; border: 1px solid var(--border);
}
.kd-item .kd-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 5px;
}
.kd-item .kd-val { font-size: .9rem; font-weight: 700; color: var(--text); }

/* ===========================
   CONGRESS THEMES
=========================== */
.themes-section { background: var(--off-white); }
.themes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 40px;
}
.theme-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 24px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.theme-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.theme-card.t-purple::before { background: var(--purple); }
.theme-card.t-orange::before { background: var(--orange); }
.theme-card.t-blue::before { background: var(--blue); }
.theme-card.t-teal::before { background: var(--teal); }
.theme-card.t-mixed::before { background: linear-gradient(90deg, var(--purple), var(--orange)); }
.theme-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); transform: translateY(-3px); border-color: var(--purple); }
.tc-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px;
}
.tc-icon.ip { background: var(--purple-light); }
.tc-icon.io { background: var(--orange-light); }
.tc-icon.ib { background: var(--blue-light); }
.tc-icon.it { background: rgba(42,157,143,.1); }
.theme-card h4 { font-weight: 700; font-size: .92rem; color: var(--text); margin-bottom: 8px; }
.theme-card p { font-size: .82rem; color: var(--text-mid); line-height: 1.65; font-weight: 300; }

/* ===========================
   PARTNERS BAR
=========================== */
.partners-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px; background: #fff;
}
.partners-row {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center;
  gap: 40px; flex-wrap: wrap; justify-content: center;
}
.partners-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-light); width: 100%; text-align: center;
  margin-bottom: 8px;
}
.partner-logo-slot {
  height: 56px; min-width: 120px; max-width: 160px;
  border: 1.5px dashed var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; text-align: center; padding: 8px 12px;
  flex: 1; background: var(--off-white);
}
.partner-logo-real {
  height: 56px; display: flex; align-items: center; padding: 0 16px;
}
.partner-logo-real img { height: 38px; width: auto; opacity: .8; }
.sep-line { width: 1px; height: 36px; background: var(--border); }

/* ===========================
   SPEAKERS
=========================== */
.speakers-section { background: #fff; }
.speakers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 40px;
}
.speaker-card {
  border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.speaker-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.07); transform: translateY(-2px); }
.speaker-photo {
  height: 200px; background: var(--light);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.speaker-photo-placeholder {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
}
.speaker-photo-placeholder svg { width: 28px; height: 28px; stroke: #aaa; stroke-width: 1.5; }
.photo-label {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  font-size: 9px; color: #bbb; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.speaker-info { padding: 18px 18px 20px; }
.sp-placeholder {
  height: 11px; background: var(--light);
  border-radius: 3px; margin-bottom: 7px;
}
.sp-placeholder.short { width: 60%; }
.speakers-note {
  text-align: center; margin-top: 32px;
  font-size: .85rem; color: var(--text-light); font-style: italic;
}

/* ===========================
   PROGRAMME
=========================== */
.programme-section { background: var(--off-white); }
.programme-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.prog-tab {
  padding: 9px 20px; border-radius: 6px;
  border: 1.5px solid var(--border);
  background: #fff; color: var(--text-mid);
  font-weight: 600; font-size: 13px;
  cursor: pointer; transition: all .18s;
  font-family: 'Roboto', sans-serif;
}
.prog-tab:hover { border-color: var(--purple); color: var(--purple); }
.prog-tab.active { background: var(--purple); border-color: var(--purple); color: #fff; }
.prog-placeholder {
  border: 1.5px dashed var(--border); border-radius: 10px;
  padding: 56px 32px; text-align: center;
  color: var(--text-light); background: #fff;
}
.prog-placeholder svg { width: 36px; height: 36px; stroke: var(--border); margin: 0 auto 14px; display: block; }
.prog-placeholder p { font-size: .88rem; line-height: 1.6; font-weight: 300; }

/* ===========================
   DESTINATION
=========================== */
.dest-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start; margin-top: 32px;
}
.dest-image-stack { position: relative; height: 480px; }
.dest-img-main {
  position: absolute; top: 0; left: 0;
  width: 78%; height: 82%;
  border-radius: 12px;
  background: linear-gradient(160deg, #1a2a5e, #2a9d8f);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.dest-img-main img { width: 100%; height: 100%; object-fit: cover; }
.dest-img-main .dest-placeholder-text {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem; color: rgba(255,255,255,.25);
  text-align: center; padding: 20px;
}
.dest-img-sub {
  position: absolute; bottom: 0; right: 0;
  width: 56%; height: 52%;
  border-radius: 10px;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  background: linear-gradient(135deg, #2d1b5e, var(--orange) 150%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.dest-img-sub img { width: 100%; height: 100%; object-fit: cover; }
.dest-img-sub .dest-placeholder-text { font-size: 1rem; color: rgba(255,255,255,.3); }
.dest-facts {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin: 28px 0;
}
.dest-fact {
  background: var(--light); border-radius: 8px;
  padding: 16px; border: 1px solid var(--border);
}
.dest-fact .df-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 4px;
}
.dest-fact .df-val { font-size: .95rem; font-weight: 700; color: var(--text); }
.dest-tabs {
  display: flex; gap: 2px;
  border-bottom: 2px solid var(--border); margin-bottom: 28px;
}
.dest-tab {
  padding: 10px 18px; background: none; border: none;
  font-family: 'Roboto', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--text-mid); cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: color .18s, border-color .18s;
}
.dest-tab.active, .dest-tab:hover { color: var(--purple); border-bottom-color: var(--purple); }
.dest-panel { display: none; }
.dest-panel.active { display: block; }
.dest-panel p { font-size: .9rem; color: var(--text-mid); line-height: 1.8; font-weight: 300; margin-bottom: 14px; }
.venue-card {
  background: var(--light); border-radius: 10px;
  padding: 20px; border: 1px solid var(--border);
  margin-bottom: 16px;
}
.venue-card .vc-label {
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 8px;
}
.venue-card h4 { font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 4px; }
.venue-card a { color: var(--purple); font-size: .83rem; font-weight: 500; }
.venue-card a:hover { text-decoration: underline; }
.placeholder-notice {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--orange-light); border-radius: 7px;
  padding: 14px 16px; margin-top: 4px;
  border: 1px solid rgba(251,101,0,.15);
}
.placeholder-notice svg { width: 16px; height: 16px; stroke: var(--orange); flex-shrink: 0; margin-top: 2px; }
.placeholder-notice p { font-size: .82rem; color: var(--text-mid); margin: 0 !important; font-style: italic; }
.visa-info { background: var(--light); border-radius: 10px; padding: 20px; border: 1px solid var(--border); }
.visa-info h4 { font-weight: 700; font-size: .9rem; margin-bottom: 12px; }
.visa-info ul { list-style: none; }
.visa-info ul li {
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: .85rem; color: var(--text-mid); line-height: 1.6;
  display: flex; gap: 10px; align-items: flex-start;
}
.visa-info ul li:last-child { border-bottom: none; }
.visa-info ul li::before { content: '→'; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.visa-info a { color: var(--purple); }
.visa-info a:hover { text-decoration: underline; }

/* ===========================
   SPONSORSHIP
=========================== */
.sponsor-section { background: var(--off-white); }
.sponsor-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin: 40px 0;
}
.sponsor-tier {
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 28px 22px; background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative;
}
.sponsor-tier:hover {
  border-color: var(--purple);
  box-shadow: 0 6px 24px rgba(125,81,161,.1);
  transform: translateY(-3px);
}
.sponsor-tier.featured { border-color: var(--orange); box-shadow: 0 6px 24px rgba(251,101,0,.1); }
.st-ribbon {
  position: absolute; top: -1px; right: 18px;
  background: var(--orange); color: #fff;
  font-size: 9px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 0 0 4px 4px;
}
.st-dot { width: 12px; height: 12px; border-radius: 50%; margin-bottom: 16px; }
.st-dot.platinum { background: #b8b8cf; }
.st-dot.gold { background: #c9a84c; }
.st-dot.silver { background: #9e9e9e; }
.st-dot.bronze { background: #b87333; }
.sponsor-tier h4 { font-weight: 700; font-size: .95rem; color: var(--text); margin-bottom: 10px; }
.sponsor-tier p { font-size: .82rem; color: var(--text-mid); line-height: 1.65; font-weight: 300; }
.sponsor-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 32px; }

/* ===========================
   FAQ
=========================== */
.faq-section { background: #fff; }
.faq-layout {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 48px; align-items: start; margin-top: 40px;
}
.faq-nav { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq-nav ul { list-style: none; }
.faq-nav ul li a {
  display: block; padding: 10px 16px;
  border-radius: 7px; font-size: .85rem; font-weight: 500;
  color: var(--text-mid); transition: all .15s;
  border-left: 2px solid transparent;
}
.faq-nav ul li a:hover, .faq-nav ul li a.active {
  color: #fff; background: var(--purple); border-left-color: var(--purple);
}
.acc-item { border-bottom: 1px solid var(--border); }
.acc-item:first-child { border-top: 1px solid var(--border); }
.acc-btn {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px; text-align: left; gap: 16px;
  font-family: 'Roboto', sans-serif;
}
.acc-btn span { font-size: .92rem; font-weight: 600; color: var(--text); }
.acc-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1.5px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.acc-icon svg { width: 12px; height: 12px; stroke: var(--text-mid); transition: transform .25s; }
.acc-btn[aria-expanded="true"] .acc-icon { background: var(--purple); border-color: var(--purple); }
.acc-btn[aria-expanded="true"] .acc-icon svg { stroke: #fff; transform: rotate(45deg); }
.acc-body {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.acc-body.open { max-height: 600px; padding-bottom: 20px; }
.acc-body p { font-size: .88rem; color: var(--text-mid); line-height: 1.75; font-weight: 300; }
.acc-body a { color: var(--purple); }
.acc-body a:hover { text-decoration: underline; }
.faq-panels { display: block; }
#fq-a11y, #fq-travel, #fq-downloads { display: none; }

.a11y-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 8px;
}
.a11y-item {
  background: var(--light); border-radius: 8px;
  padding: 18px 16px; border: 1px solid var(--border);
}
.a11y-item .ai-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--purple-light); border-radius: 8px;
  margin-bottom: 10px;
}
.a11y-item h5 { font-weight: 700; font-size: .82rem; margin-bottom: 4px; }
.a11y-item p { font-size: .78rem; color: var(--text-mid); line-height: 1.6; font-weight: 300; }

.dl-list { margin-top: 8px; }
.dl-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.dl-row:last-child { border-bottom: none; }
.dl-icon {
  flex-shrink: 0; width: 36px; height: 36px;
  background: var(--light); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--orange);
  letter-spacing: .04em;
}
.dl-row .dl-name { font-weight: 700; font-size: .88rem; }
.dl-row .dl-desc { font-size: .78rem; color: var(--text-light); font-weight: 300; }
.dl-row .dl-status { margin-left: auto; font-size: .75rem; font-weight: 700; color: var(--text-light); white-space: nowrap; }
.dl-row .dl-btn {
  background: var(--purple); color: #fff;
  padding: 7px 14px; border-radius: 5px;
  font-size: .75rem; font-weight: 700;
  transition: opacity .15s; white-space: nowrap;
}
.dl-row .dl-btn:hover { opacity: .85; }
.dl-row .dl-btn.soon {
  background: var(--light); color: var(--text-light); cursor: default;
}

/* ===========================
   NOTIFY / MAILING LIST
=========================== */
.notify-section { background: var(--purple); padding: 72px 24px; }
.notify-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.notify-text h2 {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: #fff; margin-bottom: 8px;
}
.notify-text p { color: rgba(255,255,255,.65); font-size: .9rem; font-weight: 300; }
.notify-form { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.notify-form input {
  padding: 13px 18px; border-radius: 7px;
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  color: #fff; font-family: 'Roboto', sans-serif;
  font-size: 14px; outline: none; min-width: 240px;
  transition: border-color .18s;
}
.notify-form input::placeholder { color: rgba(255,255,255,.45); }
.notify-form input:focus { border-color: rgba(255,255,255,.6); }
.notify-form button {
  background: #fff; color: var(--purple);
  padding: 13px 24px; border-radius: 7px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700; font-size: 14px; border: none;
  cursor: pointer; white-space: nowrap; transition: opacity .15s;
}
.notify-form button:hover { opacity: .9; }
#notifySuccess {
  display: none; color: #fff;
  font-size: .9rem; font-weight: 500;
  background: rgba(255,255,255,.12);
  padding: 13px 20px; border-radius: 7px;
  margin-top: 8px;
}

/* ===========================
   SOCIAL STRIP
=========================== */
.social-section { background: #0f0f1a; padding: 28px 24px; border-top: 1px solid rgba(255,255,255,.06); }
.social-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.social-text p { color: rgba(255,255,255,.45); font-size: .85rem; }
.social-text strong { color: rgba(255,255,255,.75); }
.social-links { display: flex; gap: 8px; align-items: center; }
.s-link {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
  flex-shrink: 0;
}
.s-link:hover {
  background: var(--purple);
  border-color: var(--purple);
  transform: translateY(-2px);
}
.s-link svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: rgba(255,255,255,.55);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .2s;
}
.s-link:hover svg { stroke: #fff; }
/* Facebook & YouTube have fill paths */
.s-link:nth-child(1) svg path,
.s-link:nth-child(5) svg path { fill: rgba(255,255,255,.55); stroke: none; }
.s-link:nth-child(5) svg polygon { fill: #fff; stroke: none; }
.s-link:nth-child(1):hover svg path,
.s-link:nth-child(5):hover svg path { fill: #fff; }
/* "Coming soon" visual indicator */
.s-link[title*="coming soon"] { opacity: .5; }
.s-link[title*="coming soon"]:hover { opacity: 1; }

/* ===========================
   FOOTER
=========================== */
footer {
  background: #13131f; color: rgba(255,255,255,.5);
  padding: 56px 24px 32px;
}
.footer-grid {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand .fb-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.footer-brand .fb-logo-mark {
  width: 32px; height: 32px; border-radius: 6px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex; align-items: center; justify-content: center;
}
.footer-brand .fb-logo-mark svg { width: 18px; height: 18px; fill: #fff; }
.footer-brand .fb-logo-text {
  font-weight: 700; font-size: .82rem;
  color: rgba(255,255,255,.75); line-height: 1.3;
}
.footer-brand p { font-size: .82rem; line-height: 1.7; max-width: 240px; }
.footer-col h5 {
  font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.8); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
  font-size: .82rem; color: rgba(255,255,255,.45);
  transition: color .15s;
}
.footer-col ul a:hover { color: rgba(255,255,255,.8); }
.footer-bottom {
  max-width: 1240px; margin: 0 auto;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.07);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; font-size: .75rem;
}
.footer-bottom a { color: rgba(255,255,255,.3); margin: 0 10px; transition: color .15s; }
.footer-bottom a:hover { color: rgba(255,255,255,.6); }
.wcag-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.05); padding: 4px 10px;
  border-radius: 20px; font-size: .72rem; color: rgba(255,255,255,.35);
}

/* ===========================
   ACCESSIBILITY WIDGET
=========================== */
.a11y-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 9990;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--purple); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(125,81,161,.4);
  transition: transform .18s, box-shadow .18s;
}
.a11y-fab:hover { transform: scale(1.08); }
.a11y-fab svg { width: 24px; height: 24px; stroke: #fff; stroke-width: 1.8; fill: none; }
.a11y-drawer {
  position: fixed; bottom: 84px; right: 24px; z-index: 9989;
  width: 270px; background: #fff;
  border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.14); padding: 20px;
  display: none;
}
.a11y-drawer.open { display: block; }
.a11y-drawer h4 {
  font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-mid); margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.a11y-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid var(--border);
  font-size: .85rem; color: var(--text-mid); cursor: pointer;
  transition: color .15s;
}
.a11y-row:last-of-type { border-bottom: none; }
.a11y-row:hover { color: var(--purple); }
.tog {
  width: 36px; height: 20px; border-radius: 10px;
  background: var(--border); position: relative; transition: background .2s;
}
.tog.on { background: var(--purple); }
.tog::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.tog.on::after { transform: translateX(16px); }
.a11y-size-row { padding: 12px 0 0; }
.a11y-size-row label { font-size: .78rem; color: var(--text-mid); display: block; margin-bottom: 8px; font-weight: 600; }
.a11y-size-btns { display: flex; gap: 6px; }
.sz-btn {
  flex: 1; padding: 7px; border-radius: 5px;
  border: 1px solid var(--border); background: none;
  cursor: pointer; font-family: 'Roboto', sans-serif;
  color: var(--text-mid); transition: all .15s;
}
.sz-btn:hover, .sz-btn.active { background: var(--purple); color: #fff; border-color: var(--purple); }

/* ===========================
   REVEAL ANIMATIONS
=========================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.rev-1 { transition-delay: .08s; }
.rev-2 { transition-delay: .16s; }
.rev-3 { transition-delay: .24s; }
.rev-4 { transition-delay: .32s; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav { position: static; margin-bottom: 8px; }
  .faq-nav ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-nav ul li a { padding: 7px 14px; border-left: none; }
  .facts-inner { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .about-grid, .dest-split { grid-template-columns: 1fr; }
  .dest-image-stack { height: 280px; }
  .a11y-grid { grid-template-columns: 1fr 1fr; }
  .notify-inner { flex-direction: column; align-items: flex-start; }
  .notify-form { width: 100%; }
  .notify-form input { min-width: unset; width: 100%; }
  .facts-inner { grid-template-columns: 1fr 1fr; }
  .themes-grid { grid-template-columns: 1fr; }
  .speakers-grid { grid-template-columns: 1fr 1fr; }
  .sponsor-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .key-dates { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .speakers-grid { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: 1fr; }
  .facts-inner { grid-template-columns: 1fr; }
  .a11y-grid { grid-template-columns: 1fr; }
  .hero-countdown { flex-wrap: wrap; gap: 8px; }
}

/* ===========================
   PHOTO GALLERY STRIP — MOSAIC COLLAGE
=========================== */
.gallery-strip {
  background: var(--text);
  padding: 64px 24px 72px;
  overflow: hidden;
}
.gallery-strip-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.gallery-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.gallery-header .section-tag { color: var(--orange); flex-shrink: 0; }
.gallery-lead {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  font-weight: 300;
  line-height: 1.6;
}

/*
  MOSAIC GRID — 4 columns × 2 rows
  Fixed layout regardless of image dimensions:

  [ 1: tall  ] [ 2: sq ] [ 3: sq ] [ 4: tall ]
  [ 1: cont  ] [ 5: wide-2col    ] [ 4: cont ]

  Col widths: 2fr 1fr 1fr 2fr  (total 6 units)
  Row heights: fixed px so images never collapse
*/
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  grid-template-rows: 280px 280px;
  gap: 6px;
}

/* Slot 1 — tall left, spans 2 rows */
.gallery-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
}
/* Slot 2 — top middle-left */
.gallery-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}
/* Slot 3 — top middle-right */
.gallery-item:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}
/* Slot 4 — tall right, spans 2 rows */
.gallery-item:nth-child(4) {
  grid-column: 4;
  grid-row: 1 / span 2;
}
/* Slot 5 — wide bottom centre, spans 2 columns */
.gallery-item:nth-child(5) {
  grid-column: 2 / span 2;
  grid-row: 2;
}
/* Slots 6-8 hidden by default — shown as overlay or below on mobile */
.gallery-item:nth-child(6),
.gallery-item:nth-child(7),
.gallery-item:nth-child(8) {
  display: none;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, filter .5s ease;
  filter: grayscale(15%) brightness(.95);
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1.05);
}
/* Subtle colour overlay per slot for brand feel */
.gallery-item:nth-child(1)::after,
.gallery-item:nth-child(4)::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(125,81,161,.25) 0%, transparent 60%);
  pointer-events: none;
}
.gallery-item:nth-child(5)::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(251,101,0,.15) 0%, transparent 60%);
  pointer-events: none;
}

/* Placeholder state */
.gallery-placeholder {
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255,255,255,.1);
}
.gallery-placeholder svg {
  width: 28px; height: 28px;
  stroke: rgba(255,255,255,.18);
}

/* Responsive */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .gallery-item:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .gallery-item:nth-child(2) { grid-column: 2; grid-row: 1; }
  .gallery-item:nth-child(3) { grid-column: 3; grid-row: 1; }
  .gallery-item:nth-child(4) { grid-column: 2 / span 2; grid-row: 2; }
  .gallery-item:nth-child(5) { grid-column: 1 / span 3; grid-row: 3; }
  .gallery-item:nth-child(4)::after { display: none; }
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 180px);
  }
  .gallery-item:nth-child(1) { grid-column: 1 / span 2; grid-row: 1; }
  .gallery-item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .gallery-item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .gallery-item:nth-child(4) { grid-column: 1; grid-row: 3; }
  .gallery-item:nth-child(5) { grid-column: 2; grid-row: 3; }
  .gallery-header { flex-direction: column; gap: 6px; }
}

/* ===========================
   PROGRAMME SCHEDULE (dynamic)
=========================== */
.prog-schedule {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.prog-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.prog-row:last-child { border-bottom: none; }
.prog-row:nth-child(even) { background: var(--off-white); }
.prog-time {
  font-size: .8rem;
  font-weight: 700;
  color: var(--purple);
  min-width: 52px;
  flex-shrink: 0;
  padding-top: 2px;
  letter-spacing: .04em;
}
.prog-session {
  font-size: .88rem;
  color: var(--text);
  line-height: 1.5;
  font-weight: 400;
}
.prog-row-full {
  background: var(--purple-light) !important;
}
.prog-row-full .prog-session {
  font-weight: 600;
  color: var(--purple);
}
