/* AfriCanada Economic Summit - static site styles
   Theme colours taken from the original WordPress (Astra) site. */
:root {
  --red: #dd0f0e;
  --red-dark: #b00a06;
  --red-deep: #8f0807;
  --gold: #ffcd57;
  --ink: #1e293b;
  --grey: #6a625d;
  --muted: #67768e;
  --soft: #f9f6fe;
  --light: #f2f5f7;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 41, 59, .12);
  --shadow-lg: 0 20px 50px rgba(30, 41, 59, .18);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", "Roboto", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: "Montserrat", sans-serif; line-height: 1.25; margin: 0 0 .6em; color: var(--ink); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.bg-light { background: var(--light); }
.bg-soft { background: var(--soft); }
.bg-red { background: var(--red); color: #fff; }
.bg-red h2, .bg-red h3, .bg-red p { color: #fff; }
.bg-ink { background: var(--ink); color: #fff; }
.text-center { text-align: center; }

/* Section headings */
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.bg-red .eyebrow { color: var(--gold); }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 18px; }
.section-title.center { text-align: center; }
.title-bar { width: 70px; height: 4px; background: var(--red); border-radius: 4px; margin: 0 0 28px; }
.center .title-bar, .title-bar.center { margin-left: auto; margin-right: auto; }
.bg-red .title-bar { background: var(--gold); }
.lead { font-size: 18px; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 14px 30px; border-radius: 50px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; font-family: inherit; letter-spacing: .3px;
  transition: all .25s ease; text-align: center; line-height: 1.3;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(221, 15, 14, .35); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffc02e; color: var(--ink); transform: translateY(-2px); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--red); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--gold); color: var(--ink); }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ---------------- Top bar ---------------- */
.topbar { background: var(--ink); color: #cbd5e1; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: var(--gold); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; fill: var(--gold); }

/* ---------------- Header ---------------- */
.site-header { background: var(--red); position: sticky; top: 0; z-index: 900; box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.brand:hover { color: #fff; }
.brand img { height: 72px; width: auto; }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: .3px; }
.brand-text small { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.main-nav { display: flex; align-items: center; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 5px; padding: 10px 14px; color: #fff;
  font-weight: 600; font-size: 14.5px; border-radius: 8px;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li.active > a { background: rgba(255,255,255,.14); color: #fff; }
.main-nav > ul > li.active > a { box-shadow: inset 0 -3px 0 var(--gold); }
.caret { width: 10px; height: 10px; fill: currentColor; transition: transform .2s; }
.main-nav .sub-menu {
  list-style: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s ease; border-top: 3px solid var(--gold);
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { display: block; padding: 10px 14px; color: var(--ink); font-size: 14px; font-weight: 500; border-radius: 6px; }
.main-nav .sub-menu a:hover { background: var(--light); color: var(--red); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 2px solid rgba(255,255,255,.6); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* ---------------- Hero ---------------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); }
.hero video, .hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(110deg, rgba(143,8,7,.95) 0%, rgba(176,10,6,.88) 50%, rgba(30,41,59,.8) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }
.hero-badge { display: inline-block; background: rgba(255,205,87,.18); border: 1px solid var(--gold); color: var(--gold);
  padding: 6px 16px; border-radius: 30px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { color: #fff; font-size: clamp(34px, 6vw, 64px); font-weight: 900; max-width: 900px; margin-bottom: 18px; }
.hero .theme { font-size: clamp(17px, 2.2vw, 22px); max-width: 820px; margin-bottom: 34px; color: #fff; }
.hero .theme b { color: var(--gold); }
.hero-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; max-width: 900px; margin-bottom: 38px; }
.meta-card { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.1); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 18px 20px; }
.meta-card svg { width: 26px; height: 26px; fill: var(--gold); flex-shrink: 0; margin-top: 2px; }
.meta-card small { display: block; text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; color: var(--gold); font-weight: 700; }
.meta-card span { font-weight: 600; line-height: 1.5; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Countdown */
.countdown { display: flex; gap: 12px; margin-bottom: 34px; flex-wrap: wrap; }
.countdown div { background: #fff; color: var(--red); border-radius: 12px; min-width: 82px; padding: 12px 10px; text-align: center; box-shadow: var(--shadow); }
.countdown b { display: block; font-size: 30px; font-weight: 900; line-height: 1; }
.countdown span { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--grey); font-weight: 700; }

/* ---------------- Page banner (inner pages) ---------------- */
.page-banner { position: relative; padding: 110px 0 90px; color: #fff; background-size: cover; background-position: center; text-align: center; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(143,8,7,.9), rgba(221,15,14,.7) 55%, rgba(30,41,59,.7)); }
.page-banner .container { position: relative; }
.page-banner h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 900; margin-bottom: 10px; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,.85); }
.breadcrumb a { color: var(--gold); }

/* ---------------- Split layouts ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.img-frame { position: relative; }
.img-frame img { border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; }
.img-frame::after { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 4px solid var(--gold); border-radius: 18px; z-index: -1; }
.bg-red .img-frame::after { border-color: rgba(255,255,255,.5); }
.split-text p { font-size: 17px; }

/* About intro cards (home) */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.intro-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.intro-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.intro-card .body { padding: 34px; flex: 1; display: flex; flex-direction: column; }
.intro-card h2 { color: var(--red); font-size: 30px; font-weight: 800; }
.intro-card p { color: var(--muted); font-size: 17px; flex: 1; }

/* Check list */
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; margin: 26px 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.check-list svg { width: 22px; height: 22px; flex-shrink: 0; fill: var(--gold); margin-top: 2px; }
.tagline { font-weight: 800; letter-spacing: 1px; text-transform: uppercase; border-left: 4px solid var(--gold); padding-left: 16px; font-size: 18px; }

/* ---------------- Cards grid ---------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow);
  border-top: 4px solid var(--red); transition: transform .25s, box-shadow .25s; position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .num { position: absolute; top: 18px; right: 22px; font-size: 42px; font-weight: 900; color: rgba(221,15,14,.08); line-height: 1; }
.card .icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(221,15,14,.1); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 28px; height: 28px; fill: var(--red); }
.card h3 { font-size: 20px; font-weight: 800; }
.card p, .card li { color: var(--muted); font-size: 15.5px; }
.card ul { list-style: none; }
.card ul li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* ---------------- People / speakers ---------------- */
.people-section { position: relative; background-size: cover; background-position: center; background-attachment: fixed; }
.people-section.dark::before { content: ""; position: absolute; inset: 0; background: rgba(30,41,59,.88); }
.people-section > .container { position: relative; }
.people-section.dark .section-title { color: #fff; }
.people-section.dark .eyebrow { color: var(--gold); }
.people-section.dark .title-bar { background: var(--gold); }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.person {
  background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); text-align: center;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.person .photo { position: relative; padding: 28px 28px 0; background: linear-gradient(180deg, var(--red) 0 55%, #fff 55%); }
.person .photo img { width: 170px; height: 170px; margin: 0 auto; border-radius: 50%; object-fit: cover; object-position: top; border: 6px solid #fff; box-shadow: 0 8px 20px rgba(0,0,0,.15); background: #fff; }
.person .info { padding: 18px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.person h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.person .role { color: var(--muted); font-size: 14px; line-height: 1.55; flex: 1; }
.person .role span { display: block; }
.person .role span:first-child { color: var(--red); font-weight: 700; }
.person .profile { margin-top: 16px; align-self: center; }

/* Carousel (no library) */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 26px) / 4); gap: 26px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 4px 26px; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-btn {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); border: none; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); transition: .2s;
}
.carousel-btn:hover { background: #fff; }
.carousel-btn svg { width: 18px; height: 18px; fill: var(--ink); }
.carousel-btn.prev { left: -22px; }
.carousel-btn.next { right: -22px; }

/* ---------------- Message / host ---------------- */
.message { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.message .portrait { position: sticky; top: 130px; text-align: center; }
.message .portrait img { border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; }
.message .portrait .name { margin-top: 18px; font-weight: 800; font-size: 20px; color: var(--ink); }
.message .portrait .title { color: var(--red); font-weight: 600; }
.message-body { background: #fff; border-radius: 20px; padding: 44px; box-shadow: var(--shadow); position: relative; }
.message-body::before { content: "\201C"; position: absolute; top: -10px; right: 30px; font-size: 160px; line-height: 1; color: rgba(221,15,14,.1); font-family: Georgia, serif; }
.message-body p { font-size: 17px; color: #334155; }
.signature { font-weight: 700; color: var(--ink); }

/* ---------------- Event block ---------------- */
.event-section { position: relative; background-size: cover; background-position: center; background-attachment: fixed; }
.event-section::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(30,41,59,.92), rgba(143,8,7,.88)); }
.event-section > .container { position: relative; color: #fff; }
.event-section h2 { color: #fff; }
.event-date { color: var(--gold); font-size: 22px; font-weight: 800; }
.event-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 16px; overflow: hidden; color: var(--ink); box-shadow: var(--shadow-lg); margin: 30px 0; }
.event-table th { background: var(--red); color: #fff; text-align: left; padding: 16px 20px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.event-table td { padding: 18px 20px; border-bottom: 1px solid #eef2f6; font-weight: 600; }
.event-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 10px; }
.info-box { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 22px; }
.info-box small { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; font-size: 12px; margin-bottom: 6px; }
.info-box a { color: #fff; }
.info-box a:hover { color: var(--gold); }
.hosted { margin-top: 30px; font-size: 18px; font-weight: 700; color: var(--gold); text-align: center; }

/* ---------------- Video ---------------- */
.video-wrap { position: relative; padding-top: 56.25%; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------- Partners marquee ---------------- */
.partners { padding: 70px 0; background: #fff; }
.marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 90px; width: auto; border-radius: 10px; background: #fff; padding: 6px; border: 1px solid #eef2f6; transition: transform .25s; }
.marquee-track img:hover { transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Gallery ---------------- */
.gallery { columns: 4 260px; column-gap: 18px; }
.gallery a { display: block; margin-bottom: 18px; border-radius: 14px; overflow: hidden; position: relative; break-inside: avoid; box-shadow: var(--shadow); }
.gallery img { width: 100%; transition: transform .4s; }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(221,15,14,.55)); opacity: 0; transition: .3s; }
.gallery a:hover img { transform: scale(1.06); }
.gallery a:hover::after { opacity: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(10,14,22,.94); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); border: none; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; cursor: pointer; transition: .2s; }
.lb-btn:hover { background: var(--red); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; }

/* ---------------- Past events / docs ---------------- */
.doc-card { display: flex; gap: 18px; align-items: center; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-left: 5px solid var(--red); transition: .25s; color: var(--ink); }
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.doc-card .doc-icon { width: 56px; height: 56px; border-radius: 12px; background: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.doc-card .doc-icon svg { width: 26px; height: 26px; fill: #fff; }
.doc-card h3 { font-size: 17px; margin: 0 0 4px; }
.doc-card span { font-size: 13px; color: var(--red); font-weight: 700; }

/* ---------------- Legal text ---------------- */
.legal { max-width: 900px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 50px; box-shadow: var(--shadow); }
.legal h2 { font-size: 26px; color: var(--red); }
.legal h3 { font-size: 19px; margin-top: 28px; padding-left: 14px; border-left: 4px solid var(--gold); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; color: #334155; }
.legal p { color: #334155; }

/* ---------------- Forms ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1.5px solid #dbe2ea; border-radius: 10px; font: inherit; font-size: 15px;
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(221,15,14,.12); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 10px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e7f8ee; color: #0f7a3d; border: 1px solid #b6e7c9; }
.form-status.err { display: block; background: #fdecec; color: var(--red-dark); border: 1px solid #f6c3c3; }
.btn[disabled] { opacity: .65; pointer-events: none; }

.contact-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border-radius: 20px; padding: 44px; box-shadow: var(--shadow-lg); }
.contact-side { background: var(--red); color: #fff; border-radius: 20px; padding: 40px; position: relative; overflow: hidden; }
.contact-side::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.07); right: -80px; bottom: -80px; }
.contact-side h2, .contact-side h3 { color: #fff; }
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; position: relative; z-index: 1; }
.contact-item .ci { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.15); display: grid; place-items: center; flex-shrink: 0; }
.contact-item .ci svg { width: 20px; height: 20px; fill: var(--gold); }
.contact-item small { display: block; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 1.3px; font-size: 12px; }
.contact-item a { color: #fff; }
.map-wrap { margin-top: 50px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 1500; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 23, 42, .75); backdrop-filter: blur(3px); }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 20px; width: 100%; max-width: 760px; max-height: 92vh; overflow-y: auto; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,.4); animation: pop .3s ease; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.modal-head { background: var(--red); color: #fff; padding: 28px 40px; }
.modal-head h3 { color: #fff; font-size: 26px; font-weight: 800; margin: 0; }
.modal-head p { margin: 4px 0 0; color: var(--gold); font-weight: 600; }
.modal-body { padding: 32px 40px 40px; }
.modal-close { position: absolute; top: 14px; right: 16px; background: rgba(255,255,255,.18); border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.modal-close:hover { background: var(--gold); color: var(--ink); }

/* ---------------- CTA strip ---------------- */
.cta-strip { background: linear-gradient(110deg, var(--red-deep), var(--red)); color: #fff; padding: 60px 0; }
.cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; margin: 0; font-size: clamp(24px, 3vw, 34px); }
.cta-strip p { margin: 6px 0 0; color: var(--gold); font-weight: 600; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--red); color: #fff; padding-top: 70px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 50px; padding-bottom: 50px; }
.site-footer h4 { color: #fff; font-size: 19px; font-weight: 800; text-transform: capitalize; margin-bottom: 12px; }
.site-footer .bar { width: 50px; height: 3px; background: var(--gold); margin-bottom: 20px; border-radius: 3px; }
.site-footer p, .site-footer li { color: rgba(255,255,255,.92); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #fff; display: inline-flex; gap: 8px; align-items: center; }
.footer-links a::before { content: "\203A"; color: var(--gold); font-weight: 900; font-size: 18px; line-height: 1; }
.footer-links a:hover { color: var(--gold); }
.footer-logo { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.footer-logo img { height: 64px; border-radius: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); padding: 22px 0; font-size: 14px; color: rgba(255,255,255,.85); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: var(--gold); }

.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); border: none; cursor: pointer; z-index: 800;
  box-shadow: var(--shadow-lg); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; fill: var(--ink); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .carousel-track { grid-auto-columns: calc((100% - 2 * 26px) / 3); }
  .main-nav > ul > li > a { padding: 10px 10px; font-size: 14px; }
  .brand-text { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { display: block; position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); background: #fff; transform: translateX(100%);
    transition: transform .3s ease; overflow-y: auto; padding: 80px 18px 30px; box-shadow: -10px 0 40px rgba(0,0,0,.25); z-index: 950; }
  .main-nav.open { transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li > a { color: var(--ink); padding: 14px 12px; border-bottom: 1px solid #eef2f6; border-radius: 0; justify-content: space-between; font-size: 15px; }
  .main-nav > ul > li > a:hover, .main-nav > ul > li.active > a { background: var(--light); color: var(--red); box-shadow: none; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 14px; display: none; min-width: 0; }
  .main-nav li.sub-open > .sub-menu { display: block; }
  .main-nav li.sub-open > a .caret { transform: rotate(180deg); }
  .nav-cta { margin: 20px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-close { position: absolute; top: 18px; right: 18px; background: var(--red); color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 22px; cursor: pointer; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 940; display: none; }
  .nav-overlay.show { display: block; }
  .split, .intro-grid, .contact-wrap, .message { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .message .portrait { position: static; max-width: 360px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .carousel-track { grid-auto-columns: calc((100% - 26px) / 2); }
  .people-section, .event-section { background-attachment: scroll; }
}
@media (min-width: 961px) { .nav-close, .nav-overlay { display: none !important; } }
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .topbar .hide-sm { display: none; }
  .topbar-info { gap: 6px 16px; }
  .site-header .container { min-height: 76px; }
  .brand img { height: 58px; }
  .hero { min-height: auto; }
  .form-grid, .check-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .carousel-track { grid-auto-columns: 85%; }
  .carousel-btn.prev { left: -6px; } .carousel-btn.next { right: -6px; }
  .form-card, .legal, .message-body, .contact-side { padding: 28px 22px; }
  .modal-head, .modal-body { padding-left: 22px; padding-right: 22px; }
  .event-table th, .event-table td { padding: 12px; font-size: 13px; }
  .table-scroll { overflow-x: auto; }
  .img-frame::after { inset: 14px -10px -10px 14px; }
  .countdown { gap: 8px; flex-wrap: nowrap; }
  .countdown div { min-width: 0; flex: 1; padding: 10px 4px; }
  .countdown b { font-size: 24px; }
  .countdown span { font-size: 9px; letter-spacing: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------- AEDC mandate & mission (home) ---------------- */
.hero-sub { font-size: 16px; color: rgba(255,255,255,.9); margin: -6px 0 16px; max-width: 760px; font-weight: 500; }
.sub-title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; color: var(--red); margin-bottom: 16px; }
.mission-band { background: linear-gradient(115deg, var(--red-deep), var(--red) 60%, var(--red-dark)); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.mission-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.05); right: -140px; top: -140px; }
.mission-band .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.mission-band .eyebrow { color: var(--gold); }
.objective p { font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; line-height: 1.55; color: #fff; margin: 0; }
.mission-box { background: #fff; color: var(--ink); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-lg); border-left: 6px solid var(--gold); }
.mission-box h2 { color: var(--red); font-size: 30px; font-weight: 800; }
.mission-box p { font-size: 17px; color: #334155; margin: 0; }
@media (max-width: 960px) { .mission-band .container { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 640px) { .mission-band { padding: 60px 0; } .mission-box { padding: 28px 22px; } }
