/* World Humanity Parliament
   Institutional layout: deep brand blue, serif headlines, open sans body.
   Inspired by the clarity of who.int, built around the existing WHP emblem. */

:root {
  --blue: #000e8c;
  --blue-deep: #07143a;
  --blue-mid: #0c2f86;
  --sky: #e7f2fa;
  --sky-2: #f4f8fb;
  --ink: #17202b;
  --muted: #4e5d6c;
  --line: #d5e0ea;
  --gold: #a68446;
  --white: #ffffff;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --header: 76px;
  --shadow: 0 16px 40px rgba(7, 20, 58, 0.08);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--blue); }
a:hover { color: var(--blue-mid); }

:focus-visible {
  outline: 3px solid #1a8fd0;
  outline-offset: 3px;
}

::selection { background: #c9e4f6; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--white);
  color: var(--blue);
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-narrow { width: min(760px, calc(100% - 2.5rem)); margin-inline: auto; }

/* Top bar and header */

.topbar {
  background: var(--blue);
  color: #fff;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 36px;
}
.topbar p { margin: 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 220px; height: 55px; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.45rem 0.7rem;
  border-radius: 2px;
  cursor: pointer;
}
.nav-toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue);
  box-shadow: 0 5px 0 var(--blue), 0 -5px 0 var(--blue);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.7rem;
  color: var(--blue-deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-list > li > a:hover,
.nav-list > li > a[aria-current="page"] {
  color: var(--blue);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.has-sub { position: relative; }
.sub-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.sub-toggle::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-2px) rotate(45deg);
}
.sub {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 190px;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
}
.has-sub:hover > .sub,
.has-sub:focus-within > .sub,
.has-sub.open > .sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.sub a {
  display: block;
  padding: 0.45rem 1rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.sub a:hover,
.sub a[aria-current="page"] { background: var(--sky-2); color: var(--blue); }

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 560px;
  background: var(--blue-deep);
  color: #fff;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem 0 4.5rem 6vw;
  padding-right: 3rem;
  max-width: 680px;
}
.hero-kicker {
  margin: 0 0 1rem;
  color: #d7e6f5;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-kicker::before {
  content: "";
  display: inline-block;
  width: 2.2rem;
  height: 2px;
  margin-right: 0.7rem;
  background: var(--gold);
  vertical-align: middle;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 4.6vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 38rem;
  color: #d5e2ef;
  font-size: 1.15rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.hero-figure { position: relative; min-height: 420px; }
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% 78%;
  position: absolute;
  inset: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--blue);
  border-radius: 2px;
  cursor: pointer;
}
.btn:hover { background: var(--blue-mid); border-color: var(--blue-mid); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn-line {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-line:hover { background: var(--blue); color: #fff; }

/* Sections */

.section { padding: 4.5rem 0; }
.section-tight { padding: 3.2rem 0; }
.band { background: var(--sky-2); }
.band-navy { background: var(--blue-deep); color: #fff; }
.band-blue { background: var(--blue); color: #fff; }

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.band-navy .eyebrow,
.band-blue .eyebrow { color: #f0d7a2; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 0.8rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.45rem; }

.lede { font-size: 1.15rem; color: var(--muted); margin: 0; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.center { text-align: center; }
.center .section-head { margin-inline: auto; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--blue-deep);
  color: #fff;
}
.stat {
  padding: 1.8rem 1.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat span { display: block; margin-top: 0.45rem; color: #c5d4e6; font-size: 0.95rem; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pillar {
  padding: 1.6rem 1.4rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
}
.pillar p { margin: 0 0 1rem; color: var(--muted); }
.pillar a.more {
  font-weight: 700;
  text-decoration: none;
}
.pillar a.more:hover { text-decoration: underline; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.split img { width: 100%; border: 1px solid var(--line); }
.split p { color: var(--muted); }

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.quote {
  margin: 0;
  padding: 1.4rem 1.3rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--blue-deep);
}
.quote figcaption {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: auto;
}
.quote img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  flex: none;
}
.quote strong { display: block; font-size: 0.95rem; }
.quote em { display: block; font-style: normal; color: var(--muted); font-size: 0.85rem; }

.countries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.country {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  min-height: 84px;
}
.country:hover { border-color: var(--blue); color: inherit; }
.country img { width: 56px; height: 36px; object-fit: cover; border: 1px solid var(--line); }
.flag-fallback {
  width: 56px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.country b { display: block; }
.country span { color: var(--muted); font-size: 0.85rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.story {
  display: grid;
  grid-template-columns: 168px 1fr;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  min-height: 140px;
}
.story:hover { border-color: var(--blue); color: inherit; }
.story img { width: 100%; height: 100%; object-fit: cover; }
.story div { padding: 1rem 1.1rem; }
.story time { color: var(--muted); font-size: 0.82rem; }
.story h3 { font-size: 1.12rem; margin: 0.25rem 0 0; }

.founder-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.founder-band p { color: #d5e2ef; }
.portrait-frame img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: 18% 72%;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.cta-band h2 { margin: 0.2rem 0 0; }
.sanskrit {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* Inner pages */

.page-hero {
  background:
    linear-gradient(180deg, var(--sky-2), #fff 80%);
  border-bottom: 1px solid var(--line);
  padding: 2.2rem 0 2rem;
}
.page-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); max-width: 20ch; }
.page-hero .lede { margin-top: 0.8rem; max-width: 46rem; }

.crumbs { margin: 0 0 0.9rem; font-size: 0.88rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.crumbs a { color: var(--blue); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: #9aabba; }

.prose { font-size: 1.08rem; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1rem; }
.prose h2 { margin: 2rem 0 0.7rem; font-size: 1.7rem; }
.prose h3 { margin: 1.5rem 0 0.5rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { margin: 0.3rem 0; }
.prose a { text-underline-offset: 0.15em; }
.prose figure { margin: 1.4rem 0; }
.prose img { border: 1px solid var(--line); background: var(--sky-2); }
.prose blockquote {
  margin: 1.4rem 0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 3px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--blue-deep);
}
.prose iframe { width: 100%; min-height: 220px; border: 0; }

.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}
.bio-grid > img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: 30% 18%;
  border: 1px solid var(--line);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 3rem;
  align-items: start;
  padding: 2.5rem 0 4rem;
}
.side {
  position: sticky;
  top: calc(var(--header) + 1rem);
  padding: 1.1rem 1rem;
  border: 1px solid var(--line);
  background: var(--sky-2);
  font-size: 0.95rem;
}
.side h2 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 0.7rem; }
.side ol, .side ul { margin: 0; padding-left: 1.1rem; }
.side a { text-decoration: none; font-weight: 600; }
.side a:hover { text-decoration: underline; }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag:hover { border-color: var(--blue); }

.aims { list-style: none; margin: 0; padding: 0; counter-reset: aim; }
.aims li {
  counter-increment: aim;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.aims li::before {
  content: counter(aim, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--blue);
  line-height: 1.3;
}
.aims p { margin: 0; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 1.1rem 1.3rem;
  border-left: 2px solid var(--line);
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}

.roles { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.roles li {
  padding: 0.45rem 0.7rem;
  background: var(--sky);
  color: var(--blue-deep);
  font-weight: 600;
  font-size: 0.92rem;
}

.callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1.5rem 0 0.5rem;
}
.callout {
  padding: 1rem;
  background: var(--sky-2);
  border-top: 3px solid var(--gold);
}
.callout b { display: block; font-family: var(--serif); font-size: 1.45rem; color: var(--blue); }
.callout span { color: var(--muted); font-size: 0.92rem; }

.record-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.record-tools input[type="search"] {
  width: min(360px, 100%);
  min-height: 46px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips a {
  text-decoration: none;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue-deep);
}
.chips a[aria-current="page"],
.chips a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.record-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.record-list li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.record-list time { color: var(--muted); font-size: 0.9rem; }
.record-list a.title { color: var(--ink); font-weight: 650; text-decoration: none; }
.record-list a.title:hover { color: var(--blue); text-decoration: underline; }
.empty-note { color: var(--muted); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.gallery a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sky-2);
  border: 1px solid var(--line);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery a:hover img { transform: scale(1.03); }

dialog#lightbox {
  width: min(1100px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  border: 0;
  padding: 0.6rem;
  background: #071018;
}
dialog#lightbox::backdrop { background: rgba(7, 16, 24, 0.82); }
dialog#lightbox img { max-height: calc(100vh - 6rem); margin: 0 auto; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: #fff;
  color: var(--blue-deep);
  border: 0;
  padding: 0.4rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.moments {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.7rem;
}
.moments figure { margin: 0; position: relative; }
.moments img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.moments figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1.4rem 1rem 0.8rem;
  background: linear-gradient(transparent, rgba(7, 20, 58, 0.82));
  color: #fff;
  font-weight: 600;
}

.event {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
}
.event img { width: 100%; height: 100%; object-fit: cover; max-height: 240px; }
.event div { padding: 1.2rem 1.2rem 1.2rem 0; }
.when {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}
.address-card {
  padding: 1.3rem;
  background: var(--sky-2);
  border-top: 3px solid var(--blue);
}
.address-card a { font-weight: 700; }
.map {
  margin-top: 1rem;
  border: 1px solid var(--line);
  min-height: 280px;
  background: var(--sky);
}
.map iframe { width: 100%; height: 320px; border: 0; }

form.stack { display: grid; gap: 0.85rem; }
label { display: grid; gap: 0.3rem; font-weight: 650; font-size: 0.92rem; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}
textarea { min-height: 160px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

.note { color: var(--muted); font-size: 0.92rem; }

/* Footer */

.site-footer { background: var(--blue-deep); color: #d5e2ef; padding: 3rem 0 1.2rem; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2rem;
}
.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.8rem;
}
.site-footer a { color: #d5e2ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.foot-brand p { margin: 0.6rem 0 0; max-width: 32ch; }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}
.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* Responsive */

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    max-height: calc(100vh - var(--header));
    overflow: auto;
  }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 0.4rem 0 0.8rem; }
  .nav-list > li > a { padding: 0.35rem 1.25rem; }
  .sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    display: none;
    padding-left: 0.6rem;
  }
  .has-sub.open > .sub { display: block; }
  .hero, .split, .founder-band, .article-layout, .contact-grid, .event, .moments, .stats, .pillars, .quotes, .countries, .cards, .foot-grid, .callouts, .bio-grid {
    grid-template-columns: 1fr;
  }
  .has-sub { display: flex; align-items: center; justify-content: space-between; }
  .sub-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; }
  .hero-copy { padding: 2.4rem 1.25rem 2rem; max-width: none; }
  .hero-figure { min-height: 320px; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .story { grid-template-columns: 120px 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .cta-band, .legal, .topbar-inner { flex-direction: column; align-items: flex-start; }
  .event div { padding: 0 1rem 1rem; }
  .side { position: static; }
  .record-list li { grid-template-columns: 1fr; gap: 0.2rem; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), calc(100% - 1.5rem)); }
  .brand img { width: 180px; height: 45px; }
  .quotes, .countries, .cards, .gallery, .callouts { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story img { height: 180px; }
  .topbar { display: none; }
}
