/* ================================================================
   index.css — homepage
   Hero · Dispatches · Who We Are · SDG marquee · Partners · Colophon
   ================================================================ */

/* ================================================================
   SECTION HEADERS (shared small-caps meta + serif title)
   ================================================================ */
.section-head {
  max-width: var(--container);
  margin: 0 auto 60px;
  padding: 0 var(--pad-x);
}
.section-meta {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 30, "opsz" 144, "wght" 500;
  max-width: 16ch;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--signal);
  font-variation-settings: "SOFT" 100, "opsz" 144, "wght" 400;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  padding: 72px var(--pad-x) 64px;
  min-height: calc(100vh - var(--nav-h));
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(225,68,34,0.10), transparent 38%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}

/* Corner register marks */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  pointer-events: none;
}
.hero::before {
  top: 22px; left: 22px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.hero::after {
  bottom: 22px; right: 22px;
  border-bottom: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  position: relative;
  z-index: 2;
}

.hero-left { position: relative; }


.hero-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(54px, 9vw, 128px);
  line-height: 0.94;
  letter-spacing: -0.028em;
  font-variation-settings: "SOFT" 30, "opsz" 144, "wght" 500;
  margin-bottom: 36px;
  color: var(--ink);
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.9s var(--ease) forwards;
}
.hero-title .line-1 { animation-delay: 0.10s; }
.hero-title .line-2 { animation-delay: 0.28s; }
.hero-title .line-3 { animation-delay: 0.46s; }
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--signal);
  font-variation-settings: "SOFT" 100, "opsz" 144, "wght" 400;
  letter-spacing: -0.01em;
}
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-lede {
  max-width: 46ch;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(12px);
  animation: heroReveal 0.9s var(--ease) forwards 0.7s;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(12px);
  animation: heroReveal 0.9s var(--ease) forwards 0.85s;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
  max-width: 640px;
  padding-top: 18px;
  opacity: 0;
  transform: translateY(12px);
  animation: heroReveal 1s var(--ease) forwards 1s;
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
  padding-right: 16px;
  position: relative;
}
.hero-stats > div + div::before {
  content: "";
  position: absolute;
  left: -10px; top: 4px; bottom: 4px;
  width: 1px;
  background: var(--ink-20);
}
.hero-stats dt {
  flex-grow: 1;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 6px;
}
.hero-stats dd {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 20, "opsz" 144;
}

/* RIGHT — photo */
.hero-right {
  position: relative;
  min-height: 560px;
}

.hero-fig {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 520px;
  margin-left: auto;
  margin-bottom: 76px;
}
.hero-fig-plate {
  position: absolute;
  inset: 26px -26px -26px 26px;
  background: var(--signal);
  z-index: 0;
  opacity: 0;
  transform: translate(-8px,-8px);
  animation: heroReveal 1s var(--ease) forwards 0.3s;
}
.hero-fig img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.15) contrast(1.05) saturate(0.92);
  border: 1px solid var(--ink);
  opacity: 0;
  animation: heroReveal 1.1s var(--ease) forwards 0.5s;
}
.hero-fig figcaption {
  position: absolute;
  z-index: 2;
  left: 0;
  top: calc(100% + 42px);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-60);
}

/* ================================================================
   DISPATCHES (info cards)
   ================================================================ */
.dispatch {
  padding: 80px var(--pad-x) 32px;
  position: relative;
  z-index: 1;
}
.dispatch-photo {
  width: 100%;
  max-width: var(--container);
  aspect-ratio: 16 / 9;
  margin: 0 auto clamp(40px, 6vw, 80px);
  border: 1px solid var(--ink-20);
  background: var(--paper-2);
  overflow: hidden;
}
.dispatch-photo img { width: 100%; height: 100%; object-fit: cover; }
.dispatch > .section-head { padding: 0; }
.dispatch-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.card {
  position: relative;
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
  min-height: 360px;
  min-width: 0;
}
.card + .card { border-left: 1px solid var(--ink-20); }
.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--ink-20);
}
.card-title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(26px, 2.3vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 30, "opsz" 80;
}
.card:not(.card-feature):hover { background: var(--paper-3); }

.card-feature {
  background: var(--ink);
  color: var(--paper);
}
.card-feature .card-head { border-bottom-color: rgba(239,230,210,0.18); }

.dispatch-dates { display: grid; gap: 18px; }
.dispatch-dates > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  max-width: 520px;
  font-family: var(--f-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}
.dispatch-dates dt { color: var(--signal); }
.dispatch-countdown {
  margin-top: auto;
  padding: clamp(16px, 2.5vw, 32px);
  background: var(--signal);
  color: var(--ink);
  text-align: center;
}
.dispatch-countdown h4,
.dispatch-follow h4 {
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 600;
  line-height: 1.45;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.5vw, 20px);
  margin-top: 24px;
  margin-inline: auto;
  max-width: 420px;
}
.countdown-unit { min-width: 0; text-align: center; }
.countdown-face {
  display: grid;
  place-items: center;
  position: relative;
  height: clamp(48px, 6vw, 88px);
  background: var(--ink);
  border: 1px solid var(--ink-20);
  color: var(--paper);
  perspective: 400px;
}
.countdown-value {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 4.5vw, 64px);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown-value.is-changing { animation: countdownFlip 0.45s var(--ease); }
@keyframes countdownFlip {
  from { transform: rotateX(-70deg); opacity: 0.4; }
  to { transform: rotateX(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .countdown-value.is-changing { animation: none; }
}
.countdown-face::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  border-top: 1px solid rgba(239,230,210,0.25);
}
.countdown-label {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dispatch-sponsor-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  color: inherit;
}
.dispatch-sponsor-slots span {
  display: block;
  min-height: 64px;
  aspect-ratio: 3 / 2;
  border: 1px solid currentColor;
  opacity: 0.3;
}
.dispatch-follow { margin-top: auto; padding-top: 18px; }
.dispatch-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.dispatch-socials a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 500;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.dispatch-socials a:hover { background: var(--paper); color: var(--ink); }
.dispatch-grid a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

/* ================================================================
   WHO WE ARE
   ================================================================ */
.who {
  padding: 80px var(--pad-x);
  position: relative;
  z-index: 1;
}
.who-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}

.who-fig {
  position: relative;
  width: 100%;
  max-width: 520px;
}
.who-photo { position: relative; aspect-ratio: 4 / 5; }
.who-fig-plate {
  position: absolute;
  inset: 32px -32px -32px 32px;
  background: var(--ink);
  z-index: 0;
}
.who-fig-frame {
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid var(--ink);
  z-index: 0;
}
.who-fig img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.08) contrast(1.02);
}
.who-fig figcaption {
  position: relative;
  z-index: 2;
  margin-top: 52px;
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.who-copy { position: relative; padding-top: 6px; }
.who-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  font-variation-settings: "SOFT" 30, "opsz" 144, "wght" 500;
}
.who-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--signal);
  font-variation-settings: "SOFT" 100, "opsz" 144, "wght" 400;
}
.who-lede {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 48ch;
  margin-bottom: 44px;
  font-variation-settings: "opsz" 36;
  padding-left: 20px;
  border-left: 2px solid var(--signal);
}

.pledges { display: flex; flex-direction: column; }
.pledge {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--ink-20);
  position: relative;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease);
}
.pledge:last-child { border-bottom: 1px solid var(--ink-20); }
.pledge-num {
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(34px, 3.2vw, 44px);
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.02em;
  padding-top: 2px;
  font-variation-settings: "opsz" 144, "SOFT" 40;
  transition: color 0.3s var(--ease), transform 0.35s var(--ease);
}
.pledge-body h3 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  font-variation-settings: "SOFT" 20, "opsz" 48;
}
.pledge-body p {
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--ink-60);
  max-width: 58ch;
}
.pledge:hover .pledge-num { color: var(--signal); transform: translateX(-4px); }
.pledge:hover { padding-left: 10px; }

/* ================================================================
   SDG MARQUEE
   ================================================================ */
.sdg {
  padding: 80px 0 64px;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.sdg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(225,68,34,0.18), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, rgba(182,142,62,0.12), transparent 70%);
  pointer-events: none;
}

.sdg-head {
  max-width: var(--container);
  margin: 0 auto 56px;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 2;
}
.sdg-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--paper);
  font-variation-settings: "SOFT" 30, "opsz" 144, "wght" 500;
  max-width: 16ch;
}
.sdg-title em {
  font-style: italic;
  color: var(--signal);
  font-variation-settings: "SOFT" 100, "opsz" 144, "wght" 400;
}
.sdg-sub {
  margin-top: 18px;
  max-width: 54ch;
  font-size: 15px;
  color: rgba(239,230,210,0.72);
  line-height: 1.6;
}

.sdg-track {
  display: flex;
  width: max-content;
  gap: 20px;
  padding: 14px 0;
  white-space: nowrap;
  animation: marquee 80s linear infinite;
  will-change: transform;
  position: relative;
  z-index: 2;
}

.sdg-track.reverse {
  margin-top: 20px;
  animation: marqueeReverse 80s linear infinite;
  animation-delay: -35s;
}

.sdg-track:has(.sdg-tile.is-flipped) {
  animation-play-state: paused;
}

/* Translate by exactly one copy-width (half total + one gap) so the
   loop restart is visually identical to the start. */
@keyframes marquee {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(calc(-50% - 10px), 0, 0); }
}
@keyframes marqueeReverse {
  from { transform: translate3d(calc(-50% - 10px), 0, 0); }
  to   { transform: translate3d(0,0,0); }
}

.sdg-tile {
  flex-shrink: 0;
  width: 340px;
  height: 196px;
  position: relative;
  perspective: 1200px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  isolation: isolate;
}
.sdg-tile:hover:not(.is-flipped) {
  transform: translateY(-8px) rotate(-0.6deg);
}
.sdg-tile:hover:not(.is-flipped) .sdg-tile-inner {
  box-shadow: 0 22px 40px -24px rgba(0,0,0,0.55),
              0 6px 14px -10px rgba(0,0,0,0.35);
}

.sdg-tile-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translate3d(0,0,0) rotateY(0deg);
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.5s var(--ease);
}
.sdg-tile.is-flipped .sdg-tile-inner {
  transform: translate3d(0,0,0) rotateY(180deg);
  box-shadow: 0 22px 40px -24px rgba(0,0,0,0.55),
              0 6px 14px -10px rgba(0,0,0,0.35);
}

.sdg-tile-face {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  overflow: hidden;
  border: 1px solid rgba(14,26,44,0.22);
  background: var(--paper);
}
.sdg-tile-back { pointer-events: none; }
.sdg-tile.is-flipped .sdg-tile-front { pointer-events: none; }
.sdg-tile.is-flipped .sdg-tile-back  { pointer-events: auto; }
.sdg-tile-front {
  display: grid;
  grid-template-columns: 160px 1fr 26px;
  align-items: stretch;
  color: var(--ink);
}
.sdg-tile-front::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tile-color, var(--signal));
  opacity: 0;
  z-index: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.sdg-tile:hover:not(.is-flipped) .sdg-tile-front::before { opacity: 0.07; }

/* --- back face --- */
.sdg-tile-back {
  transform: rotateY(180deg);
  background: var(--tile-color, var(--signal));
  color: var(--paper);
  padding: 16px 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  white-space: normal;
}
.sdg-tile-back::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,0.18), transparent 55%);
  pointer-events: none;
}
.sdg-tile-back-head { display: flex; flex-direction: column; gap: 4px; }
.sdg-tile-back-meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.85;
}
.sdg-tile-back-name {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  font-variation-settings: "SOFT" 30, "opsz" 60;
}
.sdg-tile-desc {
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  color: rgba(255,255,255,0.94);
  display: block;
  overscroll-behavior: contain;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}
.sdg-tile-back-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.sdg-tile-source {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  font-style: italic;
}
.sdg-tile-back-close {
  appearance: none;
  background: rgba(255,255,255,0.12);
  color: var(--paper);
  border: 1px solid rgba(255,255,255,0.45);
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.sdg-tile-back-close:hover {
  background: rgba(255,255,255,0.24);
  transform: translateX(-2px);
}
.sdg-tile-back-close-ar { display: inline-block; transition: transform 0.25s var(--ease); }
.sdg-tile-back-close:hover .sdg-tile-back-close-ar { transform: translateX(-3px); }

.sdg-tile-icon {
  position: relative;
  background: var(--tile-color, var(--signal));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}
.sdg-tile-icon::after {
  /* subtle radial shine */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,0.25), transparent 55%);
  pointer-events: none;
}
.sdg-tile-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.5s var(--ease);
  display: block;
  position: relative;
  z-index: 1;
}
.sdg-tile:hover .sdg-tile-icon img {
  transform: scale(1.08) rotate(-1deg);
  filter: saturate(1.1) contrast(1.05);
}
.sdg-tile-fallback {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 62px;
  letter-spacing: 0.02em;
  color: var(--paper);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 0;
}
.sdg-tile.no-img .sdg-tile-icon img { display: none; }
.sdg-tile.no-img .sdg-tile-fallback { opacity: 1; z-index: 2; }

.sdg-tile-body {
  position: relative;
  z-index: 1;
  padding: 16px 18px 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  overflow: hidden;
  gap: 16px;
}
.sdg-tile-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.sdg-tile-meta-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--tile-color, var(--signal));
  box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
  transition: transform 0.35s var(--ease);
}
.sdg-tile:hover .sdg-tile-meta-dot { transform: scale(1.4); }

.sdg-tile-name {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "SOFT" 30, "opsz" 60;
  max-width: 14ch;
  white-space: normal;
}

.sdg-tile-cta {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(14,26,44,0.22);
  padding: 7px 12px;
  font: inherit;
  cursor: pointer;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
  transform: translateY(2px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
              background 0.35s var(--ease), border-color 0.35s var(--ease),
              color 0.35s var(--ease);
}
.sdg-tile-cta:hover {
  background: var(--tile-color, var(--signal));
  border-color: var(--tile-color, var(--signal));
  color: var(--paper);
}
.sdg-tile-cta-ar {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.sdg-tile:hover:not(.is-flipped) .sdg-tile-cta { opacity: 1; transform: translateY(0); }
.sdg-tile:hover:not(.is-flipped) .sdg-tile-cta-ar { transform: translateX(4px); }

.sdg-tile-side {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 10px 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: var(--tile-color, var(--signal));
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ================================================================
   PARTNERS
   ================================================================ */
.partners {
  padding: 80px var(--pad-x) 64px;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.partners-head { margin-bottom: 48px; max-width: 720px; }
.partners-sub {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-60);
  max-width: 54ch;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.partner-slot {
  aspect-ratio: 4 / 3;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg,
      transparent 0 12px, var(--ink-10) 12px 13px);
  transition: background 0.35s var(--ease);
}
.partner-slot:hover { background: var(--paper-3); }
.slot-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-40);
  background: var(--paper);
  padding: 6px 12px;
  border: 1px solid var(--ink-20);
}
.partners-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  font-family: var(--f-serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-variation-settings: "SOFT" 50, "opsz" 60;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease), border-color 0.3s var(--ease);
}
.partners-cta:hover { color: var(--signal); gap: 22px; border-color: var(--signal); }

/* ================================================================
   EXTRA MOTION — pledge underline, partner shimmer, etc.
   ================================================================ */

/* Animated underline beneath each pledge title */
.pledge-body h3 {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}
.pledge-body h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.pledge:hover .pledge-body h3::after { transform: scaleX(1); }

/* Partner slot — shimmer sweep on hover */
.partner-slot {
  overflow: hidden;
}
.partner-slot::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -120%;
  width: 60%;
  background: linear-gradient(115deg,
    transparent 0%, rgba(225,68,34,0.18) 50%, transparent 100%);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}
.partner-slot:hover::before {
  transform: translateX(260%);
}

/* Nav brand subtle letter wiggle on hover */
.nav-brand-mark { display: inline-flex; gap: 0; }
.nav-brand:hover .nav-brand-mark {
  animation: brandPulse 1.2s var(--ease);
}
@keyframes brandPulse {
  0%, 100% { letter-spacing: 0.02em; }
  50%      { letter-spacing: 0.06em; }
}

/* Button magnetic sheen */
.btn-solid { overflow: hidden; }
.btn-solid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.btn-solid:hover::before { transform: translateX(120%); }

/* ================================================================
   NEWSLETTER DIALOG
   ================================================================ */
body.newsletter-open { overflow: hidden; }

.newsletter-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(480px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid var(--ink);
  background: var(--paper-3);
  color: var(--ink);
  box-shadow: 0 20px 64px rgba(14, 26, 44, 0.2);
}
.newsletter-dialog::backdrop { background: rgba(14, 26, 44, 0.55); }
.newsletter-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}
.newsletter-close:hover { color: var(--signal); }
.newsletter-eyebrow,
.newsletter-form label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.newsletter-eyebrow { margin: 0 28px 20px 0; }
.newsletter-dialog h2 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.newsletter-description {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
}
.newsletter-form { margin-top: 28px; }
.newsletter-form input {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
}
.newsletter-form input::placeholder { color: var(--ink-60); }
.newsletter-availability {
  margin-top: 12px;
  color: var(--ink-60);
  font-size: 13px;
  line-height: 1.5;
}
.newsletter-submit { margin-top: 24px; width: 100%; justify-content: center; }
.newsletter-submit:disabled {
  background: var(--ink-10);
  border-color: var(--ink-20);
  color: var(--ink-60);
  cursor: not-allowed;
}
.newsletter-submit:disabled::before { display: none; }
#newsletterOpen:focus-visible,
.newsletter-dialog :focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1120px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { min-height: 420px; margin-top: 32px; }
  .hero-fig { margin-left: 0; max-width: 460px; }
}
@media (max-width: 900px) {
  .dispatch-grid { grid-template-columns: 1fr; }
  .card + .card { border-left: 0; border-top: 1px solid var(--ink-20); }
  .who-inner { grid-template-columns: 1fr; }
  .who-fig { max-width: 100%; margin-bottom: 32px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .dispatch-grid .card { padding: 28px 20px; }
  .hero { padding: 48px var(--pad-x); }
  .dispatch { padding: 48px var(--pad-x) 24px; }
  .who, .partners { padding-block: 48px; }
  .sdg { padding: 48px 0; }
  .hero-title { font-size: 56px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .hero-stats > div:nth-child(3)::before { display: none; }
  .hero-stats > div:last-child { grid-column: 1 / -1; }
  .pledge { grid-template-columns: 52px 1fr; gap: 18px; }
  .sdg-tile {
    width: 280px; height: 172px;
  }
  .sdg-tile-name { font-size: 17px; }
}

/* Copy revisions retain the existing section and statistic treatments. */
.glance-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.dispatch-sub {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-60);
}
.hero-inner > *, .who-inner > * { min-width: 0; }
.slot-label { text-align: center; }
.sdg-track:focus-within { animation-play-state: paused; }
.sdg-tile-cta {
  max-width: 100%;
  white-space: normal;
  text-align: left;
  line-height: 1.4;
  letter-spacing: 0.14em;
}
.sdg-tile-cta-ar { flex-shrink: 0; }
@media (max-width: 640px) {
  .hero-title { overflow-wrap: anywhere; }
  .sdg-tile-front { grid-template-columns: 128px 1fr 22px; }
  .sdg-tile-body { padding: 12px; }
  .sdg-tile-meta { letter-spacing: 0.12em; font-size: 9px; }
  .sdg-tile-cta { padding: 7px; letter-spacing: 0.12em; }
  .hero-fig-plate { inset: 20px -16px -16px 16px; }
  .who-fig-plate { inset: 20px -16px -16px 16px; }
  .slot-label { font-size: 9px; letter-spacing: 0.12em; padding: 6px; }
}

@media (max-width: 374px) {
  .hero-title { font-size: 48px; }
}
