/* ===== Part A: Base ===== */
/* ============================================================================
   Self-hosted fonts — Fraunces (display), Hanken Grotesk (body), Geist Mono
   ========================================================================== */
@font-face {
  font-family: 'Fraunces Variable';
  src: url('../fonts/fraunces-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces Variable';
  src: url('../fonts/fraunces-latin-wght-italic.woff2') format('woff2-variations');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces Variable';
  src: url('../fonts/fraunces-latin-ext-wght-normal.woff2') format('woff2-variations');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk Variable';
  src: url('../fonts/hanken-grotesk-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk Variable';
  src: url('../fonts/hanken-grotesk-latin-ext-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ============================================================================
   TransTalents — design system
   "Policy meets Pride": editorial authority in the trans-flag palette.
   ========================================================================== */

:root {
  /* ---- ink & paper ---- */
  --ink:        #0a0b32;   /* near-black navy — primary text */
  --ink-soft:   #3a3c63;   /* secondary text */
  --ink-faint:  #6b6d8c;   /* tertiary / captions */
  --paper:      #faf8f3;   /* warm off-white — primary bg */
  --paper-2:    #f1eee4;   /* recessed panels */
  --paper-3:    #e9e5d8;   /* deeper panel */

  /* ---- brand (trans flag soul) ---- */
  --navy:       #11128b;   /* brand wordmark blue */
  --blue:       #2336d8;   /* vivid action blue */
  --blue-bright:#3a5bff;
  --sky:        #57c6f5;   /* trans light blue */
  --pink:       #ec4d86;   /* brand pink-red accent — fills, borders, gradients */
  --pink-ink:   #c81e63;   /* deeper pink for small TEXT on paper (WCAG AA ~5:1) */
  --pink-soft:  #ffb1cf;   /* trans pink */
  --pink-wash:  #ffe7f0;

  /* ---- lines & shadow ---- */
  --line:       color-mix(in srgb, var(--ink) 14%, transparent);
  --line-soft:  color-mix(in srgb, var(--ink) 8%, transparent);
  --shadow-sm:  0 1px 2px rgba(10,11,50,.06), 0 2px 8px rgba(10,11,50,.05);
  --shadow-md:  0 8px 30px rgba(10,11,50,.10);
  --shadow-lg:  0 24px 60px rgba(10,11,50,.16);

  /* ---- type ---- */
  --font-display: 'Fraunces Variable', 'Fraunces', Georgia, serif;
  --font-body:    'Hanken Grotesk Variable', 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono:    'Geist Mono', ui-monospace, 'SF Mono', monospace;

  /* ---- layout ---- */
  --maxw: 1240px;
  --gut: clamp(1.25rem, 4vw, 4rem);
  --r:   16px;   /* radius */
  --r-lg: 28px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

/* paper grain overlay */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 460; line-height: 1.04; letter-spacing: -.02em; }
.display {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.035em;
}
.display em { font-style: italic; font-weight: 360; }
h2.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -.03em;
  max-width: 18ch;
}
.lead { font-size: clamp(1.125rem, 1.7vw, 1.4rem); color: var(--ink-soft); line-height: 1.5; }

/* eyebrow / kicker */
.kicker {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pink-ink);
  display: inline-flex; align-items: center; gap: .6em;
  font-weight: 500;
}
.kicker::before {
  content: ""; width: 1.6rem; height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--pink));
}

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); position: relative; z-index: 1; }
.wrap-wide { max-width: 1400px; margin-inline: auto; padding-inline: var(--gut); position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
.section { padding-block: clamp(3.5rem, 9vw, 8rem); }
.section-tight { padding-block: clamp(2.5rem, 6vw, 5rem); }

/* tricolor rule — recurring brand device */
.tricolor { height: 4px; width: 100%; border: 0;
  background: linear-gradient(90deg, var(--sky) 0 33.3%, var(--pink-soft) 33.3% 66.6%, var(--paper) 66.6% 100%);
  border-bottom: 1px solid var(--line-soft);
}
.tri-chip { display: inline-flex; height: 14px; border-radius: 99px; overflow: hidden; box-shadow: var(--shadow-sm); }
.tri-chip i { width: 10px; display: block; }
.tri-chip i:nth-child(1){ background: var(--sky); }
.tri-chip i:nth-child(2){ background: var(--pink-soft); }
.tri-chip i:nth-child(3){ background: #fff; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: .65em;
  padding: .9em 1.5em; border-radius: 99px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { --bg: var(--blue); --fg: #fff; box-shadow: 0 8px 24px color-mix(in srgb, var(--blue) 35%, transparent); }
.btn-pink { --bg: var(--pink); --fg: #fff; box-shadow: 0 8px 24px color-mix(in srgb, var(--pink) 32%, transparent); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- chips / tags ---------- */
.gri {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .02em;
  padding: .28em .55em; border-radius: 6px;
  background: color-mix(in srgb, var(--navy) 8%, var(--paper));
  color: var(--navy); border: 1px solid var(--line-soft);
  display: inline-block; white-space: nowrap;
}
.badge {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .35em .7em; border-radius: 99px; font-weight: 500;
  background: var(--pink-wash); color: var(--pink-ink); border: 1px solid color-mix(in srgb, var(--pink) 20%, transparent);
}

/* ---------- cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

/* ---------- reveal on scroll (below the fold; JS adds .in) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; }
.reveal[data-d="2"]{ transition-delay: .16s; }
.reveal[data-d="3"]{ transition-delay: .24s; }
.reveal[data-d="4"]{ transition-delay: .32s; }

/* ---------- reveal on load (above the fold; pure CSS, no JS/flash) ---------- */
.reveal-load { opacity: 0; transform: translateY(20px); animation: revealIn .7s cubic-bezier(.2,.7,.3,1) both; }
.reveal-load[data-d="1"]{ animation-delay: .08s; }
.reveal-load[data-d="2"]{ animation-delay: .16s; }
.reveal-load[data-d="3"]{ animation-delay: .24s; }
.reveal-load[data-d="4"]{ animation-delay: .32s; }
@keyframes revealIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal-load { animation: none; opacity: 1; transform: none; }
}

/* ---------- shared dark feature section (GRI matrix / values / recognition) ----------
   These classes are reused across home, services, about and press. They MUST live
   in global CSS — Astro scopes component <style> blocks per-page, so a page reusing
   the class names would otherwise render light/transparent (white text on paper). */
.gri-sec { background: var(--ink); color: var(--paper); border-radius: clamp(0px, 3vw, 36px); margin-inline: clamp(0px, 2vw, 1.5rem); }
.gri-head { max-width: 64ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.gri-head .section-title { color: #fff; margin: 1rem 0; }
.gri-head .section-title em { color: var(--sky); }
.gri-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid color-mix(in srgb, var(--paper) 16%, transparent); }
.gri-row { display: flex; gap: 1.2rem; padding: 1.4rem .4rem; border-bottom: 1px solid color-mix(in srgb, var(--paper) 12%, transparent); align-items: start; }
.gri-row:nth-child(odd) { border-right: 1px solid color-mix(in srgb, var(--paper) 12%, transparent); padding-right: 2rem; }
.gri-code { flex-shrink: 0; width: 6.5rem; font-size: .82rem; color: var(--sky); padding-top: .15rem; font-weight: 500; }
.gri-label { display: block; font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.gri-desc { font-size: .9rem; color: color-mix(in srgb, var(--paper) 64%, var(--ink)); margin-top: .25rem; }
@media (max-width: 880px) {
  .gri-grid { grid-template-columns: 1fr; }
  .gri-row:nth-child(odd) { border-right: 0; padding-right: .4rem; }
}

/* ---------- focus-visible (keyboard a11y) ---------- */
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
:where(.gri-sec) a:focus-visible, :where(.site-footer) a:focus-visible { outline-color: var(--sky); }

/* ---------- utility ---------- */
.mono { font-family: var(--font-mono); }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }

/* ============================================================================
   Header — from src/components/Header.astro <style>
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.hdr-inner { display: flex; align-items: center; gap: 1.5rem; height: 84px; }
.brand { display: inline-flex; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; gap: .35rem; margin-left: auto; }
.nav-link {
  font-size: .96rem; font-weight: 500; color: var(--ink-soft);
  padding: .5em .85em; border-radius: 99px; position: relative;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--ink); background: var(--paper-2); }
.nav-link.active { color: var(--navy); }
.nav-link.active::after {
  content: ""; position: absolute; left: 50%; bottom: .15em; translate: -50% 0;
  width: 5px; height: 5px; border-radius: 99px; background: var(--pink);
}
.hdr-cta { padding: .62em 1.15em; font-size: .92rem; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: .4rem; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1rem var(--gut) 1.75rem; border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-menu[hidden] { display: none; }
.m-link { font-family: var(--font-display); font-size: 1.6rem; padding: .5rem 0; border-bottom: 1px solid var(--line-soft); }
.m-cta { margin-top: 1rem; justify-content: center; }
@media (max-width: 860px) {
  .nav, .hdr-cta { display: none; }
  .burger { display: flex; margin-left: auto; }
  .hdr-inner { height: 72px; }
  .brand img { height: 46px; }
}
@media (max-width: 380px) {
  .brand img { height: 42px; }
}

/* ============================================================================
   Footer — from src/components/Footer.astro <style>
   ========================================================================== */
.site-footer { background: var(--ink); color: color-mix(in srgb, var(--paper) 80%, var(--ink)); margin-top: 2rem; position: relative; z-index: 1; }
.site-footer .tricolor { border-bottom: 0; }
.foot-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.foot-logo { height: 42px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.foot-tag { margin: 1.1rem 0 1.4rem; color: color-mix(in srgb, var(--paper) 65%, var(--ink)); font-size: .98rem; line-height: 1.5; }
.foot-col { display: flex; flex-direction: column; gap: .7rem; }
.foot-h { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sky); font-weight: 500; margin-bottom: .4rem; }
.foot-col a { color: color-mix(in srgb, var(--paper) 78%, var(--ink)); font-size: .98rem; transition: color .2s; width: fit-content; }
.foot-col a:hover { color: #fff; }
.foot-loc { color: color-mix(in srgb, var(--paper) 55%, var(--ink)); font-size: .98rem; }
.foot-btn { margin-top: .6rem; width: fit-content; }
.foot-base {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--paper) 14%, transparent);
  font-size: .82rem; color: color-mix(in srgb, var(--paper) 50%, var(--ink));
}
.foot-mini { font-size: .76rem; letter-spacing: .01em; }
@media (max-width: 760px) {
  .foot-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================================
   PageHero — from src/components/PageHero.astro <style>
   ========================================================================== */
.page-hero { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.ph-mesh {
  position: absolute; inset: -30% -10% auto -10%; height: 90%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 60% at 12% 0%, color-mix(in srgb, var(--sky) 30%, transparent), transparent 70%),
    radial-gradient(45% 55% at 88% 10%, color-mix(in srgb, var(--pink-soft) 38%, transparent), transparent 70%);
  filter: blur(10px);
}
.ph-title { margin: 1.2rem 0; max-width: 16ch; font-size: clamp(2.6rem, 6.5vw, 5rem); }
.page-hero .lead { max-width: 52ch; }

/* ============================================================================
   Skip link — from src/layouts/Base.astro
   (the noscript reveal fallback that used to live here moved to header.php —
   it was a bare, unconditional rule with !important, which permanently
   defeated the entire scroll-reveal animation for every visitor, JS or not.
   See CONTRACT.md for the full writeup of this bug.)
   ========================================================================== */
.skip { position: absolute; left: -999px; top: .5rem; z-index: 100; background: var(--ink); color: #fff; padding: .6em 1em; border-radius: 8px; }
.skip:focus { left: .5rem; }

/* ============================================================================
   Print — same root cause as the noscript case above, different trigger.
   .reveal only reaches opacity:1 once IntersectionObserver adds .in as it
   scrolls into view; printing renders the whole page without ever scrolling
   it, so every below-the-fold .reveal element would print blank. Confirmed
   empirically: 13/13 scroll-triggered .reveal elements on a real page stayed
   at opacity:0 with no .in class with no user interaction. (.reveal-load is
   safe here — animation-fill-mode:both means its CSS animation completes and
   holds on its own, independent of scroll/JS — included below anyway as
   cheap insurance against a print engine snapshotting before it finishes.)
   Also hides UI chrome that has no print purpose: nav/burger/mobile-menu
   (nothing to click on paper), the skip link, and decorative gradient mesh
   backgrounds (pure visual flourish, wastes ink, adds nothing on paper).
   ========================================================================== */
@media print {
  .reveal, .reveal-load { opacity: 1 !important; transform: none !important; animation: none !important; }
  .site-header, .mobile-menu, .skip, .hero-mesh, .ph-mesh, .ph-mesh-clip { display: none !important; }
}

/* ===== Part B: Pages ===== */
/* ---- from index.astro ---- */
  /* ---- hero ---- */
  .hero { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
  .hero-mesh {
    position: absolute; inset: -20% -10% auto -10%; height: 80%; z-index: 0; pointer-events: none;
    background:
      radial-gradient(40% 50% at 15% 10%, color-mix(in srgb, var(--sky) 38%, transparent), transparent 70%),
      radial-gradient(45% 55% at 85% 25%, color-mix(in srgb, var(--pink-soft) 45%, transparent), transparent 70%),
      radial-gradient(35% 45% at 60% 0%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%);
    filter: blur(8px);
  }
  .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
  .hero-copy { padding-block: clamp(1rem, 3vw, 2.5rem); }
  .hero-copy .display { margin: 1.2rem 0; max-width: 14ch; }
  .hero-copy .lead { max-width: 46ch; }
  .hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
  .hero-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 2rem; }
  .hbadge {
    font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em;
    padding: .45em .8em; border-radius: 99px; background: #fff; border: 1px solid var(--line);
    color: var(--navy); box-shadow: var(--shadow-sm);
  }

  .hero-media { position: relative; }
  .hero-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); rotate: 1.4deg; }
  .hero-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
  .hero-frame .tri-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
    background: linear-gradient(90deg, var(--sky) 0 50%, var(--pink-soft) 50% 100%); }
  .award {
    position: absolute; left: -1.5rem; bottom: 1.8rem; rotate: -3deg;
    display: flex; align-items: center; gap: .75rem; padding: .85rem 1.1rem; border-radius: 14px;
    background: #fff; box-shadow: var(--shadow-md);
  }
  .award-emoji { font-size: 1.7rem; }
  .award strong { display: block; font-family: var(--font-display); font-size: 1rem; }
  .award span { font-size: .78rem; color: var(--ink-faint); }

  /* ---- data block (key stats) — its own section after the proof strips ---- */
  .data-block { padding-block: clamp(.5rem, 2vw, 1.5rem) clamp(3rem, 6vw, 5rem); }
  .statpanel {
    position: relative; overflow: hidden;
    background: var(--ink); color: var(--paper);
    border-radius: var(--r-lg);
    border: 1px solid color-mix(in srgb, var(--paper) 9%, transparent);
    padding: clamp(1.6rem, 3.5vw, 2.6rem) clamp(1.5rem, 4vw, 3.25rem) clamp(1.8rem, 3.5vw, 2.8rem);
    box-shadow: var(--shadow-lg);
  }
  .statpanel-glow {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(70% 130% at 0% 0%, color-mix(in srgb, var(--sky) 24%, transparent), transparent 55%),
      radial-gradient(70% 130% at 100% 100%, color-mix(in srgb, var(--pink) 22%, transparent), transparent 55%);
  }
  .statpanel-glow::after {
    content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  .statpanel-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
  .statpanel-eyebrow { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sky); }
  .statpanel-row { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
  .stat { position: relative; display: flex; flex-direction: column; gap: .55rem; padding-left: clamp(1rem, 2.2vw, 2rem); }
  .stat:first-child { padding-left: 0; }
  .stat:not(:first-child)::before {
    content: ""; position: absolute; left: 0; top: .35rem; bottom: .35rem; width: 1.5px;
    background: linear-gradient(180deg, var(--sky), color-mix(in srgb, var(--pink) 80%, transparent) 55%, transparent);
    border-radius: 2px;
  }
  .stat-v {
    font-family: var(--font-display); font-weight: 430; line-height: .9;
    font-size: clamp(2.7rem, 5.4vw, 4.2rem); letter-spacing: -.035em; color: #fff;
    display: flex; align-items: baseline;
  }
  .stat-fix { color: var(--pink-soft); font-weight: 400; }
  .stat-num { font-variant-numeric: tabular-nums; }
  .stat-l { font-size: 1rem; font-weight: 600; color: #fff; letter-spacing: -.01em; }
  .stat-ctx { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .02em; color: color-mix(in srgb, var(--paper) 64%, var(--ink)); }

  /* ---- trusted ---- */
  .trusted { padding-block: clamp(.5rem, 2vw, 1.25rem); }
  .marquee { margin-top: 1.5rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .marquee-track { display: flex; row-gap: clamp(2rem, 4vw, 3.5rem); width: max-content; animation: scroll 48s linear infinite; align-items: center; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes scroll { to { transform: translateX(-50%); } }
  .client-logo { height: 62px; width: auto; opacity: .62; filter: grayscale(1); transition: opacity .3s, filter .3s; margin-right: clamp(2rem, 4vw, 3.5rem); }
  .client-logo:hover { opacity: 1; filter: none; }
  @media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; } }

  /* ---- research ---- */
  .research-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
  .research-head .section-title { margin: 1rem 0 .8rem; }
  .research-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .rstat { padding-top: 1.4rem; border-top: 2px solid var(--ink); }
  .rstat-v { display: block; font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 500; letter-spacing: -.05em; line-height: .9; color: var(--navy); }
  .rstat-v small { font-size: .4em; color: var(--pink); }
  .rstat-l { margin-top: .6rem; font-size: .92rem; color: var(--ink-soft); }

  /* ---- services ---- */
  .svc-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
  .svc-head .section-title { margin-top: 1rem; }
  .svc-list { border-top: 1px solid var(--line); }
  .svc {
    display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem, 3vw, 2.5rem);
    padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-bottom: 1px solid var(--line); align-items: start;
    transition: background .3s; position: relative;
  }
  .svc::before { content: ""; position: absolute; left: -2vw; right: -2vw; top: 0; bottom: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--sky) 8%, transparent), transparent 60%); opacity: 0; transition: opacity .35s; z-index: -1; border-radius: 12px; }
  .svc:hover::before { opacity: 1; }
  .svc-no { font-size: 1.1rem; color: var(--pink); font-weight: 500; padding-top: .35rem; }
  .svc-top { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
  .svc-name { font-size: clamp(1.4rem, 2.6vw, 2rem); }
  .svc-tag { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin: .45rem 0 .8rem; }
  .svc-blurb { color: var(--ink-soft); max-width: 60ch; }
  .svc-gri { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 1rem; }
  .svc-price { text-align: right; display: flex; flex-direction: column; gap: .6rem; align-items: flex-end; min-width: 12rem; }
  .svc-amount { font-size: .96rem; font-weight: 500; color: var(--ink); }
  .svc-link { font-size: .88rem; font-weight: 600; color: var(--blue); display: inline-flex; gap: .3em; }
  .svc-link .arr { transition: transform .25s; }
  .svc-link:hover .arr { transform: translateX(4px); }

  /* ---- gri matrix (dark) ---- */
  /* dark GRI matrix section styles now live in global.css (shared across pages) */

  /* ---- cases ---- */
  .case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
  .case { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden; }
  .case::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--sky), var(--pink)); opacity: .5; transition: opacity .3s; }
  .case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .case:hover::after { opacity: 1; }
  .case-sector { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
  .case-client { font-size: 1.3rem; }
  .case-desc { font-size: .92rem; color: var(--ink-soft); flex: 1; }
  .case-result { font-family: var(--font-mono); font-size: .92rem; font-weight: 500; color: var(--navy); padding-top: .6rem; border-top: 1px dashed var(--line); }

  /* ---- faq ---- */
  .faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
  .faq-aside { position: sticky; top: 100px; }
  .faq-list { border-top: 1px solid var(--line); }
  .faq-item { border-bottom: 1px solid var(--line); }
  .faq-item summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; cursor: pointer; padding: 1.3rem 0; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.4rem); list-style: none; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-x { position: relative; flex-shrink: 0; width: 18px; height: 18px; }
  .faq-x::before, .faq-x::after { content: ""; position: absolute; background: var(--pink); border-radius: 2px; inset: 0; margin: auto; }
  .faq-x::before { width: 18px; height: 2px; }
  .faq-x::after { width: 2px; height: 18px; transition: transform .3s; }
  .faq-item[open] .faq-x::after { transform: scaleY(0); }
  .faq-item p { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 62ch; }

  /* ---- cta ---- */
  .cta { }
  .cta-inner { text-align: center; max-width: 64rem; }
  .cta-inner .tri-chip { margin-bottom: 1.5rem; }
  .cta-title { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.03em; margin-bottom: 2.5rem; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 2.5rem; text-align: left; }
  .step { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
  .step-n { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 99px; background: var(--ink); color: #fff; font-size: 1rem; margin-bottom: .8rem; }
  .step strong { display: block; font-family: var(--font-display); font-size: 1.2rem; margin-bottom: .35rem; }
  .step p { font-size: .92rem; color: var(--ink-soft); }
  .cta-btn { font-size: 1.05rem; padding: 1em 1.8em; }
  .cta-mini { margin-top: 1rem; font-size: .8rem; color: var(--ink-faint); }

  /* ---- responsive ---- */
  @media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { max-width: 420px; }
    .statpanel-row { grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 2.2rem) clamp(1rem, 3vw, 1.6rem); }
    /* on the 2-col layout, divider only before the right column of each row */
    .stat { padding-left: clamp(1rem, 4vw, 1.4rem); }
    .stat:nth-child(odd) { padding-left: 0; }
    .stat:nth-child(odd)::before { display: none; }
    .research-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
    .svc-head, .faq-wrap { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .faq-aside { position: static; }
  }
  @media (max-width: 640px) {
    .svc { grid-template-columns: auto 1fr; }
    .svc-price { grid-column: 1 / -1; text-align: left; align-items: flex-start; padding-left: 2.5rem; }
    .case-grid { grid-template-columns: 1fr; }
  }

/* ---- from services.astro ---- */
    .svc-detail-list { display: flex; flex-direction: column; gap: 1.2rem; }
    .svc-d { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s; }
    .svc-d:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
    .svc-d-head { display: flex; gap: 1.2rem; align-items: start; margin-bottom: 1.2rem; }
    .svc-d-no { font-size: 1.3rem; color: var(--pink); font-weight: 500; }
    .svc-d-titlerow { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
    .svc-d-name { font-size: clamp(1.5rem, 3vw, 2.2rem); }
    .svc-d-tag { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-top: .4rem; }
    .svc-d-blurb { color: var(--ink-soft); max-width: 70ch; font-size: 1.05rem; }
    .svc-d-best { margin-top: 1rem; color: var(--ink-soft); max-width: 70ch; }
    .lbl { color: var(--pink-ink); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; margin-right: .5em; }
    .svc-d-foot { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px dashed var(--line); }
    .svc-d-gri { display: flex; gap: .4rem; flex-wrap: wrap; }
    .svc-d-price { font-size: 1.05rem; font-weight: 500; color: var(--navy); }

    .terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .terms-grid p { margin-top: .5rem; color: var(--ink-soft); }

    .how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
    .how { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
    .how-n { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 99px; background: var(--blue); color: #fff; margin-bottom: .9rem; }
    .how strong { display: block; font-family: var(--font-display); font-size: 1.25rem; margin-bottom: .35rem; }
    .how p { color: var(--ink-soft); font-size: .95rem; }

    @media (max-width: 880px) {
      .terms-grid, .how-grid { grid-template-columns: 1fr; }
      .gri-grid { grid-template-columns: 1fr !important; }
      .gri-row:nth-child(odd) { border-right: 0 !important; padding-right: .4rem !important; }
    }

/* ---- from about.astro ---- */
    .founder { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
    .founder-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); rotate: -1.2deg; }
    .founder-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
    .founder-frame .tri-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(90deg, var(--sky) 0 50%, var(--pink-soft) 50% 100%); }
    .cred-list { margin-top: 1.6rem; display: grid; gap: .75rem; }
    .cred-list li { display: flex; gap: .7rem; align-items: start; color: var(--ink-soft); font-size: .98rem; }
    .tick { flex-shrink: 0; width: 1.1rem; height: 1.1rem; margin-top: .25rem; border-radius: 99px; background: linear-gradient(135deg, var(--sky), var(--pink)); position: relative; }
    .tick::after { content: ""; position: absolute; inset: 0; margin: auto; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }

    .impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .impact { border-top: 2px solid var(--ink); padding-top: 1.3rem; }
    .impact-v { display: block; font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; letter-spacing: -.05em; line-height: .9; color: var(--navy); }
    .impact-l { margin-top: .6rem; color: var(--ink-soft); font-size: .95rem; max-width: 30ch; }

    .values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .value { padding: 1.8rem; border: 1px solid color-mix(in srgb, var(--paper) 16%, transparent); border-radius: var(--r); }
    .value .tri-chip { margin-bottom: 1rem; }
    .value h3 { color: #fff; font-size: 1.5rem; margin-bottom: .5rem; }
    .value p { color: color-mix(in srgb, var(--paper) 70%, var(--ink)); font-size: .98rem; }

    .partners { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
    .partner-list { display: flex; flex-direction: column; gap: .2rem; }
    .partner-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }

    @media (max-width: 880px) {
      .founder, .partners { grid-template-columns: 1fr; }
      .founder-media { max-width: 380px; }
      .impact-grid, .values-grid { grid-template-columns: 1fr; }
    }

/* ===== Part C: Rest ===== */
/* ==========================================================================
   Source: src/pages/contact.astro
   ========================================================================== */

    /* No overflow:hidden here — .c-form-wrap below is position:sticky, and an
       overflow:hidden ancestor clips its containing block, breaking the stick.
       The mesh's own bleed is clipped by .ph-mesh-clip instead (scoped to just
       the decorative background, not the whole hero + its sticky content). */
    .c-hero { position: relative; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 5rem); }
    .ph-mesh-clip { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
    .ph-mesh { position: absolute; inset: -30% -10% auto -10%; height: 90%;
      background: radial-gradient(40% 60% at 10% 0%, color-mix(in srgb, var(--sky) 28%, transparent), transparent 70%),
                  radial-gradient(45% 55% at 95% 5%, color-mix(in srgb, var(--pink-soft) 34%, transparent), transparent 70%);
      filter: blur(10px); }
    .c-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
    .c-steps { margin-top: 2.2rem; display: grid; gap: 1rem; }
    .c-step { display: flex; gap: .9rem; align-items: start; }
    .c-step-n { display: grid; place-items: center; flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 99px; background: var(--ink); color: #fff; font-size: .9rem; }
    .c-step strong { font-family: var(--font-display); font-size: 1.15rem; }
    .c-step p { color: var(--ink-soft); font-size: .92rem; }
    .c-direct { margin-top: 2.2rem; display: flex; flex-direction: column; gap: .1rem; border-top: 1px solid var(--line); }
    .c-direct-item { display: flex; gap: .8rem; align-items: baseline; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
    .c-direct-item .lbl { width: 5.5rem; flex-shrink: 0; }
    a.c-direct-item { transition: color .2s; } a.c-direct-item:hover { color: var(--blue); }

    .c-form-wrap { position: sticky; top: 100px; }
    .c-form-title { font-size: 1.7rem; margin-bottom: 1.4rem; }

    /* WPForms' default error red (#d63637) is 4.45:1 on --paper — just under the
       4.5:1 WCAG AA minimum for normal-size text. Repoint its own error-color
       custom property at --pink-ink (5.18:1, already the palette's verified
       AA-safe small-text pink) instead of fighting individual error classes —
       everything driven by that one var (error text, required-field border,
       the warning icon) gets fixed consistently. !important is deliberate here:
       WPForms injects its own inline <style> per form, later in document order
       than this stylesheet, so equal-specificity rules alone would lose. */
    .wpforms-container { --wpforms-label-error-color: var(--pink-ink) !important; }

    @media (max-width: 880px) {
      .c-grid { grid-template-columns: 1fr; }
      .c-form-wrap { position: static; }
    }

/* ==========================================================================
   Source: src/pages/press.astro
   ========================================================================== */

    .press-list { border-top: 1px solid var(--line); }
    .press { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--line); transition: padding-left .3s; position: relative; }
    .press::before { content: ""; position: absolute; left: -1.5rem; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--sky), var(--pink)); opacity: 0; transition: opacity .3s; }
    .press:hover { padding-left: 1.2rem; }
    .press:hover::before { opacity: 1; }
    .press-outlet { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-ink); }
    .press-title { font-size: clamp(1.2rem, 2.4vw, 1.7rem); margin-top: .35rem; max-width: 30ch; }
    .press-r { display: flex; align-items: center; gap: 1.2rem; flex-shrink: 0; }
    .press-kind { font-family: var(--font-mono); font-size: .76rem; color: var(--ink-faint); white-space: nowrap; }
    .press-arrow { font-size: 1.3rem; color: var(--blue); transition: transform .25s; }
    .press:hover .press-arrow { transform: translate(3px, -3px); }

    .rec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .rec { padding: 1.6rem; border: 1px solid color-mix(in srgb, var(--paper) 16%, transparent); border-radius: var(--r); display: flex; flex-direction: column; gap: .4rem; }
    .rec .tri-chip { margin-bottom: .8rem; }
    .rec strong { color: #fff; font-family: var(--font-display); font-size: 1.3rem; }
    .rec span { color: color-mix(in srgb, var(--paper) 68%, var(--ink)); font-size: .92rem; }

    @media (max-width: 760px) {
      .press { flex-direction: column; align-items: flex-start; gap: .8rem; }
      .rec-grid { grid-template-columns: 1fr; }
    }

/* ==========================================================================
   Source: src/pages/resources.astro
   ========================================================================== */

    .feat { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
      background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 3.2rem); overflow: hidden; }
    .feat-body .badge { margin-bottom: 1.2rem; }
    .feat-title { font-size: clamp(1.8rem, 4vw, 3rem); color: #fff; margin-bottom: 1rem; }
    .feat-excerpt { color: color-mix(in srgb, var(--paper) 72%, var(--ink)); max-width: 50ch; margin-bottom: 1.8rem; }
    .feat-side { display: grid; place-items: center; }
    .feat-doc { aspect-ratio: 3/4; width: 100%; max-width: 240px; border-radius: 14px; background: linear-gradient(150deg, var(--navy), var(--blue)); padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-lg); rotate: 2.5deg; }
    .feat-doc-tag { font-size: .68rem; letter-spacing: .16em; color: var(--sky); }
    .feat-doc-title { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.05; color: #fff; }

    .art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
    .art-grid > .art:last-child:nth-child(3n+1) { grid-column: 2 / 3; }
    .art { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; cursor: pointer; overflow: hidden; }
    .art:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
    .art-thumb { margin: 0 -1.5rem 1.1rem; aspect-ratio: 16/9; overflow: hidden; background: var(--paper-2); }
    .art-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
    .art:hover .art-thumb img { transform: scale(1.04); }
    .art-thumb--ph { display: grid; place-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--sky) 22%, var(--paper)), color-mix(in srgb, var(--pink-soft) 30%, var(--paper))); }
    .art-meta { display: flex; justify-content: space-between; gap: .5rem; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
    .art-cat { color: var(--pink-ink); } .art-date { color: var(--ink-faint); }
    .art-title { font-size: 1.3rem; line-height: 1.15; }
    .art-excerpt { font-size: .92rem; color: var(--ink-soft); flex: 1; }
    .art-more { font-weight: 600; font-size: .9rem; color: var(--blue); }
    .art-more .arr { transition: transform .25s; display: inline-block; }
    .art:hover .art-more .arr { transform: translateX(4px); }

    .cta-band { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; flex-wrap: wrap;
      background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 2.8rem); }

    @media (max-width: 880px) {
      .feat { grid-template-columns: 1fr; }
      .feat-side { order: -1; }
      .art-grid { grid-template-columns: 1fr; }
      .art-grid > .art:last-child:nth-child(3n+1) { grid-column: auto; }
    }

/* ==========================================================================
   Source: src/pages/resources/[slug].astro
   ========================================================================== */

    .post-hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
    .ph-mesh { position: absolute; inset: -30% -10% auto -10%; height: 90%; z-index: 0; pointer-events: none;
      background: radial-gradient(40% 60% at 12% 0%, color-mix(in srgb, var(--sky) 26%, transparent), transparent 70%),
                  radial-gradient(45% 55% at 88% 8%, color-mix(in srgb, var(--pink-soft) 34%, transparent), transparent 70%);
      filter: blur(10px); }
    .post-head { max-width: 60rem; }
    .back { display: inline-block; color: var(--ink-soft); font-size: .82rem; letter-spacing: .04em; margin-bottom: 1.6rem; transition: color .2s; }
    .back:hover { color: var(--blue); }
    .post-meta { display: flex; gap: .55rem; align-items: center; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1.1rem; flex-wrap: wrap; }
    .post-cat { color: var(--pink-ink); }
    .post-title { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.025em; max-width: 22ch; }
    .post-head .tri-chip { margin-top: 1.5rem; }
    .post-feat { margin: clamp(1rem, 3vw, 2rem) 0 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
    .post-feat img { width: 100%; max-height: 520px; object-fit: cover; }

    .post-body-wrap { display: grid; grid-template-columns: minmax(0,1fr) 16rem; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2.5rem, 5vw, 4rem); align-items: start; }
    .post-aside { position: sticky; top: 100px; }
    .post-share { padding: 1.4rem; display: flex; flex-direction: column; }
    .post-share a { color: var(--blue); font-weight: 500; width: fit-content; }
    .post-share a.btn { color: #fff; }

    /* prose */
    .prose { max-width: 68ch; font-size: 1.12rem; line-height: 1.75; color: var(--ink); }
    .prose :global(p) { margin: 0 0 1.3rem; color: var(--ink-soft); }
    .prose :global(h2) { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; margin: 2.4rem 0 1rem; color: var(--ink); }
    .prose :global(h3) { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.55rem); margin: 2rem 0 .8rem; color: var(--ink); }
    .prose :global(h3 strong), .prose :global(h2 strong) { font-weight: inherit; }
    .prose :global(strong) { color: var(--ink); font-weight: 650; }
    .prose :global(em) { font-style: italic; }
    .prose :global(a) { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
    .prose :global(a:hover) { color: var(--pink); }
    .prose :global(ul), .prose :global(ol) { margin: 0 0 1.4rem; padding-left: 0; display: flex; flex-direction: column; gap: .6rem; }
    .prose :global(ul li) { position: relative; padding-left: 1.6rem; color: var(--ink-soft); }
    .prose :global(ul li)::before { content: ""; position: absolute; left: 0; top: .62em; width: .55rem; height: .55rem; border-radius: 2px; background: linear-gradient(135deg, var(--sky), var(--pink)); }
    .prose :global(ol) { counter-reset: li; }
    .prose :global(ol li) { position: relative; padding-left: 2rem; color: var(--ink-soft); counter-increment: li; }
    .prose :global(ol li)::before { content: counter(li); position: absolute; left: 0; top: .05em; font-family: var(--font-mono); font-size: .8rem; color: var(--pink); font-weight: 600; }
    .prose :global(blockquote) { margin: 1.8rem 0; padding: .4rem 0 .4rem 1.5rem; border-left: 3px solid var(--pink); font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--ink); }
    .prose :global(figure) { margin: 2rem 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
    .prose :global(figure img) { width: 100%; }
    .prose :global(img) { border-radius: var(--r); }

    .more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
    .more-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
    .more-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
    .more-meta { display: flex; justify-content: space-between; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
    .more-cat { color: var(--pink-ink); } .more-meta span:last-child { color: var(--ink-faint); }
    .more-card h3 { font-size: 1.15rem; line-height: 1.2; flex: 1; }
    .more-link { font-weight: 600; font-size: .88rem; color: var(--blue); }
    .more-link .arr { display: inline-block; transition: transform .25s; }
    .more-card:hover .more-link .arr { transform: translateX(4px); }

    @media (max-width: 880px) {
      .post-body-wrap { grid-template-columns: 1fr; }
      .post-aside { position: static; }
      .more-grid { grid-template-columns: 1fr; }
    }

/* ==========================================================================
   Source: src/pages/404.astro
   ========================================================================== */

    .nf { min-height: 64vh; display: grid; place-items: center; text-align: center; }
    .nf-inner .tri-chip { margin-bottom: 1.5rem; }
    .nf-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ==========================================================================
   Source: src/components/PressStrip.astro
   ========================================================================== */

    .press-strip { padding-block: clamp(2.5rem, 5vw, 3.75rem); position: relative; z-index: 1; }
    .ps-inner { text-align: center; }
    .ps-eyebrow {
      display: inline-flex; align-items: center; gap: .8rem; margin: 0 0 1.6rem;
      font-family: var(--font-mono); font-size: .7rem; font-weight: 500;
      letter-spacing: .26em; text-transform: uppercase; color: var(--pink-ink);
    }
    .ps-eyebrow::before, .ps-eyebrow::after {
      content: ""; display: block; height: 2px; width: 26px;
      background: linear-gradient(90deg, var(--sky), var(--pink));
    }
    .ps-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .65rem; }
    .ps-chip {
      display: inline-flex; align-items: center; gap: .55rem;
      border: 1px solid var(--line); background: #fff; border-radius: 9999px;
      padding: .42rem 1rem .42rem .45rem; box-shadow: var(--shadow-sm);
      transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }
    .ps-chip:hover {
      transform: translateY(-2px);
      border-color: color-mix(in srgb, var(--pink) 45%, transparent);
      box-shadow: var(--shadow-md);
    }
    .ps-logo {
      display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px;
      border-radius: 8px; background: #fff; border: 1px solid var(--line-soft);
      overflow: hidden; padding: 3px;
    }
    .ps-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
    .ps-logo--mono {
      padding: 0;
      background: linear-gradient(135deg, color-mix(in srgb, var(--sky) 30%, #fff), color-mix(in srgb, var(--pink-soft) 38%, #fff));
    }
    .ps-mono { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .02em; color: var(--navy); }
    .ps-name { font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1; white-space: nowrap; }
    .ps-arrow { width: 13px; height: 13px; flex-shrink: 0; color: var(--ink-faint); opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .2s ease; }
    .ps-chip:hover .ps-arrow { opacity: 1; transform: translateX(0); color: var(--blue); }

    /* Mobile: show logo tiles only (no names / arrow) — a tidy icon row. */
    @media (max-width: 600px) {
      .ps-eyebrow { margin-bottom: 1.25rem; }
      .ps-name, .ps-arrow { display: none; }
      .ps-grid { gap: .65rem; }
      .ps-chip { padding: 0; border: 0; background: none; box-shadow: none; }
      .ps-chip:hover { box-shadow: none; transform: translateY(-2px); }
      .ps-logo { width: 50px; height: 50px; border-radius: 14px; padding: 8px; box-shadow: var(--shadow-sm); border-color: var(--line); }
      .ps-logo--mono { padding: 0; }
      .ps-mono { font-size: .9rem; }
    }
