/* ─── RESET & BASE ─────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --black:       #080808;
      --surface:     #0f0f0f;
      --surface-2:   #161616;
      --surface-3:   #1e1e1e;
      --border:      rgba(255,255,255,0.07);
      --border-glow: rgba(255,193,7,0.25);
      --yellow:      #FFC107;
      --yellow-dim:  #D4A017;
      --yellow-glow: rgba(255,193,7,0.12);
      --text:        #e8e8e8;
      --text-muted:  #888;
      --text-faint:  #444;
      --font-head:   'Space Grotesk', system-ui, sans-serif;
      --font-body:   'Outfit', sans-serif;
      --font-mono:   'JetBrains Mono', monospace;

      /* Mobile-first base ≈ pencil Mobile 390 — enhance with min-width layers */
      --bp-label:    '390';
      --pad-section-y: 48px;
      --pad-section-x: 24px;
      --pad-cta-y:     56px;
      --pad-cta-x:     24px;
      --pad-footer-y: 32px;
      --pad-footer-x: 24px;
      --hero-h1:       22px;
      --hero-sub:      15px;
      --hero-eyebrow-fs: 0.625rem;
      --hero-eyebrow-ls: 0.15em;
      --hero-pad-top:    calc(64px + 40px);
      --hero-pad-bottom: 56px;
      --hero-pad-inline: 24px;
      --nav-pad-y:       12px;
      --nav-pad-x:       24px;
      --nav-logo-h:      52px;
      --footer-logo-h:   36px;
      --section-title-fs: clamp(1.45rem, 5vw, 1.5rem);
      --ps-card-pad-y: 24px;
      --ps-card-pad-x: 24px;
      --labs-gap:        20px;
      --hero-stats-mt:   48px;
    }

    /* ≥390px: tablet-ish gutters & type (still drawer nav until 834px) */
    @media (min-width: 390px) {
      :root {
        --bp-label: '390-833';
        --pad-section-y: 96px;
        --pad-section-x: 64px;
        --pad-cta-y:     96px;
        --pad-cta-x:     64px;
        --hero-h1:       38px;
        --hero-sub:      17px;
        --hero-eyebrow-fs: 0.6875rem;
        --hero-eyebrow-ls: 0.2em;
        --hero-pad-top:    calc(64px + 72px);
        --hero-pad-bottom: 72px;
        --hero-pad-inline: 48px;
        --nav-pad-x:       48px;
        --nav-logo-h:      52px;
        --footer-logo-h:   40px;
        --section-title-fs: clamp(1.85rem, 3.5vw, 2.25rem);
        --ps-card-pad-y: 52px;
        --ps-card-pad-x: 48px;
        --hero-stats-mt:   60px;
      }
    }

    /* MacBook Pro — 1512 */
    @media (min-width: 834px) {
      :root {
        --bp-label: '1512';
        --hero-h1:       46px;
        --hero-pad-top:    calc(64px + 72px);
        --hero-pad-inline: 56px;
        --nav-pad-x:       56px;
      }
    }

    /* Desktop — 1440 */
    @media (min-width: 1440px) {
      :root {
        --bp-label: '1440';
        --hero-h1:       52px;
        --hero-pad-top:    calc(64px + 80px);
        --hero-pad-bottom: 80px;
        --hero-pad-inline: 64px;
        --nav-pad-x:       64px;
        --section-title-fs: clamp(2rem, 3.2vw, 3.6rem);
      }
    }

    /* Desktop — 1920 (hero scale + generous gutters) */
    @media (min-width: 1512px) {
      :root {
        --bp-label: '1920';
        --hero-h1:       54px;
        --hero-pad-top:    calc(64px + 88px);
        --hero-pad-inline: clamp(64px, 8vw, 120px);
      }
    }

    @media (min-width: 1920px) {
      :root {
        --hero-pad-inline: 120px;
        --nav-pad-x:       72px;
      }
    }

    /* Ultra-wide layouts mirrored in pencil-new.pen: 2056 / 2560 / 2992 / 3456 */
    @media (min-width: 2056px) {
      :root {
        --bp-label: '2056';
        --pad-section-x:   104px;
        --pad-section-y:   108px;
        --hero-h1:         58px;
        --hero-pad-inline: 144px;
        --hero-pad-top:    calc(64px + 96px);
        --hero-pad-bottom: 92px;
        --nav-pad-x:       84px;
      }
    }

    @media (min-width: 2560px) {
      :root {
        --bp-label: '2560';
        --pad-section-x:   148px;
        --pad-section-y:   116px;
        --hero-h1:         62px;
        --hero-sub:        18px;
        --hero-pad-inline: 196px;
        --hero-pad-top:    calc(64px + 110px);
        --hero-pad-bottom: 108px;
        --nav-pad-x:       104px;
        --section-title-fs: clamp(2.4rem, 2.6vw, 4rem);
      }
    }

    @media (min-width: 2992px) {
      :root {
        --bp-label: '2992';
        --pad-section-x:   188px;
        --hero-h1:         66px;
        --hero-pad-inline: 244px;
        --nav-pad-x:       128px;
      }
    }

    @media (min-width: 3456px) {
      :root {
        --bp-label: '3456';
        --pad-section-x:   228px;
        --hero-h1:         70px;
        --hero-pad-inline: 292px;
        --nav-pad-x:       152px;
        --section-title-fs: clamp(2.6rem, 2.3vw, 4.2rem);
      }
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--black);
      color: var(--text);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* Grain overlay */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 50;
      opacity: 0.4;
    }

    /* ─── NAV (mobile-first: drawer <834px · inline ≥834px — pencil iPad frame) ─── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding:
        calc(var(--nav-pad-y) + env(safe-area-inset-top))
        max(var(--nav-pad-x), env(safe-area-inset-right))
        var(--nav-pad-y);
      padding-left: max(var(--nav-pad-x), env(safe-area-inset-left));
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      background: linear-gradient(to bottom, rgba(8,8,8,0.95) 0%, transparent 100%);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      isolation: isolate;
    }

    /* Opaque frosted strip for the status-bar / notch inset (gradient alone can show page bleed-through) */
    nav::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: calc(env(safe-area-inset-top, 0px) + 2px);
      background: rgba(8, 8, 8, 0.92);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      pointer-events: none;
      z-index: 0;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      text-decoration: none;
      line-height: 0;
      flex-shrink: 0;
      position: relative;
      z-index: 1;
    }

    .nav-logo img {
      height: var(--nav-logo-h);
      width: auto;
      display: block;
    }

    .nav-toggle {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 6px;
      width: 44px;
      height: 44px;
      padding: 0;
      border: none;
      border-radius: 4px;
      background: transparent;
      cursor: pointer;
      color: var(--text);
      position: relative;
      z-index: 30;
      flex-shrink: 0;
    }

    .nav-toggle-bar {
      display: block;
      height: 2px;
      width: 22px;
      background: currentColor;
      border-radius: 1px;
      transition: transform 0.2s, opacity 0.2s;
    }

    body.nav-open .nav-toggle-bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }

    body.nav-open .nav-toggle-bar:nth-child(2) {
      opacity: 0;
    }

    body.nav-open .nav-toggle-bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }

    .nav-panel {
      display: flex;
      flex: 1;
      min-width: 0;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: auto;
      height: auto;
      flex-direction: column;
      justify-content: flex-start;
      align-items: stretch;
      padding:
        calc(var(--nav-logo-h) + var(--nav-pad-y) * 2 + env(safe-area-inset-top) + 16px)
        var(--pad-section-x)
        24px;
      background: rgba(8, 8, 8, 0.97);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-top: 1px solid var(--border);
      transform: translateX(100%);
      transition: transform 0.25s ease;
      overflow: hidden;
      z-index: 20;
    }

    body.nav-open .nav-panel {
      transform: translateX(0);
    }

    .nav-links {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
      list-style: none;
      margin: 0;
      padding: 0;
      text-align: center;
    }

    .nav-links a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.85rem;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      white-space: nowrap;
      transition: color 0.2s;
    }

    .nav-links a:hover { color: var(--yellow); }

    /* Keep “Strategy Sprint” on one line; don’t let flex row squeeze the pill */
    .nav-cta-item {
      flex-shrink: 0;
    }

    .nav-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      white-space: nowrap;
      line-height: 1.15;
      background: var(--yellow);
      color: var(--black) !important;
      padding: 10px 22px;
      border-radius: 4px;
      font-weight: 600 !important;
      letter-spacing: 0.04em !important;
      transition: opacity 0.2s !important;
      box-sizing: border-box;
    }

    .nav-cta:hover { opacity: 0.85; color: var(--black) !important; }

    body.nav-open {
      overflow: visible;
    }

    @media (max-width: 833px) {
      .nav-panel {
        pointer-events: none;
      }

      body.nav-open .nav-panel {
        pointer-events: auto;
      }
    }

    @media (min-width: 834px) {
      .nav-toggle {
        display: none !important;
      }

      .nav-panel {
        position: static;
        transform: none !important;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        padding: 0;
        background: transparent;
        border: none;
        overflow: visible;
        inset: auto;
        z-index: auto;
        pointer-events: auto;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
      }

      body.nav-open .nav-panel {
        transform: none !important;
      }

      .nav-links {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: clamp(16px, 2.5vw, 40px);
      }

      body.nav-open {
        overflow: visible;
      }
    }

    /* ─── HERO (padding + type scale from pencil-new.pen per --bp-label) ─── */
    #hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding: var(--hero-pad-top) var(--hero-pad-inline) var(--hero-pad-bottom);
      position: relative;
      overflow: hidden;
    }

    /* Animated radial glow */
    .hero-glow {
      position: absolute;
      top: -20%;
      right: -10%;
      width: 900px;
      height: 900px;
      background: radial-gradient(ellipse at center, rgba(255,193,7,0.13) 0%, rgba(255,193,7,0.04) 40%, transparent 70%);
      animation: pulse-glow 6s ease-in-out infinite;
      pointer-events: none;
    }

    .hero-glow-2 {
      position: absolute;
      bottom: -30%;
      left: -10%;
      width: 700px;
      height: 700px;
      background: radial-gradient(ellipse at center, rgba(255,193,7,0.06) 0%, transparent 60%);
      animation: pulse-glow 8s ease-in-out infinite reverse;
      pointer-events: none;
    }

    @keyframes pulse-glow {
      0%, 100% { opacity: 0.8; transform: scale(1); }
      50%       { opacity: 1.0; transform: scale(1.08); }
    }

    /* Animated grid lines */
    .hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
      background-size: 80px 80px;
      mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 70%, transparent 100%);
      pointer-events: none;
    }

    .hero-eyebrow {
      font-family: var(--font-mono);
      font-size: var(--hero-eyebrow-fs);
      color: var(--yellow);
      letter-spacing: var(--hero-eyebrow-ls);
      text-transform: uppercase;
      margin-bottom: 28px;
      opacity: 0;
      animation: fade-up 0.8s 0.2s forwards;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .hero-eyebrow::before {
      content: '';
      display: inline-block;
      width: 32px;
      height: 1px;
      background: var(--yellow);
    }

    .hero-headline {
      font-family: var(--font-head);
      font-size: var(--hero-h1);
      font-weight: 700;
      line-height: 1.08;
      letter-spacing: -0.03em;
      color: var(--text);
      max-width: min(52rem, 100%);
      overflow-wrap: break-word;
      word-wrap: break-word;
      opacity: 0;
      animation: fade-up 0.9s 0.4s forwards;
    }

    .hero-headline em {
      font-family: inherit;
      font-style: normal;
      font-weight: 700;
      letter-spacing: -0.03em;
      font-size: 1em;
      color: var(--yellow);
      position: relative;
      text-shadow:
        0 0 42px rgba(255, 193, 7, 0.35),
        0 0 80px rgba(255, 193, 7, 0.12);
    }

    .hero-sub {
      margin-top: 36px;
      font-size: var(--hero-sub);
      color: var(--text-muted);
      max-width: 560px;
      line-height: 1.7;
      opacity: 0;
      animation: fade-up 0.9s 0.6s forwards;
    }

    .hero-actions {
      margin-top: 52px;
      display: flex;
      gap: 20px;
      align-items: center;
      opacity: 0;
      animation: fade-up 0.9s 0.8s forwards;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--yellow);
      color: var(--black);
      font-family: var(--font-body);
      font-weight: 700;
      font-size: 0.9rem;
      letter-spacing: 0.04em;
      padding: 16px 36px;
      border-radius: 4px;
      text-decoration: none;
      transition: all 0.25s;
      position: relative;
      overflow: hidden;
    }

    .btn-primary::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(255,255,255,0.15);
      opacity: 0;
      transition: opacity 0.2s;
    }

    .btn-primary:hover::after { opacity: 1; }

    .btn-primary svg { transition: transform 0.2s; }
    .btn-primary:hover svg { transform: translateX(4px); }

    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--text-muted);
      font-size: 0.88rem;
      font-weight: 500;
      text-decoration: none;
      border-bottom: 1px solid var(--border);
      padding-bottom: 2px;
      transition: color 0.2s, border-color 0.2s;
    }

    .btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }

    .hero-stats {
      position: relative;
      margin-top: var(--hero-stats-mt);
      display: flex;
      flex-wrap: wrap;
      gap: 32px 52px;
      justify-content: flex-start;
      opacity: 0;
      animation: fade-up 0.9s 1.0s forwards;
    }

    .hero-stat-item { text-align: left; }

    .hero-stat-value {
      font-family: var(--font-head);
      font-size: 2.4rem;
      font-weight: 700;
      color: var(--yellow);
      line-height: 1;
    }

    .hero-stat-label {
      font-size: 0.78rem;
      color: var(--text-muted);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-top: 6px;
    }

    /* ─── SECTION SHARED ───────────────────────────────────── */
    section { padding: var(--pad-section-y) var(--pad-section-x); }

    .section-tag {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      color: var(--yellow);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .section-tag::before {
      content: '';
      display: inline-block;
      width: 24px;
      height: 1px;
      background: var(--yellow);
    }

    .section-title {
      font-family: var(--font-head);
      font-size: var(--section-title-fs);
      font-weight: 700;
      line-height: 1.05;
      letter-spacing: -0.03em;
      color: var(--text);
    }

    /* ─── PROBLEM / SOLUTION ──────────────────────────────── */
    #problem {
      background: var(--surface);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .ps-layout {
      display: grid;
      grid-template-columns: 1fr;
      gap: 4px;
      margin-top: 72px;
    }

    .ps-card {
      padding: var(--ps-card-pad-y) var(--ps-card-pad-x);
      position: relative;
      overflow: hidden;
    }

    .ps-card-old {
      background: var(--surface-2);
      border-radius: 4px 4px 0 0;
    }

    .ps-card-new {
      background: var(--surface-3);
      border: 1px solid var(--border-glow);
      border-radius: 0 0 4px 4px;
    }

    .ps-card-new::before {
      content: '';
      position: absolute;
      top: -1px; left: -1px; right: -1px;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    }

    .ps-card-badge {
      font-family: var(--font-mono);
      font-size: 0.7rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      padding: 6px 14px;
      border-radius: 2px;
      display: inline-block;
      margin-bottom: 32px;
    }

    .ps-card-badge.old {
      background: rgba(255,255,255,0.05);
      color: var(--text-muted);
    }

    .ps-card-badge.new {
      background: rgba(255,193,7,0.1);
      color: var(--yellow);
    }

    .ps-card h3 {
      font-family: var(--font-body);
      font-size: 1.45rem;
      font-weight: 600;
      letter-spacing: -0.01em;
      line-height: 1.35;
      color: var(--text);
      margin-bottom: 28px;
    }

    .ps-card-items { list-style: none; }

    .ps-card-items li {
      padding: 14px 0;
      font-size: 0.95rem;
      color: var(--text-muted);
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: flex-start;
      gap: 14px;
      line-height: 1.5;
    }

    .ps-card-items li:last-child { border-bottom: none; }

    .ps-item-icon {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
      margin-top: 1px;
      opacity: 0.6;
    }

    .ps-card-new .ps-card-items li { color: var(--text); }

    .ps-card-new .ps-item-icon { opacity: 1; color: var(--yellow); }

    /* ─── PILLARS ──────────────────────────────────────────── */
    #pillars { background: var(--black); }

    .pillars-intro {
      display: grid;
      grid-template-columns: 1fr;
      gap: 28px;
      margin-bottom: 48px;
      align-items: start;
    }

    .pillars-sub {
      font-size: 1.05rem;
      color: var(--text-muted);
      line-height: 1.75;
      padding-top: 12px;
      align-self: start;
      padding-top: 24px;
    }

    .pillars-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2px;
    }

    .pillar-card {
      background: var(--surface);
      padding: 48px 44px;
      border: 1px solid var(--border);
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s, background 0.3s;
      cursor: default;
    }

    .pillar-card:hover {
      background: var(--surface-2);
      border-color: var(--border-glow);
    }

    .pillar-card:hover .pillar-number { color: var(--yellow); }

    .pillar-card::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--yellow), transparent);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .pillar-card:hover::after { opacity: 0.6; }

    .pillar-number {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      color: var(--text-faint);
      letter-spacing: 0.15em;
      margin-bottom: 24px;
      transition: color 0.3s;
    }

    .pillar-title {
      font-family: var(--font-head);
      font-size: 1.55rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text);
      margin-bottom: 16px;
      line-height: 1.1;
    }

    .pillar-desc {
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    .pillar-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 28px;
    }

    .pillar-tag {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      color: var(--text-faint);
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      padding: 4px 10px;
      border-radius: 2px;
      letter-spacing: 0.08em;
    }

    /* ─── INTERNAL LABS ────────────────────────────────────── */
    #labs {
      background: var(--surface);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .labs-header {
      display: grid;
      grid-template-columns: 1fr;
      gap: 28px;
      align-items: start;
      margin-bottom: 48px;
    }

    .labs-subtitle {
      font-size: 1.05rem;
      color: var(--text-muted);
      line-height: 1.75;
      padding-top: 24px;
    }

    .labs-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2px;
      align-items: stretch;
    }

    .lab-card {
      display: flex;
      flex-direction: column;
      height: 100%;
      background: var(--surface-2);
      border: 1px solid var(--border);
      padding: 44px 40px;
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s;
      box-sizing: border-box;
    }

    .lab-card:hover { border-color: var(--border-glow); }

    /* Subtle top accent on every card (replaces first-only border for visual parity) */
    .lab-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.35), transparent);
      opacity: 0.85;
      pointer-events: none;
    }

    .lab-status {
      font-family: var(--font-mono);
      font-size: 0.65rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 28px;
    }

    .lab-status.live   { color: #4ade80; }
    .lab-status.built  { color: var(--yellow); }
    .lab-status.proto  { color: #60a5fa; }
    .lab-status.industrial { color: #7dd3fc; }
    .lab-status.loading {
      color: var(--text-faint);
    }

    .lab-status::before {
      content: '';
      width: 6px; height: 6px;
      border-radius: 50%;
      background: currentColor;
    }

    .lab-status.live::before {
      animation: blink 1.5s ease-in-out infinite;
    }

    .lab-status.loading::before {
      animation: lab-pulse-dot 1.2s ease-in-out infinite;
    }

    @keyframes lab-pulse-dot {
      0%, 100% { opacity: 0.35; transform: scale(0.92); }
      50%      { opacity: 1; transform: scale(1); }
    }

    @keyframes blink {
      0%, 100% { opacity: 1; }
      50%       { opacity: 0.3; }
    }

    .lab-title {
      font-family: var(--font-head);
      font-size: 1.45rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text);
      margin-bottom: 14px;
      line-height: 1.15;
      /* Title + meta line(s); keeps rhythm across cards */
      min-height: calc(1.45rem * 1.15 + 0.72rem * 1.45 * 2 + 10px);
      flex-shrink: 0;
    }

    .lab-title-meta {
      display: block;
      margin-top: 6px;
      font-family: var(--font-body, inherit);
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      text-transform: none;
      color: var(--text-muted);
      line-height: 1.45;
    }

    .lab-copy {
      flex: 1 1 auto;
      min-height: 0;
      margin-bottom: 32px;
    }

    .lab-desc {
      flex: 1 1 auto;
      min-height: 0;
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 32px;
    }

    .lab-desc-lede {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.7;
      margin: 0 0 14px;
    }

    .lab-desc-lede:last-child {
      margin-bottom: 0;
    }

    .lab-highlights {
      margin: 0;
      padding-left: 1.1rem;
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.65;
    }

    .lab-highlights li {
      margin-bottom: 0.65rem;
    }

    .lab-highlights li:last-child {
      margin-bottom: 0;
    }

    .lab-terminal {
      flex-shrink: 0;
      min-height: 12rem;
      box-sizing: border-box;
      background: rgba(0,0,0,0.4);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 4px;
      padding: 16px 18px;
      font-family: var(--font-mono);
      font-size: 0.72rem;
      color: var(--text-muted);
      line-height: 1.8;
    }

    .lab-terminal .prompt { color: var(--yellow); }

    .lab-card--loading {
      pointer-events: none;
    }

    .lab-card--loading:hover {
      border-color: var(--border);
    }

    .lab-terminal--skeleton {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 0;
    }

    .lab-skeleton-line {
      height: 9px;
      border-radius: 2px;
      margin-bottom: 14px;
      max-width: 100%;
      background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.09) 45%,
        rgba(255, 255, 255, 0.04) 100%
      );
      background-size: 220% 100%;
      animation: lab-shimmer 1.6s ease-in-out infinite;
    }

    .lab-skeleton-line:last-child {
      margin-bottom: 0;
    }

    .lab-skeleton-line.w-50 { width: 50%; }
    .lab-skeleton-line.w-70 { width: 70%; }
    .lab-skeleton-line.w-80 { width: 80%; }
    .lab-skeleton-line.w-90 { width: 90%; }

    @keyframes lab-shimmer {
      0% { background-position: 100% 0; }
      100% { background-position: -100% 0; }
    }

    .lab-metric--ghost .lab-metric-value {
      color: var(--text-faint);
      font-size: 1.35rem;
      letter-spacing: 0.12em;
    }

    .lab-link {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 28px;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--yellow);
      text-decoration: none;
      letter-spacing: 0.04em;
      border-bottom: 1px solid rgba(255,193,7,0.3);
      padding-bottom: 2px;
      transition: border-color 0.2s;
    }

    .lab-link:hover { border-color: var(--yellow); }

    .lab-metric {
      flex-shrink: 0;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2px;
      margin-top: 28px;
    }

    .lab-metric-item {
      background: rgba(0,0,0,0.3);
      padding: 14px 16px;
    }

    .lab-metric-value {
      font-family: var(--font-head);
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--yellow);
      line-height: 1;
    }

    .lab-metric-label {
      font-size: 0.7rem;
      color: var(--text-muted);
      letter-spacing: 0.06em;
      margin-top: 4px;
    }

    /* ─── FOUNDERS ─────────────────────────────────────────── */
    #founders { background: var(--black); }

    .founders-intro {
      margin-bottom: 80px;
      max-width: 620px;
    }

    .founders-intro p {
      font-size: 1.05rem;
      color: var(--text-muted);
      line-height: 1.75;
      margin-top: 20px;
    }

    .founders-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2px;
    }

    .founder-card {
      background: var(--surface);
      border: 1px solid var(--border);
      padding: 56px 52px;
      position: relative;
      overflow: hidden;
    }

    .founder-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
    }

    .founder-card:first-child::before {
      background: linear-gradient(90deg, var(--yellow), var(--yellow-dim));
    }

    .founder-card:last-child::before {
      background: linear-gradient(90deg, var(--yellow-dim), transparent);
    }

    .founder-photo-wrap {
      margin-bottom: 28px;
    }

    .founder-head {
      display: block;
      padding-bottom: 14px;
    }

    .founder-head-copy {
      min-width: 0;
    }

    .founder-photo {
      display: block;
      width: 160px;
      height: 160px;
      max-width: 100%;
      object-fit: cover;
      border-radius: 50%;
      border: 1px solid var(--border);
      background: var(--surface-2);
    }

    .founder-photo-wrap--right {
      margin-bottom: 0;
    }

    .founder-role {
      font-family: var(--font-mono);
      font-size: 0.7rem;
      color: var(--yellow);
      letter-spacing: 0.18em;
      text-transform: uppercase;
      margin-bottom: 28px;
    }

    .founder-name {
      font-family: var(--font-head);
      font-size: 2.2rem;
      font-weight: 700;
      letter-spacing: -0.03em;
      color: var(--text);
      margin-bottom: 8px;
      line-height: 1;
    }

    .founder-title {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 28px;
    }

    .founder-bio {
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 32px;
    }

    .founder-skills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 40px;
    }

    .founder-skill {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      color: var(--text-faint);
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      padding: 5px 12px;
      border-radius: 2px;
      letter-spacing: 0.06em;
    }

    .founder-links {
      display: flex;
      gap: 16px;
    }

    .founder-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text-muted);
      text-decoration: none;
      padding: 10px 20px;
      border: 1px solid var(--border);
      border-radius: 3px;
      transition: all 0.2s;
    }

    .founder-link:hover {
      color: var(--yellow);
      border-color: var(--border-glow);
      background: var(--yellow-glow);
    }

    /* ─── CTA STRIP ────────────────────────────────────────── */
    #cta {
      padding: var(--pad-cta-y) var(--pad-cta-x);
      background: var(--surface);
      border-top: 1px solid var(--border);
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    #cta::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 800px;
      height: 400px;
      background: radial-gradient(ellipse, rgba(255,193,7,0.08) 0%, transparent 65%);
      pointer-events: none;
    }

    .cta-kicker {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      color: var(--yellow);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      margin-bottom: 24px;
    }

    .cta-title {
      font-family: var(--font-head);
      font-size: clamp(2.2rem, 4.5vw, 3.8rem);
      font-weight: 700;
      letter-spacing: -0.03em;
      color: var(--text);
      max-width: 640px;
      margin: 0 auto 24px;
      line-height: 1.05;
    }

    .cta-sub {
      font-size: 1rem;
      color: var(--text-muted);
      max-width: 440px;
      margin: 0 auto 48px;
      line-height: 1.7;
    }

    /* ─── FOOTER ───────────────────────────────────────────── */
    footer {
      padding: var(--pad-footer-y) var(--pad-footer-x);
      border-top: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      line-height: 0;
      opacity: 0.85;
    }

    .footer-logo img {
      height: var(--footer-logo-h);
      width: auto;
      display: block;
    }

    .footer-copy {
      font-size: 0.78rem;
      color: var(--text-faint);
      font-family: var(--font-mono);
    }

    /* ─── SCROLL REVEALS ───────────────────────────────────── */
    @keyframes fade-up {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .reveal {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                  transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    /* ─── RESPONSIVE (834px+ two-column = pencil MacBook / Desktop frames) ─── */
    @media (min-width: 834px) {
      .ps-layout {
        grid-template-columns: 1fr 1fr;
      }

      .ps-card-old {
        border-radius: 4px 0 0 4px;
      }

      .ps-card-new {
        border-radius: 0 4px 4px 0;
      }

      .pillars-intro {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        margin-bottom: 80px;
        align-items: end;
      }

      .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .labs-header {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: end;
        margin-bottom: 80px;
      }

      .labs-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .founders-grid {
        grid-template-columns: 1fr 1fr;
      }

      .founder-card--image-right .founder-head {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 24px;
      }

      .founder-card--image-right .founder-photo-wrap--right {
        order: -1;
        flex: 0 0 auto;
        margin-top: 2px;
        margin-bottom: 0;
      }
    }

    /* Stats anchored like Desktop — 1440 frame */
    @media (min-width: 1440px) {
      .hero-stats {
        position: absolute;
        bottom: 60px;
        right: var(--hero-pad-inline);
        margin-top: 0;
        justify-content: flex-end;
      }

      .hero-stat-item {
        text-align: right;
      }
    }

    /* Safe-area: drawer + stacked layouts below iPad breakpoint */
    @media (max-width: 833px) {
      #hero {
        padding-left: max(var(--hero-pad-inline), env(safe-area-inset-left));
        padding-right: max(var(--hero-pad-inline), env(safe-area-inset-right));
      }
    }

    /* Footer stacks under tablet width */
    @media (max-width: 833px) {
      .founder-card--image-right .founder-head {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
      }

      .founder-card--image-right .founder-photo-wrap--right {
        order: -1;
        margin: 0 auto;
      }

      footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
      }
    }