  :root {
    --bg: #15141a;
    --bg-2: #201a2e;
    --ink: #f1efe9;
    --ink-70: rgba(241,239,233,.72);
    --ink-55: rgba(241,239,233,.55);
    --ink-40: rgba(241,239,233,.40);
    --line: rgba(236,233,226,.10);
    --line-2: rgba(236,233,226,.16);
    --surf: rgba(236,233,226,.04);
    --surf-2: rgba(236,233,226,.07);
    --accent: #7049f6;
    --accent-2: #a78bff;
    --accent-soft: rgba(112,73,246,.14);
    --accent-line: rgba(112,73,246,.34);
    --on-accent: #ffffff;
    --maxw: 1240px;
    --gut: 40px;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { text-decoration: none; color: inherit; }
  h1, h2, h3 { margin: 0; font-weight: 400; }
  ::selection { background: var(--accent); color: var(--bg); }

  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
  #bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .6; }
  header { position: sticky; }
  main, footer { position: relative; z-index: 1; }
  #preloader { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; transition: opacity .6s ease; }
  #preloader.hide { opacity: 0; pointer-events: none; }
  .pre-brand { font-size: 54px; }
  .pre-trace { width: 320px; max-width: 72vw; height: 8px; }
  .display { font-family: 'Space Grotesk', sans-serif; letter-spacing: -.03em; }
  .mono { font-family: 'JetBrains Mono', monospace; }

  /* ---------- section heading ---------- */
  .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 54px; }
  .lane-nav { display: none; gap: 10px; }
  .lane-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surf); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s, background .2s, opacity .2s; }
  .lane-nav button:hover { border-color: var(--accent-line); background: var(--surf-2); }
  .lane-nav button:disabled { opacity: .3; cursor: default; }
  .lane-nav svg { width: 20px; height: 20px; }
  .dir-grid, .prod-grid, .adv-grid { scroll-behavior: smooth; }
  .eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: inline-flex; gap: 12px; align-items: center; }
  .eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
  .sec-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -.03em; margin-top: 18px; max-width: 16ch; }
  .sec-lede { font-size: 17px; line-height: 1.55; color: var(--ink-70); max-width: 42ch; }
  .dir-price-note { font-size: 17px; line-height: 1.55; color: var(--ink-40); max-width: 52ch; margin: 40px 0 0; }

  /* ---------- header ---------- */
  header {
    position: sticky; top: 0; z-index: 50;
    max-width: var(--maxw); margin: 0 auto;
    backdrop-filter: blur(14px);
    background: rgba(21,20,26,.5);
    border: 1px solid transparent;
    border-radius: 0;
    transition: max-width .38s ease, top .38s ease, background .3s, border-color .3s, border-radius .3s, box-shadow .3s;
    z-index: 100;
  }
  header.scrolled { top: 14px; max-width: 1040px; background: rgba(21,20,26,.82); border-color: var(--line-2); border-radius: 16px; box-shadow: 0 14px 44px rgba(0,0,0,.45); }
  header.menu-open { background: rgba(21,20,26,.92); }
  .nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
  .brand { font-family: 'Space Grotesk', sans-serif; font-size: 23px; letter-spacing: -.03em; background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 42%, #ffffff 50%, var(--ink) 58%, var(--ink) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: brand-shimmer 4.5s linear infinite; }
  .brand b { font-weight: 700; background: linear-gradient(100deg, var(--accent) 0%, var(--accent) 42%, #d8c9ff 50%, var(--accent) 58%, var(--accent) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: brand-shimmer 4.5s linear infinite; }
  @keyframes brand-shimmer { 0% { background-position: 200% 0; } 32% { background-position: -100% 0; } 100% { background-position: -100% 0; } }
  @media (prefers-reduced-motion: reduce) { .brand { background: none; -webkit-text-fill-color: var(--ink); color: var(--ink); animation: none; } .brand b { background: none; -webkit-text-fill-color: var(--accent); color: var(--accent); animation: none; } }
  .navlinks { display: flex; gap: 30px; align-items: center; }
  .navlinks a { color: var(--ink-70); font-size: 14.5px; font-weight: 500; transition: color .2s; }
  .navlinks a:hover { color: var(--ink); }
  .nav-cta { background: var(--accent); border: none; color: var(--on-accent); font-size: 14.5px; font-weight: 700; padding: 11px 22px; border-radius: 12px; transition: background .2s, transform .15s; }
  .nav-cta:hover { background: var(--accent-2); transform: translateY(-1px); }
  /* header dropdown (borderless trigger → border on hover, submenu pops) */
  .nav-dd { position: relative; }
  .nav-dd-trigger { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-70); font-size: 14.5px; font-weight: 600; padding: 10px 16px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
  .nav-dd:hover .nav-dd-trigger { color: var(--ink); border-color: var(--line-2); background: var(--surf); }
  .nav-dd-trigger .dd-chev { transition: transform .25s; }
  .nav-dd:hover .nav-dd-trigger .dd-chev { transform: rotate(180deg); }
  .nav-dd-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px; display: flex; flex-direction: column; padding: 8px; background: rgba(30,28,34,.97); backdrop-filter: blur(14px); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 60; }
  .nav-dd::before { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
  .nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-dd-menu a { color: var(--ink-70); font-size: 14.5px; font-weight: 500; padding: 11px 14px; border-radius: 9px; transition: color .18s, background .18s; }
  .nav-dd-menu a:hover { color: var(--ink); background: var(--surf-2); }
  .nav-right { display: flex; align-items: center; gap: 16px; }
  .nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surf); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s, background .2s; }
  .nav-toggle:hover { border-color: var(--accent-line); }
  .nav-toggle .icon-close { display: none; }
  header.menu-open .nav-toggle .icon-menu { display: none; }
  header.menu-open .nav-toggle .icon-close { display: block; }
  #mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: none; flex-direction: column; padding: 104px 26px 40px; overflow-y: auto; }
  body.menu-open #mobile-menu { display: flex; }
  #mobile-menu .m-link { font-family: 'Space Grotesk', sans-serif; font-size: 24px; letter-spacing: -.02em; color: var(--ink); padding: 18px 4px; border-bottom: 1px solid var(--line); }
  #mobile-menu .m-link:hover { color: var(--accent-2); }
  #mobile-menu .nav-cta { margin-top: 28px; text-align: center; padding: 16px; font-size: 16px; }
  .burger { display: none; }

  /* ---------- buttons ---------- */
  .btn-pri { background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 16px; padding: 16px 30px; border-radius: 12px; display: inline-flex; align-items: center; gap: 10px; transition: background .2s, transform .15s; border: none; cursor: pointer; font-family: inherit; }
  .btn-pri:hover { background: var(--accent-2); transform: translateY(-1px); }
  .btn-sec { color: var(--ink); font-weight: 600; font-size: 16px; padding: 15px 22px; display: inline-flex; gap: 9px; align-items: center; border: 1px solid transparent; border-radius: 12px; transition: gap .2s, border-color .2s, background .2s; }
  .btn-sec:hover { gap: 14px; border-color: var(--line-2); background: var(--surf); }

  /* ---------- hero ---------- */
  .hero { position: relative; padding: clamp(70px, 12vh, 140px) 0 75px; background: transparent; overflow: hidden; }
  .hero-glow { position: absolute; top: -180px; right: -120px; width: 620px; height: 620px; background: radial-gradient(circle, rgba(112,73,246,.26), transparent 62%); pointer-events: none; }
  .pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-2); font-size: 13.5px; font-weight: 600; padding: 8px 16px; border-radius: 999px; margin-bottom: 30px; }
  .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,106,43,.6); animation: pulse 2.4s infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(112,73,246,.5);} 70% { box-shadow: 0 0 0 9px rgba(112,73,246,0);} 100% { box-shadow: 0 0 0 0 rgba(112,73,246,0);} }
  .hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(46px, 7.4vw, 92px); line-height: .99; letter-spacing: -.035em; max-width: 15ch; }
  .hero h1 span { color: var(--accent); }
  .hero .sub { margin-top: 30px; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--ink-70); max-width: 50ch; }
  .hero .actions { margin-top: 40px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
  .hero-stats { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
  .hstat { background: var(--bg); padding: 26px 24px; }
  .hstat .n { font-family: 'Space Grotesk', sans-serif; font-size: 38px; color: var(--accent); letter-spacing: -.02em; }
  .hstat .l { font-size: 14px; color: var(--ink-55); margin-top: 8px; line-height: 1.4; }

  /* ---------- directions ---------- */
  .directions { padding: 75px 0; }
  .dir-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
  .dir-card { position: relative; background: var(--surf); border: 1px solid var(--line); border-radius: 18px; padding: 30px; transition: background .25s, border-color .25s, transform .25s; overflow: hidden; transform-style: preserve-3d; will-change: transform; }
  .dir-card:hover { background: var(--surf-2); border-color: var(--accent-line); }
  .dir-card > * { position: relative; z-index: 1; }
  .dir-card .holo-glow { position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease; background: radial-gradient(440px circle at var(--bg-x, 50%) var(--bg-y, 50%), rgba(167,139,255,.20), transparent 58%); }
  .dir-card:hover .holo-glow { opacity: 1; }
  .dir-card .idx { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-40); letter-spacing: .08em; }
  .dir-card .glyph { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--accent-line); display: flex; align-items: center; justify-content: center; margin: 26px 0 22px; color: var(--accent-2); }
  .dir-card .glyph svg { width: 23px; height: 23px; }
  .dir-card h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
  .dir-card p { font-size: 14.5px; line-height: 1.5; color: var(--ink-55); margin: 12px 0 0; }
  /* spans: 7 cards across 12 cols → 3 + 3 + 3 + 3, then 4 + 4 + 4 */
  .dir-card:nth-child(1), .dir-card:nth-child(2), .dir-card:nth-child(3), .dir-card:nth-child(4) { grid-column: span 3; }
  .dir-card:nth-child(5), .dir-card:nth-child(6), .dir-card:nth-child(7) { grid-column: span 4; }

  /* ---------- products ---------- */
  .products { padding: 75px 0; background: transparent; }
  .prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .prod-card { position: relative; display: flex; flex-direction: column; background: var(--surf); border: 1px solid var(--line); border-radius: 20px; padding: 34px; transition: border-color .25s, background .25s; overflow: hidden; transform-style: preserve-3d; will-change: transform; }
  .prod-card:hover { border-color: var(--accent-line); background: var(--surf-2); }
  .prod-card > * { position: relative; z-index: 1; }
  .prod-card .holo-glow { position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease; background: radial-gradient(480px circle at var(--bg-x, 50%) var(--bg-y, 50%), rgba(167,139,255,.18), transparent 58%); }
  .prod-card:hover .holo-glow { opacity: 1; }
  .prod-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
  .prod-logo { display: inline-flex; align-items: center; gap: 11px; }
  .prod-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; }
  .prod-mark svg { width: 20px; height: 20px; }
  .prod-name { font-family: 'Space Grotesk', sans-serif; font-size: 22px; letter-spacing: -.02em; }
  .prod-name em { color: var(--accent); font-style: normal; }
  .prod-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--accent-2); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 5px 10px; border-radius: 999px; letter-spacing: .04em; }
  .prod-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
  .prod-card p { font-size: 15px; line-height: 1.55; color: var(--ink-55); margin: 12px 0 24px; }
  .prod-feats { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 0; }
  .prod-feats li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
  .prod-feats li:first-child { border-top: none; padding-top: 0; }
  .prod-feats .k { font-size: 14.5px; color: var(--ink); font-weight: 500; }
  .prod-feats .v { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--accent-2); white-space: nowrap; }

  /* ---------- services (pinned scroll-stacking) ---------- */
  .services { padding: 75px 0; }
  .serv-head-m { display: none; }
  .serv-scroll { position: relative; height: 380vh; }
  .serv-stage { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; }
  .serv-stage .wrap { width: 100%; }
  .serv-stage .sec-head { margin-bottom: 40px; }
  .serv-stack { position: relative; height: 392px; }
  .serv-card { position: absolute; left: 0; right: 0; top: 0; height: 360px; display: flex; align-items: stretch; background: #1e1c22; border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; transform-origin: top center; will-change: transform; box-shadow: 0 14px 50px rgba(0,0,0,.55); }
  .serv-card:hover { border-color: var(--accent-line); background: #26242e; }
  .serv-head { flex: 0 0 300px; padding: 38px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--accent-soft); }
  .serv-head .big { font-family: 'Space Grotesk', sans-serif; font-size: 76px; line-height: .9; color: var(--accent-2); letter-spacing: -.04em; }
  .serv-head h3 { font-family: 'Space Grotesk', sans-serif; font-size: 30px; letter-spacing: -.02em; margin-top: auto; padding-top: 28px; }
  .serv-body { flex: 1; padding: 38px 40px; display: flex; flex-direction: column; }
  .serv-body .lead { font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.4; }
  .serv-body p { font-size: 15px; line-height: 1.6; color: var(--ink-55); margin: 14px 0 0; max-width: 62ch; }
  .serv-cta { margin-top: 28px; align-self: flex-start; background: var(--accent); border: none; color: var(--on-accent); font-size: 15.5px; font-weight: 700; padding: 14px 26px; border-radius: 12px; display: inline-flex; gap: 9px; align-items: center; transition: background .2s, transform .15s; }
  .serv-cta:hover { background: var(--accent-2); transform: translateY(-1px); }
  .serv-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
  .serv-list li { font-size: 14px; color: var(--ink-70); background: var(--surf-2); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; line-height: 1.3; }
  .serv-list li b { color: var(--ink); font-weight: 600; }

  /* ---------- contact ---------- */
  .contact { padding: 75px 0; }
  .contact-inner { background: radial-gradient(120% 130% at 85% 0%, var(--bg-2), var(--bg)); border: 1px solid var(--line-2); border-radius: 28px; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
  .contact h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -.03em; max-width: 14ch; }
  .contact h2 span { color: var(--accent); }
  .contact-cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
  .contact-cta h2 { max-width: 18ch; }
  .contact-cta .sub { margin-top: 0; max-width: 44ch; }
  .contact-cta .cs-row { margin-top: 10px; gap: 18px; }
  .cs-row a .cs-mail { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background .2s; }
  .cs-row a:hover .cs-mail { background: var(--accent-2); }
  .cs-row a .cs-mail svg { width: 24px; height: 24px; }
  .contact .sub { margin-top: 22px; font-size: 17px; line-height: 1.55; color: var(--ink-70); max-width: 40ch; }
  .contact-socials { margin-top: 28px; }
  .contact-socials .cs-label { font-size: 15px; color: var(--ink-55); margin: 0 0 14px; }
  .cs-row { display: flex; gap: 14px; }
  .cs-row a { display: inline-flex; align-items: center; justify-content: center; padding: 0; border: none; border-radius: 50%; background: none; color: var(--ink-70); transition: transform .15s; }
  .cs-row a:hover { transform: translateY(-2px); }
  .cs-row a .cs-icon { width: 48px; height: 48px; border-radius: 50%; flex: none; object-fit: cover; display: block; }
  .form { display: flex; flex-direction: column; gap: 14px; }
  .field { display: flex; flex-direction: column; gap: 7px; }
  .field label { font-size: 13px; color: var(--ink-55); font-weight: 500; }
  .field input, .field textarea { background: rgba(0,0,0,.22); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; color: var(--ink); font-family: inherit; font-size: 15px; transition: border-color .2s; resize: none; }
  .field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
  .field input::placeholder, .field textarea::placeholder { color: var(--ink-40); }
  .form .btn-pri { justify-content: center; margin-top: 6px; }
  .form-note { font-size: 12.5px; color: var(--ink-40); text-align: center; line-height: 1.5; }

  /* ---------- footer ---------- */
  footer { border-top: 1px solid var(--line); padding: 64px 0 40px; }
  .foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .foot-brand .brand { font-size: 26px; }
  .foot-brand p { font-size: 14.5px; line-height: 1.55; color: var(--ink-55); margin: 18px 0 0; max-width: 32ch; }
  .foot-legal { margin-top: 18px; display: flex; flex-direction: column; gap: 5px; }
  .foot-legal span { font-size: 12.5px; line-height: 1.45; color: var(--ink-40); }
  .foot-legal span:first-child { color: var(--ink-70); font-weight: 600; }
  .foot-col h4 { font-family: 'JetBrains Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-40); margin: 0 0 18px; font-weight: 500; }
  .foot-col a, .foot-col span { display: block; font-size: 14.5px; color: var(--ink-70); margin-bottom: 11px; transition: color .2s; }
  .foot-col a:hover { color: var(--accent-2); }
  .foot-social { display: flex; gap: 12px; margin-top: 4px; }
  .foot-social a { display: inline-flex; margin: 0; }
  .foot-social a img { width: 34px; height: 34px; border-radius: 50%; display: block; object-fit: cover; transition: transform .15s; }
  .foot-social a:hover img { transform: translateY(-2px); }
  .foot-bot { display: flex; align-items: center; justify-content: space-between; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 16px; }
  .foot-bot p { font-size: 13px; color: var(--ink-40); margin: 0; }
  .foot-social { display: flex; gap: 10px; }
  .foot-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--ink-70); transition: border-color .2s, color .2s; }
  .foot-social a:hover { border-color: var(--accent-line); color: var(--accent-2); }
  .foot-social svg { width: 17px; height: 17px; }

  /* ---------- magic scroll reveal (ghost → solid) ---------- */
  .reveal, .mrev { will-change: opacity; }

  /* ---------- scroll parallax (blocks 2 & 3) ---------- */
  .parallax-el { will-change: transform; }

  /* ---------- responsive ---------- */
  @media (max-width: 980px) {
    :root { --gut: 26px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .dir-card:nth-child(n) { grid-column: span 6; }
    .prod-grid { grid-template-columns: 1fr; }
    .serv-scroll { height: auto; }
    .services:not(.mobstack) .serv-stage { position: static; min-height: 0; display: block; }
    .services:not(.mobstack) .serv-stack { position: static; height: auto; display: flex; flex-direction: column; gap: 18px; }
    .services:not(.mobstack) .serv-card { position: static; height: auto; transform: none !important; flex-direction: column; }
    .services.mobstack .serv-scroll { height: 380vh; }
    .services.mobstack .serv-head-m { display: block; padding: 0 var(--gut) 30px; }
    .services.mobstack .serv-head-m .sec-title { margin-top: 14px; }
    .services.mobstack .serv-head-m .sec-lede { margin-top: 16px; }
    .services.mobstack .serv-stage .sec-head { display: none; }
    #services .serv-scroll { height: 400vh; }
    #services .serv-head-m { display: block; padding: 0 var(--gut) 30px; }
    #services .serv-head-m .sec-title { margin-top: 14px; }
    #services .serv-head-m .sec-lede { margin-top: 16px; }
    #services .serv-stage .sec-head { display: none; }
    #services .serv-card { flex-direction: column; height: 380px; }
    #services .serv-stack { height: 420px; }
    #services .serv-head { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 16px; border-right: none; border-bottom: 1px solid var(--line); padding: 20px 26px; }
    #services .serv-head .big { font-size: 40px; line-height: 1; }
    #services .serv-head h3 { margin-top: 0; padding-top: 0; font-size: 26px; }
    #services .serv-body { padding: 22px 26px 24px; overflow: hidden; }
    #services .serv-body .lead { font-size: 16px; }
    #services .serv-body p { font-size: 14px; margin-top: 10px; }
    #services .serv-list { display: none; }
    #services .serv-cta { margin-top: 18px; }
    #tracks .serv-stack { height: 430px; }
    #tracks .serv-card.track-card { height: 390px; padding: 30px 26px; justify-content: flex-start; }
    #tracks .track-card .track-num { font-size: 12px; }
    #tracks .track-card h3 { font-size: 23px; margin: 12px 0 12px; }
    #tracks .track-card p { font-size: 14.5px; }
    #tracks .track-pill--corner { position: static; order: 9; align-self: flex-start; top: auto; right: auto; margin-top: 18px; }
    .contact-inner { grid-template-columns: 1fr; gap: 36px; }
    .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  }
  @media (max-width: 860px) {
    .nav-right { display: none; }
    .nav-toggle { display: inline-flex; }
    .hero .sub, .serv-body p { white-space: normal !important; }
  }
  @media (min-width: 861px) {
    #mobile-menu { display: none !important; }
  }
  @media (max-width: 640px) {
    /* horizontal swipeable card rows on mobile */
    .dir-grid { display: flex; grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); scrollbar-width: none; }
    .dir-grid::-webkit-scrollbar { display: none; }
    .dir-card:nth-child(n) { grid-column: auto; flex: 0 0 78%; scroll-snap-align: start; }
    .prod-grid { display: flex; grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); scrollbar-width: none; }
    .prod-grid::-webkit-scrollbar { display: none; }
    .prod-card { flex: 0 0 92%; scroll-snap-align: start; }
    .lane-nav { display: none; }
    .sec-head { margin-bottom: 28px; }
    .hero .actions { width: 100%; flex-direction: column; align-items: stretch; gap: 12px; }
    .hero .actions > a { width: 100%; justify-content: center; }
  }
  @media (max-width: 560px) {
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .foot-top { grid-template-columns: 1fr; }
  }
