/* ==========================================================================
   INSPIRE ASIA — shared stylesheet
   Design authority: INSPIRE_ASIA_Website_Copy_Deck_1.md → DESIGN SYSTEM
   Aligned to AAG "Our Brand Guardrails" (Canva, 2026)
   ========================================================================== */

:root {
  /* Permanent palette — never changes between editions */
  --navy: #002d51;        /* Midnight Navy — structure, headers, footers, text on light */
  --gold: #d3b973;        /* Golden Crown — accents, rules, premium moments */
  --ochre: #d65747;       /* Alice Ochre — links, hovers, the pipe in lockups */
  --ground: #f2f3f5;      /* Not White — page ground, never pure white */
  --plum: #220021;        /* Dark Plum — eVersity contexts only */

  /* Rotates each edition — Manila 2026 warm amber */
  --edition: #d98e32;

  --navy-soft: rgba(0, 45, 81, 0.78);   /* body text on light */
  --navy-faint: rgba(0, 45, 81, 0.12);
  --font-head: "Roboto Slab", serif;
  --font-body: "Montserrat", sans-serif;
  --measure: 62ch;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--navy-soft);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}

h1 { font-size: clamp(1.9rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }

p { max-width: var(--measure); }

a { color: var(--ochre); text-decoration: none; transition: color 0.18s ease; }
a:hover, a:focus-visible { color: var(--navy); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container { width: min(1120px, 100% - 2 * var(--pad)); margin-inline: auto; }

section { padding-block: clamp(3rem, 7vw, 5.5rem); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre);
  display: block;
  margin-bottom: 0.75rem;
}

.gold-rule {
  border: 0;
  height: 3px;
  width: 64px;
  background: var(--gold);
  margin: 1.25rem 0 1.75rem;
}

/* --------------------------------------------------------------------------
   The lockup — Roboto Slab Bold navy, pipe in Alice Ochre.
   The typographic lockup IS the mark: INSPIRE ASIA never gains a logo.
   -------------------------------------------------------------------------- */
.lockup {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  white-space: nowrap;
}
.lockup .pipe { color: var(--ochre); padding-inline: 0.3em; }
.on-navy .lockup, .lockup.on-navy { color: #fff; }

.acronym-line {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px solid var(--gold);
}

.site-header .bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.site-header .lockup { font-size: 1.02rem; color: #fff; }
.site-header .lockup:hover { text-decoration: none; }

.nav-toggle {
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 3px;
  cursor: pointer;
}

.site-nav { display: none; flex-basis: 100%; }
.site-nav.open { display: block; }

.site-nav ul {
  list-style: none;
  padding-block: 0.5rem 1.1rem;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0;
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  color: #fff;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--gold); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav a.nav-cta {
  color: var(--navy);
  background: var(--gold);
  border-radius: 3px;
  padding: 0.55rem 1rem;
  text-align: center;
  font-weight: 600;
  margin-top: 0.4rem;
}
.site-nav a.nav-cta:hover { background: #fff; color: var(--navy); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: block !important; }
  .site-nav ul { display: flex; align-items: center; gap: 1.15rem; padding-block: 0; }
  .site-nav a { padding: 0.25rem 0; font-size: 0.8rem; }
  .site-nav a.nav-cta { margin-top: 0; padding: 0.5rem 1rem; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.9rem 1.7rem;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-primary { background: var(--ochre); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--navy); color: #fff; text-decoration: none; }
.on-navy .btn-primary:hover { background: var(--gold); color: var(--navy); }
.btn-ghost { border-color: var(--gold); color: var(--navy); background: transparent; }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--gold); color: var(--navy); text-decoration: none; }
.on-navy .btn-ghost, .btn-ghost.on-navy { color: var(--gold); }
.on-navy .btn-ghost:hover, .btn-ghost.on-navy:hover { color: var(--navy); }

/* --------------------------------------------------------------------------
   Signature device 1 — the callout: circle with one squared corner (top-right).
   Device layer only; solid fills for everyday containers. The supplied gold
   frame PNGs replace .callout-goldframe when exported (see README).
   -------------------------------------------------------------------------- */
.callout {
  border-radius: 50%;
  border-top-right-radius: 0;
}
.callout-fill-navy { background: var(--navy); color: #fff; }
.callout-fill-edition { background: var(--edition); color: #fff; }
/* Official gold-frame exports: callout-goldframe.png (w3, default) and
   callout-goldframe-w5.png (thicker stroke — use when rendered below ~120px). */
.callout-goldframe {
  background: url("../assets/callout-goldframe.png") center / contain no-repeat;
}
.callout-goldframe-w5 {
  background: url("../assets/callout-goldframe-w5.png") center / contain no-repeat;
}

.callout-tile {
  width: clamp(120px, 16vw, 168px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.1rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Signature device 2 — the speech bubble (the summit IS a conversation)
   -------------------------------------------------------------------------- */
.speech-bubble {
  position: relative;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 18px;
  padding: 1.6rem 1.8rem;
  max-width: 640px;
}
.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 42px;
  width: 24px;
  height: 24px;
  background: inherit;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: skewX(38deg) rotate(45deg);
  border-bottom-right-radius: 4px;
}
.speech-bubble.on-navy-bubble {
  background: var(--navy);
  color: #fff;
}
.speech-bubble.on-navy-bubble h3 { color: var(--gold); }

/* Presenter section: speech bubble balanced by a large AAG mark */
.presenter-row {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  flex-wrap: wrap;
}
.presenter-row .speech-bubble { flex: 1 1 380px; }
.presenter-row .presenter-logo {
  flex: 0 1 auto;
  width: clamp(280px, 32vw, 460px);
  height: auto;
  margin-inline: auto;
}

/* From the Founder — solid gold medallion is the founder's treatment alone;
   the gold frame outline stays reserved for speakers and VIPs */
.founder-row {
  display: flex;
  align-items: flex-end;
  gap: clamp(2rem, 5vw, 4.5rem);
  flex-wrap: wrap;
}
.founder-portrait {
  flex: 0 1 auto;
  width: clamp(260px, 30vw, 400px);
  height: auto;
  margin-inline: auto;
  /* bleed through the section padding so the crop sits flush on the navy band */
  margin-bottom: calc(-1 * clamp(3rem, 7vw, 5.5rem));
}
.founder-words { flex: 1 1 380px; align-self: center; padding-bottom: 1rem; }
/* When the row stacks, the bleed would pull text under the portrait —
   put the words first and let the portrait close the section instead */
@media (max-width: 767px) {
  .founder-portrait { order: 2; }
  .founder-words { order: 1; padding-bottom: 0; }
}
.founder-sign {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  margin-top: 1.5rem;
}
.founder-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-top: 0.25rem;
}
.founder-cred {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--navy-faint);
}

/* --------------------------------------------------------------------------
   Signature device 3 — fast forwards (>>>): navy / ochre / gold sequence
   -------------------------------------------------------------------------- */
.ff { display: inline-flex; gap: 0.28rem; align-items: center; }
.ff span {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 12px solid var(--navy);
}
.ff span:nth-child(2) { border-left-color: var(--ochre); }
.ff span:nth-child(3) { border-left-color: var(--gold); }
.ff.on-navy span:first-child { border-left-color: var(--ground); }

.section-divider {
  display: flex;
  justify-content: center;
  padding-block: 0.5rem;
}

/* --------------------------------------------------------------------------
   Hero — navy ground, host-country halftone (device 4) in the edition accent
   -------------------------------------------------------------------------- */
.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/ph-halftone.svg?v=3") no-repeat right -8% center / auto 118%;
  opacity: 0.5;
  pointer-events: none;
}
.hero .container { position: relative; }
.hero h1 { color: #fff; }
.hero .hero-presenter {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.hero .hero-presenter img {
  height: clamp(56px, 9vw, 88px);
  width: auto;
}
.hero .hero-presenter span {
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero .lockup-line {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.hero .lockup-line .pipe { color: var(--ochre); padding-inline: 0.3em; }
.hero .acronym-line { color: rgba(255, 255, 255, 0.75); max-width: 46ch; margin-bottom: 1.6rem; }
.hero .theme { margin-bottom: 1.2rem; max-width: 22ch; }
.hero .kicker {
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
  margin-bottom: 2rem;
}
.hero .meta-line {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   Tiles & cards
   -------------------------------------------------------------------------- */
.tile-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .tile-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .tile-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.tile {
  background: #fff;
  border-top: 3px solid var(--gold);
  padding: 1.6rem 1.5rem;
}
.tile h3 { margin-bottom: 0.6rem; }
.tile.tile-navy { background: var(--navy); border-top-color: var(--ochre); color: rgba(255,255,255,0.85); }
.tile.tile-navy h3 { color: var(--gold); }

.substrip { background: #fff; border-block: 1px solid var(--navy-faint); }
.substrip .tile { border-top: none; padding-inline: 0; background: none; }
.substrip .tile h3 { color: var(--ochre); font-size: 1.05rem; }

/* Edition card */
.edition-card {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: clamp(2rem, 5vw, 3.25rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.edition-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/ph-halftone.svg?v=3") no-repeat right -12% center / auto 130%;
  opacity: 0.35;
  pointer-events: none;
}
.edition-card > * { position: relative; }
.edition-card h2 { color: #fff; }
.edition-badge {
  display: inline-block;
  background: var(--edition);
  color: #fff;
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Programme timeline
   -------------------------------------------------------------------------- */
.timeline { list-style: none; max-width: 760px; }
.timeline li {
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  gap: 1.1rem;
  padding-block: 0.95rem;
  border-left: 2px solid var(--gold);
  padding-left: 1.2rem;
  margin-left: 0.4rem;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 1.55rem;
  width: 12px;
  height: 12px;
  background: var(--ochre);
  border-radius: 50%;
  border-top-right-radius: 0; /* the callout, in miniature */
}
.timeline .time {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  white-space: nowrap;
}
.timeline .session { font-size: 0.95rem; }
.timeline li.signature { background: #fff; border-left-color: var(--ochre); }
.timeline li.signature::before { background: var(--gold); }
.timeline li.signature .session strong { color: var(--ochre); }

.programme-note {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--navy-soft);
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Speaker cards — silhouette placeholders, "to be announced"
   -------------------------------------------------------------------------- */
.speaker-card {
  background: #fff;
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  border-top: 3px solid var(--gold);
}
.speaker-card .silhouette {
  width: 128px;
  aspect-ratio: 1;
  margin: 0 auto 1.2rem;
  background: var(--navy);
  border-radius: 50%;
  border-top-right-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* head-and-shoulders silhouette */
.speaker-card .silhouette::before {
  content: "";
  position: absolute;
  top: 26%;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(211, 185, 115, 0.55);
}
.speaker-card .silhouette::after {
  content: "";
  position: absolute;
  bottom: -12%;
  left: 50%;
  transform: translateX(-50%);
  width: 64%;
  aspect-ratio: 1.35;
  border-radius: 50% 50% 0 0;
  background: rgba(211, 185, 115, 0.55);
}
.speaker-card.premium .silhouette {
  background: url("../assets/callout-goldframe.png") center / contain no-repeat;
}
.speaker-card.premium .silhouette::before,
.speaker-card.premium .silhouette::after { background: rgba(0, 45, 81, 0.35); }
/* keep the bust inside the frame's inner edge */
.speaker-card.premium .silhouette::before { top: 29%; width: 26%; }
.speaker-card.premium .silhouette::after { bottom: 13%; width: 46%; }
.speaker-card .category {
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  display: block;
  margin-bottom: 0.5rem;
}
.speaker-card h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.speaker-card .tba {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--ground);
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  margin-top: 0.75rem;
}
.speaker-card p { font-size: 0.9rem; margin-inline: auto; }

/* --------------------------------------------------------------------------
   Partner logo band placeholders
   -------------------------------------------------------------------------- */
.logo-band {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .logo-band { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .logo-band { grid-template-columns: repeat(4, 1fr); } }
.logo-slot {
  background: #e4e6ea;
  color: #8b93a1;
  aspect-ratio: 8 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   Forms (Register / EOI)
   -------------------------------------------------------------------------- */
.form-card {
  background: #fff;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-top: 3px solid var(--gold);
  max-width: 640px;
}
.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  padding: 0.75rem 0.9rem;
  border: 1px solid #c6ccd6;
  border-radius: 3px;
  background: var(--ground);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.form-note { font-size: 0.84rem; font-style: italic; margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list { max-width: 760px; }
.faq-list details {
  background: #fff;
  border-left: 3px solid var(--gold);
  margin-bottom: 0.85rem;
}
.faq-list summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.02rem;
  padding: 1.1rem 1.3rem;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ochre);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.3rem;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 1.3rem 1.2rem; }

/* --------------------------------------------------------------------------
   Bands & sections
   -------------------------------------------------------------------------- */
.band-navy { background: var(--navy); color: rgba(255, 255, 255, 0.88); }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .eyebrow { color: var(--gold); }
.band-white { background: #fff; }

.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/ph-halftone.svg?v=3") no-repeat left -14% center / auto 150%;
  opacity: 0.22;
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { margin-inline: auto; margin-bottom: 1.75rem; }

/* --------------------------------------------------------------------------
   Footer — band + legal
   -------------------------------------------------------------------------- */
/* Presenter logo strip — eVersity lockup permitted in footer/partner contexts only */
.footer-logos {
  background: #fff;
  border-top: 1px solid var(--navy-faint);
  padding-block: clamp(2rem, 4vw, 3rem);
}
.footer-logos .container {
  width: min(1360px, 100% - 2 * var(--pad));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4.5vw, 4rem);
  flex-wrap: wrap;
}
.footer-logos img { height: clamp(110px, 15vw, 200px); width: auto; }
/* AAG presents; the three institutions/platforms sit a step smaller, equal */
.footer-logos .sub-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.footer-logos .sub-brand img { height: clamp(56px, 7vw, 84px); }
.footer-logos .sub-brand span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: #8b93a1;
}
/* eVersity's tight crop reads oversized — tame it to optical parity */
.footer-logos .sub-brand .eversity { height: clamp(50px, 6vw, 74px); }

.footer-band {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  border-top: 2px solid var(--gold);
  padding-block: 1.6rem;
  font-size: 0.86rem;
}
.footer-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
}
.footer-band .aag-white { height: 34px; width: auto; }
.footer-band .powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
}
.footer-band .eversity-white { height: 26px; width: auto; opacity: 0.9; }
@media (min-width: 960px) { .footer-band .powered-by { margin-left: auto; } }
.footer-band a { color: var(--gold); font-weight: 600; }
.footer-band a:hover { color: #fff; }
.footer-band .dot { color: var(--ochre); }

.footer-legal {
  background: #001c33;
  color: rgba(255, 255, 255, 0.6);
  padding-block: 1.4rem;
  font-size: 0.76rem;
}
.footer-legal .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
.footer-legal a { color: rgba(255, 255, 255, 0.6); }
.footer-legal a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: #fff; max-width: 24ch; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero p { color: rgba(255, 255, 255, 0.82); margin-top: 1rem; }
.page-hero.with-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/ph-halftone.svg?v=3") no-repeat right -10% center / auto 140%;
  opacity: 0.35;
  pointer-events: none;
}
.page-hero .container { position: relative; }

/* Two-panel day-at-a-glance */
.panel-pair { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .panel-pair { grid-template-columns: 1fr 1fr; } }
.day-panel { background: #fff; padding: 1.9rem 1.7rem; border-top: 3px solid var(--gold); }
.day-panel.pm { border-top-color: var(--ochre); }
.day-panel h3 .half {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.4rem;
}

/* Contact blocks */
.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: #fff; padding: 1.7rem 1.5rem; border-top: 3px solid var(--gold); }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 0.5rem; }
.contact-card .placeholder {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #8b93a1;
  background: var(--ground);
  padding: 0.4rem 0.7rem;
  border-radius: 2px;
  display: inline-block;
}

.social-row { display: flex; gap: 1rem; margin-top: 1rem; }
.social-row a {
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Utility */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.center { text-align: center; }
.center p, .center .gold-rule { margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Confirmed speaker — photo in the callout, gold frame on top (speaker tier) */
.speaker-card .speaker-photo {
  width: 128px;
  aspect-ratio: 1;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  border-top-right-radius: 0;
  overflow: hidden;
  position: relative;
  background: var(--ground);
}
.speaker-card .speaker-photo img {
  /* clip to the gold ring's inner edge so the portrait never bleeds past the stroke */
  position: absolute;
  inset: 5.5%;
  width: 89%;
  height: 89%;
  border-radius: 50%;
  border-top-right-radius: 0;
  object-fit: cover;
  object-position: center;
}
.speaker-card .speaker-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/callout-goldframe.png") center / contain no-repeat;
}
.speaker-card .speaker-role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* Featured tier — confirmed speakers, larger presentation */
.featured-speakers { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .featured-speakers { grid-template-columns: repeat(auto-fit, minmax(460px, 1fr)); } }
.speaker-card.featured {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  text-align: left;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.speaker-card.featured .speaker-photo {
  width: clamp(160px, 18vw, 208px);
  margin: 0;
  flex-shrink: 0;
}
.speaker-card.featured h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.speaker-card.featured .featured-words p { margin-inline: 0; }
@media (max-width: 559px) {
  .speaker-card.featured { flex-direction: column; text-align: center; }
  .speaker-card.featured .speaker-photo { margin: 0 auto; }
}

/* Programme Partners tier — presenting on the day; distinct from endorsers */
.pp-row { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.pp-tile {
  background: #fff;
  border-top: 3px solid var(--gold);
  padding: 1.7rem 2.2rem 1.4rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.pp-tile img { height: clamp(72px, 9vw, 96px); width: auto; }
.pp-tile span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
}

.session-credit { color: var(--ochre); font-weight: 600; white-space: nowrap; }

/* Legal documents (privacy, terms) */
.legal { max-width: 760px; }
.legal h3 { margin-top: 2rem; margin-bottom: 0.6rem; }
.legal p { margin-bottom: 0.9rem; }
.legal ul { margin: 0 0 0.9rem 1.4rem; }
.legal li { margin-bottom: 0.45rem; }

/* Memberships strip — AAG's own memberships; distinct from summit partners */
.footer-logos .memberships {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.4rem;
  margin-top: clamp(1.1rem, 2.5vw, 1.75rem);
  padding-top: clamp(1rem, 2vw, 1.4rem);
  border-top: 1px solid var(--navy-faint);
}
.footer-logos .memberships span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b93a1;
}
.footer-logos .memberships img { height: clamp(38px, 4.5vw, 52px); width: auto; }

/* Featured speaker awaiting portrait — silhouette seated inside the gold ring */
.speaker-card .speaker-photo .silhouette {
  position: absolute;
  inset: 5.5%;
  width: 89%;
  height: 89%;
  margin: 0;
  border-radius: 50%;
  border-top-right-radius: 0;
}

/* Confirmed partner tile in the logo band */
.logo-slot.logo-real {
  background: #fff;
  flex-direction: column;
  display: flex;
  gap: 0.5rem;
  border-top: 3px solid var(--gold);
}
.logo-slot.logo-real img { max-height: 62%; width: auto; }
.logo-slot.logo-real span { color: var(--navy); letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 600; }

/* AAG group direct contacts on the Contact page */
.org-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 960px) { .org-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 559px) { .org-grid { grid-template-columns: 1fr; } }
.contact-card .org-mark { height: 44px; width: auto; margin-bottom: 0.9rem; }
.contact-card p { font-size: 0.84rem; margin-bottom: 0.6rem; }

/* Homepage: hero CTA row, proof line, speaker preview, agenda glance */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.substrip .org-proof {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--navy-faint);
  font-size: 0.85rem;
  color: #66707f;
}
.mini-speakers { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.mini-speakers .speaker-card { flex: 1 1 240px; max-width: 340px; }
.glance {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.7rem 1.6rem;
  max-width: 980px;
}
.glance li { font-size: 0.93rem; border-left: 3px solid var(--gold); padding-left: 0.75rem; }
.glance b { font-family: var(--font-head); color: var(--navy); margin-right: 0.4rem; }

/* Regions represented — speakers page banner */
.regions-band { padding-block: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--navy-faint); }
.regions-band .center-eyebrow { text-align: center; }
.regions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: 0.5rem;
}
.region {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}
.region-flag { font-size: 2rem; line-height: 1; }
.regions-note {
  text-align: center;
  margin: 1.4rem auto 0;
  font-size: 0.88rem;
  color: #66707f;
}
.region-map { height: 2.7rem; width: auto; }

/* Presenter strip — the full-colour AAG mark on white, above the navy hero */
.presents-strip {
  background: #fff;
  padding-block: clamp(1rem, 2.2vw, 1.6rem);
}
.presents-strip .container {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.presents-strip img { height: clamp(110px, 15vw, 200px); width: auto; }
.presents-strip span {
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8b93a1;
}

/* The short gold rule is redundant when gold-topped components sit right
   below it — a small dash above long dashes. Hide it in those sections. */
.gold-rule:has(+ .tile-grid),
.gold-rule:has(+ .panel-pair),
.gold-rule:has(+ .featured-speakers),
.gold-rule:has(+ .mini-speakers),
.gold-rule:has(+ .pp-row),
.gold-rule:has(+ .contact-grid),
.gold-rule:has(+ .logo-band),
.gold-rule:has(+ p + .tile-grid),
.gold-rule:has(+ p + .pp-row),
.gold-rule:has(+ p + .form-card) { display: none; }
