/* Page-specific styles: hero variants, cause cards, stats, donate modal, etc. */

/* ===== Hero variants (home) ===== */
.hero { position: relative; }

/* Variant A — Full-bleed photograph with overlaid headline */
.hero--bleed {
  min-height: 88vh;
  display: flex; align-items: flex-end;
  background: var(--c-ink); color: var(--c-bg);
  overflow: hidden;
  position: relative;
}
.hero--bleed .hero__bgs { position: absolute; inset: 0; }
.hero--bleed .hero__bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero--bleed .hero__bg.is-active { opacity: 1; }
.hero--bleed .hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.68; transform: scale(1.02); transition: transform 8s ease-out; }
.hero--bleed .hero__bg.is-active img { transform: scale(1.08); }

/* Slide content */
.hero--bleed .hero__slides { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 160px; min-height: 88vh; display: block; }
.hero--bleed .hero__slide {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 160px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none; max-width: 1400px;
}
.hero--bleed .hero__slide.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.hero--bleed .hero__badge {
  display: inline-block; padding: 8px 14px; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(8px);
  color: #fff; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-family: var(--font-display); border-radius: 2px;
}
.hero--bleed .hero__slide h1 { color: var(--c-bg); max-width: 16ch; font-size: clamp(48px, 8vw, 112px); line-height: 0.98; margin-top: 20px; }
.hero--bleed .hero__slide h1 em { font-style: italic; color: var(--c-accent); }
.hero--bleed .hero__slide .hero__lede { max-width: 54ch; color: rgba(255,255,255,0.85); font-size: var(--fs-4); margin-top: 24px; }
.hero--bleed .hero__slide .hero__cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero--bleed .hero__btn-ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.hero--bleed .hero__btn-ghost:hover { background: rgba(255,255,255,0.1); }
.hero--bleed::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.5) 55%, rgba(10,10,10,0.85) 100%);
}
.hero--bleed .hero__nav {
  position: absolute; bottom: 76px; left: var(--gutter); right: var(--gutter); z-index: 4;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.hero--bleed .hero__dot {
  flex: 1 1 120px; min-width: 100px; max-width: 220px;
  background: transparent; border: 0; padding: 12px 0 10px; cursor: pointer;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  text-align: left;
}
.hero--bleed .hero__dot-label {
  color: rgba(255,255,255,0.6); font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  transition: color 0.3s;
}
.hero--bleed .hero__dot.is-active .hero__dot-label { color: #fff; }
.hero--bleed .hero__dot-bar {
  width: 100%; height: 2px; background: rgba(255,255,255,0.2); position: relative; overflow: hidden;
}
.hero--bleed .hero__dot-fill {
  position: absolute; inset: 0; background: var(--c-accent); transform: translateX(-101%);
}
.hero--bleed .hero__dot.is-active .hero__dot-fill { animation: heroProgress 7s linear forwards; }
@keyframes heroProgress { from { transform: translateX(-101%);} to { transform: translateX(0);} }
.hero--bleed .hero__meta {
  position: absolute; top: 100px; right: var(--gutter); z-index: 2;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
  color: rgba(255,255,255,0.9); font-size: var(--fs-1);
}
.hero--bleed .hero__meta span { letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px; }
.hero__ticker {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  background: var(--c-accent); color: var(--c-accent-ink);
  padding: 14px 0; overflow: hidden;
  border-top: 1px solid var(--c-line-strong);
}
.hero__ticker-track {
  display: flex; gap: 60px; white-space: nowrap;
  animation: ticker 40s linear infinite;
  font-family: var(--font-display); font-size: var(--fs-4);
}
.hero__ticker-track span { display: inline-flex; align-items: center; gap: 18px; }
.hero__ticker-track em { font-style: normal; opacity: 0.5; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Variant B — Split: big type left, photo grid right */
.hero--split {
  padding: 64px 0 0;
}
.hero--split .hero__grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 980px) { .hero--split .hero__grid { grid-template-columns: 1fr; } }
.hero--split h1 {
  font-size: clamp(48px, 7.5vw, 120px); line-height: 0.95;
}
.hero--split h1 em { font-style: italic; font-weight: 400; color: var(--c-rust); }
.hero--split .hero__lede { font-size: var(--fs-4); color: var(--c-ink-2); max-width: 40ch; margin: 28px 0 36px; }
.hero--split .hero__photos {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px;
  gap: 12px;
  grid-template-areas:
    "a a"
    "b c"
    "b c";
}
.hero--split .hero__photos > *:nth-child(1) { grid-area: a; }
.hero--split .hero__photos > *:nth-child(2) { grid-area: b; }
.hero--split .hero__photos > *:nth-child(3) { grid-area: c; }
.hero--split .hero__photos .photo { border-radius: var(--r-3); }

/* Variant C — Editorial quote-first */
.hero--editorial {
  padding: 80px 0;
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-line);
}
.hero--editorial .hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-end;
}
@media (max-width: 980px) { .hero--editorial .hero__grid { grid-template-columns: 1fr; } }
.hero--editorial h1 {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 1.02; text-wrap: balance;
  font-weight: 400;
}
.hero--editorial h1::before { content: "\201C"; color: var(--c-rust); font-size: 1.5em; line-height: 0; margin-right: 0.1em; vertical-align: -0.08em; }
.hero--editorial .hero__cite { margin-top: 28px; font-size: var(--fs-2); color: var(--c-muted); letter-spacing: 0.04em; }
.hero--editorial .hero__cite strong { display: block; color: var(--c-ink); font-weight: 500; letter-spacing: 0; font-family: var(--font-display); font-size: var(--fs-3); }
.hero--editorial .hero__photo { aspect-ratio: 4 / 5; border-radius: 0; border: 8px solid var(--c-surface); box-shadow: var(--shadow-2); }
.hero--editorial .hero__stat {
  margin-top: 40px;
  display: flex; align-items: flex-end; gap: 24px;
}
.hero--editorial .hero__stat strong {
  font-family: var(--font-display); font-size: clamp(60px, 7vw, 120px);
  font-weight: 400; line-height: 0.9; color: var(--c-rust);
}
.hero--editorial .hero__stat span { font-size: var(--fs-2); color: var(--c-ink-2); max-width: 16ch; }

/* Hero visibility toggling */
[data-active-hero="bleed"] .hero--split,
[data-active-hero="bleed"] .hero--editorial { display: none; }
[data-active-hero="split"] .hero--bleed,
[data-active-hero="split"] .hero--editorial { display: none; }
[data-active-hero="editorial"] .hero--bleed,
[data-active-hero="editorial"] .hero--split { display: none; }

/* ===== Causes (home section) ===== */
.causes__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: 48px;
}
.causes__head h2 { max-width: 16ch; }
.causes__head p { max-width: 44ch; color: var(--c-ink-2); font-size: var(--fs-3); }

/* Editorial card (default) */
.cause-card {
  display: flex; flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-3);
  overflow: hidden;
  text-decoration: none; color: var(--c-ink);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.cause-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--c-line-strong); }
.cause-card__photo { aspect-ratio: 4 / 3; }
.cause-card__body { padding: 24px 24px 28px; display: grid; gap: 10px; }
.cause-card__code {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--c-muted); text-transform: uppercase;
}
.cause-card__code .cause-dot { width: 8px; height: 8px; }
.cause-card__title {
  font-family: var(--font-display); font-size: var(--fs-5); line-height: 1.1;
  font-weight: 500;
}
.cause-card__title em { font-style: italic; color: var(--c-muted); font-size: 0.7em; font-weight: 400; margin-left: 8px; }
.cause-card__desc { color: var(--c-ink-2); font-size: var(--fs-2); }
.cause-card__foot {
  margin-top: auto;
  padding: 20px 24px; border-top: 1px solid var(--c-line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--fs-1); color: var(--c-muted);
}
.cause-card__foot .arrow { font-size: var(--fs-4); color: var(--c-ink); }

/* Compact card variant */
[data-cards="compact"] .cause-card { flex-direction: row; align-items: stretch; }
[data-cards="compact"] .cause-card__photo { width: 38%; aspect-ratio: auto; }
[data-cards="compact"] .cause-card__body { padding: 20px; }
[data-cards="compact"] .cause-card__foot { border-top: 0; padding: 0 20px 20px; }

/* Stats strip */
.stats {
  background: var(--c-ink); color: var(--c-bg);
  padding: 80px 0;
  position: relative;
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .stats__grid { grid-template-columns: 1fr 1fr; } }
.stat {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
}
.stat strong {
  font-family: var(--font-display); font-size: clamp(48px, 5.5vw, 88px);
  font-weight: 400; display: block; line-height: 0.95;
  color: var(--c-accent);
}
.stat span { font-size: var(--fs-2); opacity: 0.7; display: block; margin-top: 8px; }

/* About band */
.about-band { background: var(--c-surface-2); }
.about-band__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .about-band__grid { grid-template-columns: 1fr; } }
.about-band__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-band__photos .photo { aspect-ratio: 3/4; border-radius: var(--r-2); }
.about-band__photos .photo:first-child { transform: translateY(32px); }

/* Stories / testimonials */
.stories__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .stories__grid { grid-template-columns: 1fr; } }
.story {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-3);
  padding: 28px;
  display: grid; gap: 16px;
  font-size: var(--fs-3);
  font-family: var(--font-display);
  line-height: 1.35;
}
.story__who { display: flex; gap: 12px; align-items: center; margin-top: 12px; font-family: var(--font-body); font-size: var(--fs-1); }
.story__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--c-surface-2); overflow: hidden; flex: 0 0 auto; }
.story__avatar img { width: 100%; height: 100%; object-fit: cover; }
.story__name { font-weight: 500; font-family: var(--font-body); }
.story__role { color: var(--c-muted); font-size: var(--fs-0); letter-spacing: 0.1em; text-transform: uppercase; }

/* Sponsors / partners */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; align-items: center; opacity: 0.9; }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(3, 1fr); } }
.logo-item {
  padding: 4px; background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-2); display: grid; place-items: center; min-height: 260px; aspect-ratio: 1 / 1;
  
}
.logo-item img { max-width: 90%; height: auto; }

/* CTA band */
.cta-band {
  background: var(--c-primary); color: var(--c-primary-ink);
  padding: 100px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--c-primary-ink); font-size: clamp(40px, 6vw, 88px); }
.cta-band .btn { margin: 24px 8px 0; }
.cta-band__watermark {
  position: absolute; font-family: var(--font-display); font-style: italic;
  font-size: 32vw; line-height: 0.8; opacity: 0.06;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ===== Cause page ===== */
.cause-hero {
  padding: 56px 0 0;
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-line);
}
.cause-hero__code {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em;
  color: var(--c-muted); margin-bottom: 24px; text-transform: uppercase;
}
.cause-hero__code .cause-dot { width: 12px; height: 12px; }
.cause-hero h1 { font-size: clamp(56px, 9vw, 144px); line-height: 0.92; margin-bottom: 24px; }
.cause-hero h1 em { font-style: italic; font-weight: 400; color: var(--cause-color, var(--c-rust)); }
.cause-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: flex-end; }
@media (max-width: 900px) { .cause-hero__grid { grid-template-columns: 1fr; } }
.cause-hero__lede { font-size: var(--fs-4); color: var(--c-ink-2); max-width: 42ch; }
.cause-hero__photo { aspect-ratio: 4/3; border-radius: var(--r-3) var(--r-3) 0 0; overflow: hidden; margin-top: 64px; box-shadow: var(--shadow-2); border: 8px solid var(--c-surface); border-bottom: 0; }
.cause-hero__cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.cause-impact {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--c-line);
  margin-top: 64px;
}
.cause-impact .stat {
  border-top: 0; border-right: 1px solid var(--c-line);
  padding: 24px 28px;
}
.cause-impact .stat:last-child { border-right: 0; }
.cause-impact .stat strong { color: var(--cause-color, var(--c-rust)); font-size: clamp(32px, 4vw, 56px); }
.cause-impact .stat span { color: var(--c-ink-2); opacity: 1; }
@media (max-width: 900px) { .cause-impact { grid-template-columns: 1fr 1fr; } .cause-impact .stat:nth-child(2) { border-right: 0; } }

/* Gallery */
.gallery__grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 140px; gap: 10px;
}
.gallery__grid .photo { border-radius: var(--r-2); grid-column: span 2; grid-row: span 2; }
.gallery__grid .photo:nth-child(3n) { grid-column: span 3; }
.gallery__grid .photo:nth-child(5n) { grid-row: span 3; }
@media (max-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .gallery__grid .photo { grid-column: span 1 !important; grid-row: span 2 !important; }
}

/* Side-by-side text/photo */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split__photo { aspect-ratio: 4/5; border-radius: var(--r-3); }
.split__alt .split__photo { order: -1; }

/* Volunteer band (cause page) */
.vol-band {
  background: var(--cause-color, var(--c-primary));
  color: #fff;
  padding: 80px 0; border-radius: var(--r-4);
  margin: 0 var(--gutter);
  max-width: var(--maxw); margin-inline: auto;
}
.vol-band h2 { color: #fff; }
.vol-band .btn--accent { color: var(--c-ink); }

/* ===== Donate page / modal ===== */
.donate-wrap {
  display: grid; grid-template-columns: 1fr 440px; gap: 48px;
  align-items: flex-start;
}
@media (max-width: 1000px) { .donate-wrap { grid-template-columns: 1fr; } }

.donate-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-4);
  padding: 28px;
  box-shadow: var(--shadow-2);
  position: sticky; top: 80px;
}

.amt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amt {
  padding: 14px 10px; border-radius: var(--r-2);
  background: var(--c-surface-2); border: 1.5px solid transparent;
  font-family: var(--font-display); font-size: var(--fs-4);
  cursor: pointer; color: var(--c-ink);
  text-align: center; position: relative;
  transition: .15s;
}
.amt:hover { border-color: var(--c-line-strong); }
.amt.on { background: var(--c-primary); color: var(--c-primary-ink); border-color: var(--c-primary); }
.amt small { display: block; font-family: var(--font-body); font-size: var(--fs-0); opacity: 0.7; font-weight: 400; margin-top: 2px; letter-spacing: 0.06em; }
.amt--custom { grid-column: span 3; padding: 10px; display: flex; align-items: center; gap: 10px; background: var(--c-bg); }
.amt--custom .rup { font-family: var(--font-display); font-size: var(--fs-5); color: var(--c-muted); padding-left: 6px; }
.amt--custom input { border: 0; background: transparent; padding: 6px 0; font-family: var(--font-display); font-size: var(--fs-5); }
.amt--custom input:focus { box-shadow: none; }

.cause-select { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cause-select label {
  display: flex; gap: 10px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--c-line);
  border-radius: var(--r-2); cursor: pointer; font-size: var(--fs-2);
  color: var(--c-ink); margin: 0;
  transition: .15s;
}
.cause-select label:hover { border-color: var(--c-line-strong); }
.cause-select input { display: none; }
.cause-select input:checked + .cause-inner { color: var(--c-ink); }
.cause-select label:has(input:checked) {
  background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink);
}
.cause-select label:has(input:checked) .cause-dot { box-shadow: 0 0 0 2px var(--c-bg); }
.cause-code { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; opacity: 0.7; margin-left: auto; }

.freq { display: flex; background: var(--c-surface-2); border-radius: var(--r-pill); padding: 4px; }
.freq button {
  flex: 1; border: 0; background: transparent; padding: 10px;
  border-radius: var(--r-pill); font: inherit; font-weight: 500; cursor: pointer;
  color: var(--c-ink-2);
}
.freq button.on { background: var(--c-ink); color: var(--c-bg); }

.check-row { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; }
.check-row input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--c-primary); }
.check-row label { margin: 0; font-size: var(--fs-2); color: var(--c-ink); line-height: 1.4; }
.check-row small { color: var(--c-muted); font-size: var(--fs-1); display: block; margin-top: 2px; }

.pay-methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pay-method {
  border: 1.5px solid var(--c-line); border-radius: var(--r-2);
  padding: 10px; font-size: var(--fs-1); text-align: center;
  cursor: pointer; background: var(--c-surface); color: var(--c-ink);
  font-weight: 500;
}
.pay-method.on { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }

.bank-note {
  background: var(--c-surface-2); border: 1px dashed var(--c-line-strong);
  border-radius: var(--r-3); padding: 18px; font-size: var(--fs-1);
  color: var(--c-ink-2);
}
.bank-note h4 { font-family: var(--font-body); font-size: var(--fs-1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 10px; font-weight: 500; }
.bank-note dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.bank-note dt { color: var(--c-muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; align-self: center; }
.bank-note dd { margin: 0; font-family: var(--font-mono); font-size: var(--fs-1); color: var(--c-ink); }

.total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0; border-top: 1px solid var(--c-line);
}
.total-row strong { font-family: var(--font-display); font-size: var(--fs-6); font-weight: 400; }
.total-row small { color: var(--c-muted); font-size: var(--fs-1); }

/* Razorpay mock UI */
.rzp-mock {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,20,20,0.55); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.rzp-mock.on { display: flex; }
.rzp-mock__sheet {
  width: 100%; max-width: 440px;
  background: white; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  color: #1f1f1f; font-family: 'Inter', system-ui, sans-serif;
}
.rzp-mock__head {
  padding: 16px 20px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid #eee;
}
.rzp-mock__logo { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.rzp-mock__logo .rzp-dot { width: 22px; height: 22px; border-radius: 50%; background: #3395FF; }
.rzp-mock__body { padding: 20px; }
.rzp-mock__amt { font-size: 32px; font-weight: 600; margin-bottom: 6px; }
.rzp-mock__to { color: #888; font-size: 13px; margin-bottom: 18px; }
.rzp-mock__method { border: 1.5px solid #3395FF; background: #E8F1FF; padding: 12px; border-radius: 8px; display: flex; gap: 10px; align-items: center; margin-bottom: 12px; font-size: 14px; }
.rzp-mock__upi { background: #f6f7f9; padding: 14px; border-radius: 8px; font-family: monospace; margin-bottom: 16px; font-size: 14px; }
.rzp-mock__pay {
  width: 100%; padding: 14px; border-radius: 8px; border: 0;
  background: #3395FF; color: white; font-weight: 600; font-size: 16px; cursor: pointer;
}
.rzp-mock__close { background: transparent; border: 0; font-size: 20px; cursor: pointer; color: #888; }

/* Blog / Reports */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } }
.article {
  text-decoration: none; color: var(--c-ink);
  border-bottom: 1px solid var(--c-line); padding-bottom: 24px;
  display: grid; gap: 14px;
}
.article .photo { aspect-ratio: 4/3; border-radius: var(--r-2); }
.article h3 { font-size: var(--fs-4); }
.article__meta { font-size: var(--fs-1); color: var(--c-muted); display: flex; gap: 12px; }

/* About page specifics */
.leadership { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .leadership { grid-template-columns: 1fr 1fr; } }
.leader {
  display: grid; gap: 12px;
}
.leader .photo { aspect-ratio: 3/4; border-radius: var(--r-2); }
.leader h4 { font-family: var(--font-display); font-size: var(--fs-3); }
.leader span { color: var(--c-muted); font-size: var(--fs-1); letter-spacing: 0.08em; text-transform: uppercase; }

/* Timeline */
.timeline { display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 80px; top: 0; bottom: 0; width: 1px; background: var(--c-line); }
.timeline__item { display: grid; grid-template-columns: 80px 1fr; gap: 40px; padding: 20px 0; }
.timeline__year { font-family: var(--font-display); font-size: var(--fs-4); color: var(--c-rust); position: relative; }
.timeline__year::after { content: ""; position: absolute; right: -5px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--c-rust); border: 3px solid var(--c-bg); z-index: 1; }
.timeline__text h4 { font-family: var(--font-display); font-size: var(--fs-4); margin-bottom: 6px; }

/* Downloads */
.downloads { display: grid; gap: 0; }
.download {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--c-line);
  text-decoration: none; color: var(--c-ink);
  transition: .15s;
}
.download:hover { color: var(--c-rust); }
.download:hover .download__arrow { transform: translateX(4px); }
.download__left { display: flex; gap: 18px; align-items: center; }
.download__icon { width: 44px; height: 44px; border-radius: var(--r-2); background: var(--c-surface-2); display: grid; place-items: center; }
.download__meta { display: grid; gap: 2px; }
.download h4 { font-family: var(--font-display); font-size: var(--fs-3); font-weight: 500; }
.download span { font-size: var(--fs-1); color: var(--c-muted); }
.download__arrow { transition: .2s; font-size: var(--fs-4); }

/* Submit an article (volunteer CMS) */
.editor-window {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-3); overflow: hidden;
}
.editor-window__bar {
  display: flex; gap: 10px; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--c-surface-2); border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-1);
}
.editor-window__tools { display: flex; gap: 4px; }
.editor-window__tool {
  width: 32px; height: 32px; border-radius: var(--r-2);
  background: transparent; border: 0; cursor: pointer;
  display: grid; place-items: center; font-weight: 600; color: var(--c-ink-2);
}
.editor-window__tool:hover { background: var(--c-bg); color: var(--c-ink); }
.editor-window__body { padding: 40px; min-height: 320px; }
.editor-window__body [contenteditable] { outline: none; min-height: 200px; font-size: var(--fs-3); line-height: 1.6; font-family: var(--font-display); }
.editor-window__body [contenteditable]:empty::before { content: attr(data-placeholder); color: var(--c-muted); }
.editor-status {
  display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-1);
  color: var(--c-muted);
}
.editor-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }

/* Approval chip row */
.approval {
  display: flex; gap: 16px; margin-top: 20px; font-size: var(--fs-1); color: var(--c-muted);
  flex-wrap: wrap;
}
.approval__step { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: var(--r-pill); background: var(--c-surface-2); }
.approval__step.on { background: var(--c-primary); color: var(--c-primary-ink); }
.approval__step.on::before { content: "\2713"; }
.approval__step::before { content: "\25CB"; font-size: 10px; }

/* Press mentions */
.press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .press { grid-template-columns: 1fr; } }
.press__item {
  border: 1px solid var(--c-line); border-radius: var(--r-3); padding: 28px;
  display: grid; gap: 14px; background: var(--c-surface);
  text-decoration: none; color: inherit;
  transition: .15s;
}
.press__item:hover { border-color: var(--c-line-strong); }
.press__item blockquote {
  font-family: var(--font-display); font-size: var(--fs-3); line-height: 1.3; margin: 0;
  font-style: italic;
}
.press__item cite { font-style: normal; font-size: var(--fs-1); color: var(--c-muted); letter-spacing: 0.06em; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
.contact-info dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: var(--fs-2); }
.contact-info dt { color: var(--c-muted); font-size: var(--fs-0); letter-spacing: 0.14em; text-transform: uppercase; align-self: center; }
.contact-info dd { margin: 0; }

/* Marquee */
.marq { overflow: hidden; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); background: var(--c-bg); padding: 14px 0; }
.marq__track { display: flex; gap: 48px; animation: ticker 40s linear infinite; white-space: nowrap; font-family: var(--font-display); font-size: var(--fs-5); color: var(--c-ink); }
.marq__track span { display: inline-flex; align-items: center; gap: 20px; }
.marq__track em { font-style: italic; color: var(--c-rust); }
.marq__track i { display: inline-block; width: 6px; height: 6px; background: currentColor; border-radius: 50%; opacity: 0.4; }

/* Image placeholder when real image fails */
.placeholder {
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0, rgba(0,0,0,0.04) 6px, transparent 6px, transparent 12px),
    var(--c-surface-2);
  display: grid; place-items: center; color: var(--c-muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}

/* Cache bust: 2026-04-21 */

/* Logo size increase for specific logos (1.5x) - 2026-04-21 */
.logo-item:nth-child(1) img,
.logo-item:nth-child(2) img,
.logo-item:nth-child(4) img {
  transform: scale(1.5);
}

/* NULM logo (1) - crop white space */
.logo-item:nth-child(1) img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}
