
      :root,
      [data-theme='light'] {
        --bg: #fafaf7;
        --bg-2: #f1efea;
        --paper: #ffffff;
        --ink: #0f0f0e;
        --ink-2: #2a2a28;
        --ink-3: #65635e;
        --ink-4: #a7a49c;
        --rule: #e2ded4;
        --rule-2: #d5d0c4;
        --accent: #e8312a;
        --accent-2: #c1251f;
        --accent-bg: #fde8e6;
        --tile-bg: #f4f2ec;

        --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.85rem);
        --text-sm: clamp(0.875rem, 0.82rem + 0.25vw, 1rem);
        --text-base: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
        --text-lg: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
        --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.15rem);
        --text-2xl: clamp(2rem, 1.3rem + 2.5vw, 3.25rem);
        --text-3xl: clamp(2.5rem, 1.1rem + 4vw, 4.5rem);
        --text-hero: clamp(3rem, 0.5rem + 6.5vw, 7.5rem);

        --s-2: 0.5rem;
        --s-3: 0.75rem;
        --s-4: 1rem;
        --s-5: 1.25rem;
        --s-6: 1.5rem;
        --s-8: 2rem;
        --s-10: 2.5rem;
        --s-12: 3rem;
        --s-16: 4rem;
        --s-20: 5rem;
        --s-24: 6rem;
        --s-32: 8rem;

        --gutter: clamp(1rem, 3vw, 2rem);
        --maxw: 1480px;

        --font-display: 'Cabinet Grotesk', 'Inter', system-ui, sans-serif;
        --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;
        --font-mono: 'JetBrains Mono', ui-monospace, monospace;
      }
      [data-theme='dark'] {
        --bg: #0c0c0b;
        --bg-2: #141412;
        --paper: #161614;
        --ink: #f0eee8;
        --ink-2: #cbc7bd;
        --ink-3: #7f7c74;
        --ink-4: #4d4b45;
        --rule: #24231f;
        --rule-2: #2d2c27;
        --accent: #ff4a42;
        --accent-2: #ff6d66;
        --accent-bg: #2b1514;
        --tile-bg: #19181626;
      }

      *,
      *::before,
      *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
      html {
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
        scroll-behavior: smooth;
        scroll-padding-top: 84px;
      }
      /* Anchor jumps land near the section title, not below its full top padding.
         Sections have generous top padding (~110px to title); a negative scroll-margin-top
         counteracts most of that so the title lands just below the 84px sticky header. */
      #help, #portfolio, #team, #ai, #partners, #perks {
        scroll-margin-top: clamp(-6rem, -8vw, -4rem);
      }
      body {
        font-family: var(--font-body);
        font-size: var(--text-base);
        line-height: 1.55;
        color: var(--ink);
        background: var(--bg);
        overflow-x: hidden;
      }
      img,
      svg {
        display: block;
        max-width: 100%;
      }
      a {
        color: inherit;
        text-decoration: none;
      }
      button {
        font: inherit;
        color: inherit;
        background: none;
        border: 0;
        cursor: pointer;
      }
      h1,
      h2,
      h3 {
        font-family: var(--font-display);
        font-weight: 800;
        line-height: 0.98;
        letter-spacing: -0.025em;
        text-wrap: balance;
      }
      p {
        text-wrap: pretty;
      }
      ::selection {
        background: var(--accent);
        color: #fff;
      }

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

      /* ---------- HEADER ---------- */
      .header {
        position: sticky;
        top: 0;
        z-index: 50;
        background: color-mix(in oklab, var(--bg) 90%, transparent);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--rule);
      }
      .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--s-6);
        padding-block: var(--s-4);
      }
      .logo {
        display: inline-flex;
        align-items: center;
        line-height: 0;
        color: inherit;
      }
      .logo svg {
        display: block;
        height: 40px;
        width: auto;
      }
      /* Dark-mode: swap charcoal paths to off-white. Red accents stay as-is. */
      [data-theme='dark'] .logo svg path[fill='#3D4143'] {
        fill: #ECECE8;
      }
      @media (max-width: 720px) {
        .logo svg { height: 34px; }
      }
      .nav {
        display: flex;
        gap: var(--s-6);
        font-size: var(--text-sm);
        color: var(--ink-2);
        font-weight: 500;
      }
      .nav a {
        position: relative;
      }
      .nav a:hover {
        color: var(--accent);
      }
      .header-right {
        display: flex;
        gap: var(--s-3);
        align-items: center;
      }
      .theme-btn {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border-radius: 8px;
        border: 1px solid var(--rule);
        color: var(--ink-2);
      }
      .theme-btn:hover {
        background: var(--bg-2);
        color: var(--ink);
      }
      .pitch-btn {
        padding: 0.6rem 1.1rem;
        background: var(--ink);
        color: var(--paper);
        border-radius: 8px;
        font-size: var(--text-sm);
        font-weight: 600;
      }
      .pitch-btn:hover {
        background: var(--accent);
      }
      @media (max-width: 860px) {
        .nav {
          display: none;
        }
        /* Drop the inline Pitch button on mobile; it lives in the hamburger overlay instead. */
        .header-right > .pitch-btn {
          display: none;
        }
      }

      /* ---------- MOBILE NAV ---------- */
      .menu-btn {
        display: none;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--rule);
        border-radius: 8px;
        background: transparent;
        color: var(--ink);
        cursor: pointer;
        flex-shrink: 0;
      }
      .menu-btn:hover { background: var(--bg-2); }
      .menu-btn-bars {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 18px;
      }
      .menu-btn-bars span {
        display: block;
        height: 1.5px;
        width: 100%;
        background: currentColor;
        border-radius: 1px;
        transition: transform 200ms ease, opacity 200ms ease;
      }
      @media (max-width: 860px) {
        .menu-btn { display: inline-flex; }
      }

      .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 100;
        background: var(--bg);
        display: flex;
        flex-direction: column;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 220ms ease, transform 220ms ease;
      }
      .mobile-menu[data-open="true"] {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
      }
      .mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--s-4) var(--s-6);
        border-bottom: 1px solid var(--rule);
      }
      .mobile-menu-close {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border: 1px solid var(--rule);
        border-radius: 8px;
        background: transparent;
        color: var(--ink);
        cursor: pointer;
      }
      .mobile-menu-close:hover { background: var(--bg-2); }
      .mobile-menu-eyebrow {
        font-family: var(--font-mono);
        font-size: 0.7rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--ink-3);
        padding: var(--s-7) var(--s-6) var(--s-3);
      }
      .mobile-menu-links {
        display: flex;
        flex-direction: column;
        flex: 1;
      }
      .mobile-menu-links a {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: var(--s-4);
        padding: var(--s-5) var(--s-6);
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1.75rem;
        letter-spacing: -0.02em;
        color: var(--ink);
        border-bottom: 1px solid var(--rule);
        text-decoration: none;
      }
      .mobile-menu-links a:active { background: var(--bg-2); }
      .mobile-menu-links a .mobile-menu-num {
        font-family: var(--font-mono);
        font-weight: 500;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        color: var(--ink-3);
      }
      .mobile-menu-foot {
        padding: var(--s-6);
        border-top: 1px solid var(--rule);
      }
      .mobile-menu-foot .pitch-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0.95rem 1.2rem;
        font-size: 1rem;
      }
      /* Lock body scroll while menu open */
      body[data-menu-open="true"] {
        overflow: hidden;
      }

      /* ---------- HERO ---------- */
      .hero {
        padding-block: var(--s-16) var(--s-12);
        position: relative;
        overflow: hidden;
        border-bottom: 1px solid var(--rule);
      }

      /* Subtle scroll affordance anchored to the bottom of the hero — mobile only */
      .scroll-cue { display: none; }
      @media (max-width: 720px) {
        .scroll-cue {
          display: inline-flex;
          position: absolute;
          left: 50%;
          bottom: 14px;
          transform: translateX(-50%);
          flex-direction: column;
          align-items: center;
          gap: 8px;
          color: var(--ink-3);
          text-decoration: none;
          font-family: var(--font-mono);
          font-size: 9px;
          letter-spacing: 0.2em;
          text-transform: uppercase;
          opacity: 0.85;
          transition: color 0.2s ease, opacity 0.2s ease;
          z-index: 2;
        }
      }
      .scroll-cue:hover {
        color: var(--accent);
        opacity: 1;
      }
      .scroll-cue .line {
        width: 1px;
        height: 36px;
        background: linear-gradient(to bottom, transparent, var(--ink-3) 30%, var(--ink-3));
        position: relative;
        overflow: hidden;
      }
      .scroll-cue .line::after {
        content: "";
        position: absolute;
        left: 0;
        top: -50%;
        width: 100%;
        height: 50%;
        background: linear-gradient(to bottom, transparent, var(--accent));
        animation: scrollCueDrop 2.2s ease-in-out infinite;
      }
      @keyframes scrollCueDrop {
        0%   { top: -50%; opacity: 0; }
        20%  { opacity: 1; }
        80%  { opacity: 1; }
        100% { top: 100%; opacity: 0; }
      }
      @media (prefers-reduced-motion: reduce) {
        .scroll-cue .line::after { animation: none; }
      }
      @media (max-width: 720px) {
        .scroll-cue .line { height: 28px; }
      }
      .hero-inner {
        display: grid;
        grid-template-columns: minmax(0, 920px);
        justify-content: start;
        gap: var(--s-16);
        align-items: center;
        min-height: 64vh;
      }
      .hero-inner > .mosaic { display: none; }
      .hero-text .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.4rem 0.85rem;
        border: 1px solid var(--rule);
        border-radius: 999px;
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--ink-2);
        background: var(--paper);
        margin-bottom: var(--s-6);
      }
      .hero-text .eyebrow .dot {
        width: 6px;
        height: 6px;
        border-radius: 999px;
        background: var(--accent);
        animation: pulse 2.4s ease-in-out infinite;
      }
      @keyframes pulse {
        0%,
        100% {
          opacity: 0.55;
          transform: scale(1);
        }
        50% {
          opacity: 1;
          transform: scale(1.35);
        }
      }

      .hero h1 {
        font-size: var(--text-hero);
        line-height: 0.88;
        letter-spacing: -0.035em;
      }
      .hero h1 .count {
        color: var(--accent);
      }
      .hero h1 .anno {
        display: inline-block;
        position: relative;
        font-weight: 800;
      }
      .hero h1 .anno::after {
        content: '';
        position: absolute;
        left: -4%;
        right: -4%;
        bottom: -8%;
        height: 6px;
        background: var(--accent);
        border-radius: 999px;
        transform: scaleX(0);
        transform-origin: left;
        animation: draw 1.3s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      }
      @keyframes draw {
        to {
          transform: scaleX(1);
        }
      }

      .hero-text .lede {
        margin-top: var(--s-6);
        font-size: var(--text-lg);
        color: var(--ink-2);
        max-width: 48ch;
        line-height: 1.5;
      }
      .hero-cta-row {
        display: flex;
        gap: var(--s-3);
        flex-wrap: wrap;
        margin-top: var(--s-8);
      }
      .btn {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        padding: 0.85rem 1.4rem;
        border-radius: 10px;
        font-weight: 600;
        font-size: var(--text-sm);
        font-family: inherit;
        border: 0;
        cursor: pointer;
      }
      .btn.primary {
        background: var(--ink);
        color: var(--paper);
      }
      .btn.primary:hover {
        background: var(--accent);
      }
      .btn.ghost {
        border: 1px solid var(--rule-2);
        color: var(--ink);
      }
      .btn.ghost:hover {
        border-color: var(--ink);
        background: var(--paper);
      }

      .hero-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--s-6);
        margin-top: var(--s-16);
        padding-top: var(--s-8);
        border-top: 1px solid var(--rule);
      }
      .hero-stat .v {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 1.85rem;
        letter-spacing: -0.03em;
        line-height: 1;
      }
      .hero-stat .v .u {
        color: var(--ink);
      }
      .hero-stat .l {
        font-family: var(--font-mono);
        font-size: 0.7rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--ink-3);
        margin-top: 0.4rem;
      }
      @media (max-width: 640px) {
        .hero-stats {
          grid-template-columns: repeat(2, 1fr);
          gap: var(--s-5);
        }
        /* Tighter CTA pair on mobile so they sit side-by-side instead of looking lonely */
        .hero-cta-row {
          flex-wrap: nowrap;
          gap: var(--s-3);
        }
        .hero-cta-row .btn {
          padding: 0.85rem 0.6rem;
          font-size: 0.9rem;
          flex: 1 1 0;
          min-width: 0;
          justify-content: center;
          white-space: nowrap;
        }
      }

      /* ---------- HERO AI BADGE ---------- */
      .ai-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.7rem;
        margin-top: var(--s-6);
        padding: 0.65rem 1.1rem 0.65rem 0.9rem;
        background: var(--bg-2);
        border: 1px solid var(--rule);
        border-radius: 999px;
        font-size: 0.86rem;
        line-height: 1.2;
        color: var(--ink-2);
        text-decoration: none;
        transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
      }
      .ai-badge strong { color: var(--ink); font-weight: 600; }
      .ai-badge svg {
        opacity: 0.55;
        transition: transform 0.2s ease, opacity 0.2s ease;
      }
      .ai-badge:hover {
        border-color: var(--accent);
        background: var(--paper);
      }
      .ai-badge:hover svg { transform: translateX(3px); opacity: 1; color: var(--accent); }

      .ai-pulse {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--accent);
        flex-shrink: 0;
        position: relative;
        box-shadow: 0 0 0 0 rgba(232, 49, 42, 0.6);
        animation: ai-pulse-ring 2.2s cubic-bezier(0.66, 0, 0, 1) infinite;
      }
      @keyframes ai-pulse-ring {
        0%   { box-shadow: 0 0 0 0 rgba(232, 49, 42, 0.55); }
        70%  { box-shadow: 0 0 0 11px rgba(232, 49, 42, 0); }
        100% { box-shadow: 0 0 0 0 rgba(232, 49, 42, 0); }
      }
      @media (prefers-reduced-motion: reduce) {
        .ai-pulse { animation: none !important; }
      }
      @media (max-width: 640px) {
        .ai-badge { font-size: 0.8rem; padding: 0.55rem 0.95rem 0.55rem 0.8rem; }
      }

      /* ---------- HERO MOSAIC ---------- */
      .mosaic {
        position: relative;
        aspect-ratio: 1.05 / 1;
        max-height: 78vh;
      }
      .mosaic-grid {
        position: absolute;
        inset: 0;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-auto-rows: 1fr;
        gap: 6px;
      }
      .mosaic-cell {
        background: var(--tile-bg);
        border: 1px solid var(--rule);
        border-radius: 8px;
        display: grid;
        place-items: center;
        padding: 0.5rem;
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 0.95rem;
        color: var(--ink-2);
        text-align: center;
        line-height: 1.1;
        letter-spacing: -0.01em;
        transition: background 220ms, color 220ms, transform 220ms, border-color 220ms;
        overflow: hidden;
        position: relative;
        text-decoration: none;
      }
      .mosaic-cell.mosaic-more {
        font-size: 0.9rem;
        letter-spacing: 0.01em;
        cursor: pointer;
      }
      /* Hover effects disabled per request — keep code for later restoration */
      /*
      .mosaic-cell.mosaic-more:hover {
        background: var(--ink);
        color: var(--paper);
        border-color: var(--ink);
        transform: scale(1.04);
      }
      */
      .mosaic-cell.accent {
        background: var(--accent);
        color: #fff;
        border-color: var(--accent);
      }
      .mosaic-cell.dark {
        background: var(--ink);
        color: var(--paper);
        border-color: var(--ink);
      }
      .mosaic-cell.outline {
        background: var(--paper);
      }
      /* Hover effects disabled per request — keep code for later restoration
      .mosaic-cell:hover {
        transform: scale(1.06);
        background: var(--accent);
        color: #fff;
        border-color: var(--accent);
        z-index: 3;
      }
      .mosaic-cell.dark:hover,
      .mosaic-cell.accent:hover {
        transform: scale(1.06);
      }
      */
      /* Let ~12 cells start in "accent" / "dark" positions for visual rhythm */

      @media (max-width: 640px) {
        .mosaic { aspect-ratio: 1 / 1; max-height: 60vh; }
        /* Mosaic kept hidden on mobile too — code preserved for future restoration */
        .hero-inner > .mosaic { display: none; }
        .hero-inner > .mosaic.__mobile-restore { display: flex; flex-direction: column; aspect-ratio: auto; max-height: none; }
        .hero-inner > .mosaic > .mosaic-grid {
          position: relative;
          aspect-ratio: auto;
          inset: auto;
          grid-template-columns: repeat(4, 1fr);
          gap: 5px;
        }
        /* On mobile, render all cells uniformly in the neutral tile style */
        .hero-inner > .mosaic > .mosaic-grid .mosaic-cell {
          font-size: 0.76rem;
          padding: 0.5rem 0.3rem;
          border-radius: 6px;
          letter-spacing: -0.02em;
          background: var(--tile-bg);
          color: var(--ink-2);
          border-color: var(--rule);
          aspect-ratio: 1 / 1;
        }
        .hero-inner > .mosaic > .mosaic-grid .mosaic-cell.accent,
        .hero-inner > .mosaic > .mosaic-grid .mosaic-cell.dark,
        .hero-inner > .mosaic > .mosaic-grid .mosaic-cell.outline {
          background: var(--tile-bg);
          color: var(--ink-2);
          border-color: var(--rule);
        }
        /* "See more" -> plain text link, full row, right-aligned */
        .hero-inner > .mosaic > .mosaic-grid .mosaic-cell.mosaic-more {
          grid-column: 1 / -1;
          aspect-ratio: auto;
          background: transparent;
          border: none;
          padding: 0.9rem 0.25rem 0.25rem;
          font-family: var(--font-mono);
          font-weight: 500;
          font-size: 0.78rem;
          letter-spacing: 0.04em;
          text-transform: none;
          color: var(--accent);
          justify-self: end;
          text-align: right;
          place-items: end;
        }
        .hero-inner > .mosaic > .mosaic-grid .mosaic-cell.mosaic-more:hover {
          background: transparent;
          color: var(--ink);
          transform: none;
          border: none;
        }
      }

      /* ---------- PROOF BAND ---------- */
      .proof {
        border-bottom: 1px solid var(--rule);
        background: var(--ink);
        color: var(--paper);
        padding-block: clamp(3rem, 5vw, 4.5rem);
        position: relative;
        overflow: hidden;
      }
      .proof::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
          radial-gradient(circle at 85% 30%, color-mix(in oklab, var(--accent) 35%, transparent), transparent 55%),
          radial-gradient(circle at 15% 80%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 50%);
        opacity: 0.6;
        pointer-events: none;
      }
      .proof-inner {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: var(--s-10);
        align-items: stretch;
      }
      .proof-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: var(--s-4);
      }
      .proof-eyebrow::before {
        content: '';
        width: 22px;
        height: 1px;
        background: var(--accent);
      }
      .proof h2 {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: clamp(2.25rem, 4.5vw, 4rem);
        line-height: 0.95;
        letter-spacing: -0.035em;
        color: var(--paper);
        max-width: 16ch;
      }
      .proof h2 .big {
        color: var(--accent);
      }
      .proof-ex {
        margin-top: var(--s-6);
        color: color-mix(in oklab, var(--paper) 70%, transparent);
        font-size: var(--text-base);
        line-height: 1.55;
        max-width: 52ch;
      }
      .proof-chips {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: var(--s-2);
        border-top: 1px solid color-mix(in oklab, var(--paper) 14%, transparent);
        border-bottom: 1px solid color-mix(in oklab, var(--paper) 14%, transparent);
        padding-block: var(--s-6);
      }
      .proof-chip {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
        padding: 0 var(--s-5);
        border-right: 1px solid color-mix(in oklab, var(--paper) 10%, transparent);
        background: transparent;
        min-width: 0;
      }
      .proof-chip:last-child { border-right: 0; }
      .proof-chip .co {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 1.05rem;
        letter-spacing: -0.01em;
        color: var(--paper);
      }
      .proof-chip .val {
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        color: var(--accent);
      }
      .proof-chip .who {
        font-size: 0.72rem;
        color: color-mix(in oklab, var(--paper) 55%, transparent);
        margin-top: 0.15rem;
      }
      @media (max-width: 900px) {
        .proof-chips {
          grid-template-columns: 1fr 1fr;
          gap: var(--s-2) var(--s-4);
          padding-block: var(--s-5);
        }
        .proof-chip {
          padding: var(--s-3) var(--s-4);
          border-right: 0;
          border-bottom: 1px solid color-mix(in oklab, var(--paper) 10%, transparent);
        }
      }
      @media (max-width: 560px) {
        .proof-chips { grid-template-columns: 1fr; }
      }

      /* ---------- HOW WE HELP ----------
         Editorial horizontal-row layout:
         each pillar is a wide row with a giant numeral + label on the left
         and the description + bullets on the right. Stacks naturally on mobile. */
      .help-section {
        background: var(--paper);
        border-bottom: 1px solid var(--rule);
      }
      .help-list {
        margin-top: var(--s-10);
        border-top: 1px solid var(--rule);
      }
      .help-row {
        display: grid;
        grid-template-columns: 0.95fr 1.6fr;
        gap: var(--s-9);
        padding: calc(var(--s-10) + var(--s-3)) 0 var(--s-8);
        border-bottom: 1px solid var(--rule);
        align-items: start;
      }
      .help-row-head {
        align-self: start;
        display: flex;
        flex-direction: column;
        gap: var(--s-4);
      }
      .help-num {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: clamp(2.2rem, 3.4vw, 3rem);
        line-height: 1; /* avoid hugging the divider above when the row starts */
        color: var(--accent);
        letter-spacing: -0.04em;
        font-variant-numeric: tabular-nums;
        display: block;
      }
      .help-row h3 {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: clamp(1.55rem, 2.4vw, 2rem);
        letter-spacing: -0.025em;
        line-height: 1.05;
        color: var(--ink);
        margin: 0;
      }
      .help-row-body {
        display: flex;
        flex-direction: column;
        gap: var(--s-5);
        max-width: 56ch;
      }
      .help-row-body p.help-lede {
        font-size: var(--text-md);
        line-height: 1.55;
        color: var(--ink-2);
        margin: 0;
      }
      .help-row-body ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: var(--s-6);
        row-gap: 0.55rem;
      }
      .help-row-body ul li {
        position: relative;
        padding-left: 1.4rem;
        font-size: 0.95rem;
        line-height: 1.45;
        color: var(--ink);
      }
      .help-row-body ul li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0.62rem;
        width: 0.7rem;
        height: 1px;
        background: var(--accent);
      }
      /* Inline stats row inside a help-row-body (used in 'The network') */
      .help-row-body ul.help-stats-row {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--s-3);
        margin-bottom: var(--s-5);
        padding-bottom: var(--s-5);
        border-bottom: 1px solid var(--rule);
      }
      .help-row-body ul.help-stats-row li {
        list-style: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
      }
      .help-row-body ul.help-stats-row li::before { display: none; }
      .help-row-body ul.help-stats-row li strong {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: clamp(1.6rem, 2.4vw, 2.1rem);
        letter-spacing: -0.02em;
        color: var(--ink);
        line-height: 1;
      }
      .help-row-body ul.help-stats-row li span {
        font-family: var(--font-mono);
        font-size: 0.66rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--ink-3);
      }
      @media (max-width: 640px) {
        .help-row-body ul.help-stats-row {
          grid-template-columns: repeat(2, 1fr);
        }
      }
      @media (max-width: 900px) {
        .help-row {
          grid-template-columns: 1fr;
          gap: var(--s-5);
          padding: var(--s-8) 0 var(--s-8);
          min-height: 0;
        }
        .help-row-head {
          flex-direction: row;
          align-items: baseline;
          gap: var(--s-5);
        }
        .help-num {
          font-size: 2rem;
          line-height: 1;
        }
        .help-row h3 { font-size: 1.5rem; }
        .help-row-body ul {
          grid-template-columns: 1fr;
        }
      }

      /* ---------- LOGOS BAR ---------- */
      .logos-bar {
        border-bottom: 1px solid var(--rule);
        background: var(--paper);
        padding-block: var(--s-6);
        overflow: hidden;
      }
      .logos-bar-inner {
        display: flex;
        align-items: center;
        gap: var(--s-8);
      }
      .logos-bar-label {
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--ink-3);
        flex-shrink: 0;
        padding-inline: var(--s-4);
      }
      .logos-bar-track {
        display: flex;
        gap: var(--s-10);
        animation: marquee 50s linear infinite;
        width: max-content;
        font-family: var(--font-display);
        font-weight: 800;
        color: var(--ink-2);
      }
      .logos-bar-track span {
        font-size: 1.1rem;
        letter-spacing: -0.01em;
        white-space: nowrap;
      }
      .ticker-item {
        display: inline-flex;
        align-items: baseline;
        gap: 0.55rem;
        font-family: var(--font-display);
      }
      .ticker-item strong {
        font-weight: 800;
        color: var(--ink);
        letter-spacing: -0.025em;
      }
      .ticker-item em {
        font-style: normal;
        font-family: var(--font-body);
        font-weight: 400;
        color: var(--ink-3);
        font-size: 0.92rem;
      }
      .ticker-sep {
        color: var(--accent);
        font-size: 0.75rem;
        transform: translateY(-2px);
        display: inline-flex;
      }
      @keyframes marquee {
        from {
          transform: translateX(0);
        }
        to {
          transform: translateX(-50%);
        }
      }

      /* ---------- SECTION BASE ---------- */
      .section {
        padding-block: clamp(4rem, 7vw, 6.5rem);
        border-bottom: 1px solid var(--rule);
      }
      .section-head {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--s-12);
        align-items: end;
        margin-bottom: var(--s-12);
      }
      .section-head p {
        font-size: var(--text-lg);
        color: var(--ink-2);
        line-height: 1.5;
        max-width: 52ch;
      }
      .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--ink-3);
      }
      .eyebrow::before {
        content: '';
        width: 20px;
        height: 1px;
        background: var(--accent);
      }
      .section-title {
        font-size: var(--text-3xl);
        margin-top: var(--s-3);
        max-width: 20ch;
        letter-spacing: -0.03em;
      }
      .section-title em {
        color: var(--accent);
        font-style: normal;
      }
      @media (max-width: 860px) {
        .section-head {
          grid-template-columns: 1fr;
          gap: var(--s-6);
        }
      }

      /* ---------- SELECTED PORTFOLIO LOGO WALL ---------- */
      .logo-wall {
        margin: 0 0 64px;
        border-top: 1px solid var(--rule);
        border-bottom: 1px solid var(--rule);
      }
      .logo-wall-head {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 24px;
        padding: 18px 0 22px;
        border-bottom: 1px solid var(--rule);
      }
      .logo-wall-head .eyebrow {
        margin: 0;
      }
      .logo-wall-head .note {
        font-family: var(--font-mono);
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--ink-3);
      }
      .logo-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 110px;
      }
      .logo-cell {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 22px 22px;
        position: relative;
        transition: transform 0.25s ease, opacity 0.2s ease;
        border-right: 1px solid var(--rule);
        border-bottom: 1px solid var(--rule);
        overflow: hidden;
      }
      .logo-cell img {
        max-height: 38px;
        max-width: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        /* JPGs with white backgrounds blend into cream */
        mix-blend-mode: multiply;
        opacity: 0.88;
        transition: opacity 0.2s ease, transform 0.25s ease;
      }
      .logo-cell:hover img {
        opacity: 1;
        transform: scale(1.04);
      }
      /* Strip outer borders so the wall looks like a clean inner grid */
      .logo-grid > .logo-cell:nth-child(4n) { border-right: none; }
      .logo-grid > .logo-cell:nth-last-child(-n+4) { border-bottom: none; }

      /* Per-logo size tuning — some marks read better slightly smaller/larger */
      .logo-cell.size-sm img { max-height: 26px; max-width: 70%; }
      .logo-cell.size-md img { max-height: 34px; }
      .logo-cell.size-lg img { max-height: 44px; }
      .logo-cell.size-xl img { max-height: 52px; }
      /* One-off: Bolt.new wordmark — asset is tightly cropped, so tune to match peers */
      .logo-cell.bolt-xxl img { max-height: 40px; }

      @media (max-width: 900px) {
        .logo-grid {
          grid-template-columns: repeat(3, 1fr);
          grid-auto-rows: 96px;
        }
        .logo-grid > .logo-cell:nth-child(4n) { border-right: 1px solid var(--rule); }
        .logo-grid > .logo-cell:nth-last-child(-n+4) { border-bottom: 1px solid var(--rule); }
        .logo-grid > .logo-cell:nth-child(3n) { border-right: none; }
        .logo-grid > .logo-cell:nth-last-child(-n+3) { border-bottom: none; }
        .logo-cell { padding: 16px 14px; }
        .logo-cell img { max-height: 30px; }
        .logo-cell.size-sm img { max-height: 22px; max-width: 75%; }
        .logo-cell.size-md img { max-height: 28px; }
        .logo-cell.size-lg img { max-height: 36px; }
        .logo-cell.size-xl img { max-height: 42px; }
        .logo-cell.bolt-xxl img { max-height: 32px; }
      }
      @media (max-width: 560px) {
        .logo-grid {
          grid-template-columns: repeat(2, 1fr);
          grid-auto-rows: 88px;
        }
        .logo-grid > .logo-cell:nth-child(3n) { border-right: 1px solid var(--rule); }
        .logo-grid > .logo-cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
        .logo-grid > .logo-cell:nth-child(2n) { border-right: none; }
        .logo-grid > .logo-cell:nth-last-child(-n+2) { border-bottom: none; }
      }

      /* ---------- PORTFOLIO EXPLORER ---------- */
      .explorer-controls {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: var(--s-4);
        align-items: center;
        margin-bottom: var(--s-8);
        padding: var(--s-3);
        border: 1px solid var(--rule);
        border-radius: 14px;
        background: var(--paper);
      }
      .search {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.65rem 0.9rem;
        font-family: var(--font-mono);
        font-size: var(--text-sm);
      }
      .search svg {
        color: var(--ink-3);
      }
      .search input {
        flex: 1;
        border: 0;
        background: transparent;
        outline: none;
        font-family: var(--font-body);
        font-size: var(--text-base);
      }
      .search input::placeholder {
        color: var(--ink-3);
      }
      .search .hotkey {
        font-family: var(--font-mono);
        font-size: 0.7rem;
        color: var(--ink-3);
        padding: 0.2rem 0.4rem;
        border: 1px solid var(--rule-2);
        border-radius: 4px;
      }
      .filter-group {
        display: flex;
        gap: 0.35rem;
        flex-wrap: wrap;
        padding-right: 0.35rem;
      }
      .filter {
        font-size: var(--text-sm);
        padding: 0.5rem 0.85rem;
        border-radius: 8px;
        color: var(--ink-2);
        border: 1px solid transparent;
        font-weight: 500;
      }
      .filter:hover {
        background: var(--bg-2);
      }
      .filter.active {
        background: var(--ink);
        color: var(--paper);
      }
      .filter .count {
        font-family: var(--font-mono);
        font-size: 0.7rem;
        margin-left: 0.4rem;
        opacity: 0.6;
      }
      @media (max-width: 860px) {
        .explorer-controls {
          grid-template-columns: 1fr;
        }
      }

      /* Portfolio table */
      .co-table-wrap {
        border: 1px solid var(--rule);
        border-radius: 16px;
        background: var(--paper);
        overflow: hidden;
      }
      .co-table-head {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr 3.4fr 0.7fr 48px;
        gap: var(--s-4);
        padding: var(--s-4) var(--s-6);
        border-bottom: 1px solid var(--rule);
        background: var(--bg-2);
        font-family: var(--font-mono);
        font-size: 0.65rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--ink-3);
      }
      .co-grid {
        display: flex;
        flex-direction: column;
      }
      .co-cell {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr 3.4fr 0.7fr 48px;
        gap: var(--s-4);
        align-items: center;
        padding: var(--s-4) var(--s-6);
        border-bottom: 1px solid var(--rule);
        cursor: pointer;
        position: relative;
        transition: background 180ms;
        color: inherit;
        text-decoration: none;
      }
      .co-cell:last-child { border-bottom: none; }
      .co-cell .co-dot {
        width: 6px; height: 6px;
        border-radius: 50%;
        background: transparent;
        flex-shrink: 0;
        transition: background 180ms;
      }
      .co-cell:hover {
        background: linear-gradient(90deg, var(--accent-bg) 0%, transparent 60%);
        box-shadow: inset 3px 0 0 var(--accent);
      }
      .co-cell:hover .co-name {
        color: var(--accent-2);
      }
      [data-theme='dark'] .co-cell:hover .co-name {
        color: var(--accent);
      }
      .co-cell:hover .co-dot {
        background: var(--accent);
      }
      .co-name {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1.05rem;
        letter-spacing: -0.015em;
        color: var(--ink);
        display: flex;
        align-items: center;
        gap: 0.55rem;
        min-width: 0;
      }
      .co-name-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .co-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.32rem;
        font-family: var(--font-mono);
        font-size: 0.6rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        padding: 0.18rem 0.42rem;
        border-radius: 999px;
        border: 1px solid var(--rule);
        color: var(--ink-2);
        background: var(--bg-2, #f5f3ee);
        white-space: nowrap;
        flex-shrink: 0;
        line-height: 1;
      }
      .co-chip::before {
        content: '';
        width: 5px; height: 5px;
        border-radius: 50%;
        background: var(--ink-3);
      }
      .co-chip[data-outcome="public"] {
        color: #0f6b3a;
        border-color: rgba(15, 107, 58, 0.25);
        background: rgba(15, 107, 58, 0.06);
      }
      .co-chip[data-outcome="public"]::before { background: #15a05a; }
      .co-chip[data-outcome="acquired"] {
        color: var(--accent-2, #b3361f);
        border-color: rgba(217, 67, 38, 0.28);
        background: rgba(217, 67, 38, 0.06);
      }
      .co-chip[data-outcome="acquired"]::before { background: var(--accent); }
      .co-sector {
        font-family: var(--font-mono);
        font-size: 0.68rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--ink-3);
      }
      .co-founders {
        font-size: 0.88rem;
        color: var(--ink-2);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .co-desc {
        font-size: 0.88rem;
        color: var(--ink-2);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 1.35;
      }
      .co-since {
        font-family: var(--font-mono);
        font-size: 0.78rem;
        color: var(--ink-3);
        letter-spacing: 0.04em;
      }
      .co-arrow {
        opacity: 0;
        color: var(--accent);
        transition: opacity 180ms, transform 180ms;
        justify-self: end;
      }
      .co-cell:hover .co-arrow {
        opacity: 1;
        transform: translate(2px, -2px);
      }
      /* Previously .co-cell.featured highlighted featured rows — behavior is now on :hover */
      @media (max-width: 820px) {
        .co-table-head { display: none; }
        /* Mobile portfolio rows: stacked editorial scan.
           Line 1 — Name + outcome chip (Public/Acquired) only.
           Line 2 — Sector · Year (mono meta row).
           Line 3 — Description.
           Founders are de-emphasised (hidden on mobile to reduce noise). */
        .co-cell {
          display: flex;
          flex-direction: column;
          align-items: stretch;
          gap: 0.45rem;
          padding: var(--s-4) var(--s-5);
        }
        .co-cell .co-name {
          font-size: 1rem;
          flex-wrap: wrap;
          gap: 0.45rem;
        }
        .co-chip {
          font-size: 0.55rem;
          padding: 0.14rem 0.4rem;
        }
        .co-meta-mobile {
          display: flex;
          align-items: center;
          gap: 0.55rem;
          font-family: var(--font-mono);
          font-size: 0.68rem;
          letter-spacing: 0.1em;
          text-transform: uppercase;
          color: var(--ink-3);
        }
        .co-meta-mobile .co-meta-sep {
          opacity: 0.55;
        }
        /* Hide the desktop-only cells on mobile; meta-mobile takes over. */
        .co-cell .co-sector,
        .co-cell .co-since {
          display: none;
        }
        .co-cell .co-desc {
          font-size: 0.85rem;
          color: var(--ink-2);
          white-space: normal;
          line-height: 1.45;
        }
        .co-cell .co-arrow { display: none; }
      }
      /* The mobile meta row is hidden on desktop — desktop uses dedicated columns. */
      @media (min-width: 821px) {
        .co-meta-mobile { display: none; }
      }

      /* ---------- HOVER POPOVER ---------- */
      .popover {
        position: fixed;
        z-index: 100;
        width: 320px;
        padding: var(--s-5);
        background: var(--ink);
        color: var(--paper);
        border-radius: 14px;
        border: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28), 0 8px 20px rgba(0, 0, 0, 0.18);
        opacity: 0;
        transform: translateY(4px) scale(0.98);
        transition: opacity 180ms cubic-bezier(0.16, 1, 0.3, 1),
          transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
        font-family: var(--font-body);
      }
      .popover.open {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
      .popover .pop-head {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-bottom: var(--s-3);
      }
      .popover .pop-name {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 1.25rem;
        letter-spacing: -0.015em;
        color: var(--paper);
      }
      .popover .pop-sector {
        font-family: var(--font-mono);
        font-size: 0.65rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--accent);
      }
      .popover .pop-desc {
        font-size: 0.88rem;
        color: color-mix(in oklab, var(--paper) 72%, transparent);
        line-height: 1.5;
        margin-bottom: var(--s-4);
      }
      .popover .pop-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--s-3);
        padding-top: var(--s-3);
        border-top: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
      }
      .popover .pop-meta .row {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
      }
      .popover .pop-meta .label {
        font-family: var(--font-mono);
        font-size: 0.62rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: color-mix(in oklab, var(--paper) 45%, transparent);
      }
      .popover .pop-meta .value {
        font-size: 0.85rem;
        color: var(--paper);
        font-weight: 500;
      }
      .popover .pop-meta .value.muted {
        color: color-mix(in oklab, var(--paper) 55%, transparent);
        font-style: italic;
        font-weight: 400;
      }
      .popover::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 24px;
        width: 12px;
        height: 12px;
        background: var(--ink);
        border-left: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
        border-top: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
        transform: rotate(45deg);
      }
      .popover.flip-y::before {
        top: auto;
        bottom: -6px;
        transform: rotate(225deg);
      }
      @media (max-width: 720px) {
        .popover { display: none; }
      }

      .explorer-footer {
        margin-top: var(--s-6);
        padding-top: var(--s-5);
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-family: var(--font-mono);
        font-size: 0.75rem;
        letter-spacing: 0.1em;
        color: var(--ink-3);
      }
      .explorer-footer a {
        color: var(--ink);
        display: inline-flex;
        gap: 0.4rem;
        align-items: center;
      }

      /* ---------- HOW WE INVEST (CARDS) ---------- */
      .how-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--s-4);
      }
      .how-card {
        padding: var(--s-8);
        border: 1px solid var(--rule);
        border-radius: 16px;
        background: var(--paper);
        display: flex;
        flex-direction: column;
        gap: var(--s-4);
        position: relative;
        overflow: hidden;
      }
      .how-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 48px;
        height: 3px;
        background: var(--accent);
      }
      .how-num {
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.14em;
        color: var(--ink-3);
      }
      .how-card h3 {
        font-size: var(--text-xl);
        letter-spacing: -0.02em;
      }
      .how-card .lead {
        font-size: var(--text-base);
        color: var(--ink-2);
        font-weight: 500;
      }
      .how-card ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        margin-top: var(--s-2);
      }
      .how-card li {
        display: flex;
        gap: 0.55rem;
        color: var(--ink-2);
        font-size: var(--text-sm);
        line-height: 1.5;
      }
      .how-card li::before {
        content: '';
        width: 6px;
        height: 6px;
        background: var(--accent);
        border-radius: 999px;
        margin-top: 0.55rem;
        flex-shrink: 0;
      }
      @media (max-width: 860px) {
        .how-grid {
          grid-template-columns: 1fr;
        }
      }

      /* ---------- TEAM ---------- */
      .team-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--s-6);
      }
      .team-card {
        padding: var(--s-8) var(--s-6) var(--s-6);
        border: 1px solid var(--rule);
        border-radius: 20px;
        background: var(--paper);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--s-4);
        position: relative;
        overflow: hidden;
        transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
        font: inherit;
        color: inherit;
        cursor: pointer;
        width: 100%;
      }
      .team-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 40px -22px rgba(232, 49, 42, 0.28);
      }
      .team-card::after {
        content: 'Read bio →';
        position: absolute;
        top: var(--s-5);
        right: var(--s-5);
        font-family: var(--font-mono);
        font-size: 0.62rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--accent);
        opacity: 0;
        transition: opacity .22s ease;
        pointer-events: none;
      }
      .team-card:hover::after { opacity: 1; }
      .team-card:hover { border-color: rgba(232, 49, 42, 0.35); }
      /* Static (non-clickable) team cards: same look, no "Read bio" hint, no lift */
      .team-card--static { cursor: default; }
      .team-card--static::after { display: none; }
      .team-card--static:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--rule);
      }
      .team-card::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 260px;
        background:
          linear-gradient(180deg, rgba(232, 49, 42, 0.22) 0%, rgba(232, 49, 42, 0.10) 30%, transparent 70%),
          radial-gradient(ellipse 70% 100% at 50% 0%, rgba(232, 49, 42, 0.18), transparent 70%);
        pointer-events: none;
      }
      .team-photo {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        overflow: hidden;
        position: relative;
        z-index: 1;
        background: var(--bg-2);
        box-shadow: 0 10px 32px -14px rgba(15, 15, 14, 0.25);
      }
      [data-theme='dark'] .team-photo {
        box-shadow: 0 10px 32px -14px rgba(0, 0, 0, 0.55);
      }
      .team-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
      .team-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.3rem 0.65rem;
        border: 1px solid var(--rule);
        border-radius: 999px;
        background: var(--paper);
        font-family: var(--font-mono);
        font-size: 0.66rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--ink-2);
        margin-top: var(--s-1);
      }
      .team-chip::before {
        content: '';
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--accent);
        flex-shrink: 0;
      }
      .team-meta {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        margin-top: var(--s-1);
      }
      .team-meta h4 {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: clamp(1.85rem, 2.55vw, 2.75rem);
        letter-spacing: -0.02em;
        line-height: 1.1;
        white-space: nowrap;
      }
      .team-meta .role {
        font-family: var(--font-mono);
        font-size: 0.7rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--ink-3);
      }
      .team-card p {
        font-size: var(--text-sm);
        color: var(--ink-2);
        line-height: 1.55;
        max-width: 32ch;
      }
      .team-card .links {
        display: flex;
        gap: 1rem;
        font-family: var(--font-mono);
        font-size: 0.72rem;
        color: var(--ink-3);
        padding-top: var(--s-3);
        margin-top: auto;
        border-top: 1px solid var(--rule);
        width: 100%;
        justify-content: center;
      }
      .team-card .links a {
        transition: color .2s ease;
      }
      .team-card .links a:hover {
        color: var(--accent);
      }
      @media (max-width: 860px) {
        .team-grid {
          grid-template-columns: 1fr;
        }
        .team-photo {
          width: 180px;
          height: 180px;
        }
      }

      /* Compact horizontal layout on phones */
      @media (max-width: 640px) {
        .team-grid {
          gap: var(--s-4);
        }
        .team-card {
          display: grid;
          grid-template-columns: 96px 1fr;
          grid-template-areas:
            "photo name"
            "photo role"
            "photo chip"
            "bio   bio"
            "links links";
          align-items: center;
          justify-items: start;
          text-align: left;
          gap: 0.25rem 1rem;
          padding: var(--s-5);
          border-radius: 16px;
        }
        .team-card::before {
          /* Retire the big red gradient for the compact layout */
          display: none;
        }
        .team-card::after {
          display: none;
        }
        .team-photo {
          grid-area: photo;
          width: 96px;
          height: 96px;
          align-self: start;
          margin-top: 2px;
        }
        .team-meta {
          display: contents;
        }
        .team-meta h4 {
          grid-area: name;
          font-size: 1.35rem;
          line-height: 1.05;
          align-self: end;
          white-space: normal;
        }
        .team-meta .role {
          grid-area: role;
          align-self: start;
          font-size: 0.66rem;
          letter-spacing: 0.14em;
        }
        .team-chip {
          grid-area: chip;
          margin-top: 0.35rem;
          font-size: 0.58rem;
          padding: 0.22rem 0.55rem;
          letter-spacing: 0.12em;
        }
        .team-card p {
          grid-area: bio;
          margin-top: var(--s-3);
          max-width: none;
          text-align: left;
          font-size: 0.92rem;
          line-height: 1.5;
        }
        .team-card .links {
          grid-area: links;
          justify-content: flex-start;
          padding-top: var(--s-3);
          margin-top: var(--s-1);
        }
      }

      /* Extended team */
      .ext-team {
        margin-top: var(--s-16);
        padding-top: var(--s-10);
        border-top: 1px solid var(--rule);
      }
      .ext-team-head {
        display: flex;
        flex-direction: column;
        gap: var(--s-3);
        margin-bottom: var(--s-8);
      }
      .ext-team-head h3 {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: var(--text-xl);
        letter-spacing: -0.02em;
        color: var(--ink);
      }
      .ext-team-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--s-5);
      }
      .ext-card {
        display: flex;
        align-items: center;
        gap: var(--s-4);
        padding: var(--s-5);
        border: 1px solid var(--rule);
        border-radius: 14px;
        background: var(--paper);
        transition: border-color .2s ease, transform .2s ease;
        text-decoration: none;
        color: inherit;
      }
      .ext-card:hover { border-color: rgba(232, 49, 42, 0.35); }

      /* AI agent card in the extended team row — node-network glyph */
      .ext-ai-card { position: relative; overflow: hidden; }
      .ext-ai-card:hover { border-color: var(--accent); transform: translateY(-2px); }
      .ext-card .ext-ai-photo,
      .ext-ai-photo {
        background: var(--ink);
        color: var(--paper);
        position: relative;
        display: grid;
        place-items: center;
        overflow: hidden;
      }
      .ext-ai-photo svg.ai-network {
        width: 82%;
        height: 82%;
        display: block;
      }
      .ext-ai-photo .ai-net-link {
        stroke: rgba(255, 255, 255, 0.28);
        stroke-width: 1;
      }
      .ext-ai-photo .ai-net-node {
        fill: var(--paper);
      }
      .ext-ai-photo .ai-net-hub {
        fill: var(--accent);
        filter: drop-shadow(0 0 6px rgba(232, 49, 42, 0.6));
      }
      .ext-ai-photo .ai-net-orbit {
        transform-origin: 50% 50%;
        animation: ai-net-spin 22s linear infinite;
      }
      @keyframes ai-net-spin {
        from { transform: rotate(0deg); }
        to   { transform: rotate(360deg); }
      }
      @media (prefers-reduced-motion: reduce) {
        .ext-ai-photo .ai-net-orbit { animation: none !important; }
      }
      .ext-ai-photo .ai-pulse {
        position: absolute;
        top: 10px; right: 10px;
        width: 7px; height: 7px;
        border-radius: 50%;
        background: var(--accent);
        box-shadow: 0 0 0 0 rgba(232, 49, 42, 0.6);
        animation: ai-pulse-ring 2.2s cubic-bezier(0.66, 0, 0, 1) infinite;
        z-index: 1;
      }
      .ext-team-foot {
        margin-top: var(--s-6);
        font-size: 0.92rem;
        color: var(--ink-2);
        line-height: 1.55;
        max-width: 60ch;
      }
      .ext-team-foot strong { color: var(--ink); font-weight: 600; }

      /* ============= Uniform team grid (v2 — equal sizes) ============= */
      .team-subhead {
        margin: var(--s-7) 0 var(--s-4);
        padding-bottom: var(--s-3);
        border-bottom: 1px solid var(--rule);
      }
      .team-subhead-2 {
        margin-top: var(--s-8);
      }
      .team-subhead-label {
        display: inline-block;
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--ink-2);
      }
      .team-uniform-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--s-5) var(--s-6);
      }
      .team-uniform-card {
        all: unset;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
        cursor: pointer;
        transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
      }
      .team-uniform-card:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 6px;
        border-radius: 8px;
      }
      .team-uniform-card:hover { transform: translateY(-3px); }
      .team-uniform-card--static { cursor: default; }
      .team-uniform-card--static:hover { transform: none; }
      .team-uniform-photo {
        width: 100%;
        aspect-ratio: 1 / 1;
        background: var(--surface-2, #efece4);
        border-radius: 4px;
        overflow: hidden;
        margin-bottom: var(--s-2);
        position: relative;
      }
      .team-uniform-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
      }
      .team-uniform-card:not(.team-uniform-card--static):hover .team-uniform-photo img {
        transform: scale(1.03);
      }
      .team-uniform-card h4 {
        margin: 0;
        font-family: var(--font-display);
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1.2;
        letter-spacing: -0.01em;
        color: var(--ink);
      }
      .team-uniform-card .role {
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--ink-2);
      }
      .team-uniform-chip {
        margin-top: 0.15rem;
        font-size: 0.86rem;
        line-height: 1.4;
        color: var(--ink-2);
      }
      @media (max-width: 860px) {
        .team-uniform-grid {
          grid-template-columns: repeat(2, 1fr);
          gap: var(--s-5) var(--s-4);
        }
      }
      @media (max-width: 520px) {
        .team-uniform-grid {
          grid-template-columns: 1fr 1fr;
          gap: var(--s-4) var(--s-3);
        }
        .team-uniform-card h4 { font-size: 1.05rem; }
      }

      .ext-team-link {
        display: inline-block;
        margin-left: 0.4rem;
        font-family: var(--font-mono);
        font-size: 0.78rem;
        letter-spacing: 0.04em;
        color: var(--accent);
        text-decoration: none;
        border-bottom: 1px solid transparent;
      }
      .ext-team-link:hover { border-bottom-color: var(--accent); }
      .ext-photo {
        width: 108px;
        height: 108px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
        background: var(--bg-2);
      }
      .ext-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
      .ext-card h5 {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1rem;
        letter-spacing: -0.01em;
        color: var(--ink);
        margin-bottom: 0.15rem;
      }
      .ext-card .ext-role {
        font-family: var(--font-mono);
        font-size: 0.68rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--ink-3);
        display: block;
      }
      @media (max-width: 1080px) {
        .ext-team-grid { grid-template-columns: repeat(2, 1fr); }
      }
      @media (max-width: 540px) {
        .ext-team-grid { grid-template-columns: 1fr; }
      }

      /* ---------- MODAL (partner bio + pitch form) ---------- */
      .modal-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, 0.58);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 200;
        display: none;
        align-items: center;
        justify-content: center;
        padding: var(--s-5);
        opacity: 0;
        transition: opacity 220ms ease;
      }
      .modal-backdrop.open { display: flex; opacity: 1; }
      .modal {
        background: var(--paper);
        color: var(--ink);
        border-radius: 20px;
        width: min(680px, 100%);
        max-height: 90vh;
        overflow-y: auto;
        padding: var(--s-8) var(--s-8) var(--s-6);
        position: relative;
        border: 1px solid var(--rule);
        box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.45);
        transform: translateY(16px);
        transition: transform 260ms cubic-bezier(0.16,1,0.3,1);
      }
      .modal-backdrop.open .modal { transform: translateY(0); }
      .modal-close {
        position: absolute;
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid var(--rule);
        background: var(--bg-2);
        color: var(--ink);
        display: grid;
        place-items: center;
        cursor: pointer;
        font: inherit;
        transition: background .18s ease, color .18s ease;
      }
      .modal-close:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); }
      .modal-header {
        display: flex;
        gap: var(--s-5);
        align-items: center;
        margin-bottom: var(--s-6);
        padding-right: 48px;
      }
      .modal-photo {
        width: 84px;
        height: 84px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
        background: var(--bg-2);
      }
      .modal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
      .modal h3 {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 1.75rem;
        letter-spacing: -0.02em;
        line-height: 1.1;
      }
      .modal-role {
        font-family: var(--font-mono);
        font-size: 0.7rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--accent);
        margin-top: 0.3rem;
        display: block;
      }
      .modal-body {
        font-size: 0.98rem;
        line-height: 1.65;
        color: var(--ink-2);
      }
      .modal-body p + p { margin-top: var(--s-4); }
      .modal-links {
        display: flex;
        gap: var(--s-5);
        flex-wrap: wrap;
        padding-top: var(--s-5);
        margin-top: var(--s-6);
        border-top: 1px solid var(--rule);
        font-family: var(--font-mono);
        font-size: 0.75rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }
      .modal-links a {
        color: var(--ink-2);
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        transition: color .18s ease;
      }
      .modal-links a:hover { color: var(--accent); }

      /* Pitch form */
      .pitch-intro {
        color: var(--ink-2);
        margin-bottom: var(--s-5);
        font-size: 0.95rem;
        line-height: 1.5;
      }
      .pitch-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--s-4);
      }
      .pitch-form .full { grid-column: 1 / -1; }
      .field {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
      }
      .field label {
        font-family: var(--font-mono);
        font-size: 0.65rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--ink-3);
      }
      .field input, .field select, .field textarea {
        font: inherit;
        font-size: 0.95rem;
        padding: 0.72rem 0.9rem;
        border: 1px solid var(--rule);
        border-radius: 10px;
        background: var(--bg-2);
        color: var(--ink);
        transition: border-color .18s ease, background .18s ease;
      }
      .field input:focus, .field select:focus, .field textarea:focus {
        outline: none;
        border-color: var(--accent);
        background: var(--paper);
      }
      .field textarea { min-height: 110px; resize: vertical; }
      .field .hint { font-size: 0.72rem; color: var(--ink-3); }
      .pitch-form .submit-row {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--s-4);
        padding-top: var(--s-3);
        flex-wrap: wrap;
      }
      .pitch-form .submit-row small {
        color: var(--ink-3);
        font-size: 0.78rem;
      }
      .pitch-form .privacy-notice {
        grid-column: 1 / -1;
        font-size: 0.78rem;
        line-height: 1.55;
        color: var(--ink-3);
        padding: var(--s-3) 0 0;
        border-top: 1px solid var(--rule);
        margin-top: var(--s-2);
      }
      .pitch-form .privacy-notice a {
        color: var(--ink);
        text-decoration: underline;
        text-decoration-color: var(--accent);
        text-underline-offset: 3px;
      }
      .pitch-form .privacy-notice a:hover {
        color: var(--accent);
      }
      .pitch-submit {
        background: var(--accent);
        color: #fff;
        border: 0;
        border-radius: 999px;
        padding: 0.8rem 1.4rem;
        font: inherit;
        font-weight: 600;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        transition: background .18s ease, transform .18s ease;
      }
      .pitch-submit:hover { background: var(--accent-2); transform: translateY(-1px); }
      .form-success {
        padding: var(--s-8) var(--s-5);
        text-align: center;
        display: none;
      }
      .form-success.show { display: block; }
      .form-success h4 {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 1.5rem;
        margin-bottom: var(--s-3);
      }
      .form-success p { color: var(--ink-2); }
      @media (max-width: 640px) {
        .pitch-form { grid-template-columns: 1fr; }
        .modal { padding: var(--s-6) var(--s-5); }
        .modal-header { flex-direction: column; text-align: center; padding-right: 0; padding-top: 20px; }
      }

      /* ---------- HUBSPOT FORM HOST ----------
         The HubSpot embed loads our pitch form (portal 20335659) into an iframe
         inside #hubspot-pitch-form. The iframe owns its own styling, so we only
         style the OUTER chrome here \u2014 a loading state and an error fallback.
         The HubSpot script lazy-loads the first time the modal opens. */
      .pitch-form-wrap { display: block; }
      .hs-form-host {
        position: relative;
        min-height: 220px;
      }
      .hs-form-host iframe.hs-form-iframe {
        width: 100% !important;
        max-width: 100% !important;
        border: 0;
      }
      .hs-form-loading {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: var(--s-6) 0;
        color: var(--ink-3);
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
      }
      .hs-form-loading-dot {
        width: 6px; height: 6px; border-radius: 50%;
        background: var(--accent);
        opacity: 0.35;
        animation: hs-form-pulse 1.1s ease-in-out infinite;
      }
      .hs-form-loading-dot:nth-child(2) { animation-delay: 0.18s; }
      .hs-form-loading-dot:nth-child(3) { animation-delay: 0.36s; }
      .hs-form-loading-label { margin-left: 0.35rem; }
      @keyframes hs-form-pulse {
        0%, 80%, 100% { opacity: 0.25; transform: scale(0.85); }
        40% { opacity: 1; transform: scale(1); }
      }
      .hs-form-host.is-ready .hs-form-loading { display: none; }
      .hs-form-error {
        color: var(--ink-2);
        font-size: 0.92rem;
        line-height: 1.5;
      }
      .hs-form-error a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

      /* ---------- QUOTES ---------- */
      .quotes-band {
        background: var(--bg-2);
      }
      .quotes-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--s-4);
      }
      .quote-card {
        background: var(--paper);
        padding: var(--s-8);
        border: 1px solid var(--rule);
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        gap: var(--s-5);
        position: relative;
        overflow: hidden;
      }
      .quote-card .quote-mark {
        width: 32px;
        height: 32px;
        color: var(--accent);
      }
      .quote-card p {
        font-size: var(--text-lg);
        line-height: 1.4;
        color: var(--ink);
        font-family: var(--font-display);
        font-weight: 500;
        letter-spacing: -0.01em;
      }
      .quote-card footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: var(--s-4);
        border-top: 1px solid var(--rule);
        font-size: var(--text-sm);
        gap: var(--s-4);
      }
      .quote-person {
        display: flex;
        align-items: center;
        gap: var(--s-4);
        min-width: 0;
      }
      .quote-photo {
        width: 84px;
        height: 84px;
        border-radius: 50%;
        flex-shrink: 0;
        position: relative;
        background: var(--bg-2);
        display: grid;
        place-items: center;
        overflow: hidden;
        box-shadow: inset 0 0 0 1px var(--rule);
      }
      .quote-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 22%;
        display: block;
      }
      .quote-person-meta {
        display: flex;
        flex-direction: column;
        min-width: 0;
      }
      .quote-person-meta strong {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1rem;
        letter-spacing: -0.01em;
        color: var(--ink);
      }
      .quote-card footer strong {
        font-weight: 600;
      }
      .quote-card footer .co {
        color: var(--ink-3);
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
      }
      @media (max-width: 860px) {
        .quotes-grid {
          grid-template-columns: 1fr;
        }
      }

      /* ---------- NETWORK / STRATEGIC PARTNERS ---------- */
      .network {
        background: var(--bg-2);
      }
      .network-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        border-top: 1px solid var(--line);
        margin-top: var(--s-8);
      }
      .network-stat {
        padding: var(--s-8) var(--s-6);
        border-right: 1px solid var(--line);
        position: relative;
      }
      .network-stat:last-child { border-right: none; }
      .network-stat::before {
        content: '';
        position: absolute;
        left: 0; top: -1px;
        width: 56px; height: 3px;
        background: var(--accent);
      }
      .network-stat .n {
        font-family: var(--font-display);
        font-size: clamp(2.5rem, 5.5vw, 4rem);
        line-height: 1;
        letter-spacing: -0.02em;
        color: var(--ink);
        font-weight: 700;
      }
      .network-stat .n em {
        color: var(--accent);
        font-style: normal;
      }
      .network-stat .label {
        display: block;
        margin-top: var(--s-3);
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--ink-3);
      }
      @media (max-width: 860px) {
        .network-stats {
          grid-template-columns: repeat(2, 1fr);
        }
        .network-stat:nth-child(2) { border-right: none; }
        .network-stat:nth-child(1),
        .network-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
      }

      .lp-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1px;
        background: var(--line);
        border: 1px solid var(--line);
        margin-top: var(--s-10);
      }
      .lp-cell {
        background: var(--paper);
        padding: var(--s-5) var(--s-5);
        display: flex;
        flex-direction: column;
        gap: var(--s-1);
        min-height: 108px;
        transition: background 0.18s ease, color 0.18s ease;
      }
      .lp-cell:hover {
        background: var(--ink);
        color: var(--paper);
      }
      .lp-cell:hover .lp-firm { color: var(--accent); }
      .lp-cell:hover .lp-role { color: var(--ink-4); }
      .lp-name {
        font-weight: 600;
        color: inherit;
        font-size: 0.98rem;
        letter-spacing: -0.01em;
      }
      .lp-firm {
        font-weight: 500;
        color: var(--accent);
        font-size: 0.88rem;
        transition: color 0.18s ease;
      }
      .lp-role {
        font-family: var(--font-mono);
        font-size: 0.7rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--ink-3);
        margin-top: auto;
        transition: color 0.18s ease;
      }
      .lp-more {
        background: var(--ink);
        color: var(--paper);
      }
      .lp-more .lp-name { color: var(--paper); }
      .lp-more .lp-firm { color: var(--accent); }
      .lp-more .lp-role { color: var(--ink-4); }
      .lp-more:hover { background: var(--accent); }
      .lp-more:hover .lp-firm,
      .lp-more:hover .lp-role { color: var(--paper); }
      @media (max-width: 1024px) {
        .lp-grid { grid-template-columns: repeat(3, 1fr); }
      }
      @media (max-width: 680px) {
        .lp-grid { grid-template-columns: repeat(2, 1fr); }
      }

      /* ---------- PERKS / EXTEND YOUR RUNWAY ---------- */
      .perks {
        background: var(--ink);
        color: var(--paper);
        padding-block: clamp(5rem, 9vw, 7rem);
        border-bottom: 1px solid var(--ink);
      }
      .perks .eyebrow { color: var(--accent); }
      .perks .section-title { color: var(--paper); }
      .perks .section-title em { color: var(--accent); font-style: normal; }
      .perks .lede { color: var(--ink-4); }
      .perks-head {
        text-align: center;
        max-width: 46rem;
        margin: 0 auto var(--s-12);
      }
      .perks-head .section-title {
        font-size: clamp(2.25rem, 4.2vw, 3.25rem);
        margin-top: var(--s-3);
      }
      .perks-head .lede {
        margin-top: var(--s-5);
        font-size: var(--text-base);
        color: var(--ink-4);
      }
      .perks-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 1px;
        background: var(--ink-4);
        border: 1px solid var(--ink-4);
        border-radius: 2px;
        overflow: hidden;
        opacity: 0.9;
      }
      .perk-cell {
        background: var(--ink);
        padding: var(--s-6) var(--s-5);
        display: flex;
        flex-direction: column;
        gap: var(--s-2);
        min-height: 168px;
        transition: background 0.2s ease, transform 0.2s ease;
      }
      .perk-cell:hover {
        background: #1a1a18;
      }
      .perk-brand {
        font-family: var(--font-display);
        font-size: 1.35rem;
        font-weight: 600;
        letter-spacing: -0.01em;
        color: var(--paper);
        line-height: 1.1;
      }
      .perk-offer {
        font-family: var(--font-mono);
        font-size: 0.78rem;
        color: var(--accent);
        letter-spacing: 0.04em;
        font-weight: 500;
      }
      .perk-note {
        font-size: 0.82rem;
        color: var(--ink-4);
        line-height: 1.45;
        margin-top: auto;
      }
      .perks-foot {
        text-align: center;
        margin-top: var(--s-10);
        color: var(--ink-4);
        font-size: 0.92rem;
      }
      .perks-foot strong {
        color: var(--paper);
        font-weight: 600;
      }
      @media (max-width: 1100px) {
        .perks-grid { grid-template-columns: repeat(3, 1fr); }
      }
      @media (max-width: 640px) {
        .perks-grid { grid-template-columns: repeat(2, 1fr); }
        .perk-cell { min-height: 140px; padding: var(--s-5) var(--s-4); }
        /* The trailing summary cell spans the full row so we don't leave an empty cell next to it. */
        .perk-cell-more { grid-column: 1 / -1; }
      }

      /* ---------- CTA ---------- */
      /* Distinct red band so it stands out from the dark Perks section above */
      .cta-band {
        padding-block: clamp(5rem, 9vw, 8rem);
        background: var(--accent);
        color: var(--paper);
        border-top: 1px solid color-mix(in oklab, var(--paper) 18%, transparent);
        border-bottom: 1px solid var(--accent);
        text-align: center;
        position: relative;
        overflow: hidden;
      }
      /* Subtle diagonal pattern overlay for texture */
      .cta-band::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image:
          repeating-linear-gradient(
            135deg,
            transparent 0,
            transparent 18px,
            rgba(255, 255, 255, 0.04) 18px,
            rgba(255, 255, 255, 0.04) 19px
          );
        pointer-events: none;
      }
      .cta-band > .wrap { position: relative; z-index: 1; }
      .cta-band .cta-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        font-family: var(--font-mono);
        font-size: 0.7rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--paper);
        opacity: 0.85;
        margin-bottom: var(--s-5);
      }
      .cta-band .cta-eyebrow::before {
        content: "";
        width: 28px; height: 1px;
        background: var(--paper);
        opacity: 0.6;
      }
      .cta-band h2 {
        font-size: var(--text-3xl);
        max-width: 16ch;
        margin: 0 auto var(--s-6);
        color: var(--paper);
      }
      .cta-band h2 em {
        color: var(--paper);
        font-style: normal;
        text-decoration: underline;
        text-decoration-color: color-mix(in oklab, var(--paper) 55%, transparent);
        text-decoration-thickness: 2px;
        text-underline-offset: 8px;
      }
      .cta-band .sub {
        color: color-mix(in oklab, var(--paper) 88%, transparent);
        margin-bottom: var(--s-8);
        font-size: var(--text-base);
      }
      .cta-band .btn.primary {
        background: var(--paper);
        color: var(--ink);
      }
      .cta-band .btn.primary:hover {
        background: var(--ink);
        color: var(--paper);
      }

      /* ---------- AI-NATIVE SECTION ---------- */
      .ai-section {
        background: var(--ink);
        color: var(--paper);
        padding-block: clamp(5rem, 9vw, 8rem);
        position: relative;
        overflow: hidden;
      }
      .ai-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
          radial-gradient(circle at 80% 0%, rgba(232, 49, 42, 0.18), transparent 45%),
          radial-gradient(circle at 0% 100%, rgba(232, 49, 42, 0.08), transparent 40%);
        pointer-events: none;
      }
      .ai-section > .wrap { position: relative; z-index: 1; }
      .ai-section .eyebrow { color: var(--accent); }
      .ai-section .eyebrow::before { background: var(--accent); }
      .ai-section h2 { color: var(--paper); margin-bottom: var(--s-5); }
      .ai-section h2 em {
        color: var(--accent); font-style: normal;
      }
      .ai-section .lede {
        color: color-mix(in oklab, var(--paper) 75%, transparent);
        max-width: 60ch;
      }

      .ai-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--s-6);
        margin-top: var(--s-12);
        margin-bottom: var(--s-12);
        padding: var(--s-6) 0;
        border-top: 1px solid color-mix(in oklab, var(--paper) 18%, transparent);
        border-bottom: 1px solid color-mix(in oklab, var(--paper) 18%, transparent);
      }
      .ai-stat .v {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 2.4rem;
        letter-spacing: -0.03em;
        line-height: 1;
        color: var(--paper);
      }
      .ai-stat .v .u { color: var(--accent); }
      .ai-stat .l {
        font-family: var(--font-mono);
        font-size: 0.7rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: color-mix(in oklab, var(--paper) 65%, transparent);
        margin-top: 0.6rem;
      }

      /* Department cards: 2x2 grid of agent department heads */
      .ai-depts {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--s-6);
      }
      .ai-dept {
        padding: var(--s-7);
        border: 1px solid color-mix(in oklab, var(--paper) 14%, transparent);
        border-radius: 16px;
        background: color-mix(in oklab, var(--paper) 4%, transparent);
        transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
      }
      .ai-dept:hover {
        border-color: var(--accent);
        background: color-mix(in oklab, var(--paper) 6%, transparent);
        transform: translateY(-3px);
      }
      .ai-dept-head {
        display: flex;
        align-items: center;
        gap: var(--s-3);
        margin-bottom: var(--s-4);
        padding-bottom: var(--s-4);
        border-bottom: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
      }
      .ai-dept-name {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1.45rem;
        letter-spacing: -0.01em;
        color: var(--paper);
      }
      .ai-dept-role {
        font-family: var(--font-mono);
        font-size: 0.66rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--accent);
        display: block;
        margin-top: 0.25rem;
      }
      .ai-dept-icon {
        width: 44px; height: 44px; flex-shrink: 0;
        border-radius: 50%;
        background: var(--accent);
        color: var(--paper);
        display: grid;
        place-items: center;
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1.05rem;
      }
      .ai-dept-desc {
        color: color-mix(in oklab, var(--paper) 78%, transparent);
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: var(--s-5);
      }
      .ai-agents {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
      }
      .ai-agent-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.35rem 0.7rem;
        border: 1px solid color-mix(in oklab, var(--paper) 18%, transparent);
        border-radius: 999px;
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.04em;
        color: color-mix(in oklab, var(--paper) 80%, transparent);
        white-space: nowrap;
      }
      .ai-agent-chip::before {
        content: "";
        width: 5px; height: 5px;
        border-radius: 50%;
        background: var(--accent);
        opacity: 0.75;
      }

      /* Wins / signal feed below the dept grid */
      .ai-wins {
        margin-top: var(--s-10);
        display: grid;
        grid-template-columns: 1.2fr 2fr;
        gap: var(--s-8);
        align-items: start;
      }
      .ai-wins-head h3 {
        font-family: var(--font-display);
        font-size: 1.6rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: var(--paper);
        margin-bottom: var(--s-3);
      }
      .ai-wins-head p {
        color: color-mix(in oklab, var(--paper) 65%, transparent);
        font-size: 0.92rem;
        line-height: 1.6;
      }
      .ai-wins-list {
        list-style: none;
        margin: 0; padding: 0;
      }
      .ai-wins-list li {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: var(--s-4);
        align-items: start;
        padding: var(--s-4) 0;
        border-top: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
      }
      .ai-wins-list li:last-child { border-bottom: 1px solid color-mix(in oklab, var(--paper) 12%, transparent); }
      .ai-wins-list .src {
        font-family: var(--font-mono);
        font-size: 0.66rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--accent);
        white-space: nowrap;
        padding-top: 0.15rem;
      }
      .ai-wins-list .what {
        color: color-mix(in oklab, var(--paper) 85%, transparent);
        font-size: 0.95rem;
        line-height: 1.55;
      }

      .ai-footnote {
        margin-top: var(--s-10);
        padding-top: var(--s-6);
        border-top: 1px solid color-mix(in oklab, var(--paper) 14%, transparent);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--s-6);
        flex-wrap: wrap;
      }
      .ai-footnote p {
        color: color-mix(in oklab, var(--paper) 70%, transparent);
        font-size: 0.92rem;
        max-width: 56ch;
      }
      .ai-footnote a.btn {
        background: var(--paper);
        color: var(--ink);
        flex-shrink: 0;
      }
      .ai-footnote a.btn:hover {
        background: var(--accent);
        color: var(--paper);
      }

      @media (max-width: 980px) {
        .ai-stats { grid-template-columns: repeat(2, 1fr); }
        .ai-depts { grid-template-columns: 1fr; }
        .ai-wins { grid-template-columns: 1fr; gap: var(--s-5); }
      }
      @media (max-width: 540px) {
        .ai-stats { grid-template-columns: 1fr; gap: var(--s-5); }
        .ai-stat .v { font-size: 2rem; }
        .ai-dept { padding: var(--s-5); }
        .ai-footnote { flex-direction: column; align-items: flex-start; }
      }

      /* ---------- FOOTER ---------- */
      footer.site {
        padding-block: var(--s-12);
        background: var(--bg);
      }
      .foot-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: var(--s-8);
      }
      .foot-grid h5 {
        font-family: var(--font-mono);
        font-size: 0.7rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--ink-3);
        margin-bottom: var(--s-4);
        font-weight: 500;
      }
      .foot-grid a,
      .foot-grid p {
        color: var(--ink-2);
        font-size: var(--text-sm);
        display: block;
        margin-bottom: var(--s-2);
      }
      .foot-grid a:hover {
        color: var(--accent);
      }
      .foot-bot {
        margin-top: var(--s-10);
        padding-top: var(--s-5);
        border-top: 1px solid var(--rule);
        display: flex;
        justify-content: space-between;
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        color: var(--ink-3);
      }
      @media (max-width: 860px) {
        .foot-grid {
          grid-template-columns: 1fr 1fr;
        }
      }

      /* ============================================
         SCROLL REVEAL ANIMATIONS
         Subtle fade + slight rise. Triggered on scroll via IntersectionObserver.
         Disabled for users who prefer reduced motion.
         ============================================ */
      .reveal {
        opacity: 0;
        transform: translateY(18px);
        transition:
          opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
          transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
        will-change: opacity, transform;
      }
      .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
      }
      /* Stagger children when parent gets .reveal-stagger */
      .reveal-stagger > .reveal { transition-delay: 0ms; }
      .reveal-stagger.is-visible > .reveal:nth-child(1) { transition-delay: 0ms; }
      .reveal-stagger.is-visible > .reveal:nth-child(2) { transition-delay: 80ms; }
      .reveal-stagger.is-visible > .reveal:nth-child(3) { transition-delay: 160ms; }
      .reveal-stagger.is-visible > .reveal:nth-child(4) { transition-delay: 240ms; }
      .reveal-stagger.is-visible > .reveal:nth-child(5) { transition-delay: 320ms; }
      .reveal-stagger.is-visible > .reveal:nth-child(6) { transition-delay: 400ms; }

      /* Underline accent that draws in on reveal (for h2 em / .accent-rule) */
      @keyframes underline-grow {
        from { transform: scaleX(0); }
        to   { transform: scaleX(1); }
      }
      .reveal.is-visible .underline-on-reveal::after {
        animation: underline-grow 800ms cubic-bezier(0.16, 1, 0.3, 1) 200ms both;
        transform-origin: left center;
      }

      /* Hero numeric counter rise on initial load */
      @keyframes counter-rise {
        from { opacity: 0; transform: translateY(12px); }
        to   { opacity: 1; transform: translateY(0); }
      }
      .hero-stat .v,
      .hero-stat .l {
        animation: counter-rise 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
      }
      .hero-stat:nth-child(1) .v { animation-delay: 200ms; }
      .hero-stat:nth-child(2) .v { animation-delay: 280ms; }
      .hero-stat:nth-child(3) .v { animation-delay: 360ms; }
      .hero-stat:nth-child(4) .v { animation-delay: 440ms; }
      .hero-stat:nth-child(1) .l { animation-delay: 260ms; }
      .hero-stat:nth-child(2) .l { animation-delay: 340ms; }
      .hero-stat:nth-child(3) .l { animation-delay: 420ms; }
      .hero-stat:nth-child(4) .l { animation-delay: 500ms; }

      /* Eyebrow rule sweep — the small — line beside section eyebrows */
      @keyframes rule-sweep {
        from { transform: scaleX(0); }
        to   { transform: scaleX(1); }
      }
      .reveal.is-visible .eyebrow::before {
        animation: rule-sweep 700ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both;
        transform-origin: left center;
      }

      /* ============================================
         HERO MOSAIC HOVER — gentle version
         A subtle lift + soft inner glow, no color flood.
         ============================================ */
      .mosaic-cell {
        transition:
          transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
          box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1),
          background 220ms ease,
          color 220ms ease,
          border-color 220ms ease;
      }
      @media (hover: hover) and (pointer: fine) {
        .mosaic-cell:hover {
          transform: translateY(-3px);
          box-shadow: 0 10px 24px -8px color-mix(in oklab, var(--ink) 25%, transparent);
          z-index: 2;
        }
        /* Slightly intensify accent + dark cells on hover, but no flooding to red */
        .mosaic-cell.outline:hover {
          border-color: var(--ink);
        }
        .mosaic-cell.dark:hover {
          background: color-mix(in oklab, var(--ink) 92%, var(--accent) 8%);
        }
        .mosaic-cell.accent:hover {
          background: color-mix(in oklab, var(--accent) 90%, var(--ink) 10%);
        }
        /* See-more cell gets a clearer pull */
        .mosaic-cell.mosaic-more:hover {
          background: var(--ink);
          color: var(--paper);
          border-color: var(--ink);
        }
      }

      /* Reduced motion: turn off everything */
      @media (prefers-reduced-motion: reduce) {
        .reveal {
          opacity: 1 !important;
          transform: none !important;
          transition: none !important;
        }
        .reveal.is-visible .underline-on-reveal::after,
        .reveal.is-visible .eyebrow::before,
        .hero-stat .v,
        .hero-stat .l,
        .mosaic-cell {
          animation: none !important;
          transition: none !important;
        }
        .mosaic-cell:hover { transform: none !important; box-shadow: none !important; }
      }
    
/* ============ JOURNAL VIEW ============ */
/* When journal route active, hide all main page sections except header/mobile-menu/footer/journal-view */
body[data-route="journal"] > section:not(#journal-view),
body[data-route="journal"] > main,
body[data-route="journal"] > .perks,
body[data-route="journal"] > .cta-band {
  display: none !important;
}
#journal-view[hidden] { display: none; }
#journal-view { display: block; }
#journal-view { --maxw-text: 720px; }
#journal-view .wrap-text { max-width: var(--maxw-text); margin: 0 auto; padding-inline: var(--gutter); }

/* JOURNAL HERO */
.j-hero { padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--rule); }
.j-hero .eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.25rem; }
.j-hero .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.j-hero h1, .j-hero h2 { font-size: var(--text-3xl); letter-spacing: -0.035em; margin-bottom: 0.75rem; font-family: var(--font-display); font-weight: 800; line-height: 1.05; }
.j-hero h1 em, .j-hero h2 em { color: var(--accent); font-style: normal; }
.j-hero .lede { color: var(--ink-2); max-width: 56ch; font-size: var(--text-lg); }

/* FILTER CHIPS */
.j-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-block: 1.5rem; border-bottom: 1px solid var(--rule); }
.j-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.95rem; border: 1px solid var(--rule); border-radius: 999px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink-2); background: transparent; transition: all .15s ease; cursor: pointer; }
.j-chip:hover { border-color: var(--ink-3); color: var(--ink); }
.j-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.j-chip .count { color: inherit; opacity: 0.55; font-size: 0.72rem; }

/* CARD GRID */
.j-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; padding: 2.5rem 0 5rem; }
@media (max-width: 1100px) { .j-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .j-grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0 3rem; } }
.j-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; cursor: pointer; }
.j-card:hover { transform: translateY(-4px); border-color: var(--rule-2); box-shadow: 0 18px 40px -28px rgba(0,0,0,0.25); }
.j-card .img { aspect-ratio: 16/10; background: var(--tile-bg); overflow: hidden; position: relative; display: block; }
.j-card .img.no-hero { background: linear-gradient(135deg, var(--tile-bg) 0%, color-mix(in oklab, var(--accent) 18%, var(--tile-bg)) 100%); display: grid; place-items: center; }
.j-card .img.no-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, color-mix(in oklab, var(--accent) 28%, transparent), transparent 60%), radial-gradient(circle at 80% 75%, color-mix(in oklab, var(--ink) 8%, transparent), transparent 55%); }
.j-card .img.no-hero .mark { position: relative; font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; color: var(--ink); opacity: 0.18; letter-spacing: -0.02em; }
.j-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.j-card:hover .img img { transform: scale(1.04); }
.j-card .body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.j-card .meta { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.j-card .cat-pill { display: inline-flex; padding: 0.2rem 0.6rem; border: 1px solid var(--rule-2); border-radius: 999px; color: var(--accent); letter-spacing: 0.06em; }
.j-card h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; color: var(--ink); font-family: var(--font-display); }
.j-card .author { margin-top: auto; padding-top: 0.5rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ink-3); }

/* EMPTY STATE */
.j-empty { padding: 4rem 0; text-align: center; color: var(--ink-3); font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.05em; }

/* POST PAGE */
.post-hero { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--rule); }
.post-hero .meta-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 1.25rem; text-transform: uppercase; }
.post-hero .meta-row .cat-pill { color: var(--accent); border: 1px solid var(--rule-2); padding: 0.22rem 0.7rem; border-radius: 999px; }
.post-hero .meta-row .back { color: var(--ink-3); cursor: pointer; }
.post-hero .meta-row .back:hover { color: var(--accent); }
.post-hero h1 { font-size: var(--text-2xl); letter-spacing: -0.03em; margin-bottom: 1rem; font-family: var(--font-display); font-weight: 800; line-height: 1.05; }
.post-hero .subtitle { color: var(--ink-2); font-size: var(--text-lg); max-width: 56ch; }
.post-hero .author-line { margin-top: 1.5rem; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ink-3); }
.post-hero .author-line strong { color: var(--ink); font-weight: 500; }

.post-hero-img { margin: clamp(1.5rem, 3vw, 2.5rem) auto 0; max-width: var(--maxw); padding-inline: var(--gutter); }
.post-hero-img figure { aspect-ratio: 16/9; overflow: hidden; border-radius: 14px; background: var(--tile-bg); border: 1px solid var(--rule); }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.post-embed { margin: 2rem auto 0; max-width: var(--maxw-text); padding-inline: var(--gutter); }
.embed-frame { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--rule); }
.embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.audio-embed { width: 100%; height: 152px; border-radius: 12px; border: 0; }

.listen-row { margin: 1.25rem auto 0; max-width: var(--maxw-text); padding-inline: var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; color: var(--ink-3); text-transform: uppercase; }
.listen-row .listen-label { color: var(--ink-4); }
.listen-link { display: inline-flex; align-items: center; padding: 0.3rem 0.7rem; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2); transition: all .15s ease; }
.listen-link:hover { color: var(--accent); border-color: var(--accent); }

.post-body { padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem); }
.post-body .prose { max-width: var(--maxw-text); margin: 0 auto; padding-inline: var(--gutter); font-size: 1.075rem; line-height: 1.75; color: var(--ink-2); }
.post-body .prose > * + * { margin-top: 1.15em; }
.post-body .prose h2 { font-size: 1.6rem; line-height: 1.2; margin-top: 2.4rem; color: var(--ink); letter-spacing: -0.02em; font-family: var(--font-display); font-weight: 800; }
.post-body .prose h3 { font-size: 1.25rem; line-height: 1.3; margin-top: 2rem; color: var(--ink); letter-spacing: -0.015em; font-weight: 700; font-family: var(--font-display); }
.post-body .prose h4 { font-size: 1.05rem; margin-top: 1.6rem; color: var(--ink); font-weight: 700; font-family: var(--font-display); }
.post-body .prose p { color: var(--ink-2); }
.post-body .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post-body .prose a:hover { color: var(--accent-2); }
.post-body .prose strong { color: var(--ink); font-weight: 700; }
.post-body .prose em { font-style: italic; }
.post-body .prose ul, .post-body .prose ol { padding-left: 1.4em; }
.post-body .prose li + li { margin-top: 0.5em; }
.post-body .prose blockquote { border-left: 3px solid var(--accent); padding: 0.4em 1.2em; color: var(--ink); font-style: italic; background: var(--tile-bg); border-radius: 0 8px 8px 0; }
.post-body .prose img { border-radius: 10px; margin: 1.5em auto; max-width: 100%; height: auto; }
.post-body .prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
.post-body .prose iframe { width: 100%; aspect-ratio: 16/9; border-radius: 10px; border: 1px solid var(--rule); }

/* RELATED */
.related { padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--rule); background: var(--bg-2); }
.related h2 { font-size: var(--text-xl); margin-bottom: 1.5rem; letter-spacing: -0.02em; font-family: var(--font-display); font-weight: 800; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1000px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .related-grid { grid-template-columns: 1fr; } }

    
/* About inherits the production site's tokens, typography, navigation and footer. */
.about-hero { padding-top: clamp(3.5rem, 7vw, 6.5rem); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.about-hero h1 { font-size: var(--text-3xl); max-width: 18ch; margin-bottom: 2rem; }
.about-intro { max-width: 65ch; font-size: var(--text-lg); line-height: 1.65; color: var(--ink-2); }
.about-section { display: grid; grid-template-columns: 1fr 2fr; column-gap: clamp(2rem, 5vw, 5rem); border-top: 1px solid var(--rule); padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.about-section h2 { font-size: var(--text-xl); line-height: 1.15; }
.about-facts { margin: 0; }
.about-facts > div { display: grid; grid-template-columns: minmax(10rem, .9fr) 1.5fr; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.about-facts > div:first-child { padding-top: 0; }
.about-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.about-facts dt { color: var(--ink-3); }
.about-facts dd { margin: 0; font-weight: 500; }
.about-page a { text-underline-offset: .25em; }
.about-facts a, .about-links a { color: var(--accent-2); text-decoration: underline; }
.about-facts a:hover, .about-links a:hover { color: var(--ink); }
.about-partners { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem 3rem; }
.about-partner h3 { font-size: clamp(1.65rem, 2.3vw, 2.2rem); line-height: 1.1; margin-bottom: .65rem; }
.about-partner p { font-size: var(--text-base); color: var(--ink-2); line-height: 1.65; }
.about-partner .about-role { font-size: var(--text-sm); color: var(--ink-3); line-height: 1.5; margin-bottom: 1.1rem; }
.about-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1.2rem; font-size: var(--text-sm); }
.about-work { font-size: var(--text-lg); line-height: 1.7; color: var(--ink-2); max-width: 64ch; }
.about-closing { border-top: 1px solid var(--rule); padding: 3rem 0 5rem; }
.about-closing a { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); line-height: 1.3; }
.about-closing a:hover { color: var(--accent); }
.about-closing span { color: var(--accent); white-space: nowrap; }
.nav a[aria-current="page"], .mobile-menu-links a[aria-current="page"] { color: var(--accent); }
.about-page a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
@media (max-width: 1000px) {
  .about-section { grid-template-columns: 1fr; row-gap: 2rem; }
}
@media (max-width: 600px) {
  .about-partners { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-facts > div { grid-template-columns: 1fr; gap: .35rem; }
  .about-role { max-width: 28ch; }
  .about-hero h1 { font-size: 2.8rem; }
}
