:root {
  --ink: #142D63;
  --muted: #526274;
  --navy: #142D63;
  --teal: #A08B5E;
  --aqua: rgba(20, 45, 99, 0.09);
  --gold: #A08B5E;
  --secondary: #A08B5E;
  --coral: #c64d3b;
  --paper: #fbfbf7;
  --white: #ffffff;
  --line: #dbe3e3;
  --shadow: 0 24px 60px rgba(12, 42, 64, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 96px);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 10px clamp(16px, 4vw, 48px);
  background: rgba(251, 251, 247, 0.94);
  border-bottom: 1px solid rgba(16, 33, 47, 0.08);
  backdrop-filter: blur(14px);
}

main {
  /* Clear fixed header (#scroll-progress 3px) + bar + safe area */
  padding-top: calc(env(safe-area-inset-top, 0px) + 89px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(228px, 54vw);
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  color: #203243;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--aqua);
  outline: none;
}

.site-nav a.nav-portal {
  gap: 7px;
}

.nav-about {
  position: relative;
}

.nav-about > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 36px;
  padding: 0 11px;
  border-radius: 999px;
  color: #203243;
  font-size: 0.92rem;
  font-weight: 750;
  user-select: none;
}

.nav-about > summary::after {
  content: "";
  display: inline-block;
  width: 0.38em;
  height: 0.38em;
  margin-top: -0.2em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.72;
  flex-shrink: 0;
}

.nav-about[open] > summary::after {
  margin-top: 0.12em;
  transform: rotate(225deg);
}

.nav-about > summary::-webkit-details-marker {
  display: none;
}

.nav-about > summary::marker {
  content: "";
}

.nav-about:hover > summary,
.nav-about[open] > summary {
  background: var(--aqua);
}

.nav-about > summary:focus-visible {
  background: var(--aqua);
  outline: 2px solid rgba(160, 139, 94, 0.45);
  outline-offset: 2px;
}

.nav-about-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 208px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(16, 33, 47, 0.12);
  box-shadow: var(--shadow);
}

.nav-about-panel a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: #203243;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-about-panel a:hover,
.nav-about-panel a:focus-visible {
  background: var(--aqua);
  outline: none;
}

.site-nav a.nav-portal .nav-portal-icon {
  flex-shrink: 0;
  opacity: 0.92;
}

.site-nav .nav-cta {
  min-height: 38px;
  margin-left: 8px;
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(16, 33, 47, 0.16);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--white);
  background: var(--navy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 999px;
  font-size: 0;
}

.section,
.hero-inner,
.stats-strip,
.site-footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: clamp(66px, 8vw, 112px) 0;
}

.section-band {
  position: relative;
}

.section-band::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(20, 45, 99, 0.08), rgba(160, 139, 94, 0.1)),
    #f1f4f8;
}

.hero {
  min-height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero.section-band::before {
  background:
    linear-gradient(118deg, #f8f9fc 0%, #eef1f8 44%, #f3efe6 100%),
    #f1f4f8;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: 0;
  pointer-events: none;
  transform: translate3d(0, var(--hero-parallax, 0px), 0);
  will-change: transform;
  background-image:
    linear-gradient(rgba(20, 45, 99, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 45, 99, 0.07) 1px, transparent 1px),
    linear-gradient(120deg, transparent 0 46%, rgba(160, 139, 94, 0.08) 46% 47%, transparent 47% 100%);
  background-size: 48px 48px, 48px 48px, 220px 220px;
  animation: grid-pan 24s linear infinite;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.52fr);
  gap: clamp(20px, 3.5vw, 46px);
  align-items: center;
  padding: clamp(18px, 3vw, 32px) 0 clamp(24px, 3.5vw, 38px);
}

.hero-copy {
  max-width: 780px;
  animation: hero-rise 700ms ease both;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 12px;
  font-size: clamp(2.65rem, 5.8vw, 5.25rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span {
  display: block;
}

h1 span:last-child {
  color: var(--navy);
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 52%, var(--navy) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.05rem, 4.5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  color: #26394c;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
}

.hero-date-pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin: 0 0 10px;
  padding: 0 12px;
  border: 1px solid rgba(20, 45, 99, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(16, 33, 47, 0.08);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.hero-proof span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(16, 33, 47, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #273c4e;
  font-size: 0.82rem;
  font-weight: 850;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--navy);
  outline: none;
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(16, 33, 47, 0.16);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--teal);
  outline: none;
}

.event-panel {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(16, 33, 47, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(226, 246, 242, 0.88)),
    var(--white);
  box-shadow: var(--shadow);
  isolation: isolate;
  animation: panel-float 7s ease-in-out infinite;
}

.event-panel::before {
  content: "";
  position: absolute;
  inset: -30% 0 auto;
  height: 42%;
  z-index: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  transform: translateY(-100%);
  animation: panel-scan 6s ease-in-out infinite;
}

.event-panel::after {
  content: "";
  position: absolute;
  inset: auto -25% -22% 12%;
  height: 44%;
  z-index: 0;
  background:
    repeating-linear-gradient(90deg, rgba(160, 139, 94, 0.16) 0 2px, transparent 2px 18px),
    linear-gradient(90deg, rgba(160, 139, 94, 0.12), transparent);
  transform: rotate(-8deg);
}

.hero-showcase > * {
  position: relative;
  z-index: 1;
}

.logo-plate {
  position: relative;
  display: grid;
  min-height: 132px;
  place-items: center;
  margin-bottom: 8px;
}

.event-logo {
  width: min(292px, 100%);
  filter: drop-shadow(0 18px 26px rgba(20, 45, 99, 0.14));
  animation: logo-breathe 5.5s ease-in-out infinite;
}

.showcase-orbit {
  position: absolute;
  inset: 16px;
  pointer-events: none;
}

.showcase-orbit span {
  position: absolute;
  border: 1px solid rgba(20, 45, 99, 0.13);
  border-radius: 50%;
  font-size: 0;
  animation: orbit-rotate 18s linear infinite;
}

.showcase-orbit span:nth-child(1) {
  inset: 18% 6% 18% 6%;
  border-color: rgba(160, 139, 94, 0.24);
}

.showcase-orbit span:nth-child(2) {
  inset: 7% 18% 7% 18%;
  border-color: rgba(160, 139, 94, 0.25);
  animation-duration: 24s;
  animation-direction: reverse;
}

.showcase-orbit span:nth-child(3) {
  inset: 26% 22% 26% 22%;
  border-style: dashed;
  animation-duration: 12s;
}

.signal-bars {
  position: absolute;
  right: 6px;
  bottom: 10px;
  display: flex;
  align-items: end;
  gap: 7px;
  height: 42px;
}

.signal-bars span {
  width: 7px;
  min-height: 14px;
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, var(--teal), var(--gold));
  font-size: 0;
  animation: signal-lift 1.5s ease-in-out infinite;
}

.signal-bars span:nth-child(2) { animation-delay: 120ms; }
.signal-bars span:nth-child(3) { animation-delay: 240ms; }
.signal-bars span:nth-child(4) { animation-delay: 360ms; }
.signal-bars span:nth-child(5) { animation-delay: 480ms; }

.data-ticker {
  display: flex;
  gap: 10px;
  width: calc(100% + 34px);
  margin: 0 -12px 10px;
  overflow: hidden;
  white-space: nowrap;
}

.data-ticker span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(16, 33, 47, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
  animation: ticker-glide 12s linear infinite;
}

.event-panel dl {
  display: grid;
  gap: 4px;
  margin: 0;
}

.event-panel dt {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.event-panel dd {
  margin: 2px 0 0;
  font-size: 0.9rem;
  font-weight: 850;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.node,
.line,
.data-beam {
  position: absolute;
  display: block;
  font-size: 0;
}

.data-beam {
  width: min(420px, 42vw);
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(160, 139, 94, 0.68), rgba(160, 139, 94, 0.58), transparent);
  opacity: 0.65;
  animation: beam-pulse 5.8s ease-in-out infinite;
}

.beam-a { left: 3%; top: 34%; transform: rotate(17deg); }
.beam-b { right: 2%; top: 63%; transform: rotate(-20deg); animation-delay: 1.2s; }
.beam-c { left: 44%; bottom: 18%; transform: rotate(142deg); animation-delay: 2.4s; }

.node {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 7px rgba(160, 139, 94, 0.12);
  animation: node-pulse 4.8s ease-in-out infinite;
}

.node-b,
.node-e {
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(160, 139, 94, 0.13);
}

.node-c {
  background: var(--coral);
  box-shadow: 0 0 0 7px rgba(198, 77, 59, 0.12);
}

.node-a { left: 6%; top: 22%; }
.node-b { left: 18%; top: 68%; animation-delay: 600ms; }
.node-c { right: 16%; top: 24%; animation-delay: 1.1s; }
.node-d { right: 7%; bottom: 18%; animation-delay: 1.6s; }
.node-e { left: 48%; bottom: 10%; animation-delay: 2.1s; }
.node-f { left: 36%; top: 14%; animation-delay: 2.6s; }
.node-g { right: 35%; top: 56%; animation-delay: 3.1s; }

.line {
  height: 1px;
  overflow: hidden;
  transform-origin: left center;
  background: rgba(20, 45, 99, 0.2);
}

.line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  transform: translateX(-100%);
  animation: line-signal 4.8s ease-in-out infinite;
}

.line-a { width: 170px; left: 7%; top: 23%; transform: rotate(28deg); }
.line-b { width: 230px; left: 19%; top: 69%; transform: rotate(-25deg); }
.line-c { width: 210px; right: 8%; top: 26%; transform: rotate(112deg); }
.line-d { width: 240px; right: 18%; bottom: 24%; transform: rotate(-164deg); }

.stats-strip {
  transform: translateY(-20px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(16, 33, 47, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.stat {
  min-height: 104px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: clamp(1.95rem, 3.25vw, 3rem);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

/* Conference photo gallery */
.gallery-status {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-align: center;
}

.gallery-grid {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px;
}

.gallery-item {
  margin: 0;
}

.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(16, 33, 47, 0.1);
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 33, 47, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(20, 45, 99, 0.22);
  box-shadow: 0 16px 30px rgba(16, 33, 47, 0.14);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-actions {
  width: min(var(--max), calc(100% - 36px));
  margin: 22px auto 0;
  display: flex;
  justify-content: center;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 16px;
}

.gallery-lightbox[hidden] {
  display: none !important;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 28, 0.82);
  backdrop-filter: blur(6px);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: calc(100vh - 32px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.gallery-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.gallery-lightbox-title {
  margin: 0;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
}

.gallery-lightbox-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-body {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 12px;
  background: #0f1722;
}

.gallery-lightbox-figure {
  margin: 0;
  min-height: 0;
  display: grid;
  place-items: center;
}

.gallery-lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: min(72vh, 760px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.gallery-lightbox-nav {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-counter {
  margin: 0;
  padding: 10px 16px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.gallery-actions [hidden],
.gallery-load-more[hidden],
#gallery-load-more[hidden] {
  display: none !important;
}
.site-banner {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

.site-banner-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 14px 0;
}

.site-banner-inner--center {
  justify-content: center;
  text-align: center;
}

.site-banner-copy {
  margin: 0;
  flex: 1 1 220px;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 650;
}

.site-banner-copy--compact {
  flex: none;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
}

.site-banner--primary {
  background: linear-gradient(95deg, #142D63 0%, #1c3d7a 48%, #142D63 100%);
  color: #fff;
  border-block: 1px solid rgba(160, 139, 94, 0.35);
}

.site-banner--primary .site-banner-copy {
  color: rgba(255, 255, 255, 0.95);
}

.site-banner--accent {
  background: linear-gradient(95deg, #c4b08f 0%, #A08B5E 42%, #8f7a52 100%);
  color: #142D63;
  border-block: 1px solid rgba(20, 45, 99, 0.12);
}

.site-banner--footer {
  background: rgba(20, 45, 99, 0.06);
  border-top: 1px solid rgba(20, 45, 99, 0.1);
  margin-top: clamp(24px, 4vw, 48px);
}

.site-banner--footer .site-banner-copy {
  color: var(--ink);
}

.site-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  background: #A08B5E;
  color: #142D63;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.site-banner-cta:hover,
.site-banner-cta:focus-visible {
  filter: brightness(1.06);
  outline: none;
}

.site-banner--primary .site-banner-cta {
  background: #fff;
  color: #142D63;
  border-color: rgba(255, 255, 255, 0.65);
}

.site-banner-cta--dark {
  background: #142D63;
  color: #fff;
  border-color: rgba(20, 45, 99, 0.35);
  box-shadow: 0 8px 22px rgba(20, 45, 99, 0.2);
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(32px, 6vw, 84px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 36px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.copy-stack {
  display: grid;
  gap: 18px;
  color: #2c3d4d;
  font-size: 1.05rem;
}

.copy-stack p {
  margin-bottom: 0;
}

.theme-grid,
.workshop-grid,
.speaker-grid,
.pricing-grid,
.sponsor-grid,
.partner-grid,
.governance-map,
.resource-grid {
  display: grid;
  gap: 16px;
}

.theme-grid {
  grid-template-columns: repeat(4, 1fr);
}

.theme-card,
.workshop-card,
.speaker-card,
.price-card,
.sponsor-card,
.partner-card,
.info-card,
.deadline-panel,
.supporting-speakers,
.governance-map article,
.advisors,
.faq-list details {
  border: 1px solid rgba(16, 33, 47, 0.1);
  border-radius: var(--radius);
  background: var(--white);
}

.theme-card,
.workshop-card,
.speaker-card,
.price-card,
.sponsor-card,
.partner-card,
.info-card,
.governance-map article,
.advisors {
  padding: 24px;
}

.theme-card span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--gold);
  font-weight: 900;
}

.theme-card p,
.workshop-card p,
.speaker-card p,
.price-card p,
.sponsor-card p,
.info-card p,
.governance-map p,
.governance-plenary-note p,
.advisors p,
.advisors-intro,
.supporting-speakers p,
.faq-list p {
  color: var(--muted);
}

.programme-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.programme-editorial {
  min-width: 0;
  padding: clamp(22px, 3.5vw, 34px) clamp(20px, 3vw, 32px);
  border: 1px solid rgba(16, 33, 47, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(168deg, rgba(255, 255, 255, 0.97) 0%, rgba(251, 251, 247, 1) 52%, rgba(226, 246, 242, 0.28) 100%),
    var(--white);
  box-shadow: var(--shadow);
}

.programme-editorial::before {
  content: "";
  display: block;
  height: 2px;
  margin: calc(-1 * clamp(22px, 3.5vw, 34px)) calc(-1 * clamp(20px, 3vw, 32px)) clamp(20px, 3vw, 28px);
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.programme-rail {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 86px);
  z-index: 4;
  margin: 0 0 clamp(28px, 4vw, 40px);
  padding: 10px 0 12px;
  border-bottom: 1px solid rgba(16, 33, 47, 0.08);
  background: linear-gradient(180deg, rgba(251, 251, 247, 0.98) 70%, rgba(251, 251, 247, 0));
  backdrop-filter: blur(10px);
}

.programme-rail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.programme-rail-link {
  display: inline-grid;
  justify-items: center;
  gap: 2px;
  min-width: 4.5rem;
  padding: 10px 14px 11px;
  border-radius: 999px;
  border: 1px solid rgba(16, 33, 47, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.programme-rail-link:hover,
.programme-rail-link:focus-visible {
  border-color: rgba(160, 139, 94, 0.35);
  background: var(--aqua);
  box-shadow: 0 10px 22px rgba(160, 139, 94, 0.12);
  outline: none;
}

.programme-rail-link[aria-selected="true"] {
  border-color: rgba(160, 139, 94, 0.45);
  background: var(--aqua);
  box-shadow: 0 10px 22px rgba(160, 139, 94, 0.12);
}

.programme-rail-dow {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.programme-rail-date {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0;
}

.programme-day {
  scroll-margin-top: 88px;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.programme-day:last-of-type {
  margin-bottom: 0;
}

.programme-day-head {
  margin-bottom: clamp(18px, 2.5vw, 26px);
  padding-bottom: clamp(14px, 2vw, 20px);
  border-bottom: 1px solid rgba(16, 33, 47, 0.08);
}

.programme-day-kicker {
  margin: 0 0 6px;
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.programme-day-head h3 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.programme-day-tag {
  margin: 0;
  color: var(--teal);
  font-size: 0.95rem;
  font-weight: 850;
}

.programme-day--pre .programme-day-feature {
  max-width: 42rem;
  margin: 0;
  padding: clamp(18px, 2.5vw, 26px) 0 2px;
}

.programme-day--pre .programme-day-feature p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.25vw, 1.05rem);
  line-height: 1.65;
}

.programme-agenda {
  margin: 0;
  padding: 0;
  list-style: none;
}

.programme-agenda-item {
  display: grid;
  grid-template-columns: minmax(6.75rem, 7.5rem) minmax(0, 1fr);
  gap: clamp(16px, 3.5vw, 32px);
  align-items: baseline;
  padding: clamp(16px, 2.2vw, 20px) 0 clamp(16px, 2.2vw, 20px) 12px;
  margin-left: -12px;
  border-bottom: 1px solid rgba(16, 33, 47, 0.06);
  border-left: 3px solid transparent;
}

.programme-agenda-item:last-child {
  border-bottom: 0;
}

.programme-agenda-time {
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.programme-agenda-body {
  min-width: 0;
}

.programme-agenda-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.programme-agenda-title {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.programme-agenda-title a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.programme-agenda-title a:hover {
  text-decoration-color: var(--navy);
}

.programme-agenda-meta {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.programme-agenda-workshops {
  margin: 0.55rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.programme-agenda-workshops li + li {
  margin-top: 0.45rem;
}

.programme-agenda-title--special {
  color: var(--coral);
  font-weight: 900;
}

.programme-agenda-item--plenary {
  border-left-color: rgba(160, 139, 94, 0.85);
}

.programme-agenda-item--parallel {
  border-left-color: rgba(160, 139, 94, 0.75);
}

.programme-agenda-item--gala,
.programme-agenda-item--venue {
  border-left-color: rgba(198, 77, 59, 0.55);
}

.programme-agenda-item--soft {
  border-left-color: rgba(16, 33, 47, 0.06);
}

.programme-agenda-item--quiet .programme-agenda-body p {
  color: rgba(82, 98, 116, 0.72);
  font-style: italic;
  font-size: 0.92rem;
}

@media (max-width: 520px) {
  .programme-agenda-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-left: 10px;
    margin-left: -10px;
  }

  .programme-rail {
    top: calc(env(safe-area-inset-top, 0px) + 76px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin-right: -4px;
    mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
  }

  .programme-rail-list {
    flex-wrap: nowrap;
    padding-right: 12px;
  }
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 24px;
  border-left: 6px solid var(--teal);
  border-radius: var(--radius);
  background: var(--white);
}

.timeline-item:nth-child(2) {
  border-color: var(--gold);
}

.timeline-item:nth-child(3) {
  border-color: var(--coral);
}

.timeline-item time {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 900;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.deadline-panel {
  position: sticky;
  top: 102px;
  padding: 24px;
}

.date-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.date-list li {
  display: grid;
  gap: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.date-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.date-list strong {
  color: var(--ink);
}

.workshop-grid {
  grid-template-columns: repeat(3, 1fr);
}

.workshop-grid.panel-grid {
  grid-template-columns: repeat(2, 1fr);
}

.panels-intro-note {
  margin-bottom: 28px;
}

.delegate-input-card {
  margin-top: 28px;
  max-width: 820px;
  margin-inline: auto;
  text-align: left;
}

.delegate-input-card h3 {
  margin-top: 0;
  color: var(--ink);
}

.delegate-input-list {
  margin: 0;
  padding-left: 1.25rem;
  text-align: left;
}

.delegate-input-list li {
  margin-bottom: 0.45rem;
}

.delegate-input-list li:last-child {
  margin-bottom: 0;
}

.workshop-card {
  display: flex;
  min-height: 265px;
  flex-direction: column;
}

.workshop-card span {
  margin-top: auto;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 850;
}

.section-note {
  max-width: 900px;
  margin: 26px auto 0;
  color: var(--muted);
  text-align: center;
}

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

.speaker-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  min-height: 300px;
  padding: 22px;
}

.speaker-featured {
  border-color: rgba(160, 139, 94, 0.35);
  background: linear-gradient(145deg, var(--white), var(--aqua));
}

.speaker-photo {
  position: relative;
  display: grid;
  align-self: start;
  aspect-ratio: 1 / 1.08;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(160, 139, 94, 0.18), rgba(160, 139, 94, 0.16)),
    #eaf4f2;
}

.speaker-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(16, 33, 47, 0.4));
  pointer-events: none;
}

.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.03);
  transition: transform 260ms ease, filter 260ms ease;
}

.speaker-card:hover .speaker-photo img {
  transform: scale(1.035);
  filter: saturate(1.12) contrast(1.05);
}

.speaker-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.speaker-card h3 {
  margin-bottom: 12px;
}

.speaker-card p {
  font-size: 0.94rem;
  line-height: 1.58;
}

.supporting-speakers {
  margin-top: 16px;
  padding: 24px;
}

.supporting-speakers p {
  margin-bottom: 8px;
}

.pricing-grid,
.sponsor-grid {
  grid-template-columns: repeat(3, 1fr);
}

.price-card,
.sponsor-card {
  min-height: 210px;
}

.price-card span,
.sponsor-card span {
  display: block;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card strong,
.sponsor-card strong {
  display: block;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.price-card.highlighted,
.sponsor-card.preferred,
.partner-card.open-slot {
  border-color: rgba(160, 139, 94, 0.45);
  background: #fff9e7;
}

.cta-row {
  justify-content: center;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.visa-disclaimer {
  font-size: 0.92rem;
  font-style: italic;
  color: rgba(82, 98, 116, 0.88);
}

.info-card p:last-child {
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  margin: 8px 16px 0 0;
  color: var(--navy);
  font-weight: 850;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.impact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.impact-row span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(16, 33, 47, 0.12);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.partner-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partner-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.partner-logo {
  display: grid;
  min-height: 104px;
  place-items: center;
  margin-bottom: 0;
  padding: 12px;
  border: 1px solid rgba(16, 33, 47, 0.08);
  border-radius: var(--radius);
  background: #ffffff;
}

.partner-logo img {
  width: auto;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.partner-logo-wide img {
  max-height: 56px;
}

.partner-card strong {
  display: block;
  text-align: center;
  font-size: 1.2rem;
}

.partner-card span {
  color: var(--muted);
  font-weight: 750;
}

.governance-map {
  grid-template-columns: repeat(3, 1fr);
}

.governance-plenary-note {
  margin-top: 20px;
  max-width: 900px;
  margin-inline: auto;
  text-align: left;
}

.governance-plenary-note h3 {
  margin-top: 0;
  color: var(--ink);
}

.governance-plenary-list {
  margin: 14px 0 18px;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.55;
}

.governance-plenary-list li {
  margin-bottom: 0.5rem;
}

.governance-plenary-list li:last-child {
  margin-bottom: 0;
}

.governance-map .governance-details {
  margin-top: 4px;
}

.governance-map .governance-details summary {
  cursor: pointer;
  font-weight: 850;
  color: var(--navy);
  margin-top: 12px;
  padding: 4px 0;
  list-style: none;
}

.governance-map .governance-details summary::-webkit-details-marker {
  display: none;
}

.governance-map .governance-details summary::before {
  content: '';
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-right: 0.5em;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg) translateY(-0.1em);
  transition: transform 0.2s ease;
  vertical-align: middle;
}

.governance-map .governance-details[open] summary::before {
  transform: rotate(45deg) translateY(-0.05em);
}

.governance-map .governance-details > p {
  margin-top: 12px;
}

.governance-map .governance-details .scientific-committee-list,
.governance-map .governance-details .proceedings-editors-list {
  margin-top: 10px;
}

.advisors-roster-line {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 12px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}

.proceedings-editors-list,
.scientific-committee-list {
  margin: 14px 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.55;
  text-align: left;
}

.proceedings-editors-list li,
.scientific-committee-list li {
  margin-bottom: 0.35rem;
}

.proceedings-editors-list li:last-child,
.scientific-committee-list li:last-child {
  margin-bottom: 0;
}

.advisors-intro {
  max-width: 880px;
  margin: 0 auto 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.advisors--profiles {
  max-width: 920px;
  margin-inline: auto;
}

.advisors--profiles h3 {
  text-align: center;
  margin-bottom: 14px;
}

.advisor-profile {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid rgba(16, 33, 47, 0.08);
}

.advisor-profile:first-of-type {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
}

.advisor-profile h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.advisor-profile p {
  margin: 0;
  line-height: 1.58;
}

.advisors {
  margin-top: 16px;
  text-align: left;
}

.venue-card {
  background:
    linear-gradient(135deg, rgba(160, 139, 94, 0.1), transparent 42%),
    var(--white);
}

.faq-tools {
  max-width: 680px;
  margin: 0 auto 22px;
}

.faq-tools label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 850;
  text-transform: uppercase;
}

.faq-tools input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(16, 33, 47, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.faq-tools input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(160, 139, 94, 0.15);
}

.faq-list {
  display: grid;
  max-width: 900px;
  gap: 10px;
  margin: 0 auto;
}

.faq-list details {
  overflow: hidden;
}

.faq-list summary {
  min-height: 58px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 900;
}

.faq-list summary::marker {
  color: var(--teal);
}

.faq-list p {
  padding: 0 22px 20px;
  margin-bottom: 0;
}

.faq-list details[hidden] {
  display: none;
}

.resource-grid {
  grid-template-columns: repeat(4, 1fr);
}

.resource-grid a {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(16, 33, 47, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(226, 246, 242, 0.46)),
    var(--white);
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.resource-grid a:hover,
.resource-grid a:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 18px 42px rgba(16, 33, 47, 0.12);
  transform: translateY(-3px);
  outline: none;
}

.resource-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: rgba(160, 139, 94, 0.12);
  color: var(--teal);
}

.resource-grid a:nth-child(2) .resource-icon {
  background: rgba(160, 139, 94, 0.15);
  color: var(--gold);
}

.resource-grid a:nth-child(3) .resource-icon {
  background: rgba(198, 77, 59, 0.12);
  color: var(--coral);
}

.resource-grid a:nth-child(4) .resource-icon {
  background: rgba(20, 45, 99, 0.12);
  color: var(--navy);
}

.resource-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.resource-text {
  display: block;
  max-width: 100%;
  line-height: 1.15;
}

.site-footer {
  padding: 54px 0 34px;
  border-top: 1px solid rgba(16, 33, 47, 0.12);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 54px);
}

.footer-brand img {
  width: 210px;
  margin-bottom: 14px;
}

.site-footer p {
  margin-bottom: 6px;
  color: var(--muted);
}

.footer-brand p {
  max-width: 330px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 850;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.footer-actions .button {
  min-height: 40px;
  padding: 0 15px;
  font-size: 0.9rem;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-column h2 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-nav-group-label {
  margin: 10px 0 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a,
.footer-bottom a {
  color: var(--navy);
  font-weight: 850;
  text-decoration-color: rgba(160, 139, 94, 0.65);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(16, 33, 47, 0.1);
  color: var(--muted);
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(16, 33, 47, 0.12);
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(16, 33, 47, 0.2);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: transform 180ms ease, background 180ms ease;
}

/* Slim progress bar at the very top */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 70; /* above fixed header */
  transform-origin: left center;
  background: linear-gradient(90deg, var(--secondary), var(--gold));
  opacity: 0.95;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--navy);
  transform: translateY(-3px);
  outline: none;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes grid-pan {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 48px 48px, 48px 48px, 220px 0;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panel-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes panel-scan {
  0%,
  38% {
    transform: translateY(-110%);
  }
  72%,
  100% {
    transform: translateY(360%);
  }
}

@keyframes logo-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
}

@keyframes orbit-rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes signal-lift {
  0%,
  100% {
    height: 14px;
    opacity: 0.72;
  }
  50% {
    height: 40px;
    opacity: 1;
  }
}

@keyframes ticker-glide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-125%);
  }
}

@keyframes beam-pulse {
  0%,
  100% {
    opacity: 0.18;
    filter: blur(0);
  }
  48% {
    opacity: 0.85;
    filter: blur(0.4px);
  }
}

@keyframes node-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.28);
  }
}

@keyframes line-signal {
  0%,
  22% {
    transform: translateX(-110%);
  }
  72%,
  100% {
    transform: translateX(110%);
  }
}

@media (max-width: 1040px) {
  .hero-inner,
  .section-grid,
  .programme-layout,
  .two-column,
  .travel-grid {
    grid-template-columns: 1fr;
  }

  .event-panel,
  .deadline-panel {
    position: static;
  }

  .event-panel {
    max-width: 620px;
  }

  .theme-grid,
  .workshop-grid,
  .pricing-grid,
  .sponsor-grid,
  .governance-map,
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-strip,
  .speaker-grid,
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 82px);
  }

  .site-header {
    min-height: 64px;
  }

  main {
    /* Match fixed header + 3px progress; avoid large band above hero */
    padding-top: calc(env(safe-area-inset-top, 0px) + 78px);
  }

  .brand {
    width: min(196px, 58vw);
  }

  .brand img {
    max-height: 48px;
    width: auto;
    max-width: 100%;
  }

  .site-banner-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    text-align: center;
    padding: 8px 16px;
    gap: 8px;
  }

  .site-banner-cta {
    width: 100%;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.85rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: calc(env(safe-area-inset-top, 0px) + 74px) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 18px 22px;
    border-bottom: 1px solid rgba(16, 33, 47, 0.1);
    background: var(--paper);
    box-shadow: 0 24px 40px rgba(16, 33, 47, 0.14);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 50px;
    border-radius: var(--radius);
  }

  .nav-about {
    width: 100%;
    border-bottom: 1px solid rgba(16, 33, 47, 0.06);
  }

  .nav-about > summary {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border-radius: var(--radius);
    justify-content: space-between;
  }

  .nav-about-panel {
    position: static;
    margin: 0 0 6px 10px;
    padding: 4px 0 8px 14px;
    border: none;
    border-left: 3px solid rgba(160, 139, 94, 0.35);
    box-shadow: none;
    background: transparent;
    min-width: 0;
  }

  .nav-about-panel a {
    min-height: 46px;
    padding: 0 10px;
    border-radius: var(--radius);
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin: 8px 0 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 14px;
    padding-bottom: 26px;
    gap: 16px;
  }

  .hero .eyebrow {
    max-width: 100%;
    line-height: 1.42;
    text-wrap: balance;
  }

  .hero::after {
    background-size: 38px 38px, 38px 38px, 180px 180px;
  }

  .hero-proof {
    gap: 8px;
    margin-top: 10px;
  }

  .data-beam {
    display: none;
  }

  .hero h1 {
    line-height: 1.02;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.75rem);
  }

  .stats-strip,
  .theme-grid,
  .workshop-grid,
  .speaker-grid,
  .pricing-grid,
  .sponsor-grid,
  .partner-grid,
  .governance-map,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    transform: translateY(-8px);
  }

  .stat {
    min-height: 80px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .stat strong {
    font-size: clamp(1.62rem, 8.5vw, 2.35rem);
  }

  .site-banner-copy {
    flex: none;
    font-size: 0.9rem;
    line-height: 1.38;
  }

  .event-panel {
    padding: 12px;
  }

  .logo-plate {
    min-height: 92px;
    margin-bottom: 6px;
  }

  .event-panel dt {
    padding-top: 5px;
  }

  .section {
    padding: clamp(44px, 8vw, 80px) 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .workshop-card,
  .speaker-card,
  .price-card,
  .sponsor-card {
    min-height: auto;
  }

  .speaker-card {
    grid-template-columns: 1fr;
  }

  .speaker-photo {
    width: min(190px, 62vw);
    margin: 0 auto;
  }

  .hero-actions .button,
  .cta-row .button {
    width: 100%;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 430px) {
  .section,
  .hero-inner,
  .stats-strip,
  .site-footer {
    width: min(var(--max), calc(100% - 28px));
  }

  .section {
    padding: clamp(36px, 7vw, 64px) 0;
  }

  .theme-card,
  .workshop-card,
  .speaker-card,
  .price-card,
  .sponsor-card,
  .partner-card,
  .info-card,
  .governance-map article,
  .advisors {
    padding: 20px;
  }

  .event-panel {
    padding: 12px;
  }

  .event-logo {
    width: min(248px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Resources modal (PDF viewer) */
.doc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: rgba(20, 45, 99, 0.58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.doc-modal-overlay[hidden] {
  display: none;
}

.doc-modal {
  width: min(980px, 100%);
  height: 96vh;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 38px 80px rgba(0, 0, 0, 0.28);
  background: rgba(251, 251, 247, 0.96);
  display: flex;
  flex-direction: column;
}

.doc-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(16, 33, 47, 0.10);
}

.doc-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(16, 33, 47, 0.16);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 0;
  color: var(--ink);
}

.doc-modal-close:hover,
.doc-modal-close:focus-visible {
  border-color: rgba(160, 139, 94, 0.55);
  outline: none;
}

.doc-modal-open-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 33, 47, 0.14);
  background: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0.01em;
  color: var(--ink);
  font-size: 0.82rem;
}

.doc-modal-open-new:hover,
.doc-modal-open-new:focus-visible {
  border-color: rgba(160, 139, 94, 0.45);
  background: var(--aqua);
  outline: none;
}

.doc-modal-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
  display: flex;
  flex-direction: column;
}

.doc-modal-iframe {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
  border: 0;
  display: block;
  background: #fff;
}

.doc-modal-iframe[hidden] {
  display: none !important;
}

.doc-modal-fallback {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 20px 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.65);
}

.doc-modal-fallback[hidden] {
  display: none !important;
}

.doc-modal-fallback-text {
  margin: 0;
  max-width: 28rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(16, 33, 47, 0.88);
}

.doc-modal-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #142D63, #A08B5E);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 28px rgba(20, 45, 99, 0.28);
}

.doc-modal-primary:hover,
.doc-modal-primary:focus-visible {
  filter: brightness(1.05);
  outline: 2px solid rgba(160, 139, 94, 0.55);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .gallery-lightbox {
    padding: 0;
  }

  .gallery-lightbox-dialog {
    width: 100%;
    height: 100vh;
    max-height: none;
    border-radius: 0;
  }

  .gallery-lightbox-body {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    padding: 8px;
  }

  .gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .gallery-lightbox-prev {
    left: 8px;
  }

  .gallery-lightbox-next {
    right: 8px;
  }

  .doc-modal-overlay {
    padding: 0;
    align-items: stretch;
  }

  .doc-modal {
    width: 100%;
    height: 100vh;
    border-radius: 0;
  }

  .doc-modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Scroll reveal transitions (subtle, mobile-friendly) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  filter: blur(8px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 700ms ease;
  will-change: opacity, transform, filter;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
