
/* ======================================================
   CSS CUSTOM PROPERTIES
   ====================================================== */
:root {
 --forest:      #1f3a5f;
--forest-mid:  #2f5d7c;
--forest-light:#5f8faa;
--gold:        #c8922a;
--gold-light:  #e0aa48;
--gold-pale:   #f5e8cc;
--ivory:       #faf8f3;
--ivory-dark:  #f0ece0;
--stone:       #e8e2d4;
--charcoal:    #2c2c2c;
--mid-grey:    #5a5a5a;
--light-grey:  #9a9a9a;
--white:       #ffffff;

--font-display: 'Playfair Display', Georgia, serif;
--font-body:    'DM Sans', sans-serif;

--max-w: 1200px;
--nav-h: 72px;
--radius: 4px;
--radius-lg: 12px;

--shadow-sm: 0 2px 12px rgba(31,58,95,.08);
--shadow-md: 0 6px 32px rgba(31,58,95,.14);
--shadow-lg: 0 16px 64px rgba(31,58,95,.18);

--trans: .3s ease;
}

/* ======================================================
   RESET & BASE
   ====================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  line-height: 1.25;
  font-weight: 700;
}

/* ======================================================
   UTILITY CLASSES
   ====================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 96px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--forest);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--mid-grey);
  max-width: 640px;
  font-weight: 300;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--trans);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,146,42,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-forest {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.btn-forest:hover {
  background: var(--forest-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.chip {
  display: inline-block;
  padding: .25rem .8rem;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 100px;
}

.divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1.25rem 0 2rem;
  border-radius: 2px;
}

/* ======================================================
   NAVIGATION
   ====================================================== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(31,58,95,0);
  backdrop-filter: blur(0px);
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}

#nav.scrolled {
  background: rgba(20,33,61,.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}


.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.02em;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.logo-text span {
  font-size: .65rem;
  font-weight: 400;
  color: rgba(255,255,255,.6);
  letter-spacing: .06em;
  text-transform: uppercase;
}

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

.nav-links a {
  padding: .5rem .9rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255,255,255,.78);
  border-radius: var(--radius);
  transition: var(--trans);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.nav-register {
  margin-left: .75rem;
  padding: .5rem 1.2rem;
  background: var(--gold);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 600;
}
.nav-register:hover {
  background: var(--gold-light) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--trans);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--forest);
  padding: 1.5rem 2rem 2rem;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: .25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: .7rem 1rem;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--trans);
}
.nav-mobile a:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.nav-mobile .nav-register {
  margin-top: .5rem;
  text-align: center;
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
}

/* ======================================================
   HERO
   ====================================================== */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #14213d;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(95, 143, 170, .35) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 10% 80%, rgba(200, 146, 42, .14) 0%, transparent 50%),
        linear-gradient(160deg, #14213d 0%, #1f3a5f 48%, #2f5d7c 100%);
}



/* Decorative geometric pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,.5) 59px, rgba(255,255,255,.5) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,.5) 59px, rgba(255,255,255,.5) 60px);
}

.hero-accent {
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, rgba(200,146,42,.08) 0%, transparent 60%);
  border-left: 1px solid rgba(200,146,42,.15);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 140px 2rem 100px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 1rem .4rem .6rem;
  background: rgba(200,146,42,.15);
  border: 1px solid rgba(200,146,42,.3);
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.3); }
}
.hero-eyebrow span {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-body {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,.72);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.hero-meta-item .label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.hero-meta-item .value {
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
}

/* Hero card */
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}

.hero-card-title {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-bottom: 2rem;
}
.countdown-unit {
  background: rgba(0,0,0,.2);
  border-radius: var(--radius);
  padding: 1rem .5rem;
  text-align: center;
}
.countdown-unit .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.countdown-unit .unit {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: .25rem;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.hero-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-stat:last-child { border-bottom: none; }
.hero-stat .key {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  font-weight: 400;
}
.hero-stat .val {
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
}

/* ======================================================
   ABOUT STRIP (quick facts)
   ====================================================== */
.about-strip {
  background: var(--forest-mid);
  padding: 2.5rem 0;
}
.about-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.strip-stat {
  text-align: center;
}
.strip-stat .big {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.strip-stat .desc {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: rgba(255,255,255,.6);
  margin-top: .35rem;
  text-transform: uppercase;
}

/* ======================================================
   ABOUT SECTION
   ====================================================== */
#about {
  background: var(--ivory);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  margin-top: 4rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pillar {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--stone);
  transition: var(--trans);
}
.pillar:hover {
  border-color: var(--gold-pale);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.pillar-content h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: .4rem;
}
.pillar-content p {
  font-size: .88rem;
  color: var(--mid-grey);
  line-height: 1.65;
}

.about-text p {
  font-size: 1rem;
  color: var(--mid-grey);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  font-weight: 300;
}
.about-text p strong {
  color: var(--forest);
  font-weight: 600;
}

.about-quote {
  margin: 2rem 0;
  padding: 1.75rem 1.75rem 1.75rem 2rem;
  background: var(--forest);
  border-radius: var(--radius-lg);
  position: relative;
}
.about-quote::before {
  content: '\201C';
  position: absolute;
  top: -.5rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: .5;
}
.about-quote p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.65;
  margin: 0;
}
.about-quote cite {
  display: block;
  margin-top: .75rem;
  font-size: .78rem;
  font-style: normal;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: .04em;
}

/* ======================================================
   COMMITTEE SECTION
   ====================================================== */
#committee {
  background: var(--ivory-dark);
}

.committee-tabs {
  display: flex;
  gap: .5rem;
  border-bottom: 2px solid var(--stone);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.committee-tab {
  padding: .75rem 1.5rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--mid-grey);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--trans);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-body);
}
.committee-tab:hover { color: var(--forest); }
.committee-tab.active {
  color: var(--forest);
  border-bottom-color: var(--gold);
}

.committee-panel { display: none; }
.committee-panel.active { display: block; }

.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.member-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--stone);
  overflow: hidden;
  transition: var(--trans);
}
.member-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.member-avatar {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 60%, var(--forest-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.member-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(200,146,42,.2), transparent 60%);
}
.member-avatar-initials {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  position: relative;
  z-index: 1;
}

.member-info {
  padding: 1.25rem;
}
.member-info h4 {
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: .25rem;
}
.member-info .role {
  font-size: .75rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .04em;
}
.member-info .org {
  font-size: .76rem;
  color: var(--light-grey);
  margin-top: .2rem;
  font-weight: 400;
}
.member-info .country {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  color: var(--mid-grey);
  margin-top: .5rem;
}
.member-info .country::before {
  content: '◉';
  font-size: .5rem;
  color: var(--gold);
}

/* ======================================================
   SPEAKERS SECTION
   ====================================================== */
#speakers {
  background: var(--ivory);
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.speaker-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stone);
  transition: var(--trans);
}
.speaker-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.speaker-photo-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(200,146,42,.25), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(95,143,170,.35), transparent 50%);
}

.speaker-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  z-index: 1;
}
.speaker-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.speaker-body {
  padding: 1.5rem;
}
.speaker-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--forest);
  margin-bottom: .25rem;
}
.speaker-body .title {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .04em;
  margin-bottom: .2rem;
}
.speaker-body .org {
  font-size: .8rem;
  color: var(--mid-grey);
  margin-bottom: .85rem;
}
.speaker-body .bio {
  font-size: .82rem;
  color: var(--mid-grey);
  line-height: 1.6;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.speaker-session {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  background: var(--ivory);
  border-top: 1px solid var(--stone);
  font-size: .75rem;
  font-weight: 500;
  color: var(--mid-grey);
}
.speaker-session svg {
  flex-shrink: 0;
  color: var(--gold);
}

/* ======================================================
   PROGRAMME SECTION
   ====================================================== */
#programme {
  background: var(--forest);
}

#programme .section-label { color: var(--gold-light); }
#programme .section-label::before { background: var(--gold-light); }
#programme .section-title { color: var(--white); }
#programme .section-subtitle { color: rgba(255,255,255,.55); }

.prog-tabs {
  display: flex;
  gap: .5rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

.prog-tab {
  padding: .65rem 1.4rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 100px;
  cursor: pointer;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.1);
  transition: var(--trans);
  font-family: var(--font-body);
}
.prog-tab:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
}
.prog-tab.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.prog-panel { display: none; }
.prog-panel.active { display: flex; flex-direction: column; gap: .75rem; }

.prog-item {
  display: grid;
  grid-template-columns: 110px 3px 1fr;
  gap: 0 1.5rem;
  align-items: start;
}

.prog-time {
  padding-top: 1.4rem;
  text-align: right;
}
.prog-time .hour {
  font-size: .88rem;
  font-weight: 600;
  color: var(--gold-light);
  font-family: var(--font-display);
}
.prog-time .period {
  font-size: .68rem;
  color: rgba(255,255,255,.4);
  font-weight: 400;
}

.prog-line {
  position: relative;
  background: rgba(255,255,255,.1);
}
.prog-line::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,146,42,.25);
}

.prog-block {
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  transition: var(--trans);
  margin-bottom: .25rem;
}
.prog-block:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(200,146,42,.3);
}
.prog-block.highlight {
  background: rgba(200,146,42,.12);
  border-color: rgba(200,146,42,.3);
}
.prog-block.plenary {
  background: rgba(95,143,170,.22);
  border-color: rgba(95,143,170,.45);
}

.prog-block-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .5rem;
  flex-wrap: wrap;
}
.prog-block h4 {
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 600;
  color: var(--white);
  flex: 1;
}
.prog-block p {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  font-weight: 300;
  line-height: 1.55;
}
.prog-type {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2rem .65rem;
  border-radius: 100px;
}
.prog-type.keynote   { background: rgba(200,146,42,.2); color: var(--gold-light); }
.prog-type.panel     { background: rgba(45,107,82,.3);  color: #7ecfae; }
.prog-type.workshop  { background: rgba(255,255,255,.1); color: rgba(255,255,255,.6); }
.prog-type.network   { background: rgba(100,60,200,.2); color: #b5a0f0; }
.prog-type.opening   { background: rgba(200,146,42,.25); color: var(--gold-light); }
.prog-type.break     { background: rgba(255,255,255,.06); color: rgba(255,255,255,.35); }

/* ======================================================
   REGISTRATION & MILESTONES
   ====================================================== */
#registration {
  background: var(--ivory-dark);
}

.reg-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3.5rem;
}

.reg-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.reg-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: .88rem;
}
.reg-table thead th {
  background: var(--forest);
  color: var(--white);
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.reg-table thead th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.reg-table thead th:last-child  { border-radius: 0 var(--radius-lg) 0 0; }

.reg-table tbody tr {
  border-bottom: 1px solid var(--stone);
  transition: background .2s;
}
.reg-table tbody tr:hover { background: var(--ivory); }
.reg-table tbody td {
  padding: .9rem 1.25rem;
  color: var(--charcoal);
  vertical-align: middle;
}
.reg-table tbody td:first-child { font-weight: 600; color: var(--forest); }
.reg-table .price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
}
.reg-table .free {
  color: var(--forest-light);
  font-weight: 600;
}
.reg-note {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .82rem;
  color: var(--charcoal);
  line-height: 1.6;
}

/* Milestones timeline */
.milestones {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 2.5rem;
}
.milestones::before {
  content: '';
  position: absolute;
  left: .85rem;
  top: .5rem;
  bottom: .5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--forest-light) 100%);
}

.milestone {
  position: relative;
  padding-bottom: 2rem;
}
.milestone:last-child { padding-bottom: 0; }

.milestone::before {
  content: '';
  position: absolute;
  left: -1.65rem;
  top: .35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--ivory-dark);
  box-shadow: 0 0 0 2px var(--gold);
}

.milestone.passed::before {
  background: var(--forest-light);
  box-shadow: 0 0 0 2px var(--forest-light);
}

.milestone-date {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .3rem;
}
.milestone.passed .milestone-date { color: var(--forest-light); }

.milestone h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: .3rem;
}
.milestone p {
  font-size: .82rem;
  color: var(--mid-grey);
  font-weight: 300;
  line-height: 1.55;
}

.milestone-badge {
  display: inline-block;
  padding: .15rem .65rem;
  border-radius: 100px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .4rem;
}
.milestone-badge.open   { background: rgba(45,107,82,.15); color: var(--forest-mid); }
.milestone-badge.closed { background: rgba(100,100,100,.1); color: var(--light-grey); }
.milestone-badge.upcoming { background: rgba(200,146,42,.15); color: var(--gold); }

/* ======================================================
   REGIONAL IMPACT
   ====================================================== */
#regional-impact {
  background: var(--ivory);
}

.impact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.region-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.region-card {
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--stone);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--trans);
}
.region-card:hover {
  border-color: var(--gold-pale);
  box-shadow: var(--shadow-sm);
}

.region-flag {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--forest), var(--forest-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.region-card h4 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: .2rem;
}
.region-card p {
  font-size: .8rem;
  color: var(--mid-grey);
  font-weight: 300;
  line-height: 1.55;
}

.impact-map-placeholder {
  min-height: 520px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(200, 146, 42, 0.18), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(135deg, #1f3a5f 0%, #14213d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
  position: relative;
}

.impact-map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 40% 60%, rgba(200,146,42,.14), transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(95,143,170,.25), transparent 50%);
  pointer-events: none;
}

.impact-map-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.africa-map-icon img {
  width: 100%;
  max-width: 360px;
  display: block;
  margin: 0 auto;
  opacity: 0.95;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.25));
}
.africa-map-icon path {
  fill: rgba(255, 255, 255, 0.16);
  stroke: rgba(200, 146, 42, 0.9);
  stroke-width: 5;
  stroke-linejoin: round;
}

.africa-map-icon circle {
  fill: #c8922a;
  stroke: #faf8f3;
  stroke-width: 4;
}

.impact-map-copy {
  color: #faf8f3;
}

.map-kicker {
  display: inline-block;
  color: #e0aa48;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
}

.impact-map-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin: 0 0 1rem;
  color: #ffffff;
}

.impact-map-copy p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .impact-map-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .impact-map-placeholder {
    min-height: auto;
  }
}

/* scatter plot of countries for impact */
.country-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}
.country-bubble {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: var(--trans);
}
.country-bubble:hover {
  border-color: var(--gold);
  color: var(--forest);
}
.country-bubble .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ======================================================
   PARTNERS SECTION
   ====================================================== */
#partners {
  background: var(--ivory-dark);
  padding: 72px 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.partner-tile {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  transition: var(--trans);
  cursor: default;
  min-height: 120px;
  text-align: center;
}
.partner-tile:hover {
  border-color: var(--gold-pale);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.partner-logo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  font-family: var(--font-display);
  flex-shrink: 0;
}

.partner-tile p {
  font-size: .75rem;
  font-weight: 600;
  color: var(--mid-grey);
  letter-spacing: .02em;
  text-align: center;
  line-height: 1.4;
}

/* ======================================================
   FOOTER
   ====================================================== */
footer {
  background: #14213d;
  color: rgba(255,255,255,.65);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand .logo-mark {
  margin-bottom: 1.25rem;
}
.footer-brand p {
  font-size: .85rem;
  line-height: 1.75;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.social-links {
  display: flex;
  gap: .75rem;
}
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  font-weight: 700;
  transition: var(--trans);
}
.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col ul li {
  margin-bottom: .6rem;
}
.footer-col ul li a {
  font-size: .83rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold-light); }

.footer-contact p {
  font-size: .83rem;
  line-height: 1.65;
  margin-bottom: .5rem;
}
.footer-contact strong {
  color: rgba(255,255,255,.85);
  font-size: .75rem;
  letter-spacing: .06em;
  display: block;
  margin-bottom: .15rem;
  text-transform: uppercase;
}
.footer-contact a { color: var(--gold-light); transition: color .2s; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  transition: color .2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ======================================================
   SCROLL ANIMATIONS
   ====================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ======================================================
   BACK TO TOP
   ====================================================== */
#back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  box-shadow: var(--shadow-md);
  font-size: 1rem;
}
#back-top.visible {
  opacity: 1;
  transform: translateY(0);
}
#back-top:hover { background: var(--gold-light); }

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 140px 2rem 80px;
  }
  .hero-card { max-width: 480px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .reg-layout  { grid-template-columns: 1fr; }
  .impact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 64px 0; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .about-strip-inner { grid-template-columns: repeat(2, 1fr); }

  .committee-grid { grid-template-columns: repeat(2, 1fr); }
  .speakers-grid  { grid-template-columns: repeat(2, 1fr); }
  .partners-grid  { grid-template-columns: repeat(2, 1fr); }

  .prog-item { grid-template-columns: 80px 3px 1fr; gap: 0 1rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-inner { padding: 120px 1.25rem 72px; }
  .hero-cta { flex-direction: column; }
  .hero-meta { gap: 1.5rem; }
  .hero-card { display: none; }

  .about-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .committee-grid { grid-template-columns: 1fr; }
  .speakers-grid  { grid-template-columns: 1fr; }
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .prog-tabs { gap: .3rem; }
  .prog-tab { font-size: .75rem; padding: .55rem 1rem; }
  .prog-item { grid-template-columns: 1fr; gap: .5rem; }
  .prog-line { display: none; }
  .prog-time { text-align: left; padding-top: 0; }
}

/* FINAL COLOUR OVERRIDE */
#home {
  background: #14213d !important;
}

.hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(95, 143, 170, .35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(200, 146, 42, .14) 0%, transparent 50%),
    linear-gradient(160deg, #14213d 0%, #1f3a5f 48%, #2f5d7c 100%) !important;
}

.hero-card {
  background: rgba(31, 58, 95, .45) !important;
}

#nav.scrolled {
  background: rgba(20, 33, 61, .96) !important;
}