/* ============== Biokind Analytics — styles ============== */

:root {
  --teal: #74dcbb;
  --teal-deep: #3FB995;
  --teal-soft: #E8F8F1;
  --teal-glow: rgba(116, 220, 187, 0.45);

  --ink: #0E1F1A;
  --ink-2: #1E322B;
  --muted: #6B7773;
  --line: rgba(14, 31, 26, 0.10);
  --line-soft: rgba(14, 31, 26, 0.06);
  --paper: #FAFAF7;
  --paper-2: #F4F4EF;
  --white: #ffffff;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(14,31,26,0.04), 0 1px 1px rgba(14,31,26,0.03);
  --shadow: 0 1px 2px rgba(14,31,26,0.04), 0 8px 24px rgba(14,31,26,0.06);
  --shadow-lg: 0 24px 60px -20px rgba(14,31,26,0.18), 0 8px 24px rgba(14,31,26,0.06);

  --container: 1240px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  scroll-behavior: smooth;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============== Typography ============== */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.display {
  font-size: clamp(44px, 6.2vw, 84px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.h2 {
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.h3 {
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(116,220,187,0.22);
}

.lead {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--muted);
  line-height: 1.55;
  max-width: 62ch;
  text-wrap: pretty;
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14,31,26,0.18);
}
.btn-secondary {
  background: var(--teal);
  color: var(--ink);
}
.btn-secondary:hover {
  background: var(--teal-deep);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--ink);
}
.btn .arrow {
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ============== Nav ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,247,0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 19px;
  color: var(--ink);
}
.nav-logo .emblem {
  width: 28px;
  height: 28px;
}
.nav-links {
  display: flex;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink-2);
  font-weight: 450;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover {
  background: var(--white);
  color: var(--ink);
}
.nav-cta {
  display: flex;
  gap: 10px;
}
.nav-cta .btn {
  padding: 10px 18px;
  font-size: 14px;
}

/* ---- Hamburger button ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px;
    gap: 2px;
    box-shadow: var(--shadow);
  }
  .nav-open .nav-links { display: flex; }
  .nav-links a {
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 15px;
  }
}

/* ============== Hero (full-bleed) ============== */
.hero-full {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

/* Background photo */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48.25% 29.09%;
  transform: scale(1.030);
  transform-origin: 48.25% 29.09%;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(14,31,26,0.88) 0%, rgba(14,31,26,0.70) 38%, rgba(14,31,26,0.35) 65%, rgba(14,31,26,0.18) 100%),
    linear-gradient(180deg, rgba(14,31,26,0.10) 0%, rgba(14,31,26,0.55) 100%);
}

/* Dot grid motif — lighter version on dark bg */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 20% 50%, black 0%, transparent 55%);
  -webkit-mask-image: radial-gradient(circle at 20% 50%, black 0%, transparent 55%);
  opacity: 0.5;
}
body[data-motif="grid"] .dot-grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 56px 56px;
}
body[data-motif="waves"] .dot-grid {
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.05) 0,
    rgba(255,255,255,0.05) 1px,
    transparent 1px,
    transparent 14px
  );
  opacity: 0.8;
}

/* Orbs */
.orb {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-glow) 0%, rgba(116,220,187,0.0) 60%);
  filter: blur(12px);
  top: -240px;
  left: -260px;
  animation: pulse 9s ease-in-out infinite;
}
.orb.orb-2 {
  width: 500px;
  height: 500px;
  top: 180px;
  right: -180px;
  left: auto;
  opacity: 0.45;
  animation-delay: -3s;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
}
body[data-show-orbs="0"] .orb { display: none; }

/* Animated canvas */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.65;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 120px;
  padding-bottom: 160px;
}
.hero-copy {
  max-width: 680px;
}
.hero-copy .eyebrow {
  color: var(--teal);
}
.hero-copy .eyebrow::before {
  background: var(--teal);
}
.hero h1 { margin-top: 22px; color: #fff; }
.hero h1 .ink-em {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--teal);
}
.hero h1 .ink-em::after { display: none; }
.hero-lead {
  margin-top: 26px;
  color: rgba(250,250,247,0.78);
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  background: rgba(255,255,255,0.10);
  color: rgba(250,250,247,0.92);
  border: 1px solid rgba(255,255,255,0.22);
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.40);
  transform: translateY(-1px);
}

/* Stats bar */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(14,31,26,0.60);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.10);
}
.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.hero-stats .stat {
  padding: 24px 28px 26px;
  border-right: 1px solid rgba(255,255,255,0.10);
}
.hero-stats .stat:last-child { border-right: none; }
.stat-value {
  font-size: clamp(30px, 3.5vw, 48px);
  letter-spacing: -0.035em;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #fff;
}
.stat-value .suffix {
  color: var(--teal);
  font-weight: 500;
}
.hero-stats .stat-label {
  margin-top: 6px;
  color: rgba(250,250,247,0.60);
  font-size: 13px;
}

/* Photo caption tag */
.photo-tag {
  position: absolute;
  right: 20px;
  bottom: 90px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,31,26,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--paper);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  letter-spacing: -0.005em;
  border: 1px solid rgba(255,255,255,0.12);
}
.photo-tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(116,220,187,0.25);
}

/* wave divider */
.wave {
  display: block;
  width: 100%;
  height: 90px;
  color: var(--teal-soft);
}

/* ============== Partners (static grid) ============== */
.partners-section {
  background: var(--paper);
  padding: 100px 0;
}
.partners-head {
  margin-bottom: 56px;
}

.featured-partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.featured-partners .partner-cell {
  height: 150px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  place-items: center;
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.featured-partners .partner-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 100%, rgba(116,220,187,0.10), transparent 65%);
  pointer-events: none;
}
.featured-partners .partner-cell:hover {
  transform: translateY(-3px);
  border-color: rgba(116,220,187,0.55);
  box-shadow: var(--shadow);
}
.featured-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-soft);
  padding: 3px 8px;
  border-radius: 999px;
  z-index: 1;
}

.partners-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 56px 0 32px;
}
.partners-divider .line {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.partners-divider .mono {
  color: var(--muted);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.partner-grid .partner-cell { height: 104px; }

/* Paginated partner grid (24 at a time, slides) */
.partners-paginated {
  position: relative;
  overflow: hidden;
}
.paginated-track {
  display: flex;
  width: 100%;
  transform: translate3d(calc(var(--page, 0) * -100%), 0, 0);
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.paginated-page {
  flex: 0 0 100%;
  min-width: 0;
}
.paginated-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  position: relative;
}
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.page-btn:hover {
  background: var(--teal-soft);
  border-color: var(--teal);
}
.page-btn:active { transform: scale(0.95); }
.page-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, width .25s ease;
  padding: 0;
}
.page-dot.active {
  background: var(--teal-deep);
  width: 24px;
  border-radius: 4px;
}
.page-indicator {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 880px) {
  .page-indicator { position: static; transform: none; margin-left: 8px; }
}

.partners-note {
  text-align: center;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted);
  font-style: italic;
  letter-spacing: -0.005em;
}
.partner-grid .partner-cell {
  height: 104px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 14px 18px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.partner-grid .partner-cell:hover {
  transform: translateY(-2px);
  border-color: rgba(116,220,187,0.45);
  box-shadow: var(--shadow);
  z-index: 2;
}

.partner-cell img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(var(--scale, 1));
  transform-origin: center;
}
.featured-tag { pointer-events: none; }

@media (max-width: 1100px) {
  .partner-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 880px) {
  .featured-partners { grid-template-columns: repeat(3, 1fr); }
  .featured-partners .partner-cell { height: 130px; padding: 22px 20px; }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .partner-grid .partner-cell { height: 88px; }
}
@media (max-width: 560px) {
  .featured-partners { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============== Generic sections ============== */
section { position: relative; }
.section {
  padding: 120px 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head h2 { margin-top: 18px; }
.section-head p.lead { margin-top: 20px; }

.tinted { background: var(--teal-soft); }
.tinted .stat-value { color: var(--ink); }

/* ============== Press strip ============== */
.press-strip {
  padding: 36px 0;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.press-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.press-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.press-label .line {
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--line);
}
.press-logos {
  display: flex;
  gap: 38px;
  align-items: center;
  flex-wrap: wrap;
}
.press-logos .press-name {
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink-2);
  font-weight: 500;
  opacity: 0.8;
  font-family: "Georgia", "Times New Roman", serif;
}
.press-logos .press-name:nth-child(2) { font-family: var(--font); font-weight: 700; font-style: italic; letter-spacing: -0.04em; }
.press-logos .press-name:nth-child(3) { font-family: var(--font); font-weight: 600; letter-spacing: -0.02em; text-transform: uppercase; font-size: 14px; }
.press-logos .press-name:nth-child(4) { font-family: "Georgia", serif; font-style: italic; }
.press-logos .press-name:nth-child(5) { font-family: var(--font); font-weight: 800; letter-spacing: -0.04em; font-size: 19px; }

/* ============== Services ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  overflow: hidden;
}
.service-card .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.service-card h3 {
  margin-top: 18px;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.service-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}


/* service viz internals */
.viz-bars {
  position: absolute;
  inset: 18px;
  display: flex;
  gap: 6px;
  align-items: flex-end;
}
.viz-bars .bar {
  flex: 1;
  background: var(--ink);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}
.viz-bars .bar.accent { background: var(--teal); opacity: 1; }

.viz-donut {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.viz-donut svg { width: 110px; height: 110px; }

.viz-line {
  position: absolute;
  inset: 18px;
}
.viz-line svg { width: 100%; height: 100%; }

.service-tags {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.service-card .viz {
  margin-top: 18px;
  height: 148px;
  border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
  border: 1px solid var(--line-soft);
}

/* Service cards on dark background */

/* Background photo for services section */
.services-photo-bg { position: relative; overflow: hidden; }
.services-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.services-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.services-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,31,26,0.92) 0%, rgba(14,31,26,0.80) 40%, rgba(14,31,26,0.88) 100%),
    linear-gradient(95deg, rgba(14,31,26,0.55) 0%, rgba(14,31,26,0.15) 60%, rgba(14,31,26,0.55) 100%);
}
.services-photo-bg .container { position: relative; z-index: 2; }
.services-photo-bg .dot-grid {
  z-index: 1;
  opacity: 0.35;
}
.services-photo-bg .orb { z-index: 1; }

.services-grid.dark-cards .service-card {
  background: rgba(116,220,187,0.08);
  border-color: rgba(116,220,187,0.20);
  color: var(--paper);
}
.services-grid.dark-cards .service-card:hover {
  border-color: rgba(116,220,187,0.30);
}
.services-grid.dark-cards .service-card h3 { color: var(--paper); }
.services-grid.dark-cards .service-card p { color: rgba(250,250,247,0.65); }
.services-grid.dark-cards .service-card .num { color: rgba(250,250,247,0.4); }
.services-grid.dark-cards .service-card .viz { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
.services-grid.dark-cards .service-card .bar { background: rgba(255,255,255,0.25); }
.services-grid.dark-cards .service-card .bar.accent { background: var(--teal); }
.services-grid.dark-cards .tag {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.10);
  color: rgba(250,250,247,0.75);
}

/* Background photo for "Get involved" section */
.cta-photo-bg { position: relative; overflow: hidden; }
.cta-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66.24% 100%;
  transform: scale(1.134);
  transform-origin: 66.24% 100%;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.cta-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(232,248,241,0.78) 0%, rgba(232,248,241,0.65) 50%, rgba(232,248,241,0.82) 100%),
    linear-gradient(95deg, rgba(116,220,187,0.20) 0%, rgba(232,248,241,0.05) 50%, rgba(116,220,187,0.20) 100%);
}
.cta-photo-bg .container { position: relative; z-index: 2; }

/* Background photo for "How it works" section */
.how-photo-bg { position: relative; overflow: hidden; }
.how-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.how-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 49.20% 98.08%;
  transform: scale(1.015);
  transform-origin: 49.20% 98.08%;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.how-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(232,248,241,0.78) 0%, rgba(232,248,241,0.65) 50%, rgba(232,248,241,0.82) 100%),
    linear-gradient(95deg, rgba(116,220,187,0.20) 0%, rgba(232,248,241,0.05) 50%, rgba(116,220,187,0.20) 100%);
}
.how-photo-bg .container { position: relative; z-index: 2; }

/* ============== How It Works ============== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}
.how-step {
  padding: 36px 32px 32px;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}
.how-step .step-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal-deep);
  letter-spacing: 0.1em;
}
.how-step h3 {
  margin-top: 14px;
  font-size: 28px;
}
.how-step p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 38ch;
}
.how-step .step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-bottom: 8px;
}
.how-line {
  position: absolute;
  top: 60px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line) 0 6px, transparent 6px 12px);
  z-index: 0;
  display: none;
}
.how-step .step-dot {
  display: none;
}
.how-step .deliverables {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.deliverable {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.deliverable .check {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal);
  color: var(--ink);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700;
  flex-shrink: 0;
}

/* ============== Impact band ============== */
.impact {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.impact .dot-grid {
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  mask-image: radial-gradient(circle at 80% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 80% 30%, black 0%, transparent 70%);
}
.impact .orb {
  background: radial-gradient(circle, rgba(116,220,187,0.25) 0%, transparent 60%);
  right: -200px; left: auto;
  top: -100px;
}
.impact .container { position: relative; z-index: 2; }
.impact h2 { color: var(--paper); max-width: 800px; }
.impact .lead { color: rgba(250,250,247,0.7); }
.impact-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.impact-stat {
  padding: 24px 28px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.impact-stat:first-child { padding-left: 0; border-left: none; }
.impact-stat .stat-value { color: var(--paper); }
.impact-stat .stat-value .suffix { color: var(--teal); }
.impact-stat .stat-label { color: rgba(250,250,247,0.65); }

/* ============== Testimonials ============== */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.testimonial.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.testimonial .quote-mark {
  font-family: "Georgia", serif;
  font-size: 56px;
  line-height: 1;
  color: var(--teal);
  margin-bottom: -10px;
}
.testimonial blockquote {
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -0.015em;
  font-weight: 450;
  text-wrap: pretty;
}
.testimonial.featured blockquote {
  font-size: 24px;
  line-height: 1.4;
  color: var(--paper);
}
.testimonial .attribution {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-deep);
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  border: 1px solid var(--line);
  flex-shrink: 0;
  overflow: hidden;
}
.avatar-photo {
  background: transparent;
  padding: 0;
}
.avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial.featured .avatar { border-color: rgba(255,255,255,0.15); }
.attribution .name { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.attribution .role { font-size: 13.5px; color: var(--muted); }
.testimonial.featured .attribution .role { color: rgba(250,250,247,0.6); }

/* ============== Logos ============== */
.logo-section { background: var(--paper); }
.partner-tabs {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.partner-tabs button {
  padding: 14px 0;
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: -0.01em;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s ease, border-color .2s ease;
}
.partner-tabs button.active {
  color: var(--ink);
  border-bottom-color: var(--teal);
}
.partner-tabs .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--muted);
  margin-left: 8px;
  font-weight: 500;
}
.partner-tabs button.active .count {
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.logo-cell {
  background: #ffffff;
  aspect-ratio: 1.8 / 1;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  transition: background .2s ease;
}
.logo-cell:hover { background: var(--teal-soft); }
.logo-cell img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
  display: block;
}

@media (max-width: 880px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============== Get Involved ============== */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.cta-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
  overflow: hidden;
}
.cta-card .audience {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.cta-card h3 {
  margin-top: 12px;
  font-size: 30px;
  letter-spacing: -0.025em;
}
.cta-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}
.cta-card .btn {
  margin-top: auto;
  align-self: flex-start;
}
.cta-card.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.cta-card.dark h3 { color: var(--paper); }
.cta-card.dark p { color: rgba(250,250,247,0.65); }
.cta-card.dark .audience { color: var(--teal); }
.cta-card.teal {
  background: var(--teal-soft);
  border-color: rgba(116,220,187,0.4);
}
.cta-card .corner {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: transform .25s ease, background .25s ease;
}
.cta-card:hover .corner {
  transform: rotate(-45deg);
  background: var(--teal);
}
.cta-card.dark .corner { background: rgba(255,255,255,0.08); color: var(--paper); }
.cta-card.dark:hover .corner { background: var(--teal); color: var(--ink); }

/* ============== Footer ============== */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 36px;
  position: relative;
  overflow: hidden;
}
footer .dot-grid {
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  mask-image: linear-gradient(180deg, black 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 70%);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 56px;
  position: relative;
  z-index: 2;
}
.foot-brand img { width: 160px; }
.foot-brand p {
  margin-top: 20px;
  color: rgba(250,250,247,0.6);
  font-size: 14.5px;
  max-width: 36ch;
}
.foot-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 18px;
}
.foot-col a {
  display: block;
  color: rgba(250,250,247,0.78);
  font-size: 14.5px;
  padding: 6px 0;
  transition: color .2s ease;
}
.foot-col a:hover { color: var(--teal); }
.foot-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(250,250,247,0.5);
  font-size: 13px;
  position: relative;
  z-index: 2;
}

/* ============== Reveal ============== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============== Responsive ============== */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { margin: 0; -webkit-mask-image: none; mask-image: none; aspect-ratio: 5 / 4; }
  .hero-visual .photo-tag { left: 18px; right: auto; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .services-grid, .cta-grid { grid-template-columns: 1fr; }
  .how-line { display: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-stat { padding: 18px 20px; }
  .impact-stat:nth-child(3) { border-left: none; padding-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section { padding: 80px 0; }
}
@media (max-width: 760px) {
  .how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .hero-content { padding-top: 80px; padding-bottom: 40px; }
  .hero-full { min-height: 0; }
  .hero-stats-bar { position: relative; bottom: auto; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-stat { border-left: none; padding-left: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .fc-1, .fc-2 { display: none; }
  .press-inner { justify-content: flex-start; }
  .btn { padding: 12px 18px; }
  .partners-grid { gap: 10px; }
}
@media (max-width: 400px) {
  .container { padding: 0 16px; }
}

/* ============================================================= */
/* ============== PRESS & MEDIA PAGE ============== */
/* ============================================================= */

/* ---- Active nav link ---- */
.nav-links a.active {
  background: var(--white);
  color: var(--ink);
}

/* ---- Page header (dark) ---- */
.press-hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 132px 0 84px;
}
.press-hero .dot-grid {
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 78% 30%, black 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(circle at 78% 30%, black 0%, transparent 65%);
  opacity: 0.7;
}
.press-hero .orb {
  background: radial-gradient(circle, rgba(116,220,187,0.22) 0%, transparent 60%);
  width: 620px; height: 620px;
  right: -200px; left: auto; top: -160px;
}
.press-hero-inner { position: relative; z-index: 2; }
.press-hero-copy { max-width: 760px; }
.press-hero-copy .eyebrow { color: var(--teal); }
.press-hero-copy .eyebrow::before { background: var(--teal); }
.press-hero h1 {
  margin-top: 22px;
  color: #fff;
  font-size: clamp(40px, 5.4vw, 72px);
}
.press-hero-lead {
  margin-top: 24px;
  color: rgba(250,250,247,0.74);
  max-width: 58ch;
}
.press-hero-meta {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.press-hero-note {
  font-size: 14px;
  color: rgba(250,250,247,0.55);
}
.press-hero-note a {
  color: var(--teal);
  border-bottom: 1px solid rgba(116,220,187,0.4);
}

/* ---- In the news ---- */
.news-featured {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 44px 44px 40px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.news-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(116,220,187,0.10), transparent 55%);
  pointer-events: none;
}
.news-featured:hover {
  transform: translateY(-3px);
  border-color: rgba(116,220,187,0.55);
  box-shadow: var(--shadow-lg);
}
.news-featured-body { max-width: 720px; position: relative; z-index: 1; }
.news-featured h3 {
  margin-top: 16px;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.news-featured p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  max-width: 60ch;
}
.news-featured-tag {
  flex-shrink: 0;
  align-self: flex-start;
}
.news-featured-tag .mono {
  color: var(--teal-deep);
  background: var(--teal-soft);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10.5px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(116,220,187,0.55);
  box-shadow: var(--shadow);
}
.news-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-soft);
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.news-card:hover .news-thumb img { transform: scale(1.03); }
.news-thumb-logo { background: #fff; }
.news-thumb-logo img { object-fit: contain; }
.news-card:hover .news-thumb-logo img { transform: none; }
.news-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card h3 {
  margin-top: 12px;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.22;
}
.news-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* shared meta row */
.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-outlet {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.news-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--teal);
}
.news-date { color: var(--muted); }

.news-read {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal-deep);
}
.news-read .arrow { transition: transform .2s ease; }
.news-card:hover .news-read .arrow,
.news-featured:hover .news-read .arrow { transform: translateX(4px); }

/* ---- Blog ---- */
.blog-section { background: var(--paper-2); }
.blog-head {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.blog-head .lead { margin-top: 18px; }
.blog-all { flex-shrink: 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(116,220,187,0.55);
  box-shadow: var(--shadow);
}
.blog-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--ink);
}
.blog-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}
.blog-chapter {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--teal);
  padding: 5px 11px;
  border-radius: 999px;
  pointer-events: none;
}
.blog-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.blog-cat {
  font-size: 12px;
  font-weight: 500;
  color: var(--teal-deep);
  background: var(--teal-soft);
  padding: 3px 10px;
  border-radius: 999px;
}
.blog-date { color: var(--muted); }
.blog-card h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.blog-card h3 a { color: inherit; transition: color .2s ease; }
.blog-card:hover h3 a { color: var(--teal-deep); }
.blog-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.blog-read {
  margin-top: 18px;
  padding-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal-deep);
}
.blog-read .arrow { transition: transform .2s ease; }
.blog-card:hover .blog-read .arrow { transform: translateX(4px); }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-featured { flex-direction: column; gap: 20px; padding: 32px 28px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-head { flex-direction: column; align-items: flex-start; }
  .press-hero { padding: 108px 0 64px; }
}

/* ============================================================= */
/* ============== BLOG POST (article page) ============== */
/* ============================================================= */
.post-narrow {
  max-width: 760px;
}
.post-head {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: 116px 0 56px;
}
.post-back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 28px;
}
.post-back .arrow-back,
.post-foot .arrow-back { transition: transform .2s ease; display: inline-block; }
.post-back:hover .arrow-back { transform: translateX(-3px); }
.post-cat {
  display: inline-block;
  margin-bottom: 16px;
  white-space: nowrap;
}
.post-title {
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: #fff;
  max-width: 18ch;
}
.post-meta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(250,250,247,0.6);
}
.post-meta .news-dot { background: var(--teal); }

.post-cover {
  position: relative;
  margin: -40px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.post-cover image-slot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.post-cover .blog-chapter {
  top: 16px; left: 16px;
}

.post-body {
  margin-top: 44px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
}
.post-body > *:first-child { margin-top: 0; }
.post-body p { margin: 0 0 22px; text-wrap: pretty; }
.post-body h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 40px 0 14px;
}
.post-body h3 {
  font-size: 21px;
  letter-spacing: -0.015em;
  margin: 32px 0 12px;
}
.post-body ul, .post-body ol {
  margin: 0 0 22px;
  padding-left: 22px;
}
.post-body li { margin-bottom: 8px; }
.post-body a {
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.post-body img {
  width: 100%;
  border-radius: var(--radius);
  margin: 12px 0 26px;
}
.post-body blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--teal);
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.post-foot {
  margin: 48px 0 8px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.post-foot:hover .arrow-back { transform: translateX(-3px); }

.post-missing {
  padding: 160px 0 120px;
  text-align: center;
}
.post-missing .eyebrow { justify-content: center; }
.post-missing h1 { margin: 18px 0 14px; }
.post-missing .lead { margin: 0 auto 28px; }

@media (max-width: 640px) {
  .post-head { padding: 100px 0 48px; }
  .post-body { font-size: 17px; }
}


/* ============== Blog cover fallback (no image set) ============== */
.cover-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(116,220,187,0.16), transparent 60%),
    var(--ink);
  background-image:
    radial-gradient(circle at 30% 20%, rgba(116,220,187,0.16), transparent 60%),
    radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: auto, 22px 22px;
}
.cover-fallback .cover-mark {
  width: 46px;
  height: 46px;
  opacity: 0.55;
  filter: brightness(0) invert(1);
}
.post-cover-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post-cover .cover-fallback.post-cover-img { display: flex; }
.post-cover .cover-fallback .cover-mark { width: 64px; height: 64px; }
