:root {
    --bg: #050608;
    --bg2: #0a0f1a;
    --amber: #f59e0b;
    --amber-hot: #ff6b1a;
    --amber-soft: #fbbf24;
    --cyan: #38bdf8;
    --text: #e7e9ee;
    --text-dim: #8b93a3;
    --line: rgba(245, 158, 11, 0.25);
    --glass: rgba(255, 255, 255, 0.03);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; overflow-x: hidden; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    -webkit-font-smoothing: antialiased;
  }

  ::selection { background: var(--amber); color: #000; }

  /* ---------- WebGL canvas ---------- */
  #gl {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: block;
  }

  /* ---------- grain + vignette overlays ---------- */
  .grain {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    z-index: 40;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 0.9s steps(4) infinite;
  }
  @keyframes grain {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-2%, 1%); }
    50% { transform: translate(1%, -2%); }
    75% { transform: translate(-1%, 2%); }
    100% { transform: translate(2%, -1%); }
  }

  .vignette {
    position: fixed;
    inset: 0;
    z-index: 39;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.55) 100%);
  }

  /* ---------- fixed UI chrome ---------- */
  .chrome {
    position: fixed;
    z-index: 50;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: opacity 0.5s;
  }
  .chrome-bl.chrome-hidden, .chrome-br.chrome-hidden { opacity: 0; pointer-events: none; }

  .chrome-tl {
    top: 28px;
    left: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .chrome-tl .mark {
    font-family: 'Michroma', sans-serif;
    font-size: 15px;
    letter-spacing: 0.06em;
    color: var(--text);
  }
  .chrome-tl .mark b { color: var(--amber); font-weight: 400; }
  .chrome-tl .tag {
    color: var(--text-dim);
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 12px;
  }

  .chrome-tr { top: 24px; right: 32px; }
  .pill-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 11px 22px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: rgba(5,6,8,0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .pill-nav a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.25s;
  }
  .pill-nav a:hover { color: var(--amber); }
  .pill-nav .dash {
    width: 28px;
    height: 1px;
    background: rgba(255,255,255,0.3);
  }

  .chrome-bl {
    bottom: 36px;
    left: 32px;
    color: var(--text-dim);
    line-height: 1.95;
    padding: 15px 22px 17px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    background: rgba(5,6,8,0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .chrome-bl .q { color: rgba(255,255,255,0.35); margin-bottom: 6px; }
  .chrome-bl a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.25s, transform 0.25s;
  }
  .chrome-bl a::before { content: '→ '; color: var(--amber); opacity: 0; transition: opacity 0.25s; }
  .chrome-bl a:hover { color: var(--text); transform: translateX(4px); }
  .chrome-bl a:hover::before { opacity: 1; }

  .chrome-br {
    bottom: 36px;
    right: 32px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    background: rgba(5,6,8,0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .scroll-line {
    width: 1px;
    height: 34px;
    background: rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
  }
  .scroll-line::after {
    content: '';
    position: absolute;
    left: 0; top: -100%;
    width: 100%; height: 100%;
    background: var(--amber);
    animation: scrollhint 1.8s ease-in-out infinite;
  }
  @keyframes scrollhint {
    0% { top: -100%; }
    60% { top: 100%; }
    100% { top: 100%; }
  }

  /* ---------- hero ---------- */
  main { position: relative; z-index: 10; }

  .hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 13vh;
    position: relative;
    pointer-events: none;
  }
  .hero > * { pointer-events: auto; }

  .hero .kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 18px;
  }

  /* ---------- Quantum Core: emergent system signals ---------- */
  .core-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 18px;
    opacity: 0;
    animation: signalIn 0.9s ease forwards;
    animation-delay: 2.9s;
  }
  .core-signals {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 26px;
  }
  .signal {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(5,6,8,0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px);
    animation: signalIn 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
    transition: border-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  }
  .signal:hover {
    border-color: var(--c);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 0 22px color-mix(in srgb, var(--c) 30%, transparent);
  }
  .signal .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--c);
    box-shadow: 0 0 10px var(--c);
    animation: sigpulse 2.4s ease-in-out infinite;
  }
  .signal .id { color: rgba(255,255,255,0.32); font-size: 8.5px; }
  .signal:nth-child(1) { --c: #a78bfa; animation-delay: 3.2s; }
  .signal:nth-child(2) { --c: #38bdf8; animation-delay: 3.35s; }
  .signal:nth-child(3) { --c: #ec4899; animation-delay: 3.5s; }
  .signal:nth-child(4) { --c: #f59e0b; animation-delay: 3.65s; }
  /* connector line rising to the core above */
  .signal::before {
    content: '';
    position: absolute;
    left: 50%; bottom: 100%;
    width: 1px; height: 18px;
    background: linear-gradient(to top, var(--c), transparent);
    transform: translateX(-50%) scaleY(0);
    transform-origin: bottom;
    opacity: 0.55;
    animation: connIn 0.6s ease forwards;
    animation-delay: inherit;
  }
  @keyframes signalIn { to { opacity: 1; transform: none; } }
  @keyframes connIn { to { transform: translateX(-50%) scaleY(1); } }
  @keyframes sigpulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.55; } }

  .hero h1 {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: clamp(20px, 3.4vw, 42px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.35;
    background: linear-gradient(100deg, #ffffff 25%, var(--amber-soft) 45%, #ffffff 60%, var(--cyan) 85%, #ffffff 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: sheen 7s linear infinite;
    filter: drop-shadow(0 0 22px rgba(245,158,11,0.35));
  }
  @keyframes sheen { to { background-position: -250% 0; } }

  /* ---------- nebula atmosphere ---------- */
  .nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: -1;
    animation: drift 14s ease-in-out infinite alternate;
  }
  .neb-violet { width: 520px; height: 520px; background: rgba(139,92,246,0.16); top: -8%; left: -6%; }
  .neb-cyan   { width: 460px; height: 460px; background: rgba(56,189,248,0.13); top: 20%; right: -8%; animation-delay: -5s; }
  .neb-amber  { width: 640px; height: 480px; background: rgba(245,158,11,0.12); bottom: -14%; left: 28%; animation-delay: -9s; }
  @keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(60px, -40px, 0) scale(1.15); }
  }

  .hero .sub {
    margin-top: 20px;
    max-width: 560px;
    text-align: center;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.7;
  }

  .hero .cta-row {
    margin-top: 34px;
    display: flex;
    gap: 16px;
  }

  .btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 999px;
    transition: all 0.3s;
    position: relative;
  }
  .btn-primary {
    color: #0a0500;
    background: linear-gradient(120deg, var(--amber-soft), var(--amber-hot));
    box-shadow: 0 0 24px rgba(245,158,11,0.35), 0 0 60px rgba(245,158,11,0.12);
  }
  .btn-primary:hover {
    box-shadow: 0 0 40px rgba(245,158,11,0.6), 0 0 90px rgba(245,158,11,0.25);
    transform: translateY(-2px);
  }
  .btn-ghost {
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(5,6,8,0.3);
    backdrop-filter: blur(8px);
  }
  .btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

  /* ---------- sections ---------- */
  section { position: relative; }

  .section-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18vh 40px;
  }

  .sec-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--amber);
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
  }
  .sec-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--amber);
    box-shadow: 0 0 8px var(--amber);
  }

  .sec-title {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: clamp(26px, 4.4vw, 54px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: 70px;
  }
  .sec-title .dim { color: rgba(255,255,255,0.5); }

  /* ---------- service cards (production overview) ---------- */
  .cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    perspective: 1400px;
  }
  .card {
    display: block;
    position: relative;
    padding: 26px 26px 30px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.022);
    text-decoration: none;
    color: var(--text);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: border-color 0.35s, box-shadow 0.35s, background 0.35s;
    will-change: transform;
  }
  /* pointer glare that follows the cursor */
  .card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%),
      rgba(245,158,11,0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
    z-index: 3;
  }
  .card:hover {
    border-color: rgba(245,158,11,0.5);
    background: rgba(245,158,11,0.03);
    box-shadow: 0 24px 70px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,158,11,0.12) inset;
  }
  .card:hover::before { opacity: 1; }
  .card .idx {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 18px;
  }
  .card .idx .status { color: #37d67a; letter-spacing: 0.16em; }
  .card h3 {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 1.6vw, 20px);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.35;
    margin: 4px 0 12px;
  }
  .card p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
  }
  .card .footlink {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    transition: transform 0.3s;
  }
  .card:hover .footlink { transform: translateX(5px); }

  /* ---------- layout gating: demos are opt-in (?demos=live) ---------- */
  .sysdemos { display: none; }
  body.demos-live .sysdemos { display: block; }
  body.demos-live .cards-view { display: none; }

  /* holographic media panel — the "floating screen" from the reference */
  .holo {
    --h1: rgba(139,92,246,0.32);
    --h2: rgba(56,189,248,0.25);
    --h3: rgba(245,158,11,0.4);
    position: relative;
    height: 170px;
    border-radius: 12px;
    margin-bottom: 26px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14);
    background:
      radial-gradient(130% 180% at 15% 0%,   var(--h1), transparent 55%),
      radial-gradient(140% 180% at 90% 10%,  var(--h2), transparent 58%),
      radial-gradient(160% 230% at 55% 115%, var(--h3), transparent 60%),
      #06080f;
    box-shadow: inset 0 0 60px rgba(0,0,0,0.65);
  }
  .card:nth-child(2) .holo { --h1: rgba(56,189,248,0.3);  --h2: rgba(52,211,153,0.22); --h3: rgba(245,158,11,0.38); }
  .card:nth-child(3) .holo { --h1: rgba(236,72,153,0.26); --h2: rgba(139,92,246,0.28); --h3: rgba(245,158,11,0.38); }
  .card:nth-child(4) .holo { --h1: rgba(56,189,248,0.28); --h2: rgba(99,102,241,0.3);  --h3: rgba(255,107,26,0.36); }
  .holo::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(0deg, rgba(0,0,0,0.22) 0 1px, transparent 1px 4px),
      radial-gradient(140% 100% at 50% 50%, transparent 55%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
    z-index: 2;
  }

  .viz {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  /* lightbox */
  .shot-lightbox {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(3,4,7,0.93);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center; padding: 40px;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
  }
  .shot-lightbox.open { opacity: 1; pointer-events: auto; }
  .shot-lightbox img {
    max-width: 100%; max-height: 100%; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 30px 100px rgba(0,0,0,0.6);
    cursor: zoom-out;
  }
  .lb-close {
    position: absolute; top: 24px; right: 28px; z-index: 2;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(5,6,8,0.6); border: 1px solid rgba(255,255,255,0.2);
    color: var(--text); font-size: 16px; cursor: pointer; transition: all 0.25s;
  }
  .lb-close:hover { border-color: var(--amber); color: var(--amber); }
  .shot-frame canvas.viz { top: 26px; height: calc(100% - 26px); }
  @media (max-width: 720px) {
    .sys-cols { grid-template-columns: 1fr; gap: 30px; }
    .sys-panel { padding: 26px 24px 32px; }
    .sys-holo { height: 170px; }
  }

  /* ---------- ticker strip ---------- */
  .ticker-wrap {
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 22px 0;
    background: rgba(255,255,255,0.012);
  }
  .ticker {
    display: flex;
    gap: 70px;
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    animation: tick 30s linear infinite;
    width: max-content;
  }
  .ticker span b { color: var(--amber); font-weight: 400; }
  @keyframes tick {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ---------- founder ---------- */
  .founder-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 70px;
    align-items: start;
  }
  .founder-visual { display: flex; flex-direction: column; gap: 36px; align-items: center; }
  .orbit {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    position: relative;
    display: grid;
    place-items: center;
    background:
      radial-gradient(closest-side, rgba(245,158,11,0.12), transparent),
      radial-gradient(120% 120% at 20% 15%, rgba(139,92,246,0.2), transparent 60%),
      radial-gradient(120% 120% at 85% 80%, rgba(56,189,248,0.18), transparent 60%);
  }
  .orbit::before, .orbit::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(245,158,11,0.35);
    box-shadow: 0 0 24px rgba(245,158,11,0.15);
  }
  .orbit::after {
    inset: -16px;
    border-color: rgba(255,255,255,0.08);
    border-style: dashed;
    animation: orbitspin 24s linear infinite;
    box-shadow: none;
  }
  @keyframes orbitspin { to { transform: rotate(1turn); } }
  .orbit .wr {
    font-family: 'Michroma', sans-serif;
    font-size: 52px;
    color: var(--amber-soft);
    text-shadow: 0 0 34px rgba(245,158,11,0.6);
  }
  .founder-stats { display: flex; flex-direction: column; gap: 16px; width: 100%; }
  .founder-stats div {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 13px 18px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    background: rgba(255,255,255,0.025);
  }
  .founder-stats b {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: 19px;
    color: var(--amber);
    min-width: 74px;
    flex-shrink: 0;
  }
  .founder-stats span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    line-height: 1.6;
  }
  #founder .sec-title { margin-bottom: 22px; }
  .founder-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 26px;
  }
  .founder-bio {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.85;
    max-width: 640px;
    margin-bottom: 18px;
  }
  .founder-cta { margin-top: 30px; }

  /* ---------- CTA ---------- */
  .cta-sec .section-inner {
    text-align: center;
    padding: 13vh 40px 15vh;
  }
  .cta-sec .sec-label { justify-content: center; }
  .cta-sec .sec-label::before { display: none; }
  .cta-sec .sec-title { margin-bottom: 40px; }

  footer {
    position: relative;
    z-index: 10;
    padding: 30px 32px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  footer .foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
  footer .foot-links a { color: rgba(255,255,255,0.68); text-decoration: none; transition: color 0.25s; }
  footer .foot-links a:hover { color: var(--amber); }

  /* ---------- fallback / responsive ---------- */
  .no-webgl #gl { display: none; }
  .no-webgl body { background: radial-gradient(circle at 50% 30%, #14100a, var(--bg) 70%); }

  @media (max-width: 860px) {
    .cards { grid-template-columns: 1fr; }
    .founder-grid { grid-template-columns: 1fr; gap: 44px; }
    .chrome-bl, .chrome-br { display: none; }
    .chrome-tl .tag { display: none; }
    .hero { padding-bottom: 9vh; }
  }

  /* ---------- phones ---------- */
  @media (max-width: 560px) {
    .chrome-tl { top: 18px; left: 18px; }
    .chrome-tl .mark { font-size: 13px; }
    .chrome-tr { top: 16px; right: 16px; }
    .pill-nav { gap: 12px; padding: 9px 16px; font-size: 9px; }
    .pill-nav .dash { width: 16px; }

    .hero { padding-bottom: 12vh; }
    .hero .kicker { font-size: 9px; letter-spacing: 0.24em; }
    .core-signals { gap: 8px; padding: 0 16px; }
    .signal { padding: 8px 12px; font-size: 8.5px; gap: 7px; }
    .signal .id { display: none; }
    .core-eyebrow { font-size: 9px; letter-spacing: 0.2em; }
    .hero h1 { font-size: 25px; letter-spacing: 0.06em; line-height: 1.4; padding: 0 6px; }
    .hero .sub { font-size: 13.5px; padding: 0 24px; }
    .hero .cta-row { flex-direction: column; width: 100%; padding: 0 34px; gap: 12px; }
    .hero .cta-row .btn { width: 100%; text-align: center; padding: 15px 20px; }

    .section-inner { padding: 12vh 22px; }
    .sec-title { margin-bottom: 44px; }
    .sec-label { font-size: 9px; letter-spacing: 0.22em; }
    .sec-label::before { width: 24px; }

    .card { padding: 22px 22px 26px; }
    .card .holo { height: 150px; }

    /* founder */
    .founder-visual { flex-direction: column; }
    .orbit { width: 190px; height: 190px; }
    .orbit .wr { font-size: 44px; }
    .founder-bio { font-size: 14px; }
    .founder-cta { flex-direction: column; width: 100%; gap: 12px; }
    .founder-cta .btn { width: 100%; text-align: center; }

    /* ticker a touch tighter */
    .ticker { gap: 40px; font-size: 11px; }

    /* system overlay full-bleed on phones */
    .system-overlay { padding: 0; }
    .sys-panel {
      width: 100vw;
      max-height: 100vh;
      height: 100vh;
      border-radius: 0;
      border-left: none;
      border-right: none;
      padding: 20px 20px 34px;
    }
    .sys-holo { height: 150px; }
    .sys-shots { grid-template-columns: 1fr; }
    .sys-realshots { grid-template-columns: 1fr; }
    .shot-lightbox { padding: 16px; }
    .sys-arch { flex-direction: column; }
    .arch-arrow { transform: rotate(90deg); align-self: center; }
    .sys-overview p { font-size: 14px; }
    .sys-cta-row .btn { width: 100%; text-align: center; }
    footer { flex-direction: column; gap: 8px; font-size: 9px; }
  }

  /* users who prefer reduced motion: calm the ambient loops */
  @media (prefers-reduced-motion: reduce) {
    .grain, .nebula, .ticker, .orbit::after, .hero h1 { animation: none !important; }
    .signal, .core-eyebrow { animation: none !important; opacity: 1; transform: none; }
    .signal::before { animation: none !important; transform: translateX(-50%) scaleY(1); }
    .signal .dot { animation: none !important; }
  }

  /* ============ Full-viewport scroll-driven service demos ============ */
  .sysdemo-intro { text-align: center; padding-bottom: 3vh; }
  .sysdemo-intro .sec-label { justify-content: center; }
  .sysdemo-hint { color: var(--text-dim); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 16px; }

  .sysdemo { position: relative; }
  .sd-pin { height: 100vh; min-height: 620px; display: flex; align-items: center; overflow: hidden; }
  .sd-pin > .nebula { z-index: 0; }
  .sd-inner { position: relative; z-index: 2; width: min(1240px, 92vw); margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 5%; align-items: center; padding: 0 20px; }

  .sd-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.4); display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
  .sd-eyebrow b { color: var(--amber); font-weight: 400; }
  .sd-title { font-family: 'Michroma', sans-serif; font-weight: 400; font-size: clamp(21px, 3.1vw, 38px); letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.25; margin-bottom: 12px; }
  .sd-tagline { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 28px; }

  .sd-steps { list-style: none; margin: 0 0 26px; display: flex; flex-direction: column; gap: 2px; }
  .sd-steps li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,0.07); opacity: 0.5; transition: opacity 0.45s; }
  .sd-steps li.on { opacity: 1; }
  .sd-steps li i { grid-row: 1 / 3; align-self: center; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(245,158,11,0.28); font-family: 'JetBrains Mono', monospace; font-size: 11px; font-style: normal; color: var(--amber); transition: border-color 0.45s, background 0.45s, box-shadow 0.45s; }
  .sd-steps li.on i { border-color: var(--amber); background: rgba(245,158,11,0.1); box-shadow: 0 0 16px rgba(245,158,11,0.25); }
  .sd-steps li b { font-family: 'Michroma', sans-serif; font-weight: 400; font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 3px; }
  .sd-steps li span { color: var(--text-dim); font-size: 13px; line-height: 1.5; }

  .sd-stack { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }
  .sd-stack span { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); padding: 7px 13px; border: 1px solid rgba(245,158,11,0.3); border-radius: 999px; background: rgba(245,158,11,0.05); }
  .sd-metrics { display: flex; gap: 20px; margin-bottom: 26px; }
  .sd-metrics div b { font-family: 'Michroma', sans-serif; font-weight: 400; font-size: 20px; color: var(--amber); display: block; }
  .sd-metrics div span { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
  .sd-cta { align-self: flex-start; }

  .sd-visual { position: relative; height: min(70vh, 560px); }
  .sd-screen { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.16); background: #06080f; box-shadow: 0 30px 90px rgba(0,0,0,0.5); z-index: 3; }
  .sd-screen .win-bar { position: absolute; top: 0; left: 0; right: 0; height: 28px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: rgba(3,5,10,0.75); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .sd-screen .win-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.22); }
  .sd-screen .win-bar i:first-child { background: rgba(255,107,26,0.8); }
  .sd-screen .win-bar span { margin-left: 10px; font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.14em; color: rgba(255,255,255,0.4); }
  .sd-screen canvas { position: absolute; inset: 0; top: 28px; width: 100%; height: calc(100% - 28px); }

  .sd-panel { position: absolute; margin: 0; width: 52%; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); background: #06080f; box-shadow: 0 24px 60px rgba(0,0,0,0.55); z-index: 1; opacity: 0; will-change: transform, opacity; }
  .sd-panel img { display: block; width: 100%; height: 148px; object-fit: cover; object-position: top center; }
  .sd-panel .sd-holo { height: 150px; }
  .sd-panel figcaption { padding: 9px 12px; font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
  .sd-panel figcaption::before { content: '▸ '; color: var(--amber); }
  .sd-panel.shot { cursor: zoom-in; }
  .sd-panel[data-depth="1"] { top: 4%; right: -9%; }
  .sd-panel[data-depth="2"] { bottom: 3%; left: -10%; width: 48%; }
  .sd-panel[data-depth="3"] { top: 42%; right: 5%; width: 44%; }
  .hp-agents { --h1: rgba(139,92,246,0.4); --h2: rgba(56,189,248,0.3); --h3: rgba(245,158,11,0.4); }
  .hp-crm { --h1: rgba(236,72,153,0.34); --h2: rgba(139,92,246,0.34); --h3: rgba(245,158,11,0.4); }
  .hp-voice { --h1: rgba(56,189,248,0.34); --h2: rgba(99,102,241,0.36); --h3: rgba(255,107,26,0.4); }

  @media (max-width: 900px) {
    .sd-pin { height: auto; min-height: 0; padding: 12vh 0; display: block; overflow: visible; }
    .sd-inner { grid-template-columns: 1fr; gap: 30px; }
    .sd-visual { height: 44vh; min-height: 260px; order: -1; }
    .sd-panel { display: none; }
    .sd-steps li { opacity: 1; }
    .sd-metrics { gap: 14px; }
    .sd-cta { width: 100%; text-align: center; }
  }
  @media (prefers-reduced-motion: reduce) {
    .sd-steps li { opacity: 1; }
    .sd-panel { opacity: 1 !important; transform: none !important; }
  }
