  /* ---------- TOKENS (tweak-editable) ---------- */
  :root {
    --bg: #FAFAF7;
    --ink: #0B0B10;
    --ink-2: #3A3A45;
    --muted: #8A8A95;
    --line: #E7E7E2;
    --line-2: #D8D8D2;
    --panel: #F3F3EE;
    --primary: oklch(0.55 0.24 295);
    --primary-soft: oklch(0.92 0.07 295);
    --primary-ink: oklch(0.35 0.22 295);
    --primary-wash: oklch(0.97 0.03 295);
    --hot: oklch(0.7 0.2 30);
    --radius: 14px;
    --radius-sm: 8px;
    --sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
    --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
    --serif: 'Instrument Serif', 'Times New Roman', serif;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  /* ---------- Nav ---------- */
  nav.top {
    position: fixed;
    top: 16px; left: 16px; right: 16px;
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 60;
    background: var(--ink);
    color: white;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    box-shadow: 0 20px 50px -20px rgba(0,0,0,0.35);
  }
  nav.top a, nav.top .logo { text-decoration: none; }
  nav.top .logo {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
  }
  nav.top .logo-mark {
    width: 28px;
    height: 28px;
    display: block;
    border-radius: 6px;
    object-fit: contain;
  }
  nav.top .logo-text {
    color: white;
  }
  nav.top .links {
    display: flex; gap: 28px;
    font-size: 13px;
    font-family: var(--mono);
    letter-spacing: 0.02em;
    color: white;
  }
  nav.top .links a {
    color: inherit;
    text-decoration: none;
    opacity: 0.75;
    transition: opacity .2s;
  }
  nav.top .links a:hover { opacity: 1; }
  nav.top .cta {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 13px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    text-decoration: none;
    color: white;
    transition: all .2s;
  }
  nav.top .cta:hover { background: var(--primary); border-color: var(--primary); }

  /* ---------- Layout helpers ---------- */
  section {
    padding: 120px 36px;
    position: relative;
  }
  .container { max-width: 1280px; margin: 0 auto; }
  .eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .eyebrow::before {
    content: "";
    width: 18px; height: 1px;
    background: var(--primary);
  }
  h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; }
  h1 { font-size: clamp(56px, 9vw, 132px); line-height: 0.92; font-weight: 500; }
  h2 { font-size: clamp(40px, 5.5vw, 72px); line-height: 0.96; }
  h3 { font-size: 22px; line-height: 1.2; }
  p { line-height: 1.55; color: var(--ink-2); }

  /* =====================================================
     HERO
     ===================================================== */
  .hero {
    min-height: 100vh;
    padding: 140px 36px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    background: var(--bg);
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(to right, rgba(11,11,16,0.035) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(11,11,16,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  }
  .hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero h1 {
    max-width: 15ch;
    position: relative;
  }
  .hero h1 .em { color: var(--primary); font-style: italic; font-family: var(--serif); font-weight: 400; }
  .hero-sub {
    max-width: 44ch;
    margin-top: 28px;
    font-size: 18px;
    color: var(--ink-2);
  }
  .hero-ctas {
    display: flex;
    gap: 14px;
    margin-top: 44px;
    align-items: center;
  }
  .btn-primary {
    all: unset;
    cursor: pointer;
    padding: 14px 22px;
    background: var(--ink);
    color: var(--bg);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all .2s;
  }
  .btn-primary:hover { background: var(--primary); transform: translateY(-1px); }
  .btn-primary::after {
    content: "→";
    font-family: var(--mono);
    transition: transform .2s;
  }
  .btn-primary:hover::after { transform: translateX(3px); }
  .btn-ghost {
    all: unset;
    cursor: pointer;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    font-family: var(--mono);
    letter-spacing: 0.02em;
  }
  .btn-ghost:hover { color: var(--primary); }

  /* Floating graph canvas */
  .graph-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
  }
  .graph-wrap svg { width: 100%; height: 100%; }

  /* Hero status bar */
  .hero-status {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 60px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-2);
    border-top: 1px dashed var(--line-2);
    padding-top: 18px;
  }
  .hero-status .status-cell { display: flex; flex-direction: column; gap: 6px; }
  .hero-status .status-cell .label {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .hero-status .status-cell .val { color: var(--ink); font-weight: 500; }
  .live-dot {
    width: 8px; height: 8px;
    background: #16a34a;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    box-shadow: 0 0 0 0 rgba(22,163,74,0.6);
    animation: livepulse 1.4s infinite;
  }
  @keyframes livepulse {
    0% { box-shadow: 0 0 0 0 rgba(22,163,74,0.6); }
    70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
    100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
  }

  /* Node hero panel (glass card on graph) */
  .node-card {
    position: absolute;
    background: rgba(255,255,255,0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-2);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.1);
    z-index: 3;
    min-width: 180px;
  }
  .node-card .title {
    font-weight: 600;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
  }
  .node-card .title::after {
    content: "●";
    color: #16a34a;
    font-size: 8px;
    animation: blink 1.5s infinite;
  }
  @keyframes blink { 50% { opacity: 0.2; } }
  .node-card .row { display: flex; justify-content: space-between; padding: 2px 0; }
  .node-card .row span:last-child { color: var(--primary); font-weight: 500; }
  .node-card.nc-1 { top: 18%; right: 8%; }
  .node-card.nc-2 { bottom: 18%; left: 4%; }

  /* =====================================================
     Marquee
     ===================================================== */
  .marquee {
    padding: 24px 0;
    background: var(--ink);
    color: var(--bg);
    overflow: hidden;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
  }
  .marquee-track {
    display: flex;
    gap: 60px;
    animation: slide 40s linear infinite;
    white-space: nowrap;
    font-family: var(--mono);
    font-size: 14px;
    letter-spacing: 0.04em;
  }
  .marquee-track span { display: flex; align-items: center; gap: 16px; }
  .marquee-track .star { color: var(--primary); }
  @keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* =====================================================
     Services — node cards
     ===================================================== */
  .services {
    background: var(--bg);
    padding-top: 140px;
  }
  .services .header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 80px;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
  }
  .svc {
    position: relative;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all .3s;
    overflow: hidden;
    min-height: 280px;
  }
  .svc::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 100% 0%, var(--primary-wash), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
  }
  .svc:hover { border-color: var(--primary); transform: translateY(-3px); }
  .svc:hover::before { opacity: 1; }
  .svc > * { position: relative; z-index: 1; }
  .svc.s1 { grid-column: span 5; }
  .svc.s2 { grid-column: span 4; }
  .svc.s3 { grid-column: span 3; }
  .svc.s4 { grid-column: span 4; }
  .svc.s5 { grid-column: span 4; min-height: 320px; background: var(--ink); color: var(--bg); }
  .svc.s5 p { color: rgba(255,255,255,0.6); }
  .svc.s5:hover { border-color: var(--primary); }
  .svc.s6 { grid-column: span 4; }
  .svc .n {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--muted);
  }
  .svc.s5 .n { color: rgba(255,255,255,0.5); }
  .svc h3 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
  }
  .svc p { font-size: 14px; margin: 0; flex: 1; }
  .svc .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
  }
  .svc .tag {
    font-family: var(--mono);
    font-size: 10px;
    padding: 4px 8px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    color: var(--ink-2);
    letter-spacing: 0.04em;
  }
  .svc.s5 .tag { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); }
  .svc .node-viz {
    position: absolute;
    right: -30px; bottom: -30px;
    width: 160px; height: 160px;
    opacity: 0.5;
  }

  /* =====================================================
     Simulation — "building a site"
     ===================================================== */
  .sim {
    background: var(--ink);
    color: var(--bg);
    padding: 120px 36px;
    position: relative;
    overflow: hidden;
  }
  .sim .eyebrow { color: var(--primary-soft); }
  .sim .eyebrow::before { background: var(--primary-soft); }
  .sim h2 { color: white; max-width: 18ch; margin-bottom: 16px; }
  .sim-sub { max-width: 48ch; color: rgba(255,255,255,0.65); font-size: 18px; margin-bottom: 64px; }
  .sim-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  }
  .sim-steps {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: var(--mono);
    font-size: 12px;
  }
  .sim-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    color: rgba(255,255,255,0.4);
    transition: all .3s;
    border-left: 2px solid transparent;
  }
  .sim-step.done { color: rgba(255,255,255,0.9); }
  .sim-step.active {
    color: white;
    background: rgba(255,255,255,0.04);
    border-left-color: var(--primary);
  }
  .sim-step .idx { opacity: 0.5; min-width: 30px; }
  .sim-step .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
  }
  .sim-step.done .dot { background: var(--primary); border-color: var(--primary); }
  .sim-step.active .dot {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(168,85,247,0.2);
    animation: livepulse 1.4s infinite;
  }
  .sim-step .dur {
    margin-left: auto;
    opacity: 0.5;
    font-size: 11px;
  }

  .sim-viewport {
    background: #0F0F15;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    min-height: 480px;
    display: flex;
    flex-direction: column;
  }
  .sim-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255,255,255,0.5);
  }
  .sim-bar .dots { display: flex; gap: 5px; }
  .sim-bar .dots span {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
  }
  .sim-bar .url {
    flex: 1;
    background: rgba(255,255,255,0.04);
    padding: 4px 10px;
    border-radius: 5px;
    margin: 0 10px;
  }
  .sim-bar .url .cursor {
    display: inline-block; width: 7px; height: 12px;
    background: var(--primary); vertical-align: middle;
    animation: blink 0.8s infinite;
  }
  .sim-canvas {
    flex: 1;
    padding: 20px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .sim-pane {
    background: rgba(255,255,255,0.02);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.06);
    padding: 14px;
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    overflow: hidden;
    position: relative;
  }
  .sim-pane .pane-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.3);
    margin-bottom: 10px;
  }
  .sim-code .ln {
    display: flex;
    gap: 12px;
    line-height: 1.7;
  }
  .sim-code .num { color: rgba(255,255,255,0.2); min-width: 16px; text-align: right; }
  .sim-code .tag { color: #C084FC; }
  .sim-code .attr { color: #A78BFA; }
  .sim-code .str { color: #FDE68A; }
  .sim-code .txt { color: rgba(255,255,255,0.8); }

  .sim-preview {
    background: white;
    color: var(--ink);
    border-radius: 6px;
    padding: 16px;
    font-family: var(--sans);
    position: relative;
  }
  .sim-preview .p-h { height: 10px; background: var(--ink); border-radius: 2px; width: 70%; margin-bottom: 8px; }
  .sim-preview .p-sub { height: 6px; background: var(--line-2); border-radius: 2px; width: 50%; margin-bottom: 16px; }
  .sim-preview .p-btn { display: inline-block; padding: 6px 12px; background: var(--primary); border-radius: 99px; color: white; font-size: 9px; font-family: var(--mono); }
  .sim-preview .p-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 6px; margin-top: 14px;
  }
  .sim-preview .p-cell {
    aspect-ratio: 1; background: var(--panel); border-radius: 4px;
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-size: 8px; color: var(--muted);
  }
  .sim-preview .p-cell.filled {
    background: var(--primary-wash);
    border-color: var(--primary-soft);
    color: var(--primary-ink);
  }

  /* =====================================================
     Process / How we work
     ===================================================== */
  .process { background: var(--bg); }
  .process .container { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
  .process-left h2 { margin-bottom: 24px; }
  .process-left p { max-width: 40ch; font-size: 17px; }
  .process-steps { display: flex; flex-direction: column; }
  .p-step {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 24px;
    align-items: start;
    padding: 32px 0;
    border-top: 1px solid var(--line);
  }
  .p-step:last-child { border-bottom: 1px solid var(--line); }
  .p-step .idx {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--primary);
  }
  .p-step h3 {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
  }
  .p-step p { font-size: 15px; max-width: 50ch; }
  .p-step .dur {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  /* =====================================================
     Case studies
     ===================================================== */
  .cases { background: var(--panel); }
  .cases .header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 40px;
  }
  .case-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 32px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.05em;
  }
  .case-filters button {
    all: unset;
    cursor: pointer;
    padding: 8px 14px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    color: var(--ink-2);
    background: white;
    transition: all .2s;
  }
  .case-filters button:hover { border-color: var(--primary); color: var(--primary-ink); }
  .case-filters button.on {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
  }
  .case-filters .count {
    opacity: 0.5;
    margin-left: 6px;
  }
  .cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .case {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    flex-direction: column;
  }
  .case:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(11,11,16,0.12); }
  .case.featured { grid-column: span 2; }
  .case-img {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }
  .case.featured .case-img { aspect-ratio: 16/7; }
  .case-img .label {
    position: absolute;
    top: 14px; left: 14px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--primary-ink);
    letter-spacing: 0.14em;
    padding: 5px 10px;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--line);
    border-radius: 999px;
    backdrop-filter: blur(4px);
    z-index: 3;
    text-transform: uppercase;
  }
  .case-img svg { width: 100%; height: 100%; display: block; }
  .case-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .case-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.05em;
  }
  .case-meta .industry { color: var(--primary-ink); }
  .case h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
  .case.featured h3 { font-size: 26px; }
  .case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 2px;
  }
  .case-tags span {
    font-family: var(--mono);
    font-size: 10px;
    padding: 3px 8px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    color: var(--ink-2);
    letter-spacing: 0.04em;
  }
  .case .stats {
    display: flex;
    gap: 18px;
    padding-top: 14px;
    margin-top: auto;
    border-top: 1px dashed var(--line-2);
  }
  .case.featured .stats { gap: 32px; }
  .case .stat .v { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
  .case.featured .stat .v { font-size: 26px; }
  .case .stat .l { font-family: var(--mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
  .case-link {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
  }
  .case-link::after { content: "↗"; }

  /* =====================================================
     Stack — animated node cluster
     ===================================================== */
  .stack { background: var(--bg); padding: 140px 36px; }
  .stack .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .stack h2 { max-width: 14ch; }
  .stack p { max-width: 42ch; font-size: 16px; margin-top: 18px; }
  .stack-cluster {
    aspect-ratio: 1;
    position: relative;
    max-width: 560px;
    margin-left: auto;
  }
  .stack-cluster svg { width: 100%; height: 100%; }
  .stack-legend {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .stack-legend .tag {
    font-family: var(--mono);
    font-size: 11px;
    padding: 6px 12px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    color: var(--ink-2);
    background: white;
  }
  .stack-legend .tag.on {
    border-color: var(--primary);
    color: var(--primary-ink);
    background: var(--primary-wash);
  }

  /* =====================================================
     Testimonials
     ===================================================== */
  .testim { background: var(--bg); padding: 140px 36px; }
  .testim-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
  }
  .tm {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
  }
  .tm.wide { grid-column: span 3; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; padding: 40px 44px; background: var(--ink); color: white; }
  .tm.wide p { color: rgba(255,255,255,0.9); font-size: 17px; line-height: 1.6; }
  .tm.wide .quote { color: var(--primary-soft); font-size: 72px; margin-bottom: -32px; }
  .tm.wide .tm-foot { margin-top: 0; align-self: end; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; }
  .tm.wide .tm-foot .name { color: white; font-size: 15px; }
  .tm.wide .tm-foot .role { color: rgba(255,255,255,0.6); }
  .tm.wide .tm-foot .avatar { width: 44px; height: 44px; font-size: 15px; }
  .tm.wide .tm-stack { display: flex; flex-direction: column; gap: 14px; }
  .tm.wide .tm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .tm.wide .tm-tags span { font-family: var(--mono); font-size: 10px; padding: 4px 9px; border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; color: rgba(255,255,255,0.75); letter-spacing: 0.04em; }
  .tm .quote {
    font-family: var(--serif);
    font-size: 40px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: -14px;
  }
  .tm p { font-size: 15px; line-height: 1.55; color: var(--ink); margin: 0; flex: 1; }
  .tm-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; }
  .tm-foot .avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-soft), var(--primary));
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 13px; font-weight: 600;
  }
  .tm-foot .name { font-size: 13px; font-weight: 500; }
  .tm-foot .role { font-family: var(--mono); font-size: 11px; color: var(--muted); }

  /* =====================================================
     FAQ
     ===================================================== */
  .faq { background: var(--bg); padding-bottom: 140px; }
  .faq .container { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
  .faq h2 { max-width: 12ch; }
  .faq-list { border-top: 1px solid var(--line); }
  .faq-item {
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
    cursor: pointer;
  }
  .faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.015em;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: "+";
    font-family: var(--mono);
    font-size: 22px;
    color: var(--primary);
    transition: transform .2s;
  }
  .faq-item[open] summary::after { transform: rotate(45deg); }
  .faq-item p {
    margin: 14px 0 0;
    font-size: 15px;
    max-width: 60ch;
  }

  /* =====================================================
     Contact / footer
     ===================================================== */
  .contact {
    background: var(--ink);
    color: white;
    padding: 140px 36px 60px;
    position: relative;
    overflow: hidden;
  }
  .contact-big {
    font-size: clamp(64px, 12vw, 180px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 0.9;
    margin: 0 0 60px;
  }
  .contact-big em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--primary-soft);
  }
  .contact-channels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 20px 0 80px;
  }
  .channel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: all .25s;
    overflow: hidden;
  }
  .channel::after {
    content: "→";
    position: absolute;
    top: 24px; right: 24px;
    font-size: 18px;
    color: rgba(255,255,255,0.4);
    transition: all .25s;
  }
  .channel:hover { background: rgba(255,255,255,0.06); border-color: var(--primary-soft); transform: translateY(-3px); }
  .channel:hover::after { color: var(--primary-soft); transform: translate(3px, -3px); }
  .channel .ch-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white;
  }
  .channel .ch-icon svg { width: 22px; height: 22px; }
  .channel.linkedin .ch-icon { background: #0A66C2; }
  .channel.upwork .ch-icon { background: #14A800; }
  .channel.whatsapp .ch-icon { background: #25D366; }
  .channel.email .ch-icon { background: var(--primary); }
  .channel .ch-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
  }
  .channel .ch-handle {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.3;
    word-break: break-word;
  }
  .channel .ch-meta {
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .channel .ch-meta::before {
    content: "";
    display: inline-block;
    width: 6px; height: 6px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
  }
  .contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .contact-grid h4 {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin: 0 0 16px;
    font-weight: 500;
  }
  .contact-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
  .contact-grid a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 14px; }
  .contact-grid a:hover { color: var(--primary-soft); }
  .contact-bottom {
    margin-top: 80px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.06em;
  }
  .contact-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .contact-brand img {
    height: 28px;
    width: auto;
    display: block;
  }

  /* ambient flowing data lines */
  .dataflow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.2;
  }

  /* =====================================================
     Automation canvas (n8n-style)
     ===================================================== */
  .auto {
    background: var(--panel);
    padding: 120px 36px;
    position: relative;
    overflow: hidden;
  }
  .auto .header {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 48px;
  }
  .auto h2 { max-width: 16ch; }
  .auto .header p { max-width: 44ch; font-size: 16px; margin: 0; }
  .auto-canvas {
    position: relative;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    height: 620px;
    overflow: hidden;
    min-width: 0;
    background-image:
      radial-gradient(circle, rgba(11,11,16,0.08) 1px, transparent 1px);
    background-size: 22px 22px;
    background-position: 0 0;
  }
  .auto-canvas .canvas-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 44px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 18px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-2);
    z-index: 10;
  }
  .auto-canvas .canvas-bar .tab {
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--primary-wash);
    color: var(--primary-ink);
    border: 1px solid var(--primary-soft);
  }
  .auto-canvas .canvas-bar .running {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #16a34a;
  }
  .auto-canvas .canvas-bar .running::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #16a34a;
    animation: livepulse 1.4s infinite;
  }
  .auto-canvas .canvas-bar .zoom {
    padding: 4px 8px;
    border-radius: 5px;
    background: var(--panel);
    color: var(--muted);
  }

  .auto-canvas svg.wires {
    position: absolute;
    inset: 44px 0 0 0;
    width: 100%;
    height: calc(100% - 44px);
    pointer-events: none;
  }

  .auto-node {
    position: absolute;
    background: white;
    border: 1.5px solid var(--line-2);
    border-radius: 10px;
    padding: 12px 14px;
    min-width: 150px;
    max-width: 190px;
    font-family: var(--sans);
    font-size: 12px;
    box-shadow: 0 6px 18px -10px rgba(0,0,0,0.15);
    transition: all .25s;
    z-index: 5;
  }
  .auto-node.firing {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-wash), 0 10px 30px -10px oklch(0.55 0.24 295 / 0.4);
    transform: translateY(-2px);
  }
  .auto-node .node-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
  }
  .auto-node .node-icon {
    width: 26px; height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
  }
  .auto-node.trigger .node-icon { background: #F59E0B; }
  .auto-node.ai .node-icon { background: var(--primary); }
  .auto-node.action .node-icon { background: #0EA5E9; }
  .auto-node.logic .node-icon { background: #10B981; }
  .auto-node.data .node-icon { background: #6366F1; }
  .auto-node .node-title { font-weight: 600; color: var(--ink); font-size: 13px; }
  .auto-node .node-sub {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.04em;
  }
  .auto-node .node-body {
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--ink-2);
    padding-top: 6px;
    border-top: 1px dashed var(--line);
    margin-top: 6px;
    line-height: 1.5;
  }
  .auto-node .node-body .k { color: var(--muted); }
  .auto-node .node-body .v { color: var(--ink); }
  .auto-node .port {
    position: absolute;
    top: 50%;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--line-2);
    transform: translateY(-50%);
  }
  .auto-node .port.in { left: -6px; }
  .auto-node .port.out { right: -6px; }
  .auto-node.firing .port { border-color: var(--primary); background: var(--primary); }

  .auto-stats {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .auto-stat {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .auto-stat .val {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .auto-stat .val .num { color: var(--primary); }
  .auto-stat .lbl {
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
  }

  @media (max-width: 1100px) {
    .auto-node { min-width: 130px; font-size: 11px; padding: 10px 12px; }
    .auto-node .node-title { font-size: 12px; }
    .auto-node .node-icon { width: 22px; height: 22px; font-size: 11px; }
  }
  @media (max-width: 900px) {
    .auto .header { grid-template-columns: 1fr; gap: 24px; }
    .auto-canvas { height: 560px; overflow-x: auto; overflow-y: hidden; }
    .auto-stats { grid-template-columns: 1fr 1fr; }
  }

  /* =====================================================
     Tweaks panel
     ===================================================== */
  .tweaks {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--ink);
    color: var(--bg);
    border-radius: 14px;
    padding: 16px;
    width: 260px;
    z-index: 200;
    font-family: var(--mono);
    font-size: 11px;
    box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
    display: none;
  }
  .tweaks.on { display: block; }
  .tweaks h4 {
    margin: 0 0 14px;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.6;
    font-weight: 500;
  }
  .tweaks .row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; gap: 10px; }
  .tweaks .row label { opacity: 0.7; }
  .tweaks .swatches { display: flex; gap: 6px; }
  .tweaks .sw {
    width: 20px; height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
  }
  .tweaks .sw.active { border-color: white; }

  @media (max-width: 900px) {
    nav.top { padding: 14px 20px; }
    nav.top .links { display: none; }
    section { padding: 80px 20px; }
    .services-grid { grid-template-columns: 1fr; }
    .services-grid .svc { grid-column: span 1 !important; }
    .process .container, .stack .container, .faq .container, .services .header { grid-template-columns: 1fr; gap: 40px; }
    .cases-grid, .testim-grid { grid-template-columns: 1fr; }
    .case.featured { grid-column: span 1; }
    .cases .header { grid-template-columns: 1fr; }
    .tm.wide { grid-template-columns: 1fr; grid-column: span 1; padding: 28px; gap: 24px; }
    .contact-channels { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .sim-grid { grid-template-columns: 1fr; }
    .sim-canvas { grid-template-columns: 1fr; }
    .node-card { display: none; }
  }
