:root {
    --bg: #f7f7f5;
    --paper: #fbfbf9;
    --ink: #0a0a0a;
    --ink-soft: #2c2c2c;
    --muted: #6f6f6f;
    --faint: #a3a3a3;
    --line: #1a1a1a;
    --line-soft: #d8d8d4;
    --line-faint: #e8e8e4;
    --accent: #0a0a0a;
    --hi: #ff5b1f;
    --display: "Inter Tight", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    --body: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
  body {
    font-family: var(--body);
    background: var(--bg);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.005em;
    overflow-x: hidden;
  }

  ::selection { background: var(--ink); color: var(--bg); }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: 0; background: none; }

  /* ——— PAGE FRAME ——— */
  .frame {
    max-width: 1280px;
    margin: 0 auto;
    border-left: 1px solid var(--line-soft);
    border-right: 1px solid var(--line-soft);
    background: var(--paper);
    min-height: 100vh;
  }

  /* ——— NAV ——— */
  .nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 56px;
  }
  .nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 24px;
    border-right: 1px solid var(--line-soft);
    font-family: var(--display);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.025em;
  }
  .brand-mark {
    width: 16px; height: 16px;
    background: var(--ink);
    position: relative;
  }
  .brand-mark::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: var(--paper);
  }
  .nav-links {
    display: flex;
    list-style: none;
    flex: 1;
  }
  .nav-links li {
    display: flex;
    align-items: center;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    height: 100%;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-soft);
    border-right: 1px solid var(--line-soft);
    transition: background 0.15s ease;
  }
  .nav-links a:hover { background: var(--line-faint); }
  .nav-cta {
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-left: 1px solid var(--line-soft);
    background: var(--ink);
    color: var(--paper);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    transition: opacity 0.2s ease;
  }
  .nav-cta:hover { opacity: 0.85; }

  @media (max-width: 860px) {
    .nav-links { display: none; }
  }

  /* ——— SECTION ——— */
  section {
    border-bottom: 1px solid var(--line);
    position: relative;
  }
  .sec-head {
    display: grid;
    grid-template-columns: 220px 1fr 120px;
    border-bottom: 1px solid var(--line-soft);
    align-items: stretch;
  }
  .sec-route {
    padding: 14px 24px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink);
    border-right: 1px solid var(--line-soft);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .sec-route .slash { color: var(--faint); font-weight: 400; }
  .sec-title {
    padding: 14px 24px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    border-right: 1px solid var(--line-soft);
    display: flex;
    align-items: center;
  }
  .sec-count {
    padding: 14px 24px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  @media (max-width: 720px) {
    .sec-head { grid-template-columns: 1fr 80px; }
    .sec-title { display: none; }
  }

  /* ——— TYPOGRAPHY ——— */
  h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.0;
    color: var(--ink);
  }
  .display-xl {
    font-size: clamp(56px, 9vw, 132px);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 0.92;
  }
  .display-lg {
    font-size: clamp(40px, 6vw, 72px);
    letter-spacing: -0.04em;
    line-height: 1.0;
    font-weight: 500;
  }
  .display-md {
    font-size: clamp(28px, 3.6vw, 44px);
    letter-spacing: -0.03em;
    line-height: 1.05;
    font-weight: 500;
  }
  .lede {
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.4;
    color: var(--ink-soft);
    font-weight: 400;
    letter-spacing: -0.01em;
    max-width: 64ch;
  }
  .body-text {
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 64ch;
  }
  .mono {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0;
  }
  .mono-sm {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.02em;
    color: var(--muted);
  }

  /* ——— HERO ——— */
  .hero {
    padding: 0;
  }
  .hero-stack {
    display: grid;
    grid-template-columns: 220px 1fr 120px;
    border-bottom: 1px solid var(--line-soft);
  }
  .hero-meta {
    padding: 28px 24px;
    border-right: 1px solid var(--line-soft);
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
  }
  .hero-meta div { margin-bottom: 6px; }
  .hero-meta b { color: var(--ink); font-weight: 500; }
  .hero-headline {
    padding: 80px 32px 60px;
    border-right: 1px solid var(--line-soft);
  }
  .hero-headline h1 { margin-bottom: 32px; }
  .rotator {
    display: inline-block;
    position: relative;
    vertical-align: baseline;
    font-style: italic;
    color: var(--hi, #ff5b1f);
    min-width: 1ch;
    padding-right: 0.14em;          /* clearance so italic ink isn't shaved by the stage clip */
  }
  .rotator-measure {
    visibility: hidden;
    pointer-events: none;
    white-space: nowrap;
  }
  .rotator-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .rotator-word {
    position: absolute;
    inset: 0;
    white-space: nowrap;
    transition: transform 520ms cubic-bezier(.65,.05,.25,1), opacity 380ms ease;
    will-change: transform, opacity;
  }
  .rotator-word.is-enter { transform: translateY(100%); opacity: 0; }
  .rotator-word.is-active { transform: translateY(0); opacity: 1; }
  .rotator-word.is-exit { transform: translateY(-100%); opacity: 0; }
  .hero-headline .lede {
    margin-bottom: 36px;
  }
  .hero-actions {
    display: flex;
    gap: 0;
    margin-top: 8px;
  }
  .hero-side {
    padding: 28px 24px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    text-align: right;
  }
  .hero-side .num {
    font-family: var(--display);
    font-size: 32px;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 4px;
  }
  .hero-side > div + div { margin-top: 28px; }

  /* ——— BUTTONS ——— */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    transition: background 0.15s ease, color 0.15s ease;
    background: var(--paper);
  }
  .btn-primary {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
  }
  .btn-primary:hover {
    background: var(--paper);
    color: var(--ink);
  }
  .btn-ghost {
    background: var(--paper);
    color: var(--ink);
  }
  .btn-ghost:hover {
    background: var(--ink);
    color: var(--paper);
  }
  .btn .arrow {
    font-family: var(--mono);
    transition: transform 0.2s ease;
  }
  .btn:hover .arrow { transform: translateX(3px); }

  /* ——— HERO VISUAL ——— */
  .hero-visual {
    border-top: 1px solid var(--line-soft);
    background: var(--bg);
    padding: 24px 24px 28px;
    position: relative;
  }
  .hv-fig-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
  }
  .hv-fig-label b { color: var(--ink); font-weight: 500; }
  .hv-canvas {
    aspect-ratio: 21 / 9;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    position: relative;
    overflow: hidden;
  }
  .hv-cloud {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
  }
  .hv-corner {
    position: absolute;
    width: 12px; height: 12px;
    border: 1px solid var(--ink);
  }
  .hv-corner.tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
  .hv-corner.tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
  .hv-corner.bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
  .hv-corner.br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
  /* ——— TICKER ——— */
  .ticker {
    border-top: 1px solid var(--line-soft);
    background: var(--paper);
    overflow: hidden;
  }
  .ticker-track {
    display: flex;
    align-items: center;
    height: 38px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
    animation: ticker 60s linear infinite;
    width: max-content;
  }
  .ticker-track span {
    margin: 0 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .ticker-track b {
    color: var(--ink);
    font-weight: 500;
  }
  @keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* ——— PROOF STRIP ——— */
  .proof-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 24px;
    border-top: 1px solid var(--line-soft);
    background: var(--paper);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.02em;
  }
  .proof-label {
    color: var(--hi);
    font-weight: 600;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .proof-text { color: var(--muted); }
  .proof-text a {
    color: var(--ink);
    font-weight: 500;
    border-bottom: 1px solid var(--line-soft);
    transition: border-color 0.15s ease;
  }
  .proof-text a:hover { border-color: var(--hi); }
  @media (max-width: 720px) {
    .proof-strip { flex-direction: column; align-items: flex-start; gap: 6px; }
  }

  /* ——— TECH ——— */
  .tech-body {
    display: grid;
    grid-template-columns: 220px 1fr;
  }
  .tech-aside {
    padding: 56px 24px;
    border-right: 1px solid var(--line-soft);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
  }
  .tech-content {
    padding: 56px 32px;
  }
  .tech-content h2 {
    max-width: 18ch;
    margin-bottom: 24px;
  }
  .tech-content .lede {
    margin-bottom: 56px;
  }
  .tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line-soft);
    border-left: 1px solid var(--line-soft);
  }
  .tech-card {
    padding: 32px 28px 36px;
    border-right: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    min-height: 240px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--paper);
  }
  .tech-card-tag {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.04em;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    padding-right: 80px;
  }
  .tech-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
  }
  .tech-card p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.55;
  }
  .tech-metric {
    font-family: var(--display);
    font-size: 44px;
    color: var(--hi);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 36px;
  }
  @media (max-width: 860px) {
    .tech-grid { grid-template-columns: 1fr; }
    .tech-body { grid-template-columns: 1fr; }
    .tech-aside { display: none; }
  }

  /* ——— TWIN HERO (the product, framed as Sec.03 #01) ——— */
  .twin-hero {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-bottom: 1px solid var(--line);
    background: var(--ink);
    color: var(--paper);
    position: relative;
  }
  .twin-hero-side {
    padding: 56px 24px;
    border-right: 1px solid rgba(255,255,255,0.12);
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    display: flex;
    flex-direction: column;
  }
  .twin-hero-num {
    font-family: var(--display);
    font-size: 88px;
    font-weight: 500;
    color: var(--paper);
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 12px;
  }
  .twin-hero-label {
    color: var(--hi);
    letter-spacing: 0.08em;
    margin-bottom: auto;
    padding-bottom: 32px;
  }
  .twin-hero-tagline {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 400;
    color: rgba(255,255,255,0.78);
    letter-spacing: -0.02em;
    line-height: 1.2;
  }
  .twin-hero-main {
    padding: 56px 32px 60px;
  }
  .twin-hero-eyebrow {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.04em;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .twin-hero-eyebrow span:first-child { color: var(--hi); }
  .twin-hero-h {
    color: var(--paper);
    margin-bottom: 28px;
  }
  .twin-hero-h::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    background: var(--hi);
    margin-top: 24px;
  }
  .twin-hero-lede {
    color: rgba(255,255,255,0.78);
    margin-bottom: 48px;
    max-width: 60ch;
  }
  .twin-hero-lede b { color: var(--paper); font-weight: 500; }
  .twin-hero-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-left: 1px solid rgba(255,255,255,0.12);
  }
  .twin-pillar {
    padding: 24px 22px 26px;
    border-right: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .twin-pillar-k {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--paper);
    margin-bottom: 8px;
  }
  .twin-pillar-v {
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.01em;
  }
  @media (max-width: 860px) {
    .twin-hero { grid-template-columns: 1fr; }
    .twin-hero-side { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 28px 24px; flex-direction: row; align-items: baseline; gap: 20px; }
    .twin-hero-num { font-size: 56px; margin-bottom: 0; }
    .twin-hero-label { padding-bottom: 0; margin-bottom: 0; }
    .twin-hero-tagline { display: none; }
    .twin-hero-main { padding: 36px 24px 40px; }
    .twin-hero-pillars { grid-template-columns: 1fr 1fr; }
  }

  /* ——— TWIN DIVIDER ——— */
  .twin-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.08em;
  }
  .twin-divider-line {
    flex: 1;
    height: 1px;
    background: var(--line-soft);
  }
  .twin-divider-text {
    white-space: nowrap;
    color: var(--ink);
    font-weight: 500;
  }

  /* ——— CASES ——— */
  .cases-body {
    display: grid;
    grid-template-columns: 220px 1fr;
  }
  .cases-aside {
    padding: 56px 24px;
    border-right: 1px solid var(--line-soft);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
  }
  .cases-content { padding: 0; }
  .case-row {
    display: grid;
    grid-template-columns: 80px 240px 1fr;
    gap: 0;
    border-bottom: 1px solid var(--line-soft);
    align-items: stretch;
    transition: background 0.15s ease;
  }
  .case-row:hover { background: var(--bg); }
  .case-row > * { padding: 32px 20px; }
  .case-num {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    border-right: 1px solid var(--line-soft);
  }
  .case-cat {
    border-right: 1px solid var(--line-soft);
  }
  .case-cat-name {
    font-family: var(--display);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: 4px;
  }
  .case-cat-tag {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.04em;
  }
  .case-body h3 {
    font-size: 22px;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
    line-height: 1.1;
    font-weight: 500;
  }
  .case-body p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.55;
    max-width: 56ch;
  }
  .case-meta {
    border-left: 1px solid var(--line-soft);
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    text-align: right;
  }
  .case-meta b { color: var(--ink); font-weight: 500; display: block; font-size: 12px; margin-bottom: 2px; }
  @media (max-width: 860px) {
    .cases-body { grid-template-columns: 1fr; }
    .cases-aside { display: none; }
    .case-row { grid-template-columns: 60px 1fr; }
    .case-cat, .case-meta { grid-column: 2; border-left: 0; text-align: left; padding-top: 0; padding-bottom: 12px; }
    .case-body { grid-column: 2; padding-top: 0; }
  }

  /* ——— DELIVERY MODES ——— */
  .modes-body { display: block; }
  .modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .mode-card {
    padding: 36px 28px 36px;
    border-right: 1px solid var(--line-soft);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    background: var(--paper);
  }
  .mode-card:last-child { border-right: 0; }
  .mode-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 60px;
    letter-spacing: 0.02em;
  }
  .mode-card-head .id { color: var(--ink); font-weight: 500; }
  .mode-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
    font-weight: 500;
  }
  .mode-card p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: auto;
  }
  .mode-card-foot {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px dashed var(--line-soft);
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  @media (max-width: 860px) {
    .modes-grid { grid-template-columns: 1fr; }
    .mode-card { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  }

  /* ——— PIPELINE ——— */
  .pipeline-body { display: block; }
  .pipeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .pipe-step {
    padding: 36px 24px 40px;
    border-right: 1px solid var(--line-soft);
    background: var(--paper);
    position: relative;
    min-height: 240px;
    display: flex;
    flex-direction: column;
  }
  .pipe-step:last-child { border-right: 0; }
  .pipe-step-tag {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.06em;
    margin-bottom: 8px;
  }
  .pipe-step h4 {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 56px;
  }
  .pipe-step p {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.55;
  }
  .pipe-step-time {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed var(--line-soft);
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.04em;
  }
  .pipe-step-time b { color: var(--hi); font-weight: 500; }
  @media (max-width: 860px) {
    .pipeline-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 600px) {
    .pipeline-grid { grid-template-columns: 1fr; }
    .pipe-step { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  }

  /* ——— MODELS ——— */
  .models-body { display: block; }
  .models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .model-card {
    border-right: 1px solid var(--line-soft);
    cursor: pointer;
    background: var(--paper);
    transition: background 0.2s ease;
    display: block;
    color: inherit;
    text-decoration: none;
  }
  .model-card:last-child { border-right: 0; }
  .model-card:hover { background: var(--bg); }
  .model-thumb-frame {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
    pointer-events: none;
    background: var(--bg);
  }
  .model-thumb-frame.is-live { pointer-events: auto; }
  .model-thumb-poster {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
  }
  .model-load {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 9px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink);
    transition: background 0.15s ease, color 0.15s ease;
    z-index: 2;
  }
  .model-load:hover { background: var(--ink); color: var(--paper); }
  .model-thumb-veil {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(250,249,246,0) 60%, rgba(250,249,246,0.35) 100%);
    pointer-events: none;
  }
  .model-thumb {
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid var(--line-soft);
    background: var(--bg);
    position: relative;
    overflow: hidden;
  }
  .model-thumb-tag {
    position: absolute;
    top: 12px; left: 12px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    background: var(--paper);
    border: 1px solid var(--line-soft);
    padding: 2px 8px;
    letter-spacing: 0.02em;
    pointer-events: none;   /* never block the live viewer */
  }
  .model-thumb-fig {
    position: absolute;
    bottom: 12px; right: 12px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.02em;
    pointer-events: none;
  }
  .model-info {
    padding: 20px 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
  }
  .model-info-text h3 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin-bottom: 4px;
  }
  .model-info-text .meta {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.02em;
  }
  .model-arrow {
    font-family: var(--mono);
    font-size: 14px;
    color: var(--ink);
    transition: transform 0.2s ease;
  }
  .model-card:hover .model-arrow { transform: translateX(3px) translateY(-3px); }
  @media (max-width: 860px) {
    .models-grid { grid-template-columns: 1fr; }
    .model-card { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  }

  /* ——— CTA ——— */
  .cta-body {
    display: grid;
    grid-template-columns: 220px 1fr 120px;
  }
  .cta-content {
    padding: 100px 32px 110px;
    border-right: 1px solid var(--line-soft);
    border-left: 1px solid var(--line-soft);
  }
  .cta-content h2 {
    margin-bottom: 32px;
    max-width: 16ch;
  }
  .cta-content .lede {
    margin-bottom: 40px;
  }
  .cta-actions {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
  }
  .cta-aside {
    padding: 100px 24px 110px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
  }
  .cta-aside-num {
    font-family: var(--display);
    font-size: 56px;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
  }
  .cta-side {
    padding: 100px 24px 110px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    text-align: right;
  }
  @media (max-width: 860px) {
    .cta-body { grid-template-columns: 1fr; }
    .cta-aside, .cta-side { display: none; }
    .cta-content { border-left: 0; padding: 60px 24px 70px; }
  }

  /* ——— FOOTER ——— */
  footer {
    background: var(--paper);
    border-top: 1px solid var(--line);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 220px 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--line-soft);
  }
  .footer-cell {
    padding: 36px 24px 40px;
    border-right: 1px solid var(--line-soft);
  }
  .footer-cell:last-child { border-right: 0; }
  .footer-brand-cell {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
  }
  .footer-brand-cell .nav-brand {
    padding: 0;
    border: 0;
    margin-bottom: 16px;
  }
  .footer-cell h5 {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .footer-cell ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .footer-cell a {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-soft);
    transition: color 0.15s ease;
  }
  .footer-cell a:hover { color: var(--ink); }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
  }
  @media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand-cell { grid-column: 1 / -1; }
  }

  /* ——— REVEAL ——— */
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s cubic-bezier(0.2,0.8,0.2,1), transform 0.7s cubic-bezier(0.2,0.8,0.2,1);
  }
  .reveal.in { opacity: 1; transform: translateY(0); }
  .reveal.delay-1 { transition-delay: 0.05s; }
  .reveal.delay-2 { transition-delay: 0.1s; }
  .reveal.delay-3 { transition-delay: 0.15s; }
  .reveal.delay-4 { transition-delay: 0.2s; }

  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    * { animation: none !important; }
  }

  /* ——— LANGUAGE TOGGLE ——— */
  .lang-toggle {
    display: flex;
    align-items: center;
    border-left: 1px solid var(--line-soft);
  }
  .lang-toggle button {
    position: relative;
    width: 40px;
    height: 100%;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--faint);
    background: var(--paper);
    border-right: 1px solid var(--line-soft);
    transition: color 0.15s ease;
  }
  .lang-toggle button:last-child { border-right: 0; }
  .lang-toggle button:hover { color: var(--ink); }
  .lang-toggle button.is-active {
    color: var(--ink);
    font-weight: 600;
  }
  .lang-toggle button.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 13px;
    width: 14px;
    height: 1.5px;
    background: var(--hi);
  }

  /* Vision — distinct sub-product link */
  .nav-links a.nav-link-alt { color: var(--hi); }
  .nav-links a.nav-link-alt::before {
    content: "◆";
    font-size: 8px;
    color: var(--hi);
  }
  .nav-links a.nav-link-alt:hover { background: var(--hi); color: var(--paper); }
  .nav-links a.nav-link-alt:hover::before { color: var(--paper); }

  @media (max-width: 860px) {
    .lang-toggle { border-left: 0; }
    .lang-toggle button { padding: 0 12px; width: auto; height: 56px; }
  }

  /* ═══════════════════════════════════════════
     VISION PAGE
     ═══════════════════════════════════════════ */

  .brand-vision {
    color: var(--hi);
    font-weight: 500;
  }
  .nav-back {
    color: var(--muted) !important;
  }
  .nav-back::before { content: "← "; }

  /* ——— VISION HERO ——— */
  .v-hero-stack {
    display: grid;
    grid-template-columns: 220px 1fr 120px;
    border-bottom: 1px solid var(--line-soft);
  }
  .v-hero-headline {
    padding: 76px 32px 56px;
    border-right: 1px solid var(--line-soft);
  }
  .v-hero-headline h1 { margin-bottom: 28px; }
  .v-hero-headline .lede { margin-bottom: 24px; }
  .v-hero-note {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px dashed var(--line-soft);
    max-width: 56ch;
  }
  .v-hero-note b { color: var(--ink); font-weight: 500; }

  /* ——— VISION PROBLEM BRIDGE ——— */
  .v-bridge {
    background: var(--ink);
    color: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 64px 32px 68px;
  }
  .v-bridge-inner { max-width: 900px; }
  .v-bridge h2 {
    font-family: var(--display);
    font-size: clamp(30px, 4.4vw, 52px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.02;
    color: var(--paper);
    margin-bottom: 20px;
    max-width: 20ch;
  }
  .v-bridge p {
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.5;
    color: rgba(255,255,255,0.7);
    max-width: 60ch;
  }
  .v-bridge .hi { color: var(--hi); }

  /* ——— VISION DEMOS ——— */
  .v-demos-body { display: block; }
  .v-demos-intro {
    padding: 40px 32px;
    border-bottom: 1px solid var(--line-soft);
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
  }
  .v-demos-intro .lbl {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.04em;
  }
  .v-demos-intro p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.5;
    max-width: 60ch;
  }
  .v-group-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 32px;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--ink);
    font-weight: 500;
  }
  .v-group-head .idx { color: var(--hi); }
  .v-group-head .ln { flex: 1; height: 1px; background: var(--line-soft); }
  .v-demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line-soft);
  }
  .v-demo-card {
    border-right: 1px solid var(--line-soft);
    background: var(--paper);
    display: flex;
    flex-direction: column;
  }
  .v-demo-card:last-child { border-right: 0; }
  .v-feed {
    aspect-ratio: 16 / 10;
    background: #0e0e0e;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line-soft);
  }
  .v-feed-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #0e0e0e;
  }
  .v-feed-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 22px 22px;
    transform: perspective(600px) rotateX(52deg) scale(1.5);
    transform-origin: center 78%;
    mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 82%, transparent 100%);
  }
  .v-box {
    position: absolute;
    border: 1.5px solid var(--hi);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.4);
  }
  .v-box::before {
    content: attr(data-tag);
    position: absolute;
    top: -15px; left: -1.5px;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.04em;
    background: var(--hi);
    color: #0e0e0e;
    padding: 1px 4px;
    white-space: nowrap;
    font-weight: 600;
  }
  .v-box.cyan { border-color: #46c6e6; }
  .v-box.cyan::before { background: #46c6e6; }
  .v-feed-live {
    position: absolute;
    top: 10px; left: 10px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.08em;
    color: #fff;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 2px 7px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .v-feed-live::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #ff3b30;
    animation: vblink 1.4s ease-in-out infinite;
  }
  @keyframes vblink { 0%,100%{opacity:1;} 50%{opacity:0.25;} }
  .v-feed-fig {
    position: absolute;
    bottom: 10px; right: 12px;
    font-family: var(--mono);
    font-size: 9px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.04em;
  }
  .v-demo-info {
    padding: 20px 22px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .v-demo-tag {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.04em;
    margin-bottom: 10px;
  }
  .v-demo-info h4 {
    font-family: var(--display);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
  }
  .v-demo-info p {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.5;
  }
  .v-more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line-soft);
  }
  .v-more-item {
    padding: 22px 22px 24px;
    border-right: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    background: var(--paper);
  }
  .v-more-item:nth-child(3n) { border-right: 0; }
  .v-more-item:nth-child(n+4) { border-bottom: 0; }
  .v-more-tag {
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    color: var(--hi);
    margin-bottom: 8px;
  }
  .v-more-item p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-soft);
  }
  .v-demos-cta {
    padding: 32px;
    display: flex;
    justify-content: center;
  }
  @media (max-width: 860px) {
    .v-demo-grid { grid-template-columns: 1fr; }
    .v-demo-card { border-right: 0; border-bottom: 1px solid var(--line-soft); }
    .v-demos-intro { grid-template-columns: 1fr; gap: 10px; }
  }

  /* ——— VISION TWO DOORS ——— */
  .v-doors {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    border-bottom: 1px solid var(--line);
  }
  .v-door {
    padding: 48px 32px 52px;
    background: var(--paper);
  }
  .v-door.primary {
    background: var(--ink);
    color: var(--paper);
    border-right: 1px solid var(--line);
  }
  .v-door-badge {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    display: inline-block;
    padding: 3px 9px;
    border: 1px solid var(--line-soft);
    color: var(--muted);
  }
  .v-door.primary .v-door-badge {
    border-color: var(--hi);
    color: var(--hi);
  }
  .v-door h3 {
    font-family: var(--display);
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 16px;
    max-width: 18ch;
  }
  .v-door.primary h3 { color: var(--paper); }
  .v-door p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 46ch;
  }
  .v-door.primary p { color: rgba(255,255,255,0.72); }
  @media (max-width: 720px) {
    .v-doors { grid-template-columns: 1fr; }
    .v-door.primary { border-right: 0; border-bottom: 1px solid var(--line); }
  }

  /* ——— VISION FAQ (accordion) ——— */
  .v-faq {
    border-top: 1px solid var(--line-soft);
  }
  .v-faq-row {
    border-bottom: 1px solid var(--line-soft);
  }
  .v-faq-row summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-family: var(--display);
    font-size: clamp(16px, 1.8vw, 19px);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
    transition: background 0.15s ease;
  }
  .v-faq-row summary::-webkit-details-marker { display: none; }
  .v-faq-row summary::after {
    content: "+";
    font-family: var(--mono);
    font-size: 20px;
    font-weight: 400;
    color: var(--muted);
    flex-shrink: 0;
    transition: color 0.15s ease;
  }
  .v-faq-row[open] summary::after {
    content: "–";
    color: var(--hi);
  }
  .v-faq-row summary:hover { background: var(--bg); }
  .v-faq-row summary:hover::after { color: var(--ink); }
  .v-faq-row .v-faq-a {
    padding: 0 32px 26px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 68ch;
  }
  @media (max-width: 720px) {
    .v-faq-row summary { padding: 20px 24px; }
    .v-faq-row .v-faq-a { padding: 0 24px 22px; }
  }

  /* ═══════════════════════════════════════════
     RESPONSIVE PASS — mobile & tablet
     Desktop layout (> 1024px) is intentionally
     left untouched. Everything below only fires
     on narrower viewports.
     ═══════════════════════════════════════════ */

  /* Elements that only exist for the mobile menu — hidden by default (desktop).
     `.nav-links li` (0,0,1,1) would otherwise win, so match its specificity. */
  .nav-toggle { display: none; }
  .nav-links li.nav-links-cta { display: none; }

  /* ——— TABLET (861–1024) — ease the densest desktop grids ——— */
  @media (min-width: 861px) and (max-width: 1024px) {
    .pipeline-grid { grid-template-columns: 1fr 1fr; }
    .pipe-step { min-height: 200px; }
    .pipe-step:nth-child(2n) { border-right: 0; }
    .pipe-step:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
    .twin-hero-pillars { grid-template-columns: 1fr 1fr; }
    .hero-headline { padding: 60px 28px 48px; }
  }

  /* ——— MOBILE & PORTRAIT TABLET (≤ 860) ——— */
  @media (max-width: 860px) {

    /* — NAV: collapse links into a hamburger dropdown — */
    .nav-brand { margin-right: auto; padding: 0 16px; font-size: 16px; }
    .nav-cta { display: none; }                 /* bar CTA relocates into the menu */

    .nav-toggle {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
      width: 52px; height: 56px;
      border-left: 1px solid var(--line-soft);
      background: var(--paper);
    }
    .nav-toggle-bar {
      display: block;
      width: 20px; height: 1.5px;
      background: var(--ink);
      transition: transform 0.2s ease, opacity 0.2s ease;
    }
    .nav.menu-open .nav-toggle-bar:nth-child(1) { transform: translateY(2.75px) rotate(45deg); }
    .nav.menu-open .nav-toggle-bar:nth-child(2) { transform: translateY(-2.75px) rotate(-45deg); }

    .nav-links {
      display: none;
      position: absolute;
      top: 56px; left: 0; right: 0;
      flex-direction: column;
      background: var(--paper);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 14px 26px rgba(0,0,0,0.07);
    }
    .nav.menu-open .nav-links { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a {
      width: 100%;
      height: auto;
      padding: 16px 20px;
      font-size: 13px;
      border-right: 0;
      border-bottom: 1px solid var(--line-soft);
    }
    .nav-links li.nav-links-cta { display: block; }
    .nav-links-cta a {
      background: var(--ink);
      color: var(--paper);
      font-weight: 500;
      border-bottom: 0;
    }
    .nav-links-cta a:hover { background: var(--ink); opacity: 0.9; }

    /* — HERO STACK: collapse the fixed 3-column frame (index + signal) — */
    .hero-stack, .v-hero-stack { grid-template-columns: 1fr; }
    .hero-side { display: none; }               /* empty rail on the right */
    .hero-meta {
      border-right: 0;
      border-bottom: 1px solid var(--line-soft);
      padding: 18px 24px;
    }
    .hero-headline, .v-hero-headline {
      border-right: 0;
      padding: 44px 24px 40px;
    }
    .hero-headline h1 { margin-bottom: 24px; }

    /* — HERO VISUAL: give the canvas real height instead of a thin sliver — */
    .hero-visual { padding: 20px 16px 24px; }
    .hv-canvas { aspect-ratio: 4 / 3; }
    .hv-fig-label { flex-direction: column; gap: 4px; }
    .hv-fig-label > span:last-child { display: none; }   /* long spec line */

    /* — Roomy desktop paddings trimmed for small screens — */
    .tech-content { padding: 40px 24px; }
    .tech-content .lede { margin-bottom: 40px; }
    .v-bridge { padding: 44px 24px 48px; }

    /* — Button rows: wrap into the shared-border segmented look instead of overflowing — */
    .hero-actions, .cta-actions { flex-wrap: wrap; }
    .hero-actions .btn, .cta-actions .btn { flex: 1 1 auto; justify-content: center; }
    .v-demos-cta { padding: 24px; }
    .v-demos-cta .btn { width: 100%; justify-content: center; text-align: center; }

    /* More-use-cases grid: 3 → 2 columns */
    .v-more-grid { grid-template-columns: 1fr 1fr; }
    .v-more-item:nth-child(3n) { border-right: 1px solid var(--line-soft); }
    .v-more-item:nth-child(2n) { border-right: 0; }
    .v-more-item:nth-child(n+4) { border-bottom: 1px solid var(--line-soft); }
    .v-more-item:nth-child(n+5) { border-bottom: 0; }
  }

  /* ——— PHONES (≤ 560) — final tightening ——— */
  @media (max-width: 560px) {
    .hero-headline, .v-hero-headline { padding: 36px 20px 32px; }
    .hero-visual { padding: 16px 12px 20px; }
    .hv-canvas { aspect-ratio: 5 / 4; }
    .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
    .twin-hero-pillars { grid-template-columns: 1fr; }
    .twin-pillar:last-child { border-bottom: 0; }

    /* More-use-cases grid: single column on phones */
    .v-more-grid { grid-template-columns: 1fr; }
    .v-more-item { border-right: 0; border-bottom: 1px solid var(--line-soft); }
    .v-more-item:last-child { border-bottom: 0; }
  }