/* ==========================================================================
   Inner pages — heroes, prose, galleries, forms, hubs
   ========================================================================== */

/* Breadcrumbs ------------------------------------------------------------- */
.breadcrumbs {
  margin-bottom: 1.6rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--line);
  font-weight: 400;
}

.breadcrumbs a {
  color: var(--ink-2);
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--orange-deep);
}

.breadcrumbs [aria-current] {
  color: var(--muted);
}

/* Page hero --------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 2rem 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper), var(--cream));
}

.page-hero__glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 124, 44, 0.13), transparent 68%);
  pointer-events: none;
}

.page-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.page-hero__grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.page-hero__grid--single .page-hero__copy {
  max-width: 820px;
}

.page-hero__title {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.02;
  max-width: 18ch;
}

.page-hero__title em {
  font-style: italic;
  font-weight: 600;
  color: var(--orange-deep);
}

.page-hero__lede {
  max-width: 58ch;
  margin-top: 1.3rem;
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  color: var(--muted);
}

.page-hero__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article layout ---------------------------------------------------------- */
.page-body {
  background: var(--paper);
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.page-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.prose {
  min-width: 0;
  max-width: 74ch;
  font-size: 1.02rem;
  color: #253248;
}

.prose > * + * {
  margin-top: 1.15rem;
}

.prose h2 {
  margin-top: 2.6rem;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  line-height: 1.12;
}

.prose h3 {
  margin-top: 2.1rem;
  font-size: clamp(1.2rem, 1.9vw, 1.42rem);
}

.prose h4 {
  margin-top: 1.8rem;
  font-size: 1.06rem;
}

.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
  margin-top: 0.7rem;
}

.prose p {
  line-height: 1.78;
}

.prose a {
  color: var(--orange-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.prose a:hover {
  color: var(--ink);
}

.prose strong {
  font-weight: 700;
  color: var(--ink);
}

.prose blockquote {
  margin: 2rem 0;
  padding: 1.6rem 1.8rem;
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--cream);
  font-family: var(--font-serif);
  font-size: 1.24rem;
  line-height: 1.45;
  color: var(--ink);
}

.prose blockquote p {
  margin: 0;
}

.prose-figure {
  margin: 2rem 0;
}

.prose-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.prose-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.prose-lede {
  font-size: 1.16rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.prose-note {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.prose--narrow {
  max-width: 720px;
  margin-inline: auto;
}

.prose-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0;
}

.prose-list li {
  position: relative;
  padding-left: 1.4rem;
  line-height: 1.65;
}

.prose-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.prose-list--ordered {
  counter-reset: item;
}

.prose-list--ordered li {
  counter-increment: item;
  padding-left: 2.1rem;
}

.prose-list--ordered li::before {
  content: counter(item, decimal-leading-zero);
  top: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--orange-deep);
}

.prose-action {
  margin-top: 2rem;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 1.6rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table-wrap th,
.table-wrap td {
  padding: 0.8rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.table-wrap th {
  background: var(--cream-2);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.table-wrap tr:last-child td {
  border-bottom: 0;
}

/* Sidebar */
.page-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.page-aside__inner {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.page-aside h2 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.aside-list {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.aside-list dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.aside-list dd {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
}

.aside-download {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1.2rem;
  padding: 0.8rem;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cream);
  transition: background 0.2s;
}

.aside-download:hover {
  background: var(--ink-2);
}

.aside-download .icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.aside-download strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.3;
}

.aside-download small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: rgba(250, 245, 234, 0.6);
}

.aside-links {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.aside-links h3 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.aside-links ul {
  display: grid;
  gap: 0.7rem;
}

/* Callouts and download cards --------------------------------------------- */
.callout {
  margin: 1.8rem 0;
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.callout--note {
  border-left: 3px solid var(--gold);
}

.callout__label {
  margin-bottom: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.callout p {
  margin: 0 0 0.6rem;
  font-size: 0.94rem;
}

.callout .link-arrow {
  margin-top: 0.2rem;
}

.pdf-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cream);
  transition: transform 0.25s var(--ease), background 0.25s;
}

.pdf-card:hover {
  background: var(--ink-2);
  transform: translateY(-2px);
}

.pdf-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: rgba(232, 169, 62, 0.16);
  color: var(--gold);
}

.pdf-card strong {
  display: block;
  font-size: 1rem;
}

.pdf-card small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: rgba(250, 245, 234, 0.65);
}

/* Galleries --------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 2rem 0;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 14px;
  background: var(--cream-2);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.045);
}

.gallery__zoom {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(11, 28, 56, 0.78);
  color: #fff;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
}

.gallery__item:hover .gallery__zoom,
.gallery__item:focus-visible .gallery__zoom {
  opacity: 1;
  transform: none;
}

.gallery__zoom .icon {
  width: 14px;
  height: 14px;
}

/* Lightbox ---------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 36, 0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
}

.lightbox__figure {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.lightbox__figure img {
  width: auto;
  max-width: 100%;
  max-height: 76vh;
  margin-inline: auto;
  border-radius: 12px;
  object-fit: contain;
  background: transparent;
}

.lightbox__figure figcaption {
  margin-top: 0.8rem;
  font-size: 0.84rem;
  color: rgba(250, 245, 234, 0.75);
}

.lightbox__close {
  position: absolute;
  top: -2.4rem;
  right: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(250, 245, 234, 0.12);
  color: var(--cream);
}

.lightbox__close:hover {
  background: var(--orange);
}

.lightbox__nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(250, 245, 234, 0.12);
  color: var(--cream);
  transition: background 0.2s;
}

.lightbox__nav:hover {
  background: var(--orange);
}

.lightbox__count {
  position: absolute;
  left: 50%;
  bottom: -1.9rem;
  transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(250, 245, 234, 0.6);
}

body.no-scroll {
  overflow: hidden;
}

/* Video ------------------------------------------------------------------- */
.video-block {
  margin: 1.8rem 0;
}

.video-block video {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--ink);
}

.video-block figcaption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.event-videos {
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.event-videos h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 1.2rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.video-note {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.playlist {
  margin-top: 2.2rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
}

.playlist h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.playlist ul {
  display: grid;
  gap: 0.5rem;
}

.playlist__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
}

.playlist__item:hover {
  border-color: var(--orange);
  transform: translateX(2px);
}

.playlist__play {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
}

.playlist__play .icon {
  width: 14px;
  height: 14px;
}

.playlist__title {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
}

.playlist__time {
  font-size: 0.76rem;
  color: var(--muted);
}

.playlist__note {
  margin-top: 0.8rem;
  font-size: 0.76rem;
  color: var(--muted);
}

/* Info cards (approach / governance) -------------------------------------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.8rem 0;
}

.info-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.info-card h2 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}

.info-card__body {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
}

.info-card__body strong {
  color: var(--ink);
}

/* Event hero -------------------------------------------------------------- */
.event-hero {
  position: relative;
  padding: 2rem 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, var(--paper), var(--cream));
  overflow: hidden;
}

.event-hero__glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 79, 160, 0.12), transparent 70%);
}

.event-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.event-hero__title {
  margin-top: 1rem;
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
  line-height: 1.03;
}

.event-hero__lede {
  max-width: 56ch;
  margin-top: 1.1rem;
  font-size: 1.06rem;
  color: var(--muted);
}

.event-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.7rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.event-hero__facts span {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.event-hero__facts strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink);
}

.event-hero__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  margin: 0;
}

.event-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-hero__media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 1.2rem 1rem;
  background: linear-gradient(transparent, rgba(11, 28, 56, 0.8));
  font-size: 0.78rem;
  color: rgba(250, 245, 234, 0.9);
}

/* Event highlights */
.event-highlights {
  margin: 0 0 2rem;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cream);
}

.event-highlights h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.event-highlights ul {
  display: grid;
  gap: 0.65rem;
}

.event-highlights li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(250, 245, 234, 0.88);
}

.event-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

/* Share ------------------------------------------------------------------- */
.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.share__label {
  width: 100%;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.share__link {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.share__link:hover {
  border-color: var(--orange);
  color: var(--orange-deep);
}

/* Upcoming panel ---------------------------------------------------------- */
.upcoming-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}

.upcoming-panel__copy p {
  margin-top: 0.9rem;
  color: rgba(250, 245, 234, 0.75);
}

.upcoming-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.2rem;
  font-size: 0.86rem;
}

.upcoming-panel__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
}

.upcoming-panel__note {
  margin-top: 0.9rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--orange);
  font-size: 0.84rem;
  color: rgba(250, 245, 234, 0.65) !important;
}

.upcoming-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.upcoming-panel__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  margin: 0;
}

.upcoming-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upcoming-panel__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Hub extras -------------------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.story-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.story-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.story-card:hover .story-card__media img {
  transform: scale(1.04);
}

.story-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.2rem;
}

.story-card__kicker {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.story-card h2,
.story-card h3 {
  font-size: 1.18rem;
  line-height: 1.2;
}

.story-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.story-card .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}

.impact-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: 3rem;
}

.impact-feature__copy > p {
  margin-top: 1rem;
  color: var(--muted);
}

.impact-feature .ba {
  margin: 0;
}

.impact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.impact-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.3rem 1rem;
  align-items: center;
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cream);
  transition: background 0.25s, transform 0.25s;
}

.impact-link:hover {
  background: var(--ink-2);
  transform: translateY(-2px);
}

.impact-link span {
  grid-column: 1;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.impact-link strong {
  grid-column: 1;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.impact-link .icon {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--orange);
}

/* Team -------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.team-card--lead {
  border-color: rgba(239, 124, 44, 0.45);
}

.team-card__media {
  aspect-ratio: 316 / 368;
  overflow: hidden;
  background: var(--cream-2);
}

.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card__body {
  padding: 1rem 1.05rem 1.15rem;
}

.team-card__body h3 {
  font-size: 1.05rem;
}

.team-card__body p {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.team-note {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-top: 2.5rem;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid var(--line);
}

.team-note p {
  margin-top: 0.6rem;
  color: var(--muted);
  max-width: 62ch;
}

.team-note__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Forms ------------------------------------------------------------------- */
.page-form {
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.site-form {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
}

.site-form__head h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.site-form__head p {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-2);
}

.form-optional {
  font-weight: 400;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239, 124, 44, 0.15);
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: #c0392b;
}

.form-error {
  margin: 0;
  font-size: 0.76rem;
  color: #b03024;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkbox {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}

.checkbox input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 0.15rem;
  accent-color: var(--orange);
}

.checkbox a {
  color: var(--orange-deep);
  text-decoration: underline;
}

.site-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
}

.site-form__actions .form-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.site-form__actions a {
  color: var(--orange-deep);
  text-decoration: underline;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-status.is-success {
  color: var(--green-deep);
}

.form-status.is-error {
  color: #b03024;
}

.site-form.is-sending {
  opacity: 0.75;
  pointer-events: none;
}

/* 404 --------------------------------------------------------------------- */
.error-page {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: var(--cream);
  overflow: hidden;
}

.error-page__inner {
  position: relative;
  max-width: 640px;
  text-align: center;
}

.error-page__code {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 700;
  line-height: 0.8;
  color: var(--orange);
  opacity: 0.22;
}

.error-page h1 {
  margin-top: 1.2rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.error-page h1 em {
  color: var(--orange-deep);
  font-style: italic;
}

.error-page p {
  margin-top: 1rem;
  color: var(--muted);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.error-page__links a {
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.error-page__links a:hover {
  color: var(--orange-deep);
  border-color: var(--orange);
}

/* Partner strip ----------------------------------------------------------- */
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.partner-logo {
  display: grid;
  place-items: center;
  width: 190px;
  height: 100px;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

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

.partner-name {
  display: grid;
  place-items: center;
  min-width: 150px;
  height: 100px;
  padding: 0.8rem 1.1rem;
  border: 1px dashed var(--line);
  border-radius: 16px;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--muted);
}

/* Stat band --------------------------------------------------------------- */
.stat-band {
  margin-top: 0;
}

/* Light-background variant used on the impact hub. */
.section--impact .impact__stats {
  border-top-color: rgba(19, 32, 58, 0.12);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section--impact .impact-stat {
  border-right-color: rgba(19, 32, 58, 0.12);
}

.section--impact .impact-stat__label {
  color: var(--muted);
}

.section--impact .impact__quote p {
  color: var(--ink);
}

.section--impact .impact__quote cite {
  color: var(--muted);
}

/* CTA band ---------------------------------------------------------------- */
.cta-band {
  background: var(--ink);
  color: var(--cream);
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band__inner p:not(.eyebrow) {
  margin-top: 0.8rem;
  color: rgba(250, 245, 234, 0.7);
  max-width: 52ch;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cta-band__ghost {
  border-color: rgba(250, 245, 234, 0.35);
  color: var(--cream);
}

.cta-band__ghost:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

/* Related ----------------------------------------------------------------- */
.related {
  background: var(--cream);
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .page-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 2.4rem;
  }

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

@media (max-width: 900px) {
  .page-hero__grid,
  .event-hero__grid,
  .upcoming-panel,
  .impact-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero__media,
  .event-hero__media {
    max-width: 620px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-aside {
    position: static;
    order: 2;
  }

  .story-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-note {
    grid-template-columns: 1fr;
  }

  .event-hero__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .video-grid,
  .info-grid,
  .story-grid,
  .story-grid--three,
  .impact-links,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .lightbox {
    padding: 1rem;
  }

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

  .lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .lightbox__nav--prev {
    left: 0.2rem;
  }

  .lightbox__nav--next {
    right: 0.2rem;
  }

  .lightbox__count {
    bottom: -1.6rem;
  }

  .cta-band__inner {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .page-hero {
    padding-top: 1.2rem;
  }

  .page-hero__title,
  .event-hero__title {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .gallery {
    gap: 0.45rem;
  }

  .event-hero__facts {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .team-card__media {
    aspect-ratio: 4 / 3;
  }

  .breadcrumbs {
    font-size: 0.68rem;
  }

  .pdf-card {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery__item img,
  .story-card,
  .story-card__media img,
  .impact-link,
  .pdf-card {
    transition: none;
  }
}
