/* ─────────── INDEXA · Shared Stylesheet ─────────── */

:root {
  /* INDEXA brand palette — LIGHT THEME, derived from the logo CMYK file.
     Background: white. Text: logo wordmark gray. Primary accent: Indexa cyan #00a0dc. */
  --ink: #2b2d31;          /* primary body text */
  --ink-deep: #16181c;     /* strongest text / headings */
  --wordmark: #54565a;     /* logo wordmark gray, for secondary text */
  --paper: #ffffff;        /* page background — white, matches logo bg */
  --paper-warm: #f4f7fb;   /* alt section bg, faint cool tint */
  --cream: #eef3f9;        /* lightest surface for hover/active */
  --accent: #00a0dc;       /* Indexa cyan — primary accent */
  --accent-deep: #0078b4;  /* deeper Indexa blue — hover/active */
  --teal: #0064b4;         /* deepest Indexa blue — secondary accent */
  --rule: rgba(22, 24, 28, 0.12);
  --rule-strong: rgba(22, 24, 28, 0.26);
  --mute: rgba(43, 45, 49, 0.58);

  /* dark surface for inverted sections (CTA, footer) — deep brand navy */
  --surface-dark: #0c1118;
  --on-dark: #eef2f7;
  --on-dark-mute: rgba(238, 242, 247, 0.62);

  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* containers */
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
}

/* ─────────── NAV ─────────── */
nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
}
nav.top .row {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 50, "WONK" 1;
  display: flex; align-items: center; gap: 10px;
}
.brand .dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.navlinks {
  display: flex; gap: 36px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.navlinks a {
  position: relative;
  padding: 4px 0;
  transition: opacity 0.2s;
}
.navlinks a:hover { opacity: 0.55; }
.navlinks a.active {
  color: var(--accent);
}
.navlinks a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
}
.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  transition: all 0.2s;
  font-weight: 500;
}
.nav-cta:hover { background: var(--ink-deep); color: #fff; }
@media (max-width: 880px) {
  .navlinks { display: none; }
}

/* nav mobile menu button */
.mobile-toggle {
  display: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (max-width: 880px) {
  .nav-cta { display: none; }
  .mobile-toggle { display: block; }
}

/* ─────────── PAGE HEADER ─────────── */
.page-header {
  padding: 168px 0 80px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
@media (max-width: 768px) { .page-header { padding: 128px 0 56px; } }

.page-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 56px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.page-meta .crumb a { transition: color 0.2s; }
.page-meta .crumb a:hover { color: var(--accent); }
.page-meta .crumb b { color: var(--ink); font-weight: 500; }

.page-header h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  margin-bottom: 40px;
}
.page-header h1 em {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--accent);
}
.page-lede {
  font-size: 19px;
  line-height: 1.55;
  max-width: 720px;
  color: var(--ink);
}

/* ─────────── BUTTONS ─────────── */
.btn-primary {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
  font-weight: 500;
}
.btn-primary:hover {
  background: var(--ink-deep);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--accent);
}
.btn-secondary {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--ink); color: #fff; }

/* ─────────── SECTIONS ─────────── */
.section { padding: 100px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: start;
}
@media (max-width: 768px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
}
.section-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mute);
  text-transform: uppercase;
}
.section-num::before {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  background: var(--ink);
  margin-bottom: 14px;
}
h2.sec {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: 900px;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
h2.sec em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--teal);
}

.dark { background: var(--surface-dark); color: var(--on-dark); }
.dark .section-num { color: var(--on-dark-mute); }
.dark .section-num::before { background: var(--on-dark); }
.dark h2.sec { color: var(--on-dark); }
.dark h2.sec em { color: var(--accent); }
.dark .eyebrow::before { background: var(--on-dark); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--ink);
}

/* ─────────── FOOTER (shared) ─────────── */
.cta-section {
  background: var(--surface-dark);
  color: var(--on-dark);
  padding: 120px 0 88px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
}
.cta-section::before {
  content: 'INDEXA';
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(160px, 26vw, 380px);
  font-weight: 300;
  color: rgba(0, 160, 220, 0.06);
  letter-spacing: -0.03em;
  line-height: 1;
  pointer-events: none;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}
.cta-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 40px;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.cta-section h2 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(238, 242, 247, 0.18);
}
@media (max-width: 1024px) { .cta-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
@media (max-width: 768px) { .cta-grid { grid-template-columns: 1fr; gap: 40px; } }
.cta-col h6 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-bottom: 20px;
}
.cta-col p {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 36;
}
.cta-col a { color: var(--accent); }
.cta-col a:hover { color: var(--on-dark); }

footer {
  background: var(--surface-dark);
  color: var(--on-dark-mute);
  padding: 36px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  border-top: 1px solid rgba(238, 242, 247, 0.10);
}
footer .row {
  display: flex; justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer a { color: rgba(238, 242, 247, 0.72); transition: color 0.2s; }
footer a:hover { color: var(--accent); }
.footer-nav {
  display: flex;
  gap: 28px;
}
@media (max-width: 768px) {
  .footer-nav { gap: 18px; flex-wrap: wrap; }
}

/* ─────────── ANIMATIONS ─────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.18s; }
.delay-3 { animation-delay: 0.32s; }
.delay-4 { animation-delay: 0.48s; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ─────────── BRAND LOGO IMAGE ─────────── */
/* The logo PNG has a dark background — wrap it in a dark pill so it blends on light surfaces.
   On dark sections, the dark background of the image disappears against the dark surface. */
.brand {
  font-size: 0;              /* hide the adjacent "Indexa" text node; logo is a full lockup */
  letter-spacing: 0;
  display: flex; align-items: center;
  line-height: 0;
}
.brand .logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 0;
  background: transparent;
}
@media (max-width: 600px) { .brand .logo-img { height: 28px; } }
.brand-full {
  display: inline-flex; align-items: center;
  height: 44px;
}
.brand-full img {
  height: 100%;
  width: auto;
  display: block;
  border-radius: 6px;
}

/* footer brand uses full lockup */
.footer-brand .brand-lockup {
  height: 44px; width: auto; display: block;
  margin-bottom: 24px;
  border-radius: 0;
}

/* CTA section logo — full lockup; on dark CTA it sits in a white chip */
.cta-logo {
  height: 52px; width: auto; display: block;
  margin-bottom: 32px;
  border-radius: 8px;
  background: #fff;
  padding: 12px 18px;
  opacity: 1;
}

/* ─────────── ABOUT PAGE ─────────── */
.about-hero {
  padding: 168px 0 80px;
  position: relative;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 1024px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.about-logo-frame {
  background: var(--paper-warm);
  padding: 64px 48px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.about-logo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 160, 220, 0.12), transparent 60%);
  pointer-events: none;
}
.about-logo-frame img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  position: relative; z-index: 1;
}
.about-lede {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.about-lede em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "WONK" 1, "SOFT" 100;
}

/* timeline */
.timeline-section { padding: 120px 0; background: var(--paper-warm); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.timeline {
  margin-top: 64px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 132px;
  top: 8px; bottom: 8px;
  width: 1px;
  background: var(--rule-strong);
}
@media (max-width: 720px) {
  .timeline::before { left: 12px; }
}
.timeline-row {
  display: grid;
  grid-template-columns: 120px 32px 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px 0;
}
@media (max-width: 720px) {
  .timeline-row { grid-template-columns: 0 32px 1fr; gap: 8px; }
  .timeline-row .tl-year { display: none; }
}
.tl-year {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 4px;
  text-align: right;
}
.tl-dot {
  width: 12px; height: 12px;
  background: var(--ink);
  border-radius: 50%;
  margin: 8px auto 0;
  position: relative;
  z-index: 1;
}
.tl-content {
  padding-bottom: 8px;
}
.tl-content h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.tl-content p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--mute);
  margin-top: 8px;
  max-width: 640px;
}
.tl-mobile-year {
  display: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 4px;
}
@media (max-width: 720px) {
  .tl-mobile-year { display: block; }
}

/* awards / recognition */
.awards-section { padding: 140px 0; }
.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 64px;
}
@media (max-width: 720px) { .awards-grid { grid-template-columns: 1fr; } }
.award-card {
  background: var(--paper);
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  min-height: 156px;
}
.award-card .award-year {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 4px;
  font-weight: 500;
}
.award-card h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.award-card .award-org {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 8px;
}
.award-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--mute);
  margin-top: 12px;
}

/* impact / numbers section */
.impact-section {
  padding: 120px 0;
  background: var(--surface-dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.impact-section::before {
  content: "IMPACT";
  position: absolute;
  bottom: -60px;
  right: -20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 340px;
  font-weight: 300;
  line-height: 1;
  color: rgba(0, 160, 220, 0.05);
  letter-spacing: -0.04em;
  pointer-events: none;
}
.impact-section .section-head h2.sec { color: var(--on-dark); }
.impact-section .section-head .section-num { color: var(--on-dark-mute); }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 64px;
  position: relative; z-index: 1;
}
@media (max-width: 900px) { .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.impact-stat .is-num {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
}
.impact-stat .is-num em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "WONK" 1, "SOFT" 100;
}
.impact-stat .is-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-top: 14px;
  line-height: 1.5;
}

/* press / publication grid */
.press-section { padding: 140px 0; background: var(--paper-warm); }
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 64px;
}
@media (max-width: 900px) { .press-grid { grid-template-columns: 1fr; } }
.press-card {
  background: var(--paper-warm);
  padding: 32px 28px;
  min-height: 200px;
  display: flex; flex-direction: column;
  transition: background 0.2s;
}
.press-card:hover { background: var(--cream); }
.press-outlet {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.press-card h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-top: 14px;
  flex: 1;
}
.press-date {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--mute);
  margin-top: 20px;
}

/* mission / sdg */
.mission-section { padding: 140px 0; }
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 64px;
}
@media (max-width: 900px) { .mission-grid { grid-template-columns: 1fr; gap: 40px; } }
.mission-text p {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
}
.mission-text p + p { margin-top: 24px; }
.sdg-list {
  display: flex; flex-direction: column;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.sdg-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  background: var(--paper);
  padding: 24px 28px;
  align-items: center;
}
.sdg-row .sdg-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.sdg-row .sdg-num em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "WONK" 1, "SOFT" 100;
}
.sdg-row h5 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.sdg-row p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--mute);
  margin-top: 6px;
}


/* ─────────── BUTTONS — ghost variants ─────────── */
.btn-ghost {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 28px;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-primary-dark {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 18px 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
  font-weight: 500;
}
.btn-primary-dark:hover {
  background: #ffffff;
  color: var(--accent);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--accent);
}

.btn-ghost-dark {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 17px 30px;
  border: 1px solid rgba(238, 242, 247, 0.35);
  border-radius: 4px;
  color: var(--on-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}
.btn-ghost-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ─────────── CTA SECTION (.cta — used by index, about) ─────────── */
.cta {
  padding: 140px 0;
  background: var(--surface-dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cta-watermark {
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(220px, 38vw, 560px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(0, 160, 220, 0.05);
  pointer-events: none;
  font-variation-settings: "opsz" 144, "WONK" 1, "SOFT" 100;
  z-index: 0;
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.cta-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.cta-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-top: 32px;
}
.cta-title em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "WONK" 1, "SOFT" 100;
}
.cta-lede {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  margin-top: 32px;
  color: rgba(238, 242, 247, 0.85);
  max-width: 640px;
}
.cta-row {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

/* ─────────── FOOTER (.footer — used by index, about) ─────────── */
.footer {
  background: var(--surface-dark);
  padding: 80px 0 32px;
  color: var(--on-dark-mute);
  border-top: 1px solid rgba(238,242,247,0.10);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(238,242,247,0.12);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--on-dark-mute);
  max-width: 280px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(238, 242, 247, 0.72);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-col p {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--on-dark-mute);
  line-height: 1.5;
}
.footer-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(238, 242, 247, 0.42);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-meta {
  font-style: normal;
}

/* ─────────── REVEAL ANIMATION ─────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════════
   SHARED — Comrade, Media, Blob, Contact, Diamond grid motif
   Lifted from index.html so all pages can reuse.
   ═══════════════════════════════════════════════════════════ */

/* ─────────── COMRADE / PARTNERS ─────────── */
.comrade {
  padding: 140px 0;
  background: var(--paper-warm);
  position: relative;
  overflow: hidden;
}
.comrade-eyebrow-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--mute);
  max-width: 620px;
  margin-top: 24px;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.comrade-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 900px) { .comrade-grid { grid-template-columns: repeat(2, 1fr); } }
.comrade-cell {
  background: var(--paper);
  min-height: 140px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  transition: background 0.3s ease;
}
.comrade-cell:hover { background: var(--cream); }
.comrade-cell .c-name {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.comrade-cell .c-kind {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ─────────── MEDIA COVERAGE ─────────── */
.media {
  padding: 100px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.media-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .media-row { grid-template-columns: 1fr; gap: 32px; } }
.media-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.media-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 12px;
}
.media-title em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "WONK" 1, "SOFT" 100;
}
.media-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 600px) { .media-logos { grid-template-columns: repeat(2, 1fr); } }
.media-logo {
  background: var(--paper);
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--mute);
  letter-spacing: -0.01em;
  transition: color 0.3s ease, background 0.3s ease;
}
.media-logo:hover { color: var(--ink-deep); background: var(--cream); }
.media-logo em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "WONK" 1, "SOFT" 100;
}
.media-logo.mono {
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 0.04em;
}

/* ─────────── ORGANIC BLOB DECOR (from profile cover) ─────────── */
.blob-decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}
.blob-decor svg { display: block; width: 100%; height: auto; }

/* ─────────── CONTACT BLOCK ─────────── */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(232, 234, 237, 0.18);
  max-width: 700px;
}
@media (max-width: 680px) { .contact-block { grid-template-columns: 1fr; gap: 28px; } }
.contact-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-value {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.92);
}
.contact-value a {
  color: inherit;
  border-bottom: 1px dotted rgba(0, 160, 220, 0.5);
  transition: border-color 0.2s, color 0.2s;
}
.contact-value a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Diamond grid motif (from profile "Let's Get In Touch" page) */
.diamond-decor {
  position: absolute;
  pointer-events: none;
  background-image:
    linear-gradient(45deg, transparent 47%, rgba(0,160,220,0.22) 47%, rgba(0,160,220,0.22) 53%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(0,160,220,0.22) 47%, rgba(0,160,220,0.22) 53%, transparent 53%);
  background-size: 36px 36px;
  background-position: 0 0;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
@media (max-width: 768px) { .diamond-decor { display: none; } }
