/* ──────────────────────────────────────────────
   AMAC — African Marketing Academic Collaboration
   ────────────────────────────────────────────── */

:root {
  --maroon: #9A2A2A;
  --maroon-dark: #761D1D;
  --green: #3D5A3A;
  --green-soft: #587A55;
  --cream: #F4ECDA;
  --cream-soft: #EEE3CD;
  --paper: #FAF6EC;
  --ink: #2B221A;
  --ink-soft: #5B4F3F;
  --ink-fade: #8D7F6E;
  --line: rgba(43, 34, 26, 0.10);
  --line-soft: rgba(43, 34, 26, 0.06);
  --gold: #B8924A;
  --shadow-sm: 0 1px 2px rgba(43, 34, 26, 0.04);
  --shadow-md: 0 6px 18px rgba(43, 34, 26, 0.08);
  --shadow-lg: 0 22px 50px rgba(43, 34, 26, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: var(--ink);
}

h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 600; }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }

p { line-height: 1.7; }

a { color: var(--maroon); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--maroon-dark); }

.caps {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.serif-em em {
  font-style: italic;
  font-weight: 500;
  color: var(--maroon);
  font-family: 'Cormorant Garamond', serif;
}

/* ── Header ── */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(10px);
}

.site-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img { height: 52px; width: auto; display: block; }
.brand-text {
  display: none;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--maroon);
  line-height: 1.2;
}
.brand-text small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}
@media (min-width: 900px) {
  .brand-text { display: block; }
}

.site-nav {
  display: none;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  align-items: center;
}
.site-nav a {
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.site-nav a:hover, .site-nav a.active { color: var(--ink); }
@media (min-width: 760px) {
  .site-nav { display: flex; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.15s, color 0.15s, border-color 0.15s;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.btn-primary {
  background: var(--maroon);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--maroon-dark);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -10px rgba(154, 42, 42, 0.5);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
}
.btn-disabled {
  background: var(--cream-soft);
  color: var(--ink-fade);
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 32px 80px;
  max-width: 1240px;
  margin: 0 auto;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-tag::before {
  content: '';
  width: 38px;
  height: 2px;
  background: var(--maroon);
}
.hero h1 {
  font-weight: 600;
  margin-bottom: 30px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--maroon);
  font-family: 'Cormorant Garamond', serif;
}
.hero .lede {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  padding-top: 26px;
  margin-bottom: 40px;
  border-top: 1px solid var(--line);
}
.hero-meta-item .label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-fade);
  margin-bottom: 8px;
}
.hero-meta-item .val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Logo as decorative hero element — uses % so it scales smoothly with viewport */
.hero-decor {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  width: clamp(360px, 38vw, 500px);
  height: auto;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
/* Tablet: still right-anchored but tighter */
@media (max-width: 1100px) and (min-width: 901px) {
  .hero-decor { right: -8%; opacity: 0.10; }
}
/* Mobile: behind the text, centred, very faint so text reads cleanly */
@media (max-width: 900px) {
  .hero-decor {
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(88%, 380px);
    opacity: 0.06;
  }
}

/* ── Section ── */
.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 32px;
}
.section-band {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.section-band .section { padding: 100px 32px; }
.section-band-green {
  background: var(--green);
  color: var(--cream);
}
.section-band-green h2,
.section-band-green h3,
.section-band-green p { color: var(--cream); }
.section-band-green .caps { color: rgba(244, 236, 218, 0.7); }

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 18px;
}
.section-band-green .eyebrow {
  color: var(--gold);
}

.section h2 {
  max-width: 880px;
  margin-bottom: 24px;
}
.section h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--maroon);
  font-family: 'Cormorant Garamond', serif;
}
.section-band-green h2 em {
  color: var(--gold);
}

.section .lede {
  max-width: 720px;
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 56px;
}
.section-band-green .lede {
  color: rgba(244, 236, 218, 0.85);
}

/* ── Pillars (3-col cards) ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
@media (max-width: 840px) {
  .pillars { grid-template-columns: 1fr; }
}

.pillar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 32px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pillar-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 500;
  color: var(--cream-soft);
  line-height: 1;
}
.pillar-icon {
  width: 36px;
  height: 36px;
  color: var(--maroon);
  margin-bottom: 20px;
}
.pillar h3 {
  font-weight: 600;
  margin-bottom: 14px;
}
.pillar p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
}

/* ── Two-up split ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}
@media (max-width: 840px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
}
.split-block p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

/* ── Pull-quote ── */
.pullquote {
  margin: 56px auto 0;
  max-width: 820px;
  padding: 36px 36px 36px 48px;
  border-left: 3px solid var(--maroon);
  background: var(--paper);
  border-radius: 0 8px 8px 0;
}
.pullquote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  color: var(--ink);
}
.section-band-green .pullquote {
  background: rgba(255, 255, 255, 0.04);
  border-left-color: var(--gold);
}
.section-band-green .pullquote p { color: var(--cream); }

/* ── Get involved (CTA band) ── */
.cta-band {
  text-align: center;
  padding: 100px 32px;
}
.cta-band h2 { margin-left: auto; margin-right: auto; }
.cta-band .lede { margin-left: auto; margin-right: auto; }
.cta-band .hero-ctas { justify-content: center; }

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-left: 12px;
}
.coming-soon-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}

/* ── Footer ── */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 60px 32px 0;
  margin-top: 0;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 236, 218, 0.6);
  margin-bottom: 16px;
}
footer p, footer a { color: var(--cream); }
footer .footer-brand img { height: 56px; width: auto; display: block; margin-bottom: 14px; filter: brightness(0) invert(1) opacity(0.92); }
footer .footer-brand p { font-size: 14px; color: rgba(244, 236, 218, 0.65); line-height: 1.6; max-width: 320px; }
footer .footer-col ul { list-style: none; padding: 0; }
footer .footer-col li { margin-bottom: 10px; font-size: 14px; }
footer .footer-col a { color: rgba(244, 236, 218, 0.75); transition: color 0.15s; }
footer .footer-col a:hover { color: var(--cream); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(244, 236, 218, 0.1);
  padding: 24px 0;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(244, 236, 218, 0.5);
}

/* Tri-colour divider strip (from logo accent palette) */
.divider-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 6px;
}
.divider-strip div:nth-child(1) { background: var(--green); }
.divider-strip div:nth-child(2) { background: var(--gold); }
.divider-strip div:nth-child(3) { background: var(--maroon); }

/* ── Programme page specifics ── */
.programme-intro {
  padding: 80px 32px 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.placeholder-card {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 48px 36px;
  text-align: center;
  color: var(--ink-fade);
  max-width: 820px;
  margin: 40px auto 100px;
}
.placeholder-card svg {
  width: 40px;
  height: 40px;
  color: var(--maroon);
  margin-bottom: 16px;
}

/* ── Conference hero ── */
.conf-hero {
  padding: 80px 32px 56px;
  background:
    radial-gradient(circle at 15% 0%, rgba(154, 42, 42, 0.06), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(61, 90, 58, 0.08), transparent 55%),
    var(--cream);
}
.conf-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.conf-hero h1 {
  margin: 14px 0 20px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
}
.conf-hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--ink-soft);
  font-style: italic;
  max-width: 720px;
  line-height: 1.35;
  margin-bottom: 40px;
}
.conf-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.cf-item { display: flex; flex-direction: column; gap: 4px; }
.cf-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-fade);
}
.cf-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

/* ── Day section ── */
.day-section {
  padding: 72px 32px;
  background: var(--paper);
}
.day-section-alt { background: var(--cream); }

.day-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.day-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.day-badge {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  color: white;
  white-space: nowrap;
  flex-shrink: 0;
}
.day-badge.maroon-badge { background: var(--maroon); }
.day-badge.green-badge  { background: var(--green); }

.day-header h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 4px;
}
.day-header .day-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--ink-soft);
  font-style: italic;
  line-height: 1.3;
}

/* ── Agenda list ── */
.agenda {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.session {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
  transition: box-shadow 0.15s, transform 0.1s;
}
.session:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.day-section-alt .session { background: var(--paper); }

.session .time {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  padding-top: 4px;
  white-space: nowrap;
}
.session-body { min-width: 0; }
.session-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.session h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 6px;
}
.session .speakers {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.session .speakers em {
  font-style: italic;
  color: var(--ink-fade);
  font-weight: 500;
  font-family: inherit;
}
.session .moderator {
  font-size: 13px;
  color: var(--ink-fade);
  margin-top: 4px;
  font-style: italic;
}
.session .session-note {
  font-size: 13px;
  color: var(--ink-fade);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  line-height: 1.55;
}

/* Type-based left border + badge colour */
.type-badge {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--cream-soft);
  color: var(--ink-soft);
  white-space: nowrap;
}
.type-suffix {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--ink-fade);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.session.type-keynote  { border-left-color: var(--maroon); }
.session.type-keynote  .type-badge { background: rgba(154, 42, 42, 0.10); color: var(--maroon); }

.session.type-panel    { border-left-color: var(--gold); }
.session.type-panel    .type-badge { background: rgba(184, 146, 74, 0.14); color: #7c5f24; }

.session.type-workshop { border-left-color: var(--green); }
.session.type-workshop .type-badge { background: rgba(61, 90, 58, 0.10); color: var(--green); }

.session.type-discussion { border-left-color: var(--green-soft); }
.session.type-discussion .type-badge { background: rgba(88, 122, 85, 0.10); color: var(--green); }

.session.type-welcome  { border-left-color: var(--maroon); }
.session.type-welcome  .type-badge { background: rgba(154, 42, 42, 0.10); color: var(--maroon); }

.session.type-closing  { border-left-color: var(--maroon-dark); }
.session.type-closing  .type-badge { background: rgba(118, 29, 29, 0.10); color: var(--maroon-dark); }

.session.type-break    { border-left-color: var(--line); background: var(--cream-soft); }
.day-section-alt .session.type-break { background: rgba(255, 255, 255, 0.5); }
.session.type-break h3 { color: var(--ink-soft); font-weight: 500; }
.session.type-break:hover { box-shadow: none; transform: none; }

/* ── Programme note ── */
.programme-note {
  background: var(--paper);
  padding: 40px 32px 80px;
}
.programme-note-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}
.programme-note-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.programme-note p:not(.programme-note-eyebrow) {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* Mobile tweaks */
@media (max-width: 760px) {
  .conf-hero { padding: 56px 20px 40px; }
  .day-section { padding: 48px 20px; }
  .day-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .day-badge { align-self: flex-start; }
  .session { grid-template-columns: 1fr; gap: 10px; padding: 18px 20px; }
  .session .time { padding-top: 0; font-size: 12.5px; }
  .conf-facts { padding-top: 20px; }
  .cf-value { font-size: 20px; }
  .programme-note { padding: 32px 20px 60px; }
  .programme-note-inner { padding: 22px 20px; }
}

/* ──────────────────────────────────────────────
   Registration modal
   ────────────────────────────────────────────── */
.reg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 34, 26, 0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.reg-overlay[hidden] { display: none !important; }
.reg-overlay.open { opacity: 1; }

.reg-dialog {
  background: var(--cream);
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transform: translateY(12px);
  transition: transform 0.25s ease;
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
}
.reg-overlay.open .reg-dialog { transform: translateY(0); }

.reg-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  z-index: 3;
  transition: background 0.15s, color 0.15s;
}
.reg-close:hover { background: var(--cream-soft); color: var(--ink); }

/* Progress strip */
.reg-progress {
  padding: 20px 32px 0;
  flex-shrink: 0;
}
.reg-progress-track {
  height: 3px;
  background: var(--cream-soft);
  border-radius: 999px;
  overflow: hidden;
}
.reg-progress-fill {
  height: 100%;
  background: var(--maroon);
  width: 50%;
  transition: width 0.3s ease;
}
.reg-progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-fade);
}
.reg-progress-steps span.active { color: var(--maroon); }

/* Form body */
.reg-form {
  overflow-y: auto;
  flex: 1;
}
.reg-step {
  display: none;
  padding: 32px 40px 40px;
}
.reg-step.active { display: block; }
.reg-step h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin: 8px 0 12px;
  line-height: 1.2;
}
.reg-step h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--maroon);
  font-family: 'Cormorant Garamond', serif;
}
.reg-step .eyebrow { margin-bottom: 12px; }
.reg-lede {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Questions (step 1) */
.reg-questions {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}
.reg-q {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 14px;
  align-items: start;
}
.reg-q-num {
  grid-row: 1 / 3;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--maroon);
  line-height: 1;
  padding-top: 2px;
}
.reg-q-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 500;
}
.reg-q textarea {
  grid-column: 2;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  resize: vertical;
  min-height: 68px;
  transition: border-color 0.15s, box-shadow 0.15s;
  margin-top: 6px;
  width: 100%;
}
.reg-q textarea:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(154, 42, 42, 0.12);
}

/* Details grid (step 2) */
.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 32px;
}
.reg-field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.reg-field-wide { grid-column: 1 / -1; }
.reg-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.reg-field input,
.reg-field select {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.reg-field input:focus,
.reg-field select:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(154, 42, 42, 0.12);
}
.reg-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%235B4F3F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Validation state */
.has-error {
  border-color: var(--maroon) !important;
  box-shadow: 0 0 0 3px rgba(154, 42, 42, 0.10) !important;
}
.reg-error-msg {
  font-size: 12px;
  color: var(--maroon);
  margin-top: 4px;
  font-weight: 500;
}

/* Institution combobox */
.inst-combo { position: relative; }
.inst-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  max-height: 260px;
  overflow-y: auto;
  z-index: 5;
}
.inst-item {
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.1s;
}
.inst-item:last-child { border-bottom: none; }
.inst-item:hover,
.inst-item.active { background: var(--paper); }
.inst-name {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.inst-group {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-fade);
  white-space: nowrap;
}
.inst-empty {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-fade);
  font-style: italic;
  border-bottom: 1px solid var(--line-soft);
}

/* Action row */
.reg-actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.reg-actions .btn { padding: 11px 22px; font-size: 14px; }

/* Done / error steps */
.reg-step-done,
.reg-step-error { text-align: center; padding: 48px 40px 40px; }
.reg-done-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  font-size: 40px;
  line-height: 72px;
  margin: 0 auto 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}
.reg-error-mark { background: var(--maroon); }
.reg-step-done h2,
.reg-step-error h2 { margin: 8px 0 12px; }

/* Reference number card on success screen */
.reg-ref-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 20px auto 28px;
}
.reg-ref-label {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-fade);
}
.reg-ref-number {
  font-family: 'Courier New', ui-monospace, monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: 0.05em;
}
.reg-ref-hint {
  font-size: 11px;
  color: var(--ink-fade);
  font-style: italic;
  margin-top: 2px;
}

/* Mobile */
@media (max-width: 600px) {
  .reg-overlay { padding: 0; }
  .reg-dialog {
    border-radius: 0;
    max-height: 100vh;
    height: 100vh;
    max-width: 100%;
  }
  .reg-step { padding: 24px 22px 28px; }
  .reg-progress { padding: 18px 22px 0; }
  .reg-grid { grid-template-columns: 1fr; }
  .reg-q { grid-template-columns: 32px 1fr; }
  .reg-q-num { font-size: 22px; }
  .reg-q-text { font-size: 16px; }
  .reg-actions { flex-direction: column-reverse; gap: 10px; }
  .reg-actions .btn { width: 100%; justify-content: center; }
  .reg-close { top: 8px; right: 10px; }
}

/* ── Tiny utilities ── */
.mt-4 { margin-top: 24px; }
.text-center { text-align: center; }

/* ──────────────────────────────────────────────
   Mobile (≤ 760px)
   ────────────────────────────────────────────── */
@media (max-width: 760px) {
  html, body { font-size: 15px; }

  /* Header: bigger logo, header CTA hidden (CTAs live in the hero + lower band) */
  .site-header-inner {
    padding: 14px 20px;
    gap: 12px;
    justify-content: center;
  }
  .brand img { height: 60px; }
  .brand-text { display: none; }     /* wordmark hides on mobile; bigger mark carries identity */
  .site-header-inner > .btn { display: none; }
  .site-nav { display: none; }

  /* Hero: cut the air, scale the type, full-width buttons */
  .hero {
    padding: 48px 20px 56px;
  }
  .hero h1 {
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.1;
    margin-bottom: 20px;
  }
  .hero .lede {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
  }
  .hero-tag { margin-bottom: 22px; }
  .hero-tag::before { width: 24px; }
  .hero-tag .caps { font-size: 10px; letter-spacing: 0.14em; }
  .hero-meta {
    gap: 18px;
    padding-top: 20px;
    margin-bottom: 28px;
  }
  .hero-meta-item .label { font-size: 10px; margin-bottom: 4px; }
  .hero-meta-item .val { font-size: 17px; }
  .hero-ctas { flex-direction: column; gap: 10px; width: 100%; }
  .hero-ctas .btn { justify-content: center; width: 100%; padding: 14px 20px; font-size: 14px; }

  /* Sections: pull in padding aggressively */
  .section { padding: 56px 20px; }
  .section-band .section { padding: 56px 20px; }
  .section h2 { margin-bottom: 18px; }
  .section .lede {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 36px;
  }
  .eyebrow { font-size: 10.5px; letter-spacing: 0.14em; margin-bottom: 14px; }

  /* Pillars: more breathing room when stacked */
  .pillars { gap: 14px; margin-top: 24px; }
  .pillar { padding: 28px 22px; }
  .pillar h3 { font-size: 19px; }
  .pillar p { font-size: 15px; }
  .pillar-num { font-size: 44px; top: 18px; right: 22px; }

  /* Split blocks */
  .split { margin-top: 28px; gap: 24px; }
  .split-block p { font-size: 15.5px; }

  /* Pullquote — less padding so it doesn't dominate */
  .pullquote {
    margin: 36px auto 0;
    padding: 24px 22px 24px 28px;
    border-left-width: 3px;
  }
  .pullquote p { font-size: 18px; line-height: 1.45; }

  /* CTA band: tighter */
  .cta-band { padding: 64px 20px; }
  .cta-band .lede { margin-bottom: 32px; }
  .coming-soon-pill {
    display: block;
    margin: 12px 0 0 0;
    width: fit-content;
    font-size: 10px;
  }
  .cta-band .hero-ctas { flex-direction: column; width: 100%; }
  .cta-band .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Footer: relax padding */
  footer { padding: 48px 20px 0; }
  .footer-inner { padding-bottom: 32px; }
  footer .footer-brand img { height: 44px; }
  .footer-bottom {
    padding: 18px 0;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    align-items: center;
  }

  /* Programme page placeholder card */
  .programme-intro { padding: 56px 20px 24px; }
  .placeholder-card {
    padding: 32px 22px;
    margin: 28px auto 64px;
  }
  .placeholder-card h3 { font-size: 18px; }
}

/* ──────────────────────────────────────────────
   Small mobile (≤ 420px) — tiny tweaks
   ────────────────────────────────────────────── */
@media (max-width: 420px) {
  .hero { padding: 36px 16px 44px; }
  .section, .section-band .section { padding: 48px 16px; }
  .cta-band { padding: 56px 16px; }
  footer { padding: 40px 16px 0; }
  .programme-intro { padding: 48px 16px 16px; }

  .hero h1 { font-size: 28px; }
  .pillar { padding: 24px 20px; }
  .pullquote { padding: 22px 18px 22px 22px; }
  .pullquote p { font-size: 16.5px; }

  /* Slightly smaller logo on tiny screens */
  .brand img { height: 52px; }
}
