/* ==============================================================
   ADOPTADOG · MISSION CONTROL
   Mars-surface palette · dashboard chrome · trading card subjects
   ============================================================== */

:root {
  /* Surface — light, airy, baby-blue tints; navy reserved for type & accent */
  --sand:        #fbfcfd;   /* main page bg (off-white) */
  --sand-2:      #f1f7fb;   /* alt section (very pale blue) */
  --dust:        #dde9f2;   /* mid blue, for emphasis */
  --paper:       #ffffff;   /* card surface */
  --terra:       #2c87bd;
  --rust:        #6db8e0;   /* baby blue, used as primary accent */
  --rust-dark:   #2c87bd;

  /* Chrome — deep navy for dark panels */
  --ink:         #0a1929;
  --carbon:      #0a2540;
  --gunmetal:    #133255;
  --steel:       #2a4a6e;
  --bone:        #ffffff;
  --bone-soft:   #d6e6f0;
  --bone-fade:   #8da4b8;

  /* Baby blue — primary brand */
  --sage:        #6db8e0;
  --sage-deep:   #2c87bd;
  --sage-soft:   #b8dceb;
  /* Secondary blue accent (warm side) */
  --honey:       #2c87bd;
  --honey-deep:  #1a6390;

  /* Signal */
  --signal:      #6db8e0;
  --warn:        #f2b13a;
  --critical:    #d04a3a;

  /* System */
  --line:        rgba(10, 25, 41, 0.12);
  --line-light:  rgba(255, 255, 255, 0.16);

  --shadow-sm:   0 1px 2px rgba(14,12,10,.10), 0 2px 6px rgba(14,12,10,.05);
  --shadow-md:   0 6px 18px rgba(14,12,10,.18), 0 2px 6px rgba(14,12,10,.08);
  --shadow-lg:   0 24px 60px -20px rgba(14,12,10,.45), 0 8px 24px -8px rgba(14,12,10,.25);

  --max:         1440px;
  --gutter:      clamp(20px, 3.5vw, 64px);

  --sans:        "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:        "JetBrains Mono", "SF Mono", "Menlo", "Monaco", "Consolas", monospace;
  --serif:       var(--sans);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(109, 184, 224, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 90%, rgba(44, 135, 189, 0.05) 0%, transparent 60%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.btn, .btn-deploy, .btn-primary, .btn-ghost, .btn-secondary, .btn-ink,
.subject-deploy, .subject-secondary, .lb-actions .btn,
.qh-card, .card, .post-card, .event-card, .mq-item, .tk-item, .ev-card,
.lb-nav, .lb-close, .hero-mute-btn, .nav-cta {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Disable sticky :hover state on touch devices — the iOS double-tap fix */
@media (hover: none) and (pointer: coarse) {
  .btn-primary:hover, .btn-ghost:hover, .btn-ink:hover, .btn-deploy:hover, .btn-secondary:hover,
  .subject-deploy:hover, .subject-secondary:hover,
  .lb-actions .btn-primary:hover, .lb-actions .btn-ghost:hover,
  .lb-nav:hover, .lb-close:hover,
  .nav-links a:hover, .nav-links a.nav-cta:hover,
  .card:hover, .post-card:hover, .event-card:hover, .ev-card:hover,
  .qh-card:hover, .impact-card:hover, .donate-card:hover,
  .footer a:hover, .mk-channels a:hover, .vol-panel:hover .vol-panel-photo img {
    transform: none;
    /* keep visible color the same as base state to avoid the "hover stuck" look */
  }
  /* Reset specific hover background traps so first tap fires click */
  .btn-primary:hover { background: var(--ink); color: var(--bone); }
  .btn-ink:hover { background: var(--ink); color: var(--bone); }
  .btn-ghost:hover { background: transparent; color: var(--ink); }
  .btn-secondary:hover { background: transparent; color: var(--ink); }
  .btn-deploy:hover { background: var(--ink); }
  .subject-deploy:hover { background: var(--ink); color: var(--bone); }
  .subject-secondary:hover { background: transparent; color: var(--ink); }
}

/* ============================================================
   GLOBAL TYPE
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--sans);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.96;
  color: var(--ink);
}

/* Only the accent donate card + the slim HUD invert text — everything else is light */
.donate-card.accent, .donate-card.accent p, .donate-card.accent h3, .donate-card.accent h4 { color: var(--bone); }
.donate-card.accent em { color: var(--bone); }
h1 { font-size: clamp(2.2rem, 4.4vw, 4.4rem); letter-spacing: -0.045em; line-height: 1; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -0.035em; line-height: 1.05; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: -0.02em; font-weight: 600; line-height: 1.2; }
h4 { font-size: 0.98rem; letter-spacing: -0.012em; font-weight: 600; }

p { margin: 0 0 1rem; }

.mono, .mono * {
  font-family: var(--mono);
  font-feature-settings: "tnum";
  letter-spacing: -0.01em;
}
.uc { text-transform: uppercase; letter-spacing: 0.16em; }
.serif-it { font-style: italic; font-weight: 400; }
.tnum { font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Lead paragraph */
.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  color: var(--ink);
  opacity: 0.78;
  max-width: 56ch;
  line-height: 1.55;
}

/* Universal eyebrow — mission-control label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px;
  background: var(--sage);
  border-radius: 1px;
}

/* ============================================================
   HUD — top status bar
   ============================================================ */
.hud {
  background: var(--carbon);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  font-weight: 500;
  border-bottom: 1px solid var(--line-light);
  position: relative;
  z-index: 60;
}
.hud-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px var(--gutter);
  gap: 16px;
  overflow: hidden;
  white-space: nowrap;
}
.hud-left, .hud-right { display: flex; align-items: center; gap: 22px; }
.hud-cell { display: inline-flex; align-items: center; gap: 8px; }
.hud-cell .hud-key { color: var(--bone-fade); }
.hud-cell .hud-val { color: var(--bone); }
.hud-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(109,184,224,.30);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(109,184,224,.30); } 50% { box-shadow: 0 0 0 9px rgba(109,184,224,0); } }
@media (max-width: 880px) {
  .hud-row { font-size: 9.5px; padding: 8px 16px; gap: 8px; }
  .hud-cell:not(:nth-child(-n+2)) { display: none; }
  .hud-right .hud-cell:not(:last-child) { display: none; }
}

/* ============================================================
   NAV — minimal mission HUD nav
   ============================================================ */
.nav {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  background: rgba(255, 255, 255, 0.88);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--sand);
  border-radius: 6px;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.brand-text strong { font-weight: 700; letter-spacing: -0.035em; font-size: 1.02rem; }
.brand-text small {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: var(--bone-fade);
  font-weight: 500;
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.65;
  padding: 8px 14px;
  border-radius: 4px;
  transition: opacity .15s, background .15s;
}
.nav-links a:hover { opacity: 1; background: rgba(10,25,41,.06); }
.nav-links a.nav-cta {
  background: var(--sage-deep);
  color: var(--bone) !important;
  opacity: 1 !important;
  padding: 10px 18px !important;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-left: 6px;
  box-shadow: 0 6px 14px -6px rgba(44, 135, 189, 0.45);
}
.nav-links a.nav-cta:hover { background: var(--ink); color: var(--bone) !important; }
.nav-toggle {
  display: none;
  background: transparent; border: 0;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--ink);
}
@media (max-width: 980px) {
  /* Tighter nav layout — Donar pill sits flush next to the hamburger */
  .nav-inner { gap: 4px; }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
    margin-right: 0;
    list-style: none;
    padding: 0;
  }
  .nav-links > li { display: none; }
  .nav-links > li:has(.nav-cta) { display: list-item; }
  .nav-toggle { display: inline-flex; margin-left: 2px; }

  /* Open hamburger: show every item as a vertical dropdown */
  .nav.open .nav-links {
    flex-direction: column;
    align-items: stretch;
    position: absolute; top: 68px; left: 0; right: 0;
    margin: 0;
    padding: 12px var(--gutter) 22px;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px -8px rgba(10,25,41,.15);
    z-index: 49;
  }
  .nav.open .nav-links > li { display: list-item; }
  .nav.open .nav-links a { padding: 14px 12px; }
  .nav.open .nav-links a.nav-cta { padding: 12px 18px !important; text-align: center; margin-top: 6px; }
}
@media (max-width: 540px) {
  /* On small phones, slightly tighter Donar pill so brand + pill + toggle fit */
  .nav-links a.nav-cta { padding: 9px 14px !important; font-size: 10.5px; }
}

/* ============================================================
   PANEL — modular dashboard surface
   ============================================================ */
.panel {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.panel--sand { background: var(--sand-2); color: var(--ink); }
.panel--bone { background: var(--paper); color: var(--ink); }
.panel-body { padding: clamp(24px, 3vw, 40px); }
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  background: var(--sand-2);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.panel--sand .panel-head { background: var(--dust); color: var(--ink); border-color: var(--line); }
.panel-head-id { color: var(--sage-deep); }
.panel-head-status { color: var(--sage-deep); display: inline-flex; align-items: center; gap: 6px; }
.panel-head-status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(109,184,224,.28);
  animation: pulse 2.4s ease-in-out infinite;
}
.panel--sand .panel-head-status { color: var(--sage-deep); }
.panel--sand .panel-head-status::before { background: var(--sage); box-shadow: 0 0 0 3px rgba(109,184,224,.30); }
.panel--bone .panel-head-status { color: var(--sage-deep); }
.panel--bone .panel-head-status::before { background: var(--sage); box-shadow: 0 0 0 3px rgba(109,184,224,.30); }

/* ============================================================
   BRIEFING — mission control hero
   ============================================================ */
.brief {
  padding: clamp(40px, 5vw, 80px) var(--gutter) clamp(56px, 7vw, 100px);
}
.brief-wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
@media (max-width: 980px) { .brief-wrap { grid-template-columns: 1fr; } }

.brief-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.brief-meta .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(109,184,224,.30);
  animation: pulse 2.4s ease-in-out infinite;
}
.brief-meta .sep { color: var(--bone-fade); }

.brief h1 { font-weight: 800; }
.brief h1 .ital { font-style: italic; font-weight: 300; color: var(--sage); }

.brief-lead {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  color: var(--ink);
  opacity: 0.75;
  max-width: 52ch;
  line-height: 1.6;
  margin: 22px 0 28px;
}

.brief-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-deploy {
  background: var(--ink); color: var(--bone);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 18px 28px;
  border-radius: 4px;
  display: inline-flex; align-items: center; gap: 14px;
  transition: background .2s ease, gap .2s ease;
}
.btn-deploy:hover { background: var(--sage); gap: 22px; }
.btn-deploy svg { width: 14px; height: 14px; }
.btn-secondary {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 17px 24px;
  border-radius: 4px;
  transition: all .2s ease;
}
.btn-secondary:hover { background: var(--ink); color: var(--bone); }

.brief-telemetry {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  overflow: hidden;
  max-width: 480px;
}
.brief-telemetry > div {
  background: var(--sand);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.brief-telemetry .val {
  font-family: var(--mono);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}
.brief-telemetry .key {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
}

/* Mission patch (visual right side) */
.brief-patch-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--carbon);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--steel);
  box-shadow: var(--shadow-lg);
}
.brief-patch-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.brief-patch-frame--video { aspect-ratio: 16 / 11; }
@media (max-width: 980px) {
  .brief-patch-frame--video {
    aspect-ratio: auto;
    height: 70vh;
    max-height: 80vh;
    min-height: 380px;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    border-radius: 0;
  }
}
@media (max-width: 540px) {
  .brief-patch-frame--video { height: 65vh; min-height: 360px; }
}
.brief-patch-frame--video video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--ink);
}
.brief-patch-frame--video::after {
  content: ""; position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10,25,41,.32) 0%, transparent 30%, transparent 60%, rgba(10,25,41,.62) 100%);
}
.brief-patch-frame--video .brief-patch-overlay { z-index: 3; }
.brief-patch-frame--video .brief-patch-corner { z-index: 3; }
.hero-mute-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(10, 25, 41, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--bone);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 4;
  transition: background .2s, border-color .2s;
}
.hero-mute-btn:hover {
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
}
.hero-mute-btn svg { flex: 0 0 16px; }
.brief-patch-corner {
  position: absolute; width: 22px; height: 22px;
  border: 1.5px solid var(--bone);
  pointer-events: none;
}
.brief-patch-corner.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.brief-patch-corner.tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.brief-patch-corner.bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.brief-patch-corner.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
.brief-patch-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: space-between; padding: 26px;
  font-family: var(--mono);
  color: var(--bone);
  pointer-events: none;
}
.brief-patch-overlay-top { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; }
.brief-patch-overlay-top .alert { color: var(--sage); }
.brief-patch-overlay-bottom {
  display: flex; justify-content: space-between; align-items: end;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
}
.brief-patch-overlay-name {
  font-family: var(--sans);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-transform: none;
  color: var(--bone);
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.brief-patch-overlay-coord { color: var(--bone-soft); text-align: right; }
.brief-patch-scan {
  position: absolute; left: 26px; right: 26px; top: 50%;
  height: 1px; background: var(--bone);
  opacity: 0.5; transform: translateY(-50%);
  box-shadow: 0 0 12px var(--sage);
  animation: scan 4s ease-in-out infinite;
}
@keyframes scan { 0%, 100% { transform: translate(0, -120px); opacity: .9; } 50% { transform: translate(0, 120px); opacity: .35; } }

/* ============================================================
   SUBJECT CARD — trading card style
   ============================================================ */
.card {
  --card-w: 100%;
  --card-bg: var(--paper);
  --card-fg: var(--ink);
  width: var(--card-w);
  background: var(--card-bg);
  color: var(--card-fg);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--sage); }

/* Holographic foil strip at top */
.card-foil {
  height: 3px;
  background: linear-gradient(90deg,
    #6db8e0 0%, #ffffff 25%, #2c87bd 50%,
    #b8dceb 75%, #6db8e0 100%);
  background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.card-id {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 16px;
  background: var(--sand-2);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.card-id .serial { color: var(--sage-deep); }
.card-id .status { color: var(--sage-deep); display: inline-flex; align-items: center; gap: 6px; }
.card-id .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage-deep); box-shadow: 0 0 0 3px rgba(109,184,224,.28); animation: pulse 2.4s ease-in-out infinite; }

.card-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #000;
  overflow: hidden;
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card-photo img { transform: scale(1.05); }
.card-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(14,12,10,.78) 100%),
    repeating-linear-gradient(180deg, transparent 0, transparent 3px, rgba(244,232,208,.025) 3px, rgba(244,232,208,.025) 4px);
  pointer-events: none;
}
.card-photo-grid {
  position: absolute; inset: 12px;
  border: 1px solid rgba(244,232,208,.22);
  border-radius: 4px;
  pointer-events: none;
}
.card-photo-label {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(14,12,10,.6);
  padding: 4px 9px;
  border-radius: 3px;
  z-index: 2;
}
.card-photo-coord {
  position: absolute; bottom: 16px; right: 16px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(244,232,208,.85);
  text-align: right;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.card-photo-name {
  position: absolute; bottom: 18px; left: 20px;
  z-index: 2;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-shadow: 0 2px 14px rgba(0,0,0,.6);
}
.card-photo-class {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--honey);
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 2;
}

.card-body { padding: 18px 20px 4px; }
.card-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}
.card-stat { background: var(--sand-2); padding: 12px 14px; }
.card-stat-key {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.card-stat-val {
  display: block;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.card-stat-val.mono {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1rem;
  color: var(--sage-deep);
}

.card-bio { padding: 0 20px 16px; }
.card-bio-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.card-bio p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.card-edition {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 20px;
  background: var(--sand-2);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.card-edition .num { color: var(--ink); font-weight: 700; }

/* Whole-page subject card (profile page) */
.subject-page {
  padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(60px, 8vw, 110px);
}
.subject-wrap {
  max-width: 1180px;
  margin: 0 auto;
}
.subject-back {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.6;
  margin-bottom: 24px;
  transition: opacity .15s;
}
.subject-back:hover { opacity: 1; }

.subject {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
@media (max-width: 880px) { .subject { grid-template-columns: 1fr; } }

.subject-photo {
  position: relative;
  background: #000;
  min-height: 540px;
}
@media (max-width: 880px) { .subject-photo { aspect-ratio: 4/5; min-height: 0; } }
.subject-photo img { width: 100%; height: 100%; object-fit: cover; }
.subject-photo::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(14,12,10,.78) 100%),
    repeating-linear-gradient(180deg, transparent 0, transparent 3px, rgba(244,232,208,.03) 3px, rgba(244,232,208,.03) 4px);
  pointer-events: none;
  z-index: 1;
}
.subject-photo .crosshair {
  position: absolute; top: 50%; left: 50%;
  width: 60px; height: 60px;
  margin-top: -30px; margin-left: -30px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.55;
}
.subject-photo .crosshair::before,
.subject-photo .crosshair::after {
  content: ""; position: absolute;
  background: var(--bone);
}
.subject-photo .crosshair::before { left: 50%; top: 0; bottom: 0; width: 1px; margin-left: -0.5px; }
.subject-photo .crosshair::after { top: 50%; left: 0; right: 0; height: 1px; margin-top: -0.5px; }
.subject-photo .frame { position: absolute; inset: 22px; border: 1px solid rgba(244,232,208,.25); border-radius: 4px; pointer-events: none; z-index: 2; }
.subject-photo .corner {
  position: absolute; width: 22px; height: 22px;
  border: 1.5px solid var(--bone);
  z-index: 2;
}
.subject-photo .corner.tl { top: 30px; left: 30px; border-right: 0; border-bottom: 0; }
.subject-photo .corner.tr { top: 30px; right: 30px; border-left: 0; border-bottom: 0; }
.subject-photo .corner.bl { bottom: 30px; left: 30px; border-right: 0; border-top: 0; }
.subject-photo .corner.br { bottom: 30px; right: 30px; border-left: 0; border-top: 0; }

.subject-photo .photo-meta {
  position: absolute; top: 28px; left: 50px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone); z-index: 3;
  display: flex; flex-direction: column; gap: 4px;
}
.subject-photo .photo-meta-right {
  position: absolute; top: 28px; right: 50px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--honey); z-index: 3;
  text-align: right;
  display: flex; flex-direction: column; gap: 4px;
}
.subject-photo .photo-coord {
  position: absolute; bottom: 30px; right: 50px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--bone-soft);
  z-index: 3;
  text-align: right;
  line-height: 1.5;
}
.subject-photo .photo-scan {
  position: absolute; left: 30px; right: 30px;
  height: 1px;
  background: var(--sage);
  opacity: 0.7;
  z-index: 2;
  box-shadow: 0 0 14px var(--sage);
  animation: scanV 4s ease-in-out infinite;
}
@keyframes scanV {
  0%, 100% { top: 22%; opacity: .8; }
  50% { top: 78%; opacity: .35; }
}

.subject-info {
  padding: clamp(28px, 3.5vw, 48px);
  display: flex; flex-direction: column;
  gap: 22px;
}
.subject-foil {
  height: 3px; margin: -28px -28px 0;
  background: linear-gradient(90deg, #6db8e0, #ffffff, #2c87bd, #b8dceb, #6db8e0);
  background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
}
@media (min-width: 881px) { .subject-foil { margin: -48px -48px 0; } }
.subject-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.subject-head .serial { color: var(--sage-deep); }
.subject-head .status { color: var(--sage-deep); display: inline-flex; align-items: center; gap: 6px; }
.subject-head .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(109,184,224,.30); animation: pulse 2.4s ease-in-out infinite; }

.subject-name-row { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.subject-name {
  font-family: var(--sans);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
  color: var(--ink);
}
.subject-class {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--honey);
  color: var(--ink);
  padding: 5px 11px;
  border-radius: 3px;
  font-weight: 600;
}

.subject-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.subject-spec {
  background: var(--sand-2);
  padding: 16px 18px;
}
.subject-spec-key {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.subject-spec-val {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.1;
  display: block;
}
.subject-spec-val.mono { font-family: var(--mono); font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }

.subject-section {}
.subject-section-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.subject-section-label::before {
  content: ""; width: 5px; height: 5px; background: var(--sage-deep);
}
.subject-section p {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.65;
  margin: 0;
  white-space: pre-line;
}

.subject-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.subject-chip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 11px;
  background: var(--sand-2);
  color: var(--ink);
  border-radius: 3px;
  border: 1px solid var(--line);
}

.subject-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 4px; }
.subject-deploy {
  background: var(--ink);
  color: var(--bone);
  padding: 18px 22px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
  transition: background .2s ease, transform .15s ease;
  box-shadow: 0 8px 20px -6px rgba(10,25,41,.30);
}
.subject-deploy:hover { background: var(--sage-deep); color: var(--bone); transform: translateY(-1px); }
.subject-secondary {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 17px 22px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  transition: all .2s ease;
  display: inline-flex; align-items: center;
}
.subject-secondary:hover { background: var(--ink); color: var(--bone); }

.subject-foot {
  background: var(--sand-2);
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  grid-column: 1 / -1;
}
.subject-foot .ok { color: var(--sage-deep); }

/* ============================================================
   STORY SCROLL — homepage narrative
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 80; background: transparent; pointer-events: none;
}
.scroll-progress > div {
  width: 100%; height: 100%;
  background: var(--sage);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .12s ease-out;
}

.scene { padding: clamp(64px, 8vw, 120px) 0; position: relative; overflow: hidden; }
.scene--dark { background: var(--sand-2); color: var(--ink); }
.scene--cream { background: var(--sand-2); }
.scene--paper { background: var(--paper); }
.scene--bleed { padding: 0; }

.scene-chapter {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.scene-chapter::before {
  content: ""; width: 24px; height: 1px; background: currentColor;
}

.scene-display {
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  max-width: 20ch;
  margin: 0 0 24px;
}
.scene-display em {
  font-style: italic;
  font-weight: 300;
  color: var(--sage-deep);
}
.scene-lead {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.55;
  max-width: 56ch;
  opacity: 0.78;
}

.scroll-cue {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.6;
}
.scroll-cue svg { animation: bounceDown 1.8s ease-in-out infinite; }
@keyframes bounceDown { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* On mobile, slim hero text so the video remains the star */
@media (max-width: 980px) {
  .s-thesis-wrap > div:first-child .scene-display,
  .s-thesis-wrap > div:first-child > .scene-chapter ~ h1 { font-size: clamp(1.9rem, 6.5vw, 2.6rem); line-height: 1.05; }
  .s-thesis-wrap > div:first-child > p,
  .s-thesis-wrap > div:first-child .scene-lead { font-size: 0.98rem; line-height: 1.55; }
  .s-thesis-wrap > div:first-child .scroll-cue { margin-top: 22px; }
}

/* Scene 1 — Thesis hero with featured face */
.s-thesis {
  padding: clamp(20px, 3vw, 60px) var(--gutter) clamp(48px, 6vw, 90px);
}
.s-thesis-wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 980px) {
  .s-thesis-wrap { grid-template-columns: 1fr; gap: 28px; }
  /* On mobile: video first, text below */
  .s-thesis-wrap > .brief-patch-frame { order: -1; }
}
@media (max-width: 980px) { .s-thesis-wrap { grid-template-columns: 1fr; } }

/* Scene 2 — Reality (now light, drama from the photo) */
.s-reality-wrap {
  max-width: var(--max);
  margin: 0 auto; padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 980px) { .s-reality-wrap { grid-template-columns: 1fr; } }
.s-reality-photo {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.s-reality-photo img { width: 100%; height: 100%; object-fit: cover; }
.s-reality-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,25,41,.55));
  pointer-events: none;
}
.s-reality-overlay {
  position: absolute; bottom: 22px; left: 24px; right: 24px;
  z-index: 2;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone-soft);
  display: flex; justify-content: space-between;
}
.s-reality-overlay .name { color: var(--bone); font-family: var(--sans); font-size: 1.05rem; text-transform: none; font-weight: 700; letter-spacing: -0.025em; }

.bigstat {
  display: block;
  font-family: var(--sans);
  font-size: clamp(3.8rem, 7vw, 6rem);
  font-weight: 200;
  line-height: 0.88;
  letter-spacing: -0.07em;
  color: var(--sage-deep);
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}
.bigstat small { font-size: 0.4em; opacity: 0.7; font-weight: 400; }
.bigstat-claim {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 14px;
}
.bigstat-cite {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  line-height: 1.5;
}

/* Scene 4 — Wall of names (parallax marquee feel) */
.s-wall {
  background: var(--sand);
  padding: clamp(70px, 10vw, 140px) 0;
}
.s-wall-band {
  overflow: hidden;
  margin: clamp(40px, 6vw, 70px) 0;
  display: flex; flex-direction: column; gap: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.s-wall-row {
  display: flex; gap: 16px; white-space: nowrap;
  width: max-content;
}
.s-wall-row--a { animation: wallA 80s linear infinite; }
.s-wall-row--b { animation: wallB 95s linear infinite; }
@keyframes wallA { to { transform: translateX(-50%); } }
@keyframes wallB { to { transform: translateX(50%); } }
.s-wall-row--b { animation-direction: reverse; }
.s-wall-chip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.s-wall-chip img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 36px;
  border: 2px solid var(--sand-2);
}
.s-wall-chip .age {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--sage-deep);
  letter-spacing: 0.04em;
}

/* Scene 6 — Featured grid head */
.s-featured-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto; gap: 24px;
  align-items: end; margin-bottom: 40px;
}
@media (max-width: 720px) { .s-featured-head { grid-template-columns: 1fr; } }

/* Scene 7 — Final CTA wall (light, baby-blue gradient backdrop) */
.s-finale {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(109,184,224,0.18) 0%, transparent 70%),
    var(--sand);
  color: var(--ink);
  padding: clamp(80px, 12vw, 160px) 0 0;
  text-align: center;
  position: relative;
}
.s-finale-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.s-finale h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  letter-spacing: -0.045em;
  line-height: 1;
  font-weight: 800;
  color: var(--ink);
  margin: 0 auto 28px;
  max-width: 18ch;
}
.s-finale h2 em { font-style: italic; font-weight: 200; color: var(--sage-deep); }
.s-finale p {
  font-size: 1.08rem; line-height: 1.6;
  color: var(--ink); opacity: 0.78;
  max-width: 50ch;
  margin: 0 auto 40px;
}
.s-finale .big-cta {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 24px 38px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background .2s ease, gap .2s ease;
  box-shadow: 0 14px 30px -10px rgba(10,25,41,.40);
}
.s-finale .big-cta:hover { background: var(--sage-deep); gap: 26px; }
.s-finale-strip {
  margin-top: clamp(70px, 10vw, 130px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 100vw;
  overflow: hidden;
}
@media (max-width: 980px) { .s-finale-strip { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 720px) { .s-finale-strip { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .s-finale-strip { grid-template-columns: repeat(3, 1fr); } }
.s-finale-strip a {
  display: block;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: var(--sand-2);
}
.s-finale-strip img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.s-finale-strip a:hover img { transform: scale(1.06); }
.s-finale-strip a::after {
  content: attr(data-name);
  position: absolute; bottom: 10px; left: 12px; right: 12px;
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone);
  opacity: 0; transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}
.s-finale-strip a:hover::after { opacity: 1; transform: translateY(0); }
.s-finale-strip a::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.55));
  opacity: 0; transition: opacity .25s ease;
  pointer-events: none;
}
.s-finale-strip a:hover::before { opacity: 1; }

/* Pull quote — used between sections */
.pull {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-family: var(--sans);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--ink);
}
.pull em { font-style: italic; color: var(--sage-deep); }
.pull cite {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-style: normal;
  opacity: 0.6;
}

/* Scene reveal — used with IntersectionObserver */
@media (prefers-reduced-motion: no-preference) {
  .s-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
  .s-reveal.in { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   EVIDENCE — research-cited proof grid
   ============================================================ */
.evidence-section {
  padding: clamp(70px, 9vw, 130px) 0;
}
.evidence-intro {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
@media (max-width: 880px) { .evidence-intro { grid-template-columns: 1fr; } }
.evidence-intro h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  letter-spacing: -0.045em;
  font-weight: 800;
}
.evidence-intro h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--sage);
}
.evidence-intro p {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.75;
  margin: 0;
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .evidence-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .evidence-grid { grid-template-columns: 1fr; } }
.ev-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ev-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sage); }

/* Cute pet photo strip at top — 3 overlapped faces */
.ev-photos {
  height: 130px;
  background: linear-gradient(180deg, var(--sand-2) 0%, var(--paper) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  position: relative;
}
.ev-photos img {
  width: 86px; height: 86px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--paper);
  box-shadow: 0 4px 12px -2px rgba(10,25,41,.18);
  margin-left: -22px;
  transition: transform .25s ease, z-index 0s;
  position: relative;
}
.ev-photos img:first-child { margin-left: 0; z-index: 1; }
.ev-photos img:nth-child(2) { z-index: 2; }
.ev-photos img:nth-child(3) { z-index: 1; }
.ev-card:hover .ev-photos img { transform: translateY(-2px); }

.ev-card-head {
  padding: 11px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600;
}
.ev-card-head .ev-cat { color: var(--sage-deep); font-weight: 700; }

.ev-card-body {
  padding: 24px 26px 22px;
  display: flex; flex-direction: column;
  gap: 14px;
  flex: 1;
}

/* Stat row — number + chart/icon side by side */
.ev-stat-row {
  display: flex; align-items: center; gap: 18px;
}
.ev-stat {
  font-family: var(--sans);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 300;
  color: var(--sage-deep);
  font-variant-numeric: tabular-nums;
}
.ev-stat small { font-size: 0.42em; opacity: 0.7; font-weight: 400; }
.ev-stat--text { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }

/* Visual chart — ring or icon */
.ev-viz {
  flex: 0 0 64px;
  width: 64px; height: 64px;
  display: grid; place-items: center;
}
.ev-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ev-ring-track { fill: none; stroke: var(--sand-2); stroke-width: 4; }
.ev-ring-bar { fill: none; stroke: var(--sage); stroke-width: 4; stroke-linecap: round; transition: stroke-dasharray .8s ease; }
.ev-viz-icon { color: var(--sage); width: 48px; height: 48px; }
.ev-claim {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.ev-card-foot {
  margin-top: auto;
  padding: 12px 16px;
  background: var(--sand-2);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.65;
  line-height: 1.45;
}
.ev-card-foot .source { color: var(--sage-deep); font-weight: 700; opacity: 1; }

.evidence-footnote {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  opacity: 0.55;
  line-height: 1.6;
  max-width: 70ch;
}

/* ============================================================
   MANIFEST — adoptions index, terminal-style + card grid
   ============================================================ */
.manifest-head {
  display: grid; grid-template-columns: 1fr auto; gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}
@media (max-width: 720px) { .manifest-head { grid-template-columns: 1fr; } }
.manifest-h1 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.045em; }
.manifest-h1 .accent { color: var(--sage); font-style: italic; font-weight: 400; }

.manifest-summary {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
  background: rgba(14,12,10,.06);
  padding: 12px 18px;
  border-radius: 4px;
}

/* Subjects grid */
.subjects { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
@media (max-width: 540px) { .subjects { grid-template-columns: 1fr; } }

/* ============================================================
   FILTER CONSOLE
   ============================================================ */
.console {
  background: var(--carbon);
  color: var(--bone);
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.console-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.console-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-fade);
  font-weight: 500;
  margin-right: 4px;
}
.console-chip {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 7px 13px;
  background: transparent;
  color: var(--bone);
  border: 1px solid rgba(244,232,208,.22);
  border-radius: 3px;
  cursor: pointer;
  transition: all .15s ease;
}
.console-chip:hover { background: rgba(244,232,208,.08); border-color: rgba(244,232,208,.4); }
.console-chip[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.console-sort {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 10px;
}
.console-select {
  position: relative;
  display: inline-flex; align-items: center;
}
.console-select select {
  appearance: none; -webkit-appearance: none;
  background: transparent;
  border: 1px solid rgba(244,232,208,.32);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 8px 32px 8px 12px;
  border-radius: 3px;
  cursor: pointer;
}
.console-select select option { background: var(--ink); color: var(--bone); }
.console-select svg { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--bone-fade); }

.console-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-fade);
}
.console-clear {
  background: transparent; border: 0;
  color: var(--sage);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 600;
}
.console-clear:hover { color: var(--bone); }

/* ============================================================
   FOOTER — mission control sign-off
   ============================================================ */
footer {
  background: var(--sand-2);
  color: var(--ink);
  margin-top: clamp(80px, 10vw, 140px);
  border-top: 2px solid var(--ink);
}
.foot-strip {
  background: var(--ink);
  padding: 12px var(--gutter);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
  font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.foot-strip .live { color: var(--sage); }

.foot-main { padding: 60px var(--gutter); max-width: var(--max); margin: 0 auto; }
.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px;
  margin-bottom: 48px;
}
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-brand { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.045em; color: var(--bone); }
.foot-brand .accent { color: var(--sage); font-style: italic; font-weight: 400; }
.foot-tag {
  color: var(--ink-soft);
  margin-top: 14px; max-width: 32ch;
  font-size: 0.95rem; line-height: 1.55;
}
.foot-social { display: flex; gap: 8px; margin-top: 22px; }
.foot-social a { width: 38px; height: 38px; border-radius: 4px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; transition: background .15s, border-color .15s; padding: 0; }
.foot-social a:hover { background: var(--ink); border-color: var(--ink); }
.foot-social a:hover svg { color: var(--bone); }
.foot-social svg { width: 16px; height: 16px; color: var(--ink); transition: color .15s; }
footer h4 {
  color: var(--sage-deep);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}
footer a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  display: block;
  padding: 5px 0;
  transition: color .15s;
}
footer a:hover { color: var(--sage-deep); }
.foot-bar {
  border-top: 1px solid var(--line);
  padding: 22px var(--gutter);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
}

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.whatsapp-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 54px; height: 54px;
  background: #25d366; color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 12px 24px -8px rgba(37,211,102,.55);
  transition: transform .2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 24px; height: 24px; }

/* ============================================================
   GENERIC SECTION HELPERS (kept for other pages)
   ============================================================ */
section { padding: clamp(56px, 6vw, 90px) 0; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 720px; }
.section-head--row { display: flex; align-items: end; justify-content: space-between; max-width: none; flex-wrap: wrap; gap: 24px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons inherited by sub-pages */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background .2s, color .2s, transform .15s;
}
.btn svg { width: 14px; height: 14px; }
.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: var(--sage); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bone); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { background: var(--sage); }

/* ============================================================
   LIGHTBOX (kept, restyled to mission dark)
   ============================================================ */
/* ============================================================
   LIGHTBOX · modal dog browser
   - Desktop: side-by-side photo + info
   - Mobile: vertical, photo fills the top, info as a clean sheet
   ============================================================ */
.lb {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
}
.lb.open { opacity: 1; pointer-events: auto; }
.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 25, 41, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.lb-shell {
  position: relative; z-index: 2;
  width: min(1120px, calc(100vw - 48px));
  height: min(700px, calc(100vh - 48px));
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  box-shadow: var(--shadow-lg);
  transform: scale(.96) translateY(8px);
  opacity: 0;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), opacity .24s ease;
  color: var(--ink);
}
.lb.open .lb-shell { transform: scale(1) translateY(0); opacity: 1; }

/* Photo side */
.lb-photo {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  min-height: 540px;
}
.lb-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transform: scale(1.015);
  transition: opacity .25s ease, transform .45s ease;
  will-change: opacity, transform;
}
.lb-photo img.in { opacity: 1; transform: scale(1); }
.lb-photo img.slide-from-right {
  animation: lbSlideR .32s cubic-bezier(.2,.7,.2,1) forwards;
}
.lb-photo img.slide-from-left {
  animation: lbSlideL .32s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes lbSlideR {
  from { opacity: 0; transform: translateX(24px) scale(1.015); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes lbSlideL {
  from { opacity: 0; transform: translateX(-24px) scale(1.015); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* Photo top bar — close · counter · class tag */
.lb-photo-bar {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 32px;
  background: linear-gradient(180deg, rgba(10,25,41,.55) 0%, transparent 100%);
  z-index: 4;
  pointer-events: none;
}
.lb-photo-bar > * { pointer-events: auto; }
.lb-close {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--bone);
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.lb-close:hover { background: var(--bone); color: var(--ink); transform: scale(1.04); }
.lb-counter {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--bone);
  background: rgba(10,25,41,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 7px 12px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.lb-counter .lb-sep { opacity: 0.4; padding: 0 3px; }
.lb-tipo {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--sage);
  color: var(--ink);
  padding: 6px 11px;
  border-radius: 999px;
}

/* Swipe hint — flashes when modal opens */
.lb-swipe-hint {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 16px;
  background: rgba(10, 25, 41, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--bone);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
  transform: translate(-50%, -50%) scale(0.94);
  transition: opacity .18s ease, transform .18s ease;
}
.lb-swipe-hint.show {
  animation: lbSwipeFlash 2.4s cubic-bezier(.4,0,.2,1) forwards;
}
.lb-swipe-arrow { display: inline-block; opacity: .9; }
.lb-swipe-hint.show .lb-swipe-arrow--l { animation: swipeArrowL 1.2s ease-in-out 2; }
.lb-swipe-hint.show .lb-swipe-arrow--r { animation: swipeArrowR 1.2s ease-in-out 2; }
@keyframes lbSwipeFlash {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.92); }
  12%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  80%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.96); }
}
@keyframes swipeArrowL {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-6px); }
}
@keyframes swipeArrowR {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .lb-swipe-hint.show { animation: none; opacity: 1; transform: translate(-50%, -50%); }
  .lb-swipe-hint.show .lb-swipe-arrow--l,
  .lb-swipe-hint.show .lb-swipe-arrow--r { animation: none; }
}

/* Photo nav arrows */
.lb-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--bone);
  border-radius: 50%;
  display: grid; place-items: center;
  z-index: 5;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.lb-nav:hover { background: var(--sage); color: var(--ink); transform: translateY(-50%) scale(1.06); border-color: transparent; }
.lb-nav:active { transform: translateY(-50%) scale(.95); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }

/* Info side */
.lb-info {
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}
.lb-info-handle { display: none; }
.lb-handle-bar {
  display: block;
  width: 40px; height: 4px;
  background: var(--line);
  border-radius: 999px;
  margin: 0 auto;
}
.lb-handle-hint {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-top: 6px;
  transition: color .15s ease, transform .2s ease;
}
.lb-info-handle:hover .lb-handle-hint,
.lb-info-handle:active .lb-handle-hint { color: var(--ink); transform: translateY(-1px); }
.lb-info h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin: 0;
  letter-spacing: -0.045em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1;
}
.lb-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.lb-meta .lb-sex { color: var(--sage-deep); font-weight: 700; }
.lb-meta .lb-vibe {
  color: var(--sage-deep);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
}
.lb-meta .lb-divider { color: var(--line); padding: 0 4px; }
.lb-blurb {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  flex: 1 0 auto;
}
.lb-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 4px;
}
.lb-actions .btn { padding: 14px 22px; }
.lb-actions .btn-primary { background: var(--ink); color: var(--bone); }
.lb-actions .btn-primary:hover { background: var(--sage-deep); color: var(--bone); }
.lb-actions .btn-ghost { color: var(--ink); border-color: var(--ink); }
.lb-actions .btn-ghost:hover { background: var(--ink); color: var(--bone); }

.lb-hint {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center;
}
.lb-hint kbd {
  display: inline-block;
  padding: 2px 7px;
  background: var(--sand-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink);
  font-weight: 700;
}

/* ─────────────────── MOBILE ─────────────────── */
@media (max-width: 820px) {
  .lb {
    place-items: flex-end stretch;
  }
  .lb-shell {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    transform: translateY(100%);
    box-shadow: none;
    background: var(--ink);
  }
  .lb.open .lb-shell { transform: translateY(0); }
  .lb-photo {
    min-height: 0;
    height: 100%;
  }
  .lb-photo-bar {
    padding: max(env(safe-area-inset-top), 14px) 16px 40px;
  }
  .lb-info {
    padding: 22px 22px max(env(safe-area-inset-bottom), 22px);
    gap: 12px;
    background: var(--paper);
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    margin-top: -22px;
    position: relative;
    z-index: 3;
    box-shadow: 0 -20px 40px -10px rgba(0,0,0,.25);
    max-height: 58vh;
  }
  .lb-info-handle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 0;
    padding: 8px 12px 4px;
    margin: -4px auto 4px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .lb-info-handle:active .lb-handle-bar { background: var(--sage); }
  .lb-info h2 { font-size: 1.9rem; }
  .lb-meta { font-size: 11px; gap: 5px; }
  .lb-blurb { font-size: 0.96rem; line-height: 1.55; }
  .lb-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 2px;
  }
  .lb-actions .btn {
    padding: 14px 16px;
    font-size: 11px;
    letter-spacing: 0.14em;
    justify-content: center;
  }
  .lb-hint { display: none; }

  /* Nav arrows: vertically centered in visible photo area
     (the sheet overlaps the photo by 22px; the photo's effective center
      sits well below the top bar and well above the sheet). */
  .lb-nav {
    width: 44px; height: 44px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 25, 41, 0.55);
    border-color: rgba(255,255,255,0.25);
  }
  .lb-nav:hover, .lb-nav:active {
    background: var(--bone);
    color: var(--ink);
    transform: translateY(-50%) scale(.98);
  }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }

  /* Counter and tipo a bit smaller for mobile bar */
  .lb-counter { font-size: 10px; padding: 6px 10px; }
  .lb-tipo { font-size: 9px; padding: 5px 10px; }
}

/* ============================================================
   PAGE HERO (used by requisitos/voluntarios/donar/contacto/prensa)
   ============================================================ */
.page-hero { padding: clamp(64px, 8vw, 110px) 0 clamp(40px, 5vw, 70px); }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p { max-width: 60ch; }

/* Reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   DONATE PAGE
   ============================================================ */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}
@media (max-width: 980px) { .donate-grid { grid-template-columns: 1fr; } }

.donate-card {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.donate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage); }

.donate-card.dark {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
}
.donate-card.dark h3 { color: var(--ink); }
.donate-card.dark p { color: var(--ink); opacity: 0.78; }
.donate-card.dark .donate-tag { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.donate-card.dark .donate-id { color: var(--ink); opacity: 0.7; }

.donate-card.accent {
  background: linear-gradient(180deg, var(--sage) 0%, var(--sage-deep) 100%);
  color: var(--bone);
  border-color: transparent;
}
.donate-card.accent h3 { color: var(--bone); }
.donate-card.accent p { color: rgba(255,255,255,.92); }
.donate-card.accent .donate-tag { background: rgba(255,255,255,.18); color: var(--bone); border-color: transparent; }
.donate-card.accent .donate-id { color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.28); }

.donate-logo {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--sand);
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 22px;
  align-self: flex-start;
  min-height: 58px;
}
.donate-card.dark .donate-logo { background: var(--bone); border-color: transparent; }
.donate-card.accent .donate-logo { background: var(--bone); border-color: transparent; }
.donate-logo-text {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.donate-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: var(--sand-2);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.donate-card h3 {
  font-family: var(--sans);
  margin-bottom: 10px;
  font-size: 1.6rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.donate-card p {
  color: var(--ink);
  opacity: 0.78;
  margin: 0 0 20px;
  font-size: 0.96rem;
  line-height: 1.55;
  flex: 1;
}

.donate-id {
  font-family: var(--mono);
  font-size: 0.84rem;
  letter-spacing: 0;
  color: var(--ink-soft);
  padding: 10px 0 14px;
  margin-bottom: 6px;
  border-top: 1px dashed var(--line);
  font-feature-settings: "tnum";
}

.donate-accepts {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.donate-card.dark .donate-accepts { color: var(--bone-fade); }
.donate-card.accent .donate-accepts { color: rgba(255,255,255,.78); }
.donate-accepts img {
  height: 22px; width: auto;
  border-radius: 3px;
  background: var(--sand);
  padding: 0;
}
.donate-chip {
  display: inline-block;
  padding: 4px 10px;
  background: var(--sand-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-transform: uppercase;
}
.donate-card.accent .donate-chip { background: rgba(255,255,255,.20); color: var(--bone); }

.donate-card .btn-primary,
.donate-card .btn-ink,
.donate-card .btn-ghost {
  margin-top: auto;
  align-self: stretch;
  justify-content: space-between;
}
.donate-card.dark .btn-primary { background: var(--ink); color: var(--bone); }
.donate-card.dark .btn-primary:hover { background: var(--sage-deep); color: var(--bone); }
.donate-card.accent .btn-ink { background: var(--bone); color: var(--sage-deep); }
.donate-card.accent .btn-ink:hover { background: var(--ink); color: var(--bone); }

/* Footer strip — all accepted methods */
.payments-strip {
  margin-top: 60px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.payments-strip-label {
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.payments-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.payments-row a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .2s ease, transform .2s ease;
}
.payments-row a:hover { background: var(--sand-2); transform: translateY(-2px); }
.payments-row-mp img { height: 24px; width: 24px; border-radius: 4px; }
.payments-row-mp span { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.payments-divider { width: 1px; height: 24px; background: var(--line); }

/* Impact cards — where donations go */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.impact-card {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.impact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.impact-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
}
.impact-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.impact-card:hover .impact-photo img { transform: scale(1.04); }
.impact-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(180deg, transparent, rgba(10,25,41,.55));
  pointer-events: none;
}
.impact-credit {
  position: absolute; bottom: 14px; left: 14px;
  z-index: 2;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.impact-body {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column;
  gap: 10px;
}
.impact-tag {
  align-self: flex-start;
  background: var(--sand-2);
  color: var(--sage-deep);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--line);
}
.impact-card h3 {
  font-family: var(--sans);
  font-size: 1.3rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.impact-body p {
  color: var(--ink);
  opacity: 0.7;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ============================================================
   REQUISITOS — process steps + fees
   ============================================================ */
.process {
  display: flex; flex-direction: column;
  gap: clamp(60px, 8vw, 110px);
}
.process-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  position: relative;
}
.process-step:nth-child(even) > .step-visual { order: -1; }
@media (max-width: 820px) {
  .process-step { grid-template-columns: 1fr; gap: 28px; }
  .process-step:nth-child(even) > .step-visual { order: 0; }
}
.step-content { position: relative; }
.step-tag {
  display: block;
  font-family: var(--sans);
  font-size: clamp(5rem, 12vw, 8.5rem);
  line-height: 0.85;
  color: var(--sage-deep);
  letter-spacing: -0.07em;
  font-weight: 200;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.step-content h3 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1;
  margin: 0 0 16px;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.step-content p {
  color: var(--ink); opacity: 0.78;
  font-size: 1.08rem; line-height: 1.6;
  max-width: 44ch; margin: 0;
}
.step-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--carbon);
  box-shadow: var(--shadow-md);
}
.step-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.step-visual:hover img { transform: scale(1.04); }
.step-visual::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 35%;
  background: linear-gradient(180deg, transparent, rgba(10,25,41,.55));
  pointer-events: none;
}
.step-credit {
  position: absolute; bottom: 20px; left: 22px;
  z-index: 2;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

/* Fees */
.fees {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 32px;
}
@media (max-width: 720px) { .fees { grid-template-columns: 1fr; } }
.fee-card {
  padding: 38px 34px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.fee-card.alt {
  background: var(--sand-2);
}
.fee-card .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 600;
  display: block;
}
.fee-card .price {
  font-family: var(--sans);
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 14px 0 6px;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.fee-card ul { list-style: none; padding: 0; margin: 22px 0 0; }
.fee-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.95rem;
  color: var(--ink); opacity: 0.85;
}
.fee-card li svg { flex: 0 0 16px; color: var(--sage-deep); }

/* ============================================================
   VOLUNTARIOS — narrative panels + scroll cue
   ============================================================ */
.vol-hero { padding-bottom: clamp(40px, 5vw, 70px); }
.vol-stats {
  display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap;
  margin-top: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.vol-stats > div { display: flex; flex-direction: column; gap: 4px; }
.vol-stats .num {
  font-family: var(--sans);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
  color: var(--sage-deep);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}
.vol-stats .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.vol-scroll-cue {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px;
  padding: 10px 20px;
  border-radius: 4px;
  background: var(--sand-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.vol-scroll-cue:hover { background: var(--ink); color: var(--bone); }
.vol-scroll-cue svg { animation: bounceDown 1.8s ease-in-out infinite; }

.vol-panels { padding: clamp(60px, 8vw, 110px) 0; }
.vol-panels .wrap { display: flex; flex-direction: column; gap: clamp(70px, 9vw, 130px); }
.vol-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.vol-panel:nth-child(even) > .vol-panel-photo { order: -1; }
@media (max-width: 880px) {
  .vol-panel { grid-template-columns: 1fr; gap: 28px; }
  .vol-panel:nth-child(even) > .vol-panel-photo { order: 0; }
}
.vol-panel-text { display: flex; flex-direction: column; align-items: flex-start; }
.vol-panel-num {
  font-family: var(--sans);
  font-size: clamp(5rem, 11vw, 8rem);
  line-height: 0.85;
  color: var(--sage-deep);
  letter-spacing: -0.07em;
  font-weight: 200;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.vol-panel-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage-deep);
  background: var(--sand-2);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.vol-panel-text h3 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1;
  margin: 0 0 18px;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.vol-panel-text p {
  color: var(--ink); opacity: 0.75;
  font-size: 1.05rem; line-height: 1.65;
  margin: 0 0 16px;
  max-width: 46ch;
}
.vol-panel-kicker {
  font-family: var(--sans);
  font-style: italic;
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--sage-deep);
  padding-left: 16px;
  border-left: 2px solid var(--sage);
  margin: 8px 0 26px;
}
.vol-panel-cta { align-self: flex-start; }
.vol-panel-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--carbon);
  box-shadow: var(--shadow-md);
}
.vol-panel-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.vol-panel:hover .vol-panel-photo img { transform: scale(1.04); }
.vol-panel-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(180deg, transparent, rgba(10,25,41,.55));
  pointer-events: none;
}
.vol-panel-credit {
  position: absolute; bottom: 20px; left: 22px;
  z-index: 2;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: 0; }
.contact-item .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-item .val {
  font-family: var(--sans);
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.025em;
  display: block;
}
.contact-item a.val { transition: color .15s; }
.contact-item a.val:hover { color: var(--sage-deep); }
.map-wrap {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand-2);
  border: 1px solid var(--line);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   MEDIA KIT (mk-*) — sidebar + numbered spreads
   ============================================================ */
.mk {
  --mk-sidebar: 250px;
  display: grid;
  grid-template-columns: var(--mk-sidebar) 1fr;
  min-height: 100vh;
  background: var(--sand);
  position: relative;
}
@media (max-width: 980px) { .mk { grid-template-columns: 1fr; } }
.mk-nav {
  position: sticky; top: 96px;
  align-self: start;
  height: calc(100vh - 96px);
  padding: 30px 26px 26px;
  border-right: 1px solid var(--line);
  background: var(--sand-2);
  display: flex; flex-direction: column; gap: 22px;
  overflow-y: auto;
}
@media (max-width: 980px) {
  .mk-nav { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
}
.mk-nav-head { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mk-nav-title { font-family: var(--sans); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.mk-nav-edition { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.mk-nav-list { display: flex; flex-direction: column; gap: 0; }
.mk-nav-list a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 9px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink); opacity: 0.55;
  transition: opacity .15s, color .15s, padding-left .2s;
}
.mk-nav-list a:hover { opacity: 1; padding-left: 4px; }
.mk-nav-list a.active { color: var(--sage-deep); opacity: 1; padding-left: 8px; font-weight: 600; }
.mk-nav-num {
  font-family: var(--mono); font-size: 10px;
  color: var(--muted); flex: 0 0 22px; font-feature-settings: "tnum";
}
.mk-nav-foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.mk-mini-btn {
  display: inline-flex; align-items: center; justify-content: space-between;
  padding: 9px 14px;
  background: var(--ink); color: var(--bone);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600;
  transition: background .2s;
}
.mk-mini-btn:hover { background: var(--sage-deep); }
.mk-mini-btn--alt { background: var(--sage); color: var(--ink); }
.mk-mini-btn--alt:hover { background: var(--bone); color: var(--sage-deep); }
.mk-mini-btn--big { padding: 14px 22px; font-size: 11px; }

.mk-pages { min-width: 0; }
.mk-marker {
  display: flex; align-items: center; gap: 18px;
  padding-bottom: 22px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.mk-marker > span:first-child { color: var(--sage-deep); font-weight: 600; font-feature-settings: "tnum"; }
.mk-marker > span:last-child { color: var(--muted); }
.mk-marker--light > span:first-child { color: var(--sage); }
.mk-marker--light > span:last-child { color: var(--bone-fade); }

.mk-display {
  font-family: var(--sans);
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
  color: var(--ink);
  font-weight: 800;
}
.mk-display em { font-style: italic; color: var(--sage-deep); font-weight: 300; }
.mk-display--light { color: var(--bone); }
.mk-section-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  color: var(--ink); opacity: 0.75;
  max-width: 60ch; line-height: 1.55;
  margin: 0 0 32px;
}
.mk-lead--light { color: var(--bone-soft); opacity: 1; }
.mk-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 600;
  margin-bottom: 8px;
}

.mk-section {
  padding: clamp(56px, 8vw, 110px) clamp(28px, 5vw, 70px);
  background: var(--sand);
}
.mk-section.mk-cream { background: var(--sand-2); }
.mk-section.mk-dark { background: var(--sand-2); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* 01 — Cover */
.mk-cover {
  position: relative;
  min-height: calc(100vh - 96px - 60px);
  display: grid; grid-template-rows: 1fr auto;
  padding: 0;
  background: var(--ink); color: var(--bone);
  overflow: hidden;
}
.mk-cover-photo { position: absolute; inset: 0; z-index: 0; }
.mk-cover-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.mk-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,25,41,.65) 0%, rgba(10,25,41,.45) 30%, rgba(10,25,41,.92) 100%);
}
.mk-cover-credit {
  position: absolute; top: 28px; right: 28px; z-index: 2;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone-soft);
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.mk-cover-grid {
  position: relative; z-index: 2;
  grid-row: 1 / -1;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: clamp(28px, 5vw, 60px);
}
.mk-cover-meta {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone-soft);
}
.mk-rule { width: 48px; height: 1px; background: rgba(255,255,255,.4); }
.mk-cover-title {
  font-family: var(--sans);
  font-size: clamp(4.2rem, 12vw, 10rem);
  line-height: 0.88; letter-spacing: -0.06em;
  margin: 0; align-self: center;
  font-weight: 800; color: var(--bone);
}
.mk-cover-title span { display: block; }
.mk-cover-italic { font-style: italic; color: var(--sage); font-weight: 200; padding-left: 0.18em; }
.mk-cover-foot {
  display: flex; align-items: end; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.mk-cover-foot > div { display: flex; flex-direction: column; gap: 4px; }
.mk-kicker {
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone-fade);
}
.mk-brand { font-family: var(--sans); font-size: 1.3rem; letter-spacing: -0.035em; font-weight: 700; }
.mk-scroll {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: var(--sage);
  color: var(--ink);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  transition: background .2s, gap .2s;
}
.mk-scroll:hover { background: var(--bone); gap: 14px; }
.mk-scroll svg { animation: bounceDown 1.8s ease-in-out infinite; }

/* 02 — Manifiesto */
.mk-manifesto-body {
  font-family: var(--sans);
  font-size: clamp(1.18rem, 1.7vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink); opacity: 0.78;
  max-width: 56ch;
  margin: 0 0 50px;
  font-weight: 400;
}
.mk-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.mk-pillars > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.mk-pillar-num {
  display: block;
  font-family: var(--sans);
  color: var(--sage-deep);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}
.mk-pillars strong { display: block; font-family: var(--sans); font-size: 1.18rem; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 6px; }
.mk-pillars p { margin: 0; color: var(--ink); opacity: 0.7; font-size: 0.94rem; line-height: 1.5; }

/* 03 — Cifras (dark big stats) */
.mk-big-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 880px) { .mk-big-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .mk-big-stats { grid-template-columns: 1fr; } }
.mk-big-stats > div {
  padding: clamp(24px, 3.5vw, 40px) clamp(18px, 2.5vw, 32px);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.mk-big-stats > div:nth-child(3n) { border-right: 0; }
.mk-stat-num {
  font-family: var(--sans);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 0.9; letter-spacing: -0.055em;
  color: var(--sage-deep);
  font-weight: 200;
  font-variant-numeric: tabular-nums;
}
.mk-stat-num small { font-size: 0.45em; opacity: 0.7; font-weight: 400; }
.mk-stat-lbl {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4; max-width: 28ch; font-weight: 600;
}

/* 04 — Historia */
.mk-bio { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 820px) { .mk-bio { grid-template-columns: 1fr; } }
.mk-bio > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.mk-bio-text {
  font-family: var(--sans);
  font-size: 1.1rem; line-height: 1.55;
  color: var(--ink); margin: 14px 0 18px;
  font-weight: 400;
}
.mk-copy {
  background: transparent; border: 1px solid var(--ink);
  padding: 7px 16px; border-radius: 4px;
  font-family: var(--mono); font-size: 10.5px;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: all .15s; color: var(--ink);
}
.mk-copy:hover { background: var(--ink); color: var(--bone); }

/* 05 — Marca/Logos */
.mk-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-bottom: 56px; }
.mk-logo { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.mk-logo-frame { aspect-ratio: 16/10; display: grid; place-items: center; padding: 22px; }
.mk-frame-cream { background: var(--sand); }
.mk-frame-cream img { width: 80%; color: var(--ink); }
.mk-frame-ink { background: var(--carbon); }
.mk-frame-ink img { width: 80%; color: var(--bone); }
.mk-frame-baby { background: var(--sage); color: var(--ink); }
.mk-logo-meta {
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: end; gap: 14px;
  background: var(--sand-2); border-top: 1px solid var(--line);
}
.mk-logo-meta strong { display: block; font-family: var(--sans); font-size: 1.08rem; font-weight: 700; letter-spacing: -0.025em; }
.mk-logo-meta span { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
.mk-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.mk-rules > div { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.mk-rule-x { display: inline-block; font-family: var(--sans); font-size: 2.4rem; line-height: 1; color: var(--sage-deep); letter-spacing: -.04em; margin-bottom: 10px; font-weight: 300; }
.mk-rule-x small { font-size: .5em; opacity: 0.7; }
.mk-rules strong { display: block; font-family: var(--sans); font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em; }
.mk-rules p { margin: 0; color: var(--ink); opacity: 0.7; font-size: 0.92rem; line-height: 1.5; }

/* 06 — Color swatches */
.mk-swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.swatch {
  display: flex; align-items: stretch; gap: 14px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px;
  cursor: pointer; text-align: left; font: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.swatch:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.swatch-chip { width: 64px; flex: 0 0 64px; border-radius: 4px; border: 1px solid var(--line); }
.swatch-text { display: flex; flex-direction: column; gap: 2px; padding: 4px 0; }
.swatch-name { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.swatch-hex { font-family: var(--mono); font-size: 0.82rem; color: var(--sage-deep); font-feature-settings: "tnum"; font-weight: 600; }
.swatch-use { font-size: 0.78rem; color: var(--muted); }

/* 07 — Tipografía */
.mk-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 820px) { .mk-type-grid { grid-template-columns: 1fr; } }
.mk-type-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid; grid-template-columns: auto 1fr; gap: 26px;
}
.mk-type-aa {
  font-size: clamp(5rem, 9vw, 8rem);
  line-height: 0.85;
  color: var(--sage-deep);
  letter-spacing: -0.05em;
  font-weight: 800;
}
.mk-type-info { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mk-type-name { font-family: var(--sans); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.03em; }
.mk-type-meta { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }
.mk-type-ladder { display: flex; flex-direction: column; gap: 2px; margin: 10px 0; font-size: 1.05rem; color: var(--ink); line-height: 1.4; }
.mk-type-sample { font-size: 1.08rem; color: var(--ink); opacity: 0.78; margin: 4px 0 14px; line-height: 1.4; }

/* 08 — Patrón */
.mk-pattern-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 880px) { .mk-pattern-grid { grid-template-columns: 1fr; } }
.mk-pattern-display { aspect-ratio: 1 / 1; background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius-xl); overflow: hidden; display: grid; place-items: center; }
.mk-pattern-display svg { width: 100%; height: 100%; display: block; }

/* 09 — Fotografía */
.mk-photos-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 32px; }
.press-photo {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--radius); overflow: hidden;
  background: var(--sand);
  transition: transform .25s ease;
  display: block;
}
.press-photo:hover { transform: translateY(-3px); }
.press-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.press-photo:hover img { transform: scale(1.05); }
.press-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 50%; background: linear-gradient(180deg, transparent, rgba(10,25,41,.6)); pointer-events: none; }
.press-photo-meta {
  position: absolute; bottom: 12px; left: 14px; right: 14px;
  z-index: 2; color: var(--bone);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.press-download {
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
  background: var(--bone);
  padding: 4px 9px; border-radius: 3px;
  opacity: 0; transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}
.press-photo:hover .press-download { opacity: 1; transform: translateY(0); }
.mk-photo-guide { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.mk-photo-guide ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.mk-photo-guide li {
  display: grid; grid-template-columns: 20px 1fr; align-items: baseline;
  color: var(--ink); opacity: 0.78;
  font-size: 0.95rem; line-height: 1.5;
}
.mk-photo-guide li span { color: var(--sage-deep); font-family: var(--mono); font-size: 1rem; }
.press-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }

/* 10 — Voz */
.mk-voz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 720px) { .mk-voz-grid { grid-template-columns: 1fr; } }
.mk-voz-grid > div { padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.mk-tag {
  display: inline-block;
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 18px;
}
.mk-tag--good { background: var(--sage); color: var(--ink); }
.mk-tag--bad { background: var(--ink); color: var(--bone); }
.mk-voz-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mk-voz-list li {
  font-family: var(--sans); font-size: 1rem;
  color: var(--ink); line-height: 1.45;
  padding-left: 18px; position: relative;
}
.mk-voz-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 1px; background: var(--sage-deep); }

/* 11 — Lineamientos (Do's & Don'ts) */
.mk-dosnts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .mk-dosnts { grid-template-columns: 1fr; } }
.mk-do, .mk-dont {
  padding: 30px 32px; border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line);
}
.mk-do ul, .mk-dont ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mk-do li, .mk-dont li { font-size: 0.96rem; line-height: 1.5; color: var(--ink); opacity: 0.8; padding-left: 20px; position: relative; }
.mk-do li::before, .mk-dont li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; }
.mk-do li::before { background: var(--sage); }
.mk-dont li::before { background: transparent; border: 2px solid var(--ink); }

/* 12 — Contacto */
.mk-contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
@media (max-width: 820px) { .mk-contact-grid { grid-template-columns: 1fr; } }
.mk-channels { display: grid; gap: 0; }
.mk-channels a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--ink); opacity: 0.85;
  transition: color .15s, opacity .15s;
}
.mk-channels a:last-child { border-bottom: 1px solid var(--line); }
.mk-channels a:hover { color: var(--sage-deep); opacity: 1; }
.mk-ch-lbl { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mk-ch-val { font-family: var(--sans); font-size: 1.08rem; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.mk-colofon {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}

.mk-cifras, .mk-historia, .mk-marca, .mk-color, .mk-type,
.mk-pattern, .mk-photos, .mk-voz, .mk-rules-sec, .mk-contact,
.mk-manifesto { /* section identifiers — visual handled by .mk-section */ }
.mk-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.mk-vol { font-family: var(--mono); }
.mk-date { font-family: var(--mono); }
.mk-nav-lbl { font-weight: inherit; }

/* Generic mk- section tweaks already covered by mk-section */

/* ============================================================
   PRESS CALLOUT · funnel to /prensa.html from /voluntarios.html
   ============================================================ */
.press-callout {
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  position: relative;
  box-shadow: var(--shadow-md);
}
@media (max-width: 880px) { .press-callout { grid-template-columns: 1fr; } }
.press-callout::before {
  content: ""; position: absolute;
  top: -30%; right: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(109,184,224,.18) 0%, transparent 60%);
  pointer-events: none;
}
.press-callout-body {
  padding: clamp(36px, 5vw, 64px);
  position: relative; z-index: 1;
}
.press-callout-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}
.press-callout-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(109,184,224,.25);
  animation: pulse 2.4s ease-in-out infinite;
}
.press-callout-body h2 {
  color: var(--bone) !important;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  letter-spacing: -0.04em;
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 18px;
}
.press-callout-body h2 em {
  font-style: italic;
  color: var(--sage);
  font-weight: 300;
}
.press-callout-body > p {
  color: var(--bone-soft);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 58ch;
}

.press-callout-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.12);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 28px;
}
@media (max-width: 540px) { .press-callout-stats { grid-template-columns: repeat(2, 1fr); } }
.press-callout-stats > div {
  background: var(--carbon);
  padding: 18px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.press-callout-stats .val {
  font-family: var(--sans);
  font-size: 1.7rem;
  font-weight: 200;
  letter-spacing: -0.045em;
  color: var(--sage);
  line-height: 1;
}
.press-callout-stats .key {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-fade);
  font-weight: 600;
}

.press-callout-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.press-callout-actions .btn-deploy { background: var(--sage); color: var(--ink); }
.press-callout-actions .btn-deploy:hover { background: var(--bone); }
.press-callout-actions .btn-secondary {
  border-color: rgba(255,255,255,.32);
  color: var(--bone);
  display: inline-flex; align-items: center;
}
.press-callout-actions .btn-secondary:hover {
  background: var(--bone); color: var(--ink); border-color: var(--bone);
}

.press-callout-aside {
  background: var(--carbon);
  padding: clamp(32px, 4vw, 48px);
  border-left: 1px solid rgba(255,255,255,.10);
  display: flex; flex-direction: column;
  position: relative; z-index: 1;
}
@media (max-width: 880px) {
  .press-callout-aside { border-left: 0; border-top: 1px solid rgba(255,255,255,.10); }
}
.press-callout-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--sage);
  padding: 4px 11px;
  border-radius: 3px;
  margin-bottom: 22px;
}
.press-callout-aside h3 {
  color: var(--bone) !important;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.press-callout-aside ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.press-callout-aside li {
  font-size: 0.92rem;
  color: var(--bone-soft);
  line-height: 1.45;
  padding-left: 18px;
  position: relative;
}
.press-callout-aside li::before {
  content: ""; position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 1px;
  background: var(--sage);
}

/* ============================================================
   QUICK-HELP · 30-second ways to help (reviews / follows)
   ============================================================ */
.quick-help {
  background: var(--sand-2);
  padding: clamp(64px, 8vw, 110px) 0;
}
.quick-help-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.quick-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .quick-help-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .quick-help-grid { grid-template-columns: 1fr; } }

.qh-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 26px;
  display: flex; flex-direction: column;
  gap: 12px;
  position: relative;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.qh-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}
.qh-card--note {
  background: var(--sand-2);
  border-style: dashed;
}
.qh-card--note:hover { transform: none; box-shadow: none; cursor: default; }

.qh-tag {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: var(--sand-2);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 999px;
}
.qh-card--note .qh-tag { background: var(--paper); color: var(--ink); }

.qh-logo {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--sand-2);
  margin-bottom: 6px;
}
.qh-logo--google { background: var(--paper); border: 1px solid var(--line); }
.qh-logo--fb { background: rgba(24,119,242,.08); }
.qh-logo--ig { background: var(--paper); }
.qh-logo--tt { background: var(--paper); }
.qh-logo--note { color: var(--sage-deep); background: var(--paper); border: 1px solid var(--line); }

.qh-card h3 {
  font-family: var(--sans);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.qh-card p {
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}
.qh-cta {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  transition: color .15s;
}
.qh-card:hover .qh-cta { color: var(--ink); }
.qh-cta--static { color: var(--muted); }
.qh-card--note:hover .qh-cta { color: var(--muted); }

/* ============================================================
   PLAY · two long-form guides + index pair
   ============================================================ */
/* Index: two big cards (dogs / cats) */
.play-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 8px;
}
@media (max-width: 880px) { .play-pair { grid-template-columns: 1fr; } }
.play-pair-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  color: inherit;
  transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
}
.play-pair-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.play-pair-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand-2);
}
.play-pair-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.play-pair-card:hover .play-pair-photo img { transform: scale(1.04); }
.play-pair-photo .play-kind {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 12px;
  font-size: 10.5px;
  z-index: 2;
}
.play-pair-body {
  padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column;
  gap: 14px;
  flex: 1;
}
.play-pair-num {
  font-family: var(--sans);
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 200;
  line-height: 0.85;
  letter-spacing: -0.055em;
  color: var(--sage-deep);
  margin-bottom: 4px;
}
.play-pair-body h2 {
  font-family: var(--sans);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}
.play-pair-body p {
  color: var(--ink); opacity: 0.78;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
  max-width: 56ch;
}
.play-pair-cta {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.play-kind {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 3px;
  display: inline-block;
}
.play-kind--perro { background: var(--ink); color: var(--bone); }
.play-kind--gato  { background: var(--sage); color: var(--ink); }
.play-free { color: var(--sage-deep); font-weight: 700; }

/* Long-form article */
.long-play { display: block; }
.long-play-hero {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  min-height: clamp(360px, 55vh, 540px);
}
.long-play-photo { position: absolute; inset: 0; }
.long-play-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.long-play-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,25,41,.55) 0%, rgba(10,25,41,.40) 30%, rgba(10,25,41,.85) 100%);
}
.long-play-head {
  position: relative; z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) clamp(24px, 4vw, 40px);
  text-align: center;
}
.long-play-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-soft);
  margin-bottom: 22px;
}
.long-play-eyebrow .play-kind { padding: 5px 10px; }
.long-play-title {
  font-family: var(--sans);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--bone) !important;
  margin: 0 0 18px;
}
.long-play-title em { font-style: italic; font-weight: 300; color: var(--sage); }
.long-play-deck {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--bone-soft);
  line-height: 1.5;
  margin: 0 auto 22px;
  max-width: 56ch;
}
.long-play-meta {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-fade);
  font-weight: 600;
}

.long-play-intro {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 32px) 0;
}
.long-play-intro p {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1.4em;
}
.long-play-intro p:last-child { margin-bottom: 0; }

/* TOC */
.long-play-toc {
  max-width: 880px;
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: 0 clamp(24px, 4vw, 32px);
}
.long-play-toc-head { margin-bottom: 18px; }
.toc-label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.long-play-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 720px) { .long-play-toc ol { grid-template-columns: 1fr; } }
.long-play-toc li a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: var(--paper);
  color: var(--ink);
  transition: background .15s, color .15s;
}
.long-play-toc li a:hover { background: var(--sand-2); color: var(--sage-deep); }
.toc-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--sage-deep);
  font-variant-numeric: tabular-nums;
}
.toc-title {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.toc-time {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}

/* Body items */
.long-play-body {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 70px) clamp(24px, 4vw, 32px) clamp(60px, 8vw, 100px);
}

.long-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(40px, 5vw, 60px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.long-item:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 720px) { .long-item { grid-template-columns: 1fr; gap: 16px; } }

.long-item-num {
  font-family: var(--sans);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 200;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--sage-deep);
  font-variant-numeric: tabular-nums;
  position: sticky;
  top: 90px;
  align-self: start;
}
@media (max-width: 720px) { .long-item-num { position: static; font-size: 3rem; } }

.long-item-content { min-width: 0; }

.long-item-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--sand-2);
}
.long-item-photo img { width: 100%; height: 100%; object-fit: cover; }
.long-item-credit {
  position: absolute; bottom: 12px; left: 14px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(10,25,41,.55);
  backdrop-filter: blur(6px);
  padding: 4px 9px;
  border-radius: 3px;
}
.long-item-title {
  font-family: var(--sans);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 8px;
  color: var(--ink);
}
.long-item-deck {
  font-family: var(--sans);
  font-style: italic;
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--sage-deep);
  line-height: 1.45;
  margin: 0 0 16px;
  max-width: 50ch;
}
.long-item-specs {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  padding: 14px 16px;
  margin-bottom: 22px;
  background: var(--sand-2);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink); opacity: 0.85;
}
.long-item-specs strong {
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-right: 4px;
}
.long-item-materials { flex-basis: 100%; }
.long-item-text p {
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1.2em;
}
.long-item-key {
  margin: 1.6em 0 0;
  padding: 14px 20px;
  background: transparent;
  border-left: 3px solid var(--sage);
  font-family: var(--sans);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--sage-deep);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Foot — adoption CTA */
.long-play-foot {
  background: var(--sand-2);
  border-top: 1px solid var(--line);
  padding: clamp(60px, 8vw, 100px) clamp(24px, 4vw, 40px);
  text-align: center;
}
.long-play-foot-inner { max-width: 640px; margin: 0 auto; }
.long-play-foot h2 {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 14px 0 14px;
}
.long-play-foot h2 em { font-style: italic; font-weight: 300; color: var(--sage-deep); }
.long-play-foot p {
  color: var(--ink); opacity: 0.78;
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 auto 28px;
  max-width: 52ch;
}
.long-play-foot-actions {
  display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}

/* ============================================================
   PLAY · 34 free ways to play with your pet
   ============================================================ */
.play-filter {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  background: var(--carbon); color: var(--bone);
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 32px;
}
.play-filter-label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-fade);
  margin-right: 6px;
}
.play-chip {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 8px 14px;
  background: transparent;
  color: var(--bone);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  cursor: pointer;
  transition: all .15s ease;
}
.play-chip:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.play-chip[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.play-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .play-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .play-grid { grid-template-columns: 1fr; } }
.play-grid--mini { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .play-grid--mini { grid-template-columns: 1fr; } }

.play-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.play-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.play-photo {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--sand-2);
}
.play-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.play-card:hover .play-photo img { transform: scale(1.04); }
.play-kind {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
  z-index: 2;
}
.play-kind--perro { background: var(--ink); color: var(--bone); }
.play-kind--gato  { background: var(--sage); color: var(--ink); }
.play-body {
  padding: 18px 20px 20px;
  display: flex; flex-direction: column;
  gap: 8px;
  flex: 1;
}
.play-card--mini .play-body { padding: 14px 16px; }
.play-meta {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}
.play-meta svg { color: var(--sage-deep); }
.play-title {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.play-card--mini .play-title { font-size: 0.98rem; line-height: 1.2; }
.play-deck {
  color: var(--ink); opacity: 0.7;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

/* Article page */
.play-article { display: block; }
.play-article-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(360px, 50vh, 540px);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 880px) { .play-article-hero { grid-template-columns: 1fr; min-height: 0; } }
.play-article-photo {
  position: relative;
  background: var(--sand-2);
  overflow: hidden;
}
@media (max-width: 880px) { .play-article-photo { aspect-ratio: 16 / 11; } }
.play-article-photo img { width: 100%; height: 100%; object-fit: cover; }
.play-article-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,25,41,.5));
}
.play-article-credit {
  position: absolute; bottom: 18px; left: 24px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-soft);
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.play-article-head {
  padding: clamp(36px, 5vw, 60px);
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.play-article-meta {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.play-article-meta .play-kind { position: static; padding: 4px 9px; font-size: 9.5px; }
.play-free { color: var(--sage-deep); font-weight: 700; }
.play-article-title {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
}
.play-article-deck {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.55;
  color: var(--ink); opacity: 0.78;
  margin: 0; max-width: 52ch;
}

.play-article-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(28px, 4vw, 60px);
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 32px);
}
@media (max-width: 820px) { .play-article-grid { grid-template-columns: 1fr; gap: 28px; } }

.play-card-info {
  background: var(--sand-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 24px;
  display: flex; flex-direction: column;
  gap: 14px;
  align-self: start;
  position: sticky; top: 96px;
}
@media (max-width: 820px) { .play-card-info { position: static; } }
.play-info-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.play-info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.play-info-row--list { flex-direction: column; align-items: stretch; gap: 8px; }
.play-info-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.play-info-val {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.play-info-val.mono { font-family: var(--mono); }
.play-info-row--list ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 6px;
}
.play-info-row--list li {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.play-info-row--list li::before {
  content: ""; position: absolute;
  left: 0; top: 0.6em;
  width: 8px; height: 1px;
  background: var(--sage-deep);
}

.play-article-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1.3em;
}
.play-article-body p strong { font-weight: 700; }
.play-article-body p em { font-style: italic; }

.play-key {
  margin: 2em 0;
  padding: 18px 22px;
  background: var(--sand-2);
  border-left: 3px solid var(--sage);
  border-radius: 0 8px 8px 0;
  font-family: var(--sans);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--sage-deep);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.play-cta-strip {
  margin-top: 2.5em;
  padding: 24px 26px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap;
}
.play-cta-strip p {
  color: var(--bone-soft);
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0;
  max-width: 36ch;
}
.play-cta-strip .btn-deploy { background: var(--sage); color: var(--ink); }
.play-cta-strip .btn-deploy:hover { background: var(--bone); }

.play-related {
  border-top: 1px solid var(--line);
  background: var(--sand-2);
  padding: clamp(48px, 6vw, 80px) 0;
}

/* ============================================================
   SHARE BAR · universal social sharing
   ============================================================ */
.share-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 14px 18px;
  margin: 18px 0;
  background: var(--sand-2);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.share-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
  flex: 0 0 auto;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
  touch-action: manipulation;
}
.share-btn:hover { transform: translateY(-1px); }
.share-btn:active { transform: scale(.97); }
.share-btn--native { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.share-btn--native:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.share-btn--wa:hover { background: #25d366; color: #003c1e; border-color: #25d366; }
.share-btn--fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-btn--tw:hover { background: #0f0f0f; color: #fff; border-color: #0f0f0f; }
.share-btn--copy:hover { background: var(--sage); color: var(--ink); border-color: var(--sage); }
.share-btn.copied { background: var(--sage); color: var(--ink); border-color: var(--sage); }
.share-btn svg { flex: 0 0 13px; }
@media (max-width: 540px) {
  .share-bar { gap: 6px; padding: 12px 14px; }
  .share-btn { padding: 8px 11px; font-size: 12px; }
  .share-btn span { display: none; }
  .share-btn svg { flex: 0 0 16px; width: 16px; height: 16px; }
  .share-btn--native span,
  .share-btn--copy .share-copy-label { display: inline; }
  .share-btn--native, .share-btn--copy { padding: 8px 13px; }
}

/* ============================================================
   CONSOLE SEARCH · name lookup in /adopciones
   ============================================================ */
.console-row--search { padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.10); margin-bottom: 4px; }
.console-search {
  display: flex; align-items: center; gap: 10px;
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 6px;
  padding: 10px 14px;
  transition: border-color .15s, background .15s;
}
.console-search:focus-within {
  border-color: var(--sage);
  background: rgba(255,255,255,0.10);
}
.console-search svg { color: var(--bone-fade); flex: 0 0 14px; }
.console-search input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 0;
}
.console-search input::placeholder { color: var(--bone-fade); opacity: 0.8; }
.console-search-clear {
  background: transparent; border: 0; padding: 0 4px;
  color: var(--bone-fade);
  font-size: 1.4rem; line-height: 1;
  cursor: pointer;
  transition: color .15s;
}
.console-search-clear:hover { color: var(--bone); }

/* ============================================================
   EVENTS · index + detail pages
   ============================================================ */
.event-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .event-strip { grid-template-columns: repeat(2, 1fr); } }
.event-strip-cell { background: var(--paper); padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; }
.event-strip-cell .lbl {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.event-strip-cell .val {
  font-family: var(--sans); font-size: 1.5rem;
  letter-spacing: -0.035em; font-weight: 700;
  color: var(--ink);
}

.event-section-head {
  margin-bottom: 28px;
}
.event-section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  font-weight: 800;
}

.events {
  display: flex; flex-direction: column;
  gap: 18px;
}

.event-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 140px 1fr 220px;
  align-items: stretch;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.event-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--sage); }
@media (max-width: 880px) {
  .event-card { grid-template-columns: 110px 1fr; }
  .event-card .event-photo { display: none; }
}
@media (max-width: 540px) {
  .event-card { grid-template-columns: 1fr; }
}

.event-card--past { opacity: 0.6; }
.event-card--past:hover { opacity: 1; }

.event-card--today {
  border-color: var(--sage-deep);
  border-width: 2px;
  box-shadow: 0 0 0 4px rgba(109, 184, 224, 0.15);
}
.event-card--today .event-date { background: var(--sage); position: relative; }
.event-card--today .event-date-wd { color: var(--sage-deep); }
.event-card--today .event-date-day { color: var(--ink); }
.event-card--today .event-date-mon,
.event-card--today .event-date-time { color: var(--ink); opacity: 0.78; }

.event-today-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: var(--paper);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}

/* HOY banner — shown above event list when today has an event */
.today-banner {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--ink);
  color: var(--bone);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 720px) { .today-banner { grid-template-columns: 1fr; } }
.today-banner-photo {
  position: relative;
  background: var(--sand-2);
  overflow: hidden;
}
@media (max-width: 720px) { .today-banner-photo { aspect-ratio: 16/9; } }
.today-banner-photo img { width: 100%; height: 100%; object-fit: cover; }
.today-banner-body {
  padding: clamp(32px, 4vw, 48px);
  display: flex; flex-direction: column;
  gap: 12px;
}
.today-banner-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 4px;
}
.today-banner-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(109,184,224,.25);
  animation: pulse 2.4s ease-in-out infinite;
}
.today-banner-body h2 {
  color: var(--bone);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
}
.today-banner-body p {
  color: var(--bone-soft);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
  max-width: 56ch;
}
.today-banner-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-soft);
  font-weight: 600;
  margin-top: 4px;
}
.today-banner-meta strong { color: var(--sage); font-weight: 700; }
.today-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.today-banner-actions .btn-deploy { background: var(--sage); color: var(--ink); }
.today-banner-actions .btn-deploy:hover { background: var(--bone); }
.today-banner-actions .btn-secondary { border-color: rgba(255,255,255,.35); color: var(--bone); }
.today-banner-actions .btn-secondary:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.event-date {
  background: var(--sand-2);
  border-right: 1px solid var(--line);
  padding: 22px 18px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  text-align: center;
}
@media (max-width: 540px) {
  .event-date { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px; flex-direction: row; gap: 14px; }
}
.event-date-wd {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 700;
}
.event-date-day {
  font-family: var(--sans);
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 200;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.event-date-mon {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.event-date-time {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 600;
}

.event-body {
  padding: 22px 26px;
  display: flex; flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.event-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.event-kind {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.event-kind--sage { background: var(--sage); color: var(--ink); }
.event-kind--sage-deep { background: var(--sage-deep); color: var(--bone); }
.event-kind--honey { background: var(--honey); color: var(--ink); }
.event-kind--ink { background: var(--ink); color: var(--bone); }

.event-spots {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.event-title {
  font-family: var(--sans);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  letter-spacing: -0.035em;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
.event-title a { color: var(--ink); transition: color .15s; }
.event-title a:hover { color: var(--sage-deep); }

.event-lead {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
  max-width: 56ch;
}

.event-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  font-weight: 600;
}
.event-meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-meta svg { color: var(--sage-deep); }
.event-meta .event-addr { color: var(--muted); font-weight: 500; }

.event-venue-link {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 14px;
  color: var(--ink-soft);
  padding: 6px 10px;
  margin: 0 -10px;
  border-radius: 5px;
  transition: background .15s, color .15s;
}
a.event-venue-link:hover {
  background: var(--sand-2);
  color: var(--sage-deep);
}
a.event-venue-link:hover .event-venue-arrow { opacity: 1; transform: translate(2px, -2px); }
.event-venue-arrow {
  font-family: var(--mono);
  font-size: 0.95rem;
  opacity: 0.5;
  color: var(--sage-deep);
  transition: opacity .15s, transform .2s;
}
.event-venue-link--static { cursor: default; }

.event-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 6px;
}
.event-cta {
  padding: 12px 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
}
.event-secondary {
  padding: 11px 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.event-photo {
  overflow: hidden;
  background: var(--sand-2);
  position: relative;
}
.event-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.event-card:hover .event-photo img { transform: scale(1.04); }

/* Event detail page */
.event-detail {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.event-detail-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .event-detail-head { grid-template-columns: 1fr; } }
.event-date--big {
  padding: 36px 24px;
}
.event-date--big .event-date-day { font-size: clamp(3.6rem, 6vw, 5rem); }
.event-detail-meta {
  padding: clamp(32px, 4vw, 48px);
}
.event-detail-title {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 14px;
}
.event-detail-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 52ch;
}
.event-detail-where {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
@media (max-width: 540px) { .event-detail-where { grid-template-columns: 1fr; } }
.event-detail-where .lbl {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.event-detail-where .val {
  display: block;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.event-detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.event-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
@media (max-width: 720px) { .event-detail-grid { grid-template-columns: 1fr; } }
.event-detail-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand-2);
}
.event-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.event-detail-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(10,25,41,.55));
  pointer-events: none;
}
.event-detail-credit {
  position: absolute; bottom: 18px; left: 22px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-soft);
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.event-detail-body {
  padding: clamp(32px, 4vw, 56px);
}
.event-detail-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1.3em;
}

/* ============================================================
   BLOG · index + article pages
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .posts-grid { grid-template-columns: 1fr; } }
.posts-grid--mini { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .posts-grid--mini { grid-template-columns: 1fr; } }

.post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sage); }
@media (max-width: 720px) { .post-card { grid-template-columns: 1fr; } }
.post-card--mini {
  grid-template-columns: 1fr;
}
.post-photo {
  position: relative;
  background: var(--sand-2);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.post-card--mini .post-photo { aspect-ratio: 16 / 10; }
.post-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.post-card:hover .post-photo img { transform: scale(1.04); }
.post-body {
  padding: 26px 28px 24px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.post-card--mini .post-body { padding: 18px 20px 22px; gap: 8px; }
.post-meta {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.post-cat { color: var(--sage-deep); font-weight: 700; }
.post-title {
  font-family: var(--sans);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.post-deck {
  color: var(--ink); opacity: 0.7;
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0;
  max-width: 50ch;
}
.post-cta {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

/* Article page */
.article { display: block; }
.article-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(420px, 60vh, 620px);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 880px) { .article-hero { grid-template-columns: 1fr; min-height: 0; } }
.article-photo {
  position: relative;
  background: var(--sand-2);
  overflow: hidden;
}
@media (max-width: 880px) { .article-photo { aspect-ratio: 16 / 10; } }
.article-photo img { width: 100%; height: 100%; object-fit: cover; }
.article-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,25,41,.55));
  pointer-events: none;
}
.article-credit {
  position: absolute; bottom: 22px; left: 28px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-soft);
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.article-head {
  padding: clamp(40px, 5vw, 70px);
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.article-back {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  transition: color .15s;
  align-self: flex-start;
}
.article-back:hover { color: var(--sage-deep); }
.article-meta {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.article-cat { color: var(--sage-deep); font-weight: 700; }
.article-title {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--ink);
  margin: 0;
}
.article-deck {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.55;
  color: var(--ink); opacity: 0.75;
  margin: 0;
  max-width: 52ch;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 90px) clamp(24px, 4vw, 32px);
  font-family: var(--sans);
}
.article-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1.4em;
  letter-spacing: -0.005em;
}
.article-body p strong { color: var(--ink); font-weight: 700; }
.article-body p em { font-style: italic; color: var(--ink); }
.article-pull {
  margin: 2em 0;
  padding: 0 0 0 22px;
  border-left: 3px solid var(--sage);
  font-family: var(--sans);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  color: var(--sage-deep);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.article-cite {
  margin-top: 3rem;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.article-cite-label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 700;
  margin-bottom: 8px;
}
.article-cite p {
  font-family: var(--mono);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink); opacity: 0.75;
  margin: 0;
  letter-spacing: 0;
}

.article-foot {
  background: var(--sand-2);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 90px) clamp(24px, 4vw, 40px);
  text-align: center;
}
.article-foot-inner { max-width: 640px; margin: 0 auto; }
.article-foot h3 {
  font-family: var(--sans);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 14px;
}
.article-foot p {
  color: var(--ink); opacity: 0.78;
  font-size: 1.05rem; line-height: 1.5;
  margin: 0 auto 28px;
  max-width: 50ch;
}
.article-foot-actions {
  display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}

.article-related {
  padding: clamp(56px, 7vw, 90px) 0;
  border-top: 1px solid var(--line);
}

/* Utilities */
.text-center { text-align: center; }
.hidden { display: none !important; }
.btn-mini {
  background: var(--ink); color: var(--bone);
  padding: 7px 14px; border-radius: 4px;
  font-family: var(--mono); font-size: 10px;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background .2s;
}
.btn-mini:hover { background: var(--sage-deep); }
