/* ============================================================
   IAACA Marrakech 2026 — design system
   Brand from Save-the-Date: forest green · antique gold · parchment
   ============================================================ */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green: #0b6b3d;
  --green-deep: #053d26;
  --green-mid: #12824c;
  --gold: #c4a035;
  --gold-deep: #9a7a22;
  --gold-soft: #e0c56a;
  --sand: #f7f3ea;
  --sand-2: #efe8d8;
  --ink: #14110e;
  --ink-2: #3d362e;
  --ink-3: #6e6458;
  --line: rgba(20, 17, 14, 0.1);
  --line-strong: rgba(20, 17, 14, 0.18);
  --glass: rgba(247, 243, 234, 0.88);
  --white: #fff;
  --max: 72rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  /*
   * ============================================================
   * HERO BANNER SIZE — customize here (banner.jpg = 1920×560)
   * Width is always full page (100%).
   *
   * Height modes:
   *   1) Auto (recommended) — height follows width, no crop
   *      --hero-banner-height: auto;
   *   2) Fixed px — full width, may crop
   *      --hero-banner-height: 560px;
   *
   * Fixed presets if you prefer px:
   *   Compact  →  400px / 200px
   *   Native   →  560px / 240px
   *   Tall     →  640px / 280px
   * ============================================================
   */
  --hero-banner-width: 100%;
  --hero-banner-height: auto;
  --hero-banner-height-mobile: auto;
  --hero-banner-min-height: 360px;
  --hero-banner-min-height-mobile: 260px;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath fill='none' stroke='%23053d26' stroke-opacity='0.06' stroke-width='0.8' d='M36 4l8.5 16.5L62 24l-13 12.5 3 18.5L36 46l-16 9 3-18.5L10 24l17.5-3.5L36 4z'/%3E%3C/svg%3E");
  --pattern-zellige: url("../images/bg/morocco-zellige.svg");
  --pattern-zellige-frieze: url("../images/bg/morocco-zellige-frieze.svg");
  --pattern-zellige-countdown: url("../images/bg/morocco-zellige-countdown.svg");
  /* Speakers page — soft editorial wash + generated atmosphere */
  --pattern-speakers:
    linear-gradient(180deg, rgba(247, 243, 234, 0.72) 0%, rgba(239, 232, 216, 0.55) 45%, rgba(247, 243, 234, 0.78) 100%),
    url("../images/bg/speakers-bg.jpg");
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}
html.font-small { font-size: 90%; }
html.font-large { font-size: 112%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-align: left;
}
#site-chrome-top { flex-shrink: 0; }
main { flex: 1 0 auto; }
#site-chrome-bottom {
  margin-top: auto;
  flex-shrink: 0;
  width: 100%;
}
html.nav-open,
body.nav-open { overflow: hidden; }
html.bio-open,
body.bio-open { overflow: hidden; }

/* Body copy — justified paragraphs */
.prose,
.prose p,
.section-lead,
.hero-lead,
.speaker-bio,
.speaker-bio p,
.speaker-title,
.footer-about,
.info-block p,
.legal-block p,
.session-detail,
.session-tbc,
.session-person,
.note-box,
.informed p,
.contact-panel p,
.page-hero .section-lead,
.why-band .section-lead,
.photo-break-copy p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a {
  color: var(--green);
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease);
}
a:hover { color: var(--gold-deep); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* ========== TOP META ========== */
.top-bar {
  background: var(--green-deep);
  color: rgba(247, 243, 234, 0.88);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.top-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.5rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.top-bar-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.top-bar-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.top-bar-meta svg { width: 0.85rem; height: 0.85rem; opacity: 0.7; }

.font-switcher { display: flex; gap: 0.15rem; }
.font-switcher button {
  color: inherit;
  opacity: 0.55;
  padding: 0.2rem 0.45rem;
  font-weight: 600;
  font-size: 0.7rem;
  border: 1px solid transparent;
  transition: 0.2s var(--ease);
}
.font-switcher button.active,
.font-switcher button:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

/* ========== HEADER ========== */
#site-chrome-top {
  position: relative;
  z-index: 100;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.35s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(26, 22, 18, 0.08);
}
@media (min-width: 900px) {
  #site-chrome-top {
    position: sticky;
    top: 0;
    z-index: 200;
  }
  .site-header {
    position: relative;
    top: auto;
  }
}
.header-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem var(--pad) 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}
.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1 1 auto;
  order: 1;
}
.logo-row a { line-height: 0; flex-shrink: 1; min-width: 0; }
.logo-row img {
  height: 3rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.logo-row .logo-icac { height: 3.15rem; max-width: 10rem; }
.logo-row .logo-iaaca { height: 2.85rem; max-width: 8.5rem; }
.logo-row .logo-inpplc { height: 3.75rem; max-width: 9.5rem; }
.logo-divider {
  width: 1px;
  height: 2.25rem;
  background: var(--line-strong);
  flex-shrink: 0;
}

.desktop-nav {
  display: none;
  flex: 1 1 100%;
  order: 3;
  width: 100%;
  margin-top: 0.1rem;
  border-top: 1px solid var(--line);
}
.desktop-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.desktop-nav a {
  display: block;
  padding: 0.7rem 0.85rem;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  position: relative;
  white-space: nowrap;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.desktop-nav a:hover,
.desktop-nav a.active { color: var(--green-deep); }
.desktop-nav a.active::after,
.desktop-nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
  width: 2.5rem;
  height: 2.5rem;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  align-self: center;
  order: 2;
  padding: 0;
  box-sizing: border-box;
}
.menu-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  flex-shrink: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: block;
  position: fixed;
  top: var(--nav-offset, 6.5rem);
  left: 0;
  right: 0;
  bottom: auto;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - var(--nav-offset, 6.5rem) - 0.75rem);
  z-index: 96;
  margin: 0;
  padding: 0.65rem var(--pad) 1.15rem;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(20, 17, 14, 0.16);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.6rem);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0.25s;
}
.mobile-nav.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.15rem;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  min-height: 3.25rem;
  flex-shrink: 0;
  position: relative;
  background: transparent;
  box-sizing: border-box;
  transition: color 0.2s var(--ease);
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active,
.mobile-nav a:hover {
  color: var(--green-deep);
  background: transparent;
}
.mobile-nav a::after {
  content: "→";
  color: var(--gold);
  font-size: 1rem;
  opacity: 0.7;
  flex-shrink: 0;
}
.mobile-nav a.active {
  color: var(--green-deep);
  font-weight: 600;
  background: transparent;
}
.mobile-nav a.active::before {
  content: none;
}

.nav-overlay {
  display: block;
  position: fixed;
  top: var(--nav-offset, 6.5rem);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: rgba(20, 17, 14, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-open .site-header {
  background: var(--sand);
  box-shadow: none;
  border-bottom-color: var(--line);
}

@media (max-width: 899px) {
  body.nav-open #site-chrome-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 200;
    background: var(--sand);
  }
}

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .desktop-nav { display: block; }
  .mobile-nav,
  .mobile-nav.open,
  .nav-overlay,
  .nav-overlay.open { display: none !important; visibility: hidden !important; }
  .header-inner { padding: 1rem var(--pad) 0.1rem; }
  .logo-row {
    --logo-row-h: 4.25rem;
    gap: 1.35rem;
    align-items: center;
    min-height: var(--logo-row-h);
  }
  .logo-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--logo-row-h);
    flex: 0 1 auto;
  }
  .logo-row img {
    height: auto;
    width: auto;
    max-height: var(--logo-row-h);
    max-width: min(22vw, 18rem);
    object-fit: contain;
    object-position: center;
    filter:
      contrast(1.14)
      saturate(1.06)
      drop-shadow(0 0 0.55px rgba(20, 17, 14, 0.4))
      drop-shadow(0 1px 1.5px rgba(20, 17, 14, 0.14));
  }
  /* Optical balance by aspect: wide logos slightly shorter, taller logos full row height */
  .logo-row .logo-icac {
    max-height: 3.55rem;
    max-width: min(28vw, 20rem);
  }
  .logo-row .logo-iaaca {
    max-height: 3.85rem;
    max-width: min(22vw, 15rem);
    filter:
      contrast(1.2)
      saturate(1.08)
      drop-shadow(0 0 0.65px rgba(20, 17, 14, 0.45))
      drop-shadow(0 1px 2px rgba(20, 17, 14, 0.16));
  }
  .logo-row .logo-inpplc {
    max-height: var(--logo-row-h);
    max-width: min(18vw, 12.5rem);
    filter:
      contrast(1.18)
      saturate(1.06)
      drop-shadow(0 0 0.65px rgba(20, 17, 14, 0.45))
      drop-shadow(0 1px 2px rgba(20, 17, 14, 0.16));
  }
  .logo-divider {
    height: 2.85rem;
    width: 1px;
    background: rgba(20, 17, 14, 0.2);
  }
  .desktop-nav a { padding: 0.85rem 1rem 1rem; font-size: 0.85rem; }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-deep); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-deep); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--sand);
  border: 1px solid rgba(247, 243, 234, 0.45);
}
.btn-ghost:hover {
  background: var(--sand);
  color: var(--green-deep);
  border-color: var(--sand);
}

.float-register {
  position: fixed;
  z-index: 90;
  right: 1rem;
  bottom: 1rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 1rem 1.15rem;
  box-shadow: 0 12px 40px rgba(196, 160, 53, 0.4);
  transition: 0.3s var(--ease);
}
.float-register:hover {
  background: var(--gold-deep);
  color: var(--white);
  transform: translateY(-3px);
}
@media (min-width: 900px) {
  .float-register {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    right: 0;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    padding: 1.5rem 0.7rem;
    border-radius: 0;
  }
  .float-register:hover { transform: translateY(-50%) translateX(-4px); }
}

/* ========== HOME HERO ========== */
.hero {
  position: relative;
  color: var(--ink);
  overflow: hidden;
  background: var(--sand);
}
.hero-media {
  position: relative;
  z-index: 0;
  line-height: 0;
  /* Soft stand-in while the optimized banner streams in */
  background:
    linear-gradient(90deg, #d8e4ef 0%, #c5d5e6 35%, #e8eef4 70%, #d2e0ec 100%);
  aspect-ratio: 1920 / 560;
  min-height: var(--hero-banner-min-height);
}
.hero-media img,
.hero-media .hero-banner {
  width: var(--hero-banner-width);
  height: var(--hero-banner-height);
  aspect-ratio: 1920 / 560;
  min-height: var(--hero-banner-min-height);
  object-fit: cover;
  object-position: center center;
  transform: scale(1.05);
  animation: heroZoom 14s var(--ease-out) forwards;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.hero-media img.is-loaded,
.hero-media .hero-banner.is-loaded {
  opacity: 1;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(20, 40, 32, 0.04) 0%,
      rgba(20, 40, 32, 0.02) 32%,
      rgba(247, 243, 234, 0.18) 58%,
      rgba(247, 243, 234, 0.42) 82%,
      rgba(247, 243, 234, 0.72) 100%
    );
  pointer-events: none;
}
.hero-veil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: clamp(10rem, 32%, 16rem);
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(247, 243, 234, 0.28) 38%,
      rgba(247, 243, 234, 0.55) 72%,
      var(--sand) 100%
    );
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2rem var(--pad) 2.5rem;
  pointer-events: none;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.6vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  max-width: 36rem;
  color: var(--green-deep);
  text-align: left;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}
.hero-brand em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}
.hero-lead {
  max-width: 36rem;
  font-size: clamp(0.9rem, 1.4vw, 1.02rem);
  color: var(--ink-2);
  margin-bottom: 1.35rem;
  font-weight: 400;
  text-align: justify;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.35s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  pointer-events: auto;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.5s forwards;
}
.hero-actions .btn {
  min-width: 11.5rem;
  text-align: center;
}
.hero .btn-ghost {
  color: var(--green-deep);
  border-color: var(--green);
}
.hero .btn-ghost:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

@keyframes heroZoom { to { transform: scale(1); } }
@keyframes rise {
  from { opacity: 0; transform: translateY(1.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== META BAND / COUNTDOWN (under hero) ========== */
.meta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #042418;
  border-top: 1px solid rgba(196, 160, 53, 0.42);
  border-bottom: 1px solid rgba(196, 160, 53, 0.28);
  padding: 1.35rem var(--pad) 1.25rem;
}
.meta-band-mosaic {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  --tile-size: 4.5rem;
  background-color: #042418;
  background-image: var(--pattern-zellige-countdown);
  background-repeat: repeat;
  background-size: var(--tile-size) var(--tile-size);
  background-position: center;
  opacity: 1;
  animation: mosaicDrift 48s linear infinite;
}
.meta-band-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(4, 36, 24, 0.05) 0%,
      rgba(247, 243, 234, 0.72) 22%,
      rgba(247, 243, 234, 0.9) 50%,
      rgba(247, 243, 234, 0.72) 78%,
      rgba(4, 36, 24, 0.05) 100%
    ),
    linear-gradient(
      180deg,
      rgba(4, 36, 24, 0.22) 0%,
      transparent 32%,
      transparent 68%,
      rgba(4, 36, 24, 0.22) 100%
    );
}
.meta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.5rem;
  text-align: center;
  padding: 0.15rem 0.5rem;
}
@keyframes mosaicDrift {
  from { background-position: center 0; }
  to { background-position: center var(--tile-size, 4.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .meta-band-mosaic { animation: none; }
}
.meta-band-label {
  color: var(--green-deep);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  margin: 0;
  text-align: center;
  text-shadow:
    0 0 0.55rem rgba(247, 243, 234, 0.95),
    0 1px 0 rgba(247, 243, 234, 0.9);
}
.countdown-live {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.countdown-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.5rem;
}
.countdown-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.4rem 0.95rem;
  color: var(--ink-2);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  background: var(--sand);
  border: 1px solid rgba(154, 122, 34, 0.55);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
.countdown-done {
  margin: 0;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-align: center;
}
.meta-band-line {
  display: none;
  width: 2.5rem;
  height: 1px;
  background: rgba(196, 160, 53, 0.5);
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .meta-band-line { display: block; }
}
.countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.75rem;
}
.countdown-unit span {
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 0.45rem rgba(247, 243, 234, 0.95),
    0 1px 0 rgba(247, 243, 234, 0.85);
}
.countdown-unit small {
  color: var(--ink-2);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  margin-top: 0.2rem;
  text-shadow:
    0 0 0.4rem rgba(247, 243, 234, 0.95),
    0 1px 0 rgba(247, 243, 234, 0.9);
}
.countdown-sep {
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 600;
  padding-bottom: 0.85rem;
  align-self: center;
}

/* ========== SECTIONS ========== */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
#programme {
  scroll-margin-top: 6rem;
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  margin-bottom: 0.85rem;
  text-align: left;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.15rem;
  max-width: none;
  text-align: left;
}
.section-title.light { color: var(--sand); }
.section-lead {
  font-size: 1.05rem;
  color: var(--ink-3);
  max-width: 42rem;
  margin-bottom: 2rem;
  font-weight: 300;
  text-align: justify;
}
.section-lead.light { color: rgba(247, 243, 234, 0.82); }
.section-lead-full,
.informed p.section-lead-full {
  max-width: none;
}
.informed p.section-lead-full {
  margin-bottom: 2rem;
}

.prose {
  max-width: 42rem;
  color: var(--ink-2);
  font-size: 1.05rem;
  font-weight: 300;
  text-align: justify;
}
.prose p + p { margin-top: 1.15rem; }

.motif-section {
  background: var(--sand-2);
  background-image: var(--pattern);
  border-block: 1px solid var(--line);
}
.motif-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}
.motif-art {
  margin: 0;
  max-width: 22rem;
  justify-self: center;
}
.motif-art img {
  width: 100%;
  height: auto;
}
@media (min-width: 800px) {
  .motif-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(12rem, 0.85fr);
    gap: 2.5rem;
  }
  .motif-art {
    max-width: none;
    justify-self: end;
  }
  .motif-layout .prose {
    max-width: none;
  }
}

/* Topics */
.topic-rail {
  display: grid;
  margin-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.topic-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding 0.35s var(--ease);
}
.topic-row:hover { padding-left: 0.5rem; }
.topic-row .num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
}
.topic-row p {
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* Why — vintage Moroccan zellige */
.why-band {
  position: relative;
  isolation: isolate;
  background-color: #042418;
  background-image: var(--pattern-zellige);
  background-size: 13.5rem 13.5rem;
  background-repeat: repeat;
  color: var(--sand);
  overflow: hidden;
  padding-block: clamp(4.25rem, 9vw, 7rem);
}
.why-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(4, 36, 24, 0.4) 0%, rgba(4, 36, 24, 0.58) 50%, rgba(4, 36, 24, 0.45) 100%),
    radial-gradient(ellipse 70% 85% at 100% 0%, rgba(196, 160, 53, 0.14), transparent 58%);
  pointer-events: none;
}
.why-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: var(--pattern-zellige-frieze), var(--pattern-zellige-frieze);
  background-repeat: repeat-x;
  background-position: center top, center bottom;
  background-size: 6.25rem 2.5rem;
}
.why-band .section-inner { position: relative; z-index: 2; }
.why-panel {
  max-width: 44rem;
  padding: clamp(1.4rem, 3.6vw, 2.2rem) clamp(1.4rem, 3.8vw, 2.4rem) clamp(1.5rem, 3.6vw, 2.3rem);
  background: #031910;
  border: 1px solid rgba(196, 160, 53, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(232, 217, 168, 0.12),
    0 16px 44px rgba(2, 16, 10, 0.38);
}
.why-band .section-title.light { margin-bottom: 0.95rem; }
.why-band .section-lead.light {
  color: var(--sand);
  font-weight: 400;
}

.informed {
  text-align: left;
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: linear-gradient(180deg, var(--sand-2), var(--sand));
  border-block: 1px solid var(--line);
}
.informed .section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.informed .section-title {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.informed p {
  max-width: 42rem;
  margin: 0;
  color: var(--ink-3);
  font-weight: 300;
  text-align: justify;
}

/* Photo break */
.photo-break {
  position: relative;
  min-height: clamp(18rem, 42vw, 28rem);
  overflow: hidden;
}
.photo-break img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-break-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 28%,
      rgba(5, 61, 38, 0.35) 55%,
      rgba(5, 61, 38, 0.82) 78%,
      rgba(5, 40, 26, 0.94) 100%
    );
}
.photo-break-copy {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) var(--pad);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
}
.photo-break-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: none;
  text-align: left;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.photo-break-copy p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  max-width: 40rem;
  text-align: left;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

/* Programme links — open rows, not cards */
.pillar-list {
  display: grid;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}
.pillar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding 0.35s var(--ease);
}
.pillar:hover {
  padding-left: 0.5rem;
  color: inherit;
}
@media (min-width: 720px) {
  .pillar {
    grid-template-columns: 11rem 1fr auto;
    align-items: baseline;
  }
}
.pillar-date {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  color: var(--gold-deep);
  font-weight: 600;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.pillar p {
  color: var(--ink-3);
  font-size: 0.95rem;
  font-weight: 300;
}
.pillar-cta {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--green);
  align-self: center;
  white-space: nowrap;
}
.pillar-cta::after {
  content: " →";
  transition: margin 0.3s var(--ease);
}
.pillar:hover .pillar-cta::after { margin-left: 0.25rem; }

/* Video placeholder */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 52rem;
  width: 100%;
  margin: 1.5rem auto 0;
  background: var(--green-deep);
  overflow: hidden;
}
.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.video-frame-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--sand);
}
.video-frame-label p {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--gold-soft);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.video-frame-label span {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
}

/* ========== PAGE HERO ========== */
.page-hero {
  position: relative;
  padding: clamp(4rem, 10vw, 6.5rem) 0 clamp(3rem, 6vw, 4rem);
  background: var(--green-deep);
  color: var(--sand);
  overflow: hidden;
}
.page-hero-photo {
  position: absolute;
  inset: 0;
  opacity: 0.34;
}
.page-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(5, 61, 38, 0.84) 20%, rgba(5, 61, 38, 0.48) 100%);
  pointer-events: none;
}
.page-hero .section-inner { position: relative; z-index: 1; }
.page-hero .section-kicker { color: var(--gold-soft); }
.page-hero .section-title { color: var(--sand); max-width: none; }
.page-hero .section-lead {
  color: rgba(247, 243, 234, 0.8);
  margin-bottom: 0;
  font-weight: 300;
}
.page-hero a { color: var(--gold-soft); }

.members-only {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82em;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
  background: rgba(196, 160, 53, 0.14);
  border: 1px solid rgba(196, 160, 53, 0.45);
  padding: 0.28em 0.7em;
  border-radius: 4px;
  text-align: center;
  hyphens: none;
}
.page-hero .members-only {
  color: var(--gold-soft);
  background: rgba(196, 160, 53, 0.18);
  border-color: rgba(224, 197, 106, 0.55);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

/* ========== AGENDA / TIMELINE ========== */
.day-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 2px solid var(--gold);
}
.day-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: -0.02em;
}
.day-header .venue {
  color: var(--ink-3);
  font-size: 0.9rem;
  font-weight: 300;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 1px;
  background: var(--line-strong);
}
@media (min-width: 640px) {
  .timeline::before { left: 6.15rem; }
}

.session {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.85rem 1rem;
  padding: 1.15rem 0;
  position: relative;
  align-items: start;
  border-bottom: 1px solid var(--line);
}
.session:last-child { border-bottom: none; }
@media (min-width: 640px) {
  .session {
    grid-template-columns: 5.5rem 1.2rem 1fr;
    gap: 0 1.25rem;
  }
}

.session-time {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gold-deep);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  grid-column: 2;
  grid-row: 1;
}
@media (min-width: 640px) {
  .session-time {
    grid-column: 1;
    grid-row: 1;
    font-size: 1.15rem;
    padding-top: 0.05rem;
    text-align: right;
  }
}

.session-dot {
  grid-column: 1;
  grid-row: 1;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--sand);
  z-index: 1;
}
@media (min-width: 640px) {
  .session-dot {
    grid-column: 2;
    margin-top: 0.45rem;
  }
}

.session-body {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}
@media (min-width: 640px) {
  .session-body {
    grid-column: 3;
    grid-row: 1;
  }
}

.session-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0;
  letter-spacing: -0.015em;
  line-height: 1.35;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.session-icon {
  font-size: 1.05em;
  line-height: 1;
  flex-shrink: 0;
}

.session-meta {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.85rem;
}
.session-group {
  display: grid;
  gap: 0.35rem;
}
.session-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
}
.session-person {
  font-size: 0.95rem;
  color: var(--ink-2);
  font-weight: 400;
  line-height: 1.45;
}
.session-person a {
  color: var(--green-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(11, 107, 61, 0.35);
  text-underline-offset: 0.18em;
}
.session-person a:hover {
  color: var(--gold-deep);
  text-decoration-color: rgba(154, 122, 34, 0.55);
}
.session-person span {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-3);
  font-weight: 300;
  margin-top: 0.15rem;
}
.session-person + .session-person {
  margin-top: 0.65rem;
}
.session-detail {
  font-size: 0.9rem;
  color: var(--ink-3);
  font-weight: 300;
}
.session-tbc {
  font-size: 0.9rem;
  color: var(--ink-3);
  font-weight: 300;
  font-style: italic;
  margin-top: 0.45rem;
}

.session.break {
  background: transparent;
  margin-inline: 0;
  padding-inline: 0;
}
.session.break .session-dot {
  background: transparent;
  border: 1.5px solid var(--ink-3);
  box-shadow: 0 0 0 4px var(--sand);
}
.session.break .session-time,
.session.break .session-body h3 {
  color: var(--ink-3);
  font-weight: 400;
}
.session.break .session-body h3 {
  font-size: 0.95rem;
  font-weight: 500;
}

.session.highlight .session-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px var(--sand), 0 0 0 6px rgba(11, 107, 61, 0.2);
}
.session.highlight .session-body h3 {
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.note-box {
  margin-top: 2.25rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  border-left: none;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 300;
}
.note-box a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

/* ========== SPEAKERS ========== */
.speakers-index {
  position: sticky;
  top: var(--speakers-nav-top, 0px);
  z-index: 80;
  background: var(--sand);
  border-bottom: 1px solid var(--line-strong);
}
.speakers-index .section-inner {
  max-width: var(--max);
  margin: 0 auto;
  /* Keep former “On this page” space without the text */
  padding: 1.85rem var(--pad) 0.85rem;
}
.speakers-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.speakers-index-list::-webkit-scrollbar {
  display: none;
}
.speakers-index-list li {
  flex: 1 0 auto;
  min-width: min(11rem, 70vw);
  scroll-snap-align: start;
}
.speakers-index-list a {
  display: grid;
  gap: 0.35rem;
  align-content: center;
  min-height: 4rem;
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.25s var(--ease);
}
.speakers-index-list a:hover {
  border-color: rgba(196, 160, 53, 0.45);
  background: rgba(196, 160, 53, 0.08);
}
.speakers-index-list a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
/* Selected color — gold accent, not green */
.speakers-index-list a.is-active {
  background: rgba(196, 160, 53, 0.18);
  border-color: var(--gold);
}
.speakers-index-kind {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
  line-height: 1.2;
}
.speakers-index-num {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.speakers-index-name {
  position: relative;
  display: inline-block;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  padding-right: 1.05rem;
}
.speakers-index-name::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 0.05em;
  font-size: 0.85em;
  color: var(--gold-deep);
  opacity: 0.4;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), color 0.25s var(--ease);
}
.speakers-index-list a:hover .speakers-index-name {
  color: var(--ink);
}
.speakers-index-list a:hover .speakers-index-name::after {
  opacity: 1;
  color: var(--gold-deep);
  transform: translateX(3px);
}
.speakers-index-list a.is-active .speakers-index-kind {
  color: var(--gold-deep);
}
.speakers-index-list a.is-active .speakers-index-num {
  color: var(--gold-deep);
}
.speakers-index-list a.is-active .speakers-index-name {
  color: var(--ink);
  font-weight: 600;
}
.speakers-index-list a.is-active .speakers-index-name::after {
  opacity: 1;
  color: var(--gold-deep);
  transform: translateX(3px);
}
.speakers-index-swipe { display: none; }
@keyframes speakersSwipeHint {
  0%, 100% { transform: translateX(0); opacity: 0.65; }
  50% { transform: translateX(3px); opacity: 1; }
}
@keyframes speakersSwipeHintPrev {
  0%, 100% { transform: translateX(0); opacity: 0.65; }
  50% { transform: translateX(-3px); opacity: 1; }
}
@media (min-width: 900px) {
  .speakers-index-list li {
    min-width: 0;
  }
  .speakers-index-swipe { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .speakers-index-name::after {
    transition: none;
  }
}

.speakers-welcome {
  background-color: var(--sand-2);
  background-image: var(--pattern-speakers);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border-block: 1px solid var(--line);
  scroll-margin-top: calc(
    var(--speakers-nav-top, 0px) + var(--speakers-index-h, 5.5rem) + 0.75rem
  );
}
.speakers-keynotes {
  background:
    linear-gradient(180deg, var(--sand) 0%, #f3eee3 100%);
  scroll-margin-top: calc(
    var(--speakers-nav-top, 0px) + var(--speakers-index-h, 5.5rem) + 0.75rem
  );
}
.speakers-stage {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.speakers-aside {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.9rem;
  font-weight: 300;
}

.speaker-featured,
.speaker-keynote,
.speaker-card,
.plenary-block,
.speaker-entry {
  scroll-margin-top: calc(
    var(--speakers-nav-top, 0px) + var(--speakers-index-h, 5.5rem) + 0.75rem
  );
}

.speaker-featured,
.speaker-keynote {
  display: grid;
  gap: 1.35rem;
  align-items: start;
}
@media (min-width: 720px) {
  .speaker-featured {
    grid-template-columns: minmax(10rem, 12rem) minmax(0, 1fr);
    gap: 0.85rem 2rem;
    align-items: center;
  }
  .speaker-keynote {
    grid-template-columns: minmax(7rem, 8.5rem) minmax(0, 1fr);
    gap: 0.75rem 1.25rem;
    align-items: center;
  }
  .speaker-featured .speaker-photo,
  .speaker-keynote .speaker-photo {
    grid-row: 1 / span 2;
  }
  .speaker-featured .speaker-bio-open,
  .speaker-keynote .speaker-bio-open {
    grid-column: 2;
    justify-self: start;
  }
}

.speaker-keynote-list {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .speaker-keynote-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
    align-items: stretch;
  }
  .speaker-keynote {
    padding: 0;
    border-bottom: none;
    height: 100%;
  }
  .speaker-keynote + .speaker-keynote {
    padding-top: 0;
    border-left: 1px solid var(--line);
    padding-left: 2rem;
  }
}
.speaker-keynote {
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.speaker-keynote + .speaker-keynote {
  padding-top: 1.5rem;
}

.speaker-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand-2);
  position: relative;
  width: 100%;
  max-width: 12rem;
  border-bottom: 3px solid var(--gold);
}
.speaker-featured .speaker-photo { max-width: 12rem; }
.speaker-keynote .speaker-photo { max-width: 9rem; }
.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.speaker-photo--placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, var(--sand-2) 0%, #e5dcc8 55%, #d9ceb6 100%);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--gold);
}
.speaker-photo--placeholder span {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--green-deep);
  opacity: 0.72;
}

.speaker-copy { min-width: 0; }
.speaker-role {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gold-deep);
  margin: 0 0 0.4rem;
}
.speaker-featured h3,
.speaker-keynote h3,
.speaker-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.4rem;
}
.speaker-featured h3 {
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
}
.speaker-keynote h3,
.speaker-card h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
}
.speaker-title {
  font-size: 0.92rem;
  color: var(--ink-2);
  margin: 0 0 0.25rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  hyphens: manual;
}
.speaker-org {
  font-size: 0.86rem;
  color: var(--ink-3);
  margin: 0 0 1.15rem;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
}
.speaker-featured .speaker-org:last-child,
.speaker-keynote .speaker-org:last-child,
.speaker-featured .speaker-title:last-child,
.speaker-keynote .speaker-title:last-child {
  margin-bottom: 0;
}
.speaker-keynote .speaker-title { font-size: 0.88rem; }
.speaker-keynote .speaker-org { margin-bottom: 1rem; }

.speaker-bio {
  font-size: 0.98rem;
  color: var(--ink-2);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.01em;
}
.speaker-bio p + p { margin-top: 1rem; }

.speaker-bio-open {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sand);
  background: var(--green-deep);
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--green-deep);
  border-radius: 6px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.speaker-bio-open::after {
  content: "→";
  font-size: 0.95em;
  transition: transform 0.25s var(--ease);
}
.speaker-bio-open:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--sand);
}
.speaker-bio-open:hover::after {
  transform: translateX(3px);
}

/* Native modal — follow dialog:modal pattern (do not force display on [open]) */
.speaker-bio-dialog {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 1rem;
  border: none;
  background: transparent;
  color: var(--ink);
}
.speaker-bio-dialog:not([open]) {
  display: none;
}
.speaker-bio-dialog:modal {
  display: grid;
  place-items: center;
}
.speaker-bio-dialog::backdrop {
  background: rgba(20, 17, 14, 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.speaker-bio-dialog-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(36rem, calc(100vw - 2rem));
  max-height: min(85vh, 42rem);
  overflow: hidden;
  background: var(--sand);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(20, 17, 14, 0.28);
}
.speaker-bio-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ink-3);
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.speaker-bio-close:hover {
  color: var(--green-deep);
  border-color: var(--gold);
  background: var(--sand-2);
}
.speaker-bio-dialog-head {
  display: grid;
  gap: 1rem;
  flex-shrink: 0;
  align-items: center;
  padding: 1.35rem 3.25rem 1.25rem 1.35rem;
  background: var(--sand-2);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 560px) {
  .speaker-bio-dialog-head {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 1.15rem;
    padding: 1.5rem 3.5rem 1.35rem 1.5rem;
  }
}
.speaker-bio-dialog-head .speaker-photo {
  max-width: 5.5rem;
  width: 100%;
  margin: 0;
  border-radius: 6px;
  border-bottom-width: 2px;
}
.speaker-bio-dialog-head .speaker-role {
  margin-bottom: 0.35rem;
}
.speaker-bio-dialog-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}
.speaker-bio-dialog-head .speaker-title {
  margin-bottom: 0.2rem;
  font-size: 0.86rem;
  color: var(--ink-2);
}
.speaker-bio-dialog-head .speaker-org {
  margin-bottom: 0;
  font-size: 0.82rem;
}
.speaker-bio-dialog-body {
  overflow: auto;
  flex: 1 1 auto;
  padding: 1.25rem 1.35rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 560px) {
  .speaker-bio-dialog-body {
    padding: 1.35rem 1.5rem 1.65rem;
  }
}
.speaker-bio-dialog-body .speaker-bio {
  max-width: none;
  font-size: 0.92rem;
  line-height: 1.7;
}
.speaker-bio-dialog-body .speaker-bio p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.speaker-bio-dialog-body .speaker-bio p + p {
  margin-top: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .speaker-bio-open::after { transition: none; }
}

.speaker-pending {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  margin: 0.35rem 0 0;
  /* font-style: italic; */
}

.speakers-plenaries {
  background-color: var(--sand-2);
  background-image: var(--pattern-speakers);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  border-top: 1px solid var(--line);
}
.plenary-block {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding: 1.5rem 0 0.25rem;
  border-top: 1px solid var(--line);
}
.plenary-block:first-of-type {
  margin-top: 0.5rem;
  border-top: none;
  padding-top: 0;
}
.plenary-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  margin-bottom: 1rem;
}
.plenary-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
  padding-top: 0.15rem;
}
.plenary-label {
  margin: 0 0 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gold-deep);
}
.plenary-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}
.plenary-sub {
  margin: 0;
  max-width: 40rem;
  font-size: 0.92rem;
  color: var(--ink-3);
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}
.speakers-mod {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--ink-2);
  font-weight: 400;
}
.speakers-mod .session-label {
  display: inline-block;
  margin-right: 0.55rem;
  margin-bottom: 0;
}

.speaker-roster {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) {
  .speaker-roster {
    grid-template-columns: 1fr 1fr;
    column-gap: 0;
  }
  .speaker-entry:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 1.35rem;
  }
  .speaker-entry:nth-child(even) {
    padding-left: 1.35rem;
  }
  .speaker-entry:only-child {
    border-right: none;
    padding-right: 0;
    grid-column: 1 / -1;
  }
}
.speaker-entry {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.speaker-entry h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 0.3rem;
}
.speaker-entry .speaker-title {
  margin-bottom: 0.15rem;
  font-size: 0.84rem;
  color: var(--ink-2);
}
.speaker-entry .speaker-org {
  margin-bottom: 0;
  font-size: 0.82rem;
}
.speaker-entry .speaker-pending {
  margin-top: 0.25rem;
}
.speaker-entry--tbc h4 {
  color: var(--ink-3);
  font-weight: 500;
}

/* Legacy card hooks (unused on current page; kept for future confirmations) */
.speakers-board {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 3.75rem);
}
.speaker-section-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.speaker-section-head .section-kicker { margin-bottom: 0; }
.speaker-section-head p {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.92rem;
  font-weight: 400;
}
.speaker-directory {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.speaker-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

/* ========== INFO ========== */
.info-block {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 6rem;
}
.info-block:first-child { padding-top: 0; }
.info-block h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.info-emoji {
  font-size: 1.15em;
  line-height: 1;
  flex-shrink: 0;
}
.info-block p {
  color: var(--ink-3);
  max-width: none;
  font-weight: 300;
}
.info-block p + p { margin-top: 0.75rem; }

.venue-card {
  margin-top: 1.25rem;
  display: grid;
  gap: 1px;
  background: var(--line);
}
@media (min-width: 720px) {
  .venue-card { grid-template-columns: 1fr 1.35fr; }
}
.venue-details {
  padding: 1.75rem;
  background: var(--sand-2);
}
.venue-details h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.venue-details p { font-size: 0.95rem; }
.map-frame {
  min-height: 16rem;
  background: var(--sand-2);
  overflow: hidden;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  border: 0;
  filter: grayscale(0.3) contrast(1.05);
}

.info-figure {
  margin: 1.25rem 0 0;
  max-width: 42rem;
}
.info-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========== CONTACT ========== */
.contact-panel {
  display: grid;
  gap: 3rem;
}
@media (min-width: 800px) {
  .contact-panel { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.contact-detail {
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-3);
}
.contact-detail a {
  display: inline-block;
  margin-top: 0.25rem;
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  color: var(--green-deep);
}
.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.contact-social a {
  display: inline-flex;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 500;
  transition: 0.25s var(--ease);
}
.contact-social a:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(11, 107, 61, 0.04);
}
.contact-social svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

/* ========== LEGAL ========== */
.legal-block {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 6rem;
}
.legal-block h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--green-deep);
  margin-bottom: 0.85rem;
}
.legal-block p {
  color: var(--ink-3);
  font-weight: 300;
  max-width: 42rem;
}
.legal-block p + p { margin-top: 0.75rem; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--ink);
  color: rgba(247, 243, 234, 0.72);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  font-weight: 300;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.footer-simple {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  text-align: center;
}
.footer-simple a {
  color: rgba(247, 243, 234, 0.72);
  text-decoration: none;
}
.footer-simple a:hover { color: var(--gold-soft); }

/* ========== REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* ========== MOBILE (phones + small tablets; desktop ≥900px unchanged) ========== */
@media (max-width: 899px) {
  :root {
    --pad: 1.15rem;
    --hero-banner-height: auto;
    --hero-banner-min-height: 0;
    --hero-banner-height-mobile: auto;
    --hero-banner-min-height-mobile: 0;
  }

  html,
  body {
    overflow-x: clip;
  }

  .prose,
  .prose p,
  .section-lead,
  .hero-lead,
  .speaker-bio,
  .speaker-bio p,
  .info-block p,
  .legal-block p,
  .session-detail,
  .note-box,
  .informed p,
  .contact-panel p,
  .page-hero .section-lead,
  .why-band .section-lead {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
  }
  .speaker-title,
  .session-person,
  .session-tbc,
  .photo-break-copy p,
  .footer-about {
    text-align: left;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* Keep date + logos + menu pinned; menu offset stays correct while scrolling */
  #site-chrome-top {
    position: sticky;
    top: 0;
    z-index: 200;
  }
  .site-header {
    position: relative;
    top: auto;
    background: var(--sand);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .top-bar { font-size: 0.68rem; }
  .top-bar-inner {
    padding: 0.4rem max(var(--pad), env(safe-area-inset-right, 0px)) 0.4rem max(var(--pad), env(safe-area-inset-left, 0px));
    gap: 0.35rem;
    flex-wrap: nowrap;
  }
  .top-bar-meta { gap: 0.4rem; flex: 1; min-width: 0; }
  .top-bar-meta span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .top-bar-meta span:nth-child(2) { display: none; }
  .font-switcher { display: none; }

  .header-inner {
    padding: 0.55rem max(var(--pad), env(safe-area-inset-right, 0px)) 0.55rem max(var(--pad), env(safe-area-inset-left, 0px));
    gap: 0.55rem;
    flex-wrap: nowrap;
    align-items: center;
  }
  .logo-row {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    align-items: center;
    gap: 0.35rem;
    overflow: hidden;
  }
  .logo-row a {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .logo-row img,
  .logo-row .logo-icac,
  .logo-row .logo-iaaca,
  .logo-row .logo-inpplc {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 2.15rem;
    object-fit: contain;
    object-position: center;
  }
  .logo-row .logo-icac { max-height: 2.05rem; }
  .logo-row .logo-iaaca { max-height: 2.15rem; }
  .logo-row .logo-inpplc { max-height: 2.5rem; }
  .logo-divider {
    height: 1.5rem;
    flex-shrink: 0;
  }

  .menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    background: var(--green-deep);
    border-radius: 999px;
    position: relative;
    z-index: 110;
    flex-shrink: 0;
  }
  .menu-toggle span { background: var(--sand); width: 1.05rem; }
  .menu-toggle[aria-expanded="true"] { background: var(--ink); }

  .mobile-nav {
    top: var(--nav-offset, 6.5rem);
    padding: 0.35rem max(var(--pad), env(safe-area-inset-right, 0px)) calc(1.25rem + env(safe-area-inset-bottom, 0px)) max(var(--pad), env(safe-area-inset-left, 0px));
    max-height: calc(100dvh - var(--nav-offset, 6.5rem));
  }
  .nav-overlay {
    top: var(--nav-offset, 6.5rem);
  }

  /* Zoom into the centred banner artwork so title text stays readable */
  .hero { display: flex; flex-direction: column; }
  .hero-media {
    aspect-ratio: auto;
    min-height: 0;
    height: clamp(11rem, 46vw, 13.75rem);
    line-height: 0;
  }
  .hero-media img,
  .hero-media .hero-banner {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 38%;
    transform: none;
    animation: none;
  }
  .hero-shade,
  .hero-veil { display: none; }
  .hero-copy {
    position: relative;
    inset: auto;
    display: block;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 1.1rem var(--pad) 1.25rem;
    background: var(--sand);
    pointer-events: auto;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }
  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    border-radius: 999px;
    padding: 0.95rem 1.15rem;
    font-size: 0.92rem;
    min-height: 3.05rem;
  }

  .meta-band { padding: 1.05rem var(--pad) 1rem; }
  .meta-band-mosaic { --tile-size: 3.25rem; }
  .meta-band-veil {
    background:
      linear-gradient(
        90deg,
        rgba(4, 36, 24, 0.12) 0%,
        rgba(247, 243, 234, 0.86) 12%,
        rgba(247, 243, 234, 0.95) 50%,
        rgba(247, 243, 234, 0.86) 88%,
        rgba(4, 36, 24, 0.12) 100%
      ),
      linear-gradient(
        180deg,
        rgba(4, 36, 24, 0.16) 0%,
        transparent 30%,
        transparent 70%,
        rgba(4, 36, 24, 0.16) 100%
      );
  }
  .meta-band-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    max-width: 100%;
    padding: 0.1rem 0.25rem;
  }
  .meta-band-line { display: none; }
  .meta-band-label {
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    line-height: 1.35;
  }
  .countdown-live { gap: 0.6rem; }
  .countdown-row {
    flex-direction: column;
    gap: 0.55rem;
  }
  .countdown {
    justify-content: center;
    gap: 0.25rem 0.45rem;
  }
  .countdown-note {
    font-size: 0.72rem;
    letter-spacing: 0.01em;
    padding: 0.35rem 0.85rem;
  }
  .countdown-done {
    font-size: 0.95rem;
    padding: 0.15rem 0;
  }
  .countdown-unit { min-width: 2.5rem; }
  .countdown-unit span { font-size: 1.35rem; }
  .countdown-sep { padding-bottom: 0.75rem; }

  .section { padding: 2.35rem 0; }
  .section-inner {
    padding: 0 max(var(--pad), env(safe-area-inset-right, 0px)) 0 max(var(--pad), env(safe-area-inset-left, 0px));
  }
  .section-kicker { font-size: 0.72rem; margin-bottom: 0.45rem; }
  .section-title {
    font-size: clamp(1.45rem, 6.4vw, 1.95rem);
    margin-bottom: 0.7rem;
    line-height: 1.2;
    overflow-wrap: break-word;
  }
  .section-lead,
  .prose {
    font-size: 1rem;
    line-height: 1.65;
    max-width: none;
  }
  .section-lead { margin-bottom: 1.2rem; }

  .motif-art {
    max-width: 15.5rem;
    width: min(72vw, 15.5rem);
  }

  .video-frame {
    max-width: none;
    width: 100%;
    margin: 1rem auto 0;
    border-radius: 12px;
    overflow: hidden;
  }
  .video-frame-label span { font-size: 1.15rem; }

  .topic-row {
    grid-template-columns: 2.35rem minmax(0, 1fr);
    gap: 0.7rem;
    padding: 1rem 0;
  }
  .topic-row:hover { padding-left: 0; }
  .topic-row .num { font-size: 1.15rem; }
  .topic-row p { font-size: 0.94rem; line-height: 1.5; }

  .photo-break { min-height: 13.5rem; }
  .photo-break-copy { padding: 1.5rem var(--pad) 1.7rem; }
  .photo-break-copy h2 {
    font-size: clamp(1.28rem, 5.4vw, 1.7rem);
    overflow-wrap: break-word;
  }
  .photo-break-copy p { font-size: 0.88rem; max-width: none; }

  .pillar-list { margin-top: 1.15rem; }
  .pillar {
    padding: 1.15rem 0;
    margin: 0;
    border-radius: 0;
    gap: 0.25rem;
  }
  .pillar:hover {
    padding-left: 0;
    background: transparent;
  }
  .pillar h3 { font-size: 1.28rem; }
  .pillar p { font-size: 0.9rem; margin-bottom: 0.4rem; }
  .pillar-cta { font-size: 0.78rem; white-space: normal; }

  .informed { padding: 2.25rem 0; }
  .why-band {
    background-size: 9.75rem 9.75rem;
    padding-block: 3.35rem;
  }
  .why-band::after { background-size: 5.25rem 2.1rem; }
  .why-panel { padding: 1.15rem 1.1rem 1.25rem; }
  .why-band .section-lead { max-width: none; }

  .page-hero { padding: 2.15rem 0 1.65rem; }
  .page-hero .section-title { font-size: clamp(1.45rem, 6.4vw, 1.95rem); }
  .page-hero .section-lead { font-size: 0.95rem; line-height: 1.6; }
  .day-header {
    margin-bottom: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .day-header h2 { font-size: clamp(1.22rem, 5.2vw, 1.55rem); }

  .timeline::before { left: 0.28rem; }
  .session {
    grid-template-columns: 0.95rem minmax(0, 1fr) !important;
    gap: 0.25rem 0.75rem !important;
    padding: 1rem 0;
  }
  .session-time {
    font-size: 0.92rem;
    grid-column: 2 !important;
    grid-row: 1 !important;
    text-align: left !important;
  }
  .session-time:empty { display: none; }
  .session-dot {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 0.55rem;
    height: 0.55rem;
    margin-top: 0.38rem;
  }
  .session-body {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-width: 0;
  }
  .session:has(.session-time:empty) .session-body {
    grid-row: 1 !important;
    padding-top: 0;
  }
  .session.highlight .session-body h3 { font-size: 1.08rem; }
  .session-body h3 { overflow-wrap: break-word; }

  .speakers-index {
    top: var(--speakers-nav-top, 0px);
  }
  .speakers-index .section-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
  .speakers-index .section-inner::before,
  .speakers-index .section-inner::after {
    content: none;
  }
  .speakers-index-list {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.35rem;
    padding-right: 0;
    scroll-padding-inline: 0.25rem;
  }
  .speakers-index-list li { min-width: min(8.4rem, 52vw); }
  .speakers-index-list a {
    min-height: 2.85rem;
    padding: 0.4rem 0.6rem;
    gap: 0.18rem;
  }
  .speakers-index-kind { font-size: 0.68rem; }
  .speakers-index-num { font-size: 0.9rem; }
  .speakers-index-name { font-size: 0.8rem; padding-right: 0; }
  .speakers-index-name::after { content: none; }
  .speakers-index-swipe {
    position: static;
    flex: 0 0 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 1.7rem;
    height: 2.85rem;
    margin: 0;
    padding: 0;
    transform: none;
    border: none;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
    color: var(--gold-deep);
    pointer-events: auto;
    cursor: pointer;
    opacity: 1;
    -webkit-tap-highlight-color: rgba(196, 160, 53, 0.2);
  }
  .speakers-index-swipe:active {
    background: rgba(196, 160, 53, 0.14);
  }
  .speakers-index-swipe-icon {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;
    margin-top: -0.12em;
  }
  .speakers-index-swipe--next .speakers-index-swipe-icon {
    animation: speakersSwipeHint 1.35s var(--ease) infinite;
  }
  .speakers-index-swipe--prev .speakers-index-swipe-icon {
    animation: speakersSwipeHintPrev 1.35s var(--ease) infinite;
  }
  .speakers-index.is-first-group .speakers-index-swipe--prev,
  .speakers-index.is-last-group .speakers-index-swipe--next {
    display: none;
  }

  body[data-page="speakers"] .section {
    padding: 1.7rem 0;
  }
  body[data-page="speakers"] .page-hero {
    padding: 1.55rem 0 1.2rem;
  }

  .speaker-featured,
  .speaker-keynote {
    grid-template-columns: 4.85rem minmax(0, 1fr);
    gap: 0.7rem 0.85rem;
    align-items: start;
  }
  .speaker-featured .speaker-photo,
  .speaker-keynote .speaker-photo {
    max-width: none;
    width: 100%;
    grid-row: 1;
  }
  .speaker-featured .speaker-bio-open,
  .speaker-keynote .speaker-bio-open {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    min-height: 2.75rem;
    margin-top: 0.15rem;
  }
  .speaker-copy { min-width: 0; }
  .speaker-role { font-size: 0.75rem; margin-bottom: 0.28rem; }
  .speaker-featured h3 {
    font-size: clamp(1.02rem, 4.4vw, 1.22rem);
    overflow-wrap: anywhere;
  }
  .speaker-keynote h3 {
    font-size: clamp(1rem, 4.2vw, 1.16rem);
    overflow-wrap: anywhere;
  }
  .speaker-title,
  .speaker-org {
    overflow-wrap: break-word;
    font-size: 0.82rem;
    line-height: 1.4;
  }
  .speakers-aside { font-size: 0.8rem; }
  .plenary-block {
    margin-top: 1.35rem;
    padding-top: 1.2rem;
  }
  .plenary-head {
    grid-template-columns: 1.85rem minmax(0, 1fr);
    gap: 0.2rem 0.7rem;
  }
  .plenary-num {
    font-size: 1.25rem;
    padding-top: 0.28rem;
  }
  .plenary-label { font-size: 0.75rem; margin-bottom: 0.15rem; }
  .plenary-title {
    font-size: clamp(1.08rem, 4.4vw, 1.28rem);
    overflow-wrap: break-word;
  }
  .plenary-sub {
    font-size: 0.84rem;
    line-height: 1.45;
  }
  .speakers-mod {
    font-size: 0.86rem;
    line-height: 1.45;
  }
  .speaker-entry {
    padding: 0.8rem 0;
  }
  .speaker-entry h4 {
    font-size: 0.95rem;
    overflow-wrap: break-word;
  }
  .speaker-entry .speaker-title,
  .speaker-entry .speaker-org {
    font-size: 0.8rem;
  }
  .speaker-bio-open {
    min-height: 2.75rem;
    width: 100%;
    justify-content: center;
  }
  .speaker-bio-dialog { padding: 0.65rem; }
  .speaker-bio-dialog-panel {
    width: min(36rem, calc(100vw - 1.3rem));
    max-height: min(90dvh, 42rem);
  }

  .info-block h2 { font-size: 1.45rem; }
  .venue-details { padding: 1.15rem; }
  .venue-details h3 { overflow-wrap: break-word; }
  .map-frame,
  .map-frame iframe { min-height: 14rem; }
  .contact-panel { gap: 2rem; }
  .contact-detail a { font-size: 1.02rem; word-break: break-word; }
  .contact-social { gap: 0.5rem; }
  .contact-social a { border-radius: 999px; }

  .btn {
    min-height: 3rem;
    border-radius: 999px;
  }
  .btn:hover { transform: none; }

  .float-register { display: none; }

  .footer-simple {
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.78rem;
  }
  .site-footer {
    padding: 1.25rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .speaker-featured,
  .speaker-keynote {
    grid-template-columns: 6.1rem minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  :root { --pad: 1.05rem; }

  .logo-row img { max-height: 2.05rem; }
  .logo-row .logo-icac { max-height: 1.95rem; }
  .logo-row .logo-iaaca { max-height: 2.05rem; }
  .logo-row .logo-inpplc { max-height: 2.35rem; }
  .logo-divider { height: 1.45rem; }

  .hero-copy { padding: 1rem var(--pad) 1.15rem; }
  .section { padding: 2rem 0; }
  .photo-break { min-height: 12rem; }
  .speaker-featured,
  .speaker-keynote {
    grid-template-columns: 4.35rem minmax(0, 1fr);
    gap: 0.6rem 0.75rem;
  }
  .speaker-featured .speaker-photo,
  .speaker-keynote .speaker-photo {
    max-width: none;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-media img { transform: none; }
  .reveal { opacity: 1; transform: none; }
}
