/* Jump Start Engineering — shared site styles (Night Shift theme + components).
   Extracted from the former single-page inline <style>. Linked by every page AFTER styles.css
   (which @imports the tokens). Keep cascade order: styles.css -> site.css. */
  /* ============================================================
     NIGHT SHIFT — dark cinematic industrial theme.
     Raw brand ramp comes from tokens/; this block remaps the
     semantic layer to a dark ground and adds the atmosphere,
     motion, and glow layers on top.
     ============================================================ */
  :root {
    /* Accent override: blueprint cyan replaces the token ignition orange
       (client call 2026-07 — no red on the site). */
    --ignition:        #35c2ff;
    --ignition-ink:    #0b628f;

    --void:            #070706;               /* deepest ground */
    --bg:              var(--void);
    --surface:         #0d0d0b;               /* section panels */
    --surface-raised:  #131311;               /* cards */
    --surface-sunken:  #0a0a09;
    --surface-glass:   rgba(19, 19, 17, 0.72);

    --text:            var(--paper);
    --text-muted:      var(--neutral-300);
    --text-subtle:     var(--neutral-400);
    --text-faint:      var(--neutral-500);
    --text-inverse:    var(--ink);

    --border:          rgba(246, 244, 239, 0.10);
    --border-strong:   rgba(246, 244, 239, 0.22);
    --hairline:        rgba(246, 244, 239, 0.08);

    --glow-ignition:   0 0 22px rgba(53, 194, 255,0.40), 0 0 60px rgba(53, 194, 255,0.18);
    --focus-ring:      rgba(53, 194, 255,0.55);

    --text-hero:  clamp(58px, 9.6vw, 150px);
    --text-mega:  clamp(120px, 22vw, 340px);

    --ease-out:   cubic-bezier(0.2, 0.65, 0.15, 1);
    --ease-slow:  cubic-bezier(0.16, 1, 0.3, 1);
  }

  * { box-sizing: border-box; }
  @media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
  html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); }
  a { color: inherit; text-decoration: none; }
  img { display: block; }
  ::selection { background: var(--ignition); color: var(--void); }
  :focus-visible { outline: 2px solid var(--ignition); outline-offset: 3px; }
  .container { max-width: var(--container-max); margin: 0 auto; padding: 0 40px; }
  .route[hidden] { display: none; }

  /* ---- atmosphere: film grain + faint drafting grid ---- */
  body::before {
    content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image:
      linear-gradient(rgba(246,244,239,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(246,244,239,0.025) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 30%, transparent 78%);
  }
  .grain {
    position: fixed; inset: -80px; z-index: 60; pointer-events: none; opacity: 0.055;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
  }

  /* ---- ember scroll-progress line ---- */
  .ember { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90; pointer-events: none; }
  .ember span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ignition-ink), var(--ignition)); box-shadow: 0 0 12px rgba(53,194,255,0.7); }

  /* ---- crosshair cursor follower (fine pointers only) ---- */
  .cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; opacity: 0; }
  .cursor .ring { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border: 1px solid rgba(246,244,239,0.45); border-radius: 50%; transition: transform .25s var(--ease-out), border-color .25s ease, opacity .2s ease; }
  .cursor .dot { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--ignition); box-shadow: 0 0 8px rgba(53,194,255,0.9); }
  .cursor.hot .ring { transform: scale(1.7); border-color: var(--ignition); }
  body.has-cursor .cursor { opacity: 1; }

  /* ---- type utilities ---- */
  .eyebrow { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-subtle); }
  .eyebrow--hot { color: var(--ignition); }
  .display { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.02; margin: 0; }
  .lede { font-family: var(--font-display); color: var(--text-muted); line-height: 1.55; }
  .ghost { -webkit-text-stroke: 1px rgba(246,244,239,0.22); color: transparent; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

  /* ---- corner ticks (technical drawing frame) ---- */
  .ticked { position: relative; }
  .ticked::before, .ticked::after {
    content: "+"; position: absolute; font-family: var(--font-mono); font-size: 13px;
    color: rgba(246,244,239,0.28); line-height: 1; pointer-events: none;
  }
  .ticked::before { top: 10px; left: 12px; }
  .ticked::after  { bottom: 10px; right: 12px; }

  /* ---- Button ---- */
  .btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; border-radius: var(--radius-sm); cursor: pointer; border: 1px solid var(--border-strong); background: transparent; color: var(--text); padding: 11px 22px; font-size: var(--text-sm); transition: transform .12s ease, background .2s ease, border-color .2s ease, box-shadow .25s ease, color .2s ease; }
  .btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(246,244,239,0.16), transparent); transform: skewX(-18deg); transition: left .45s var(--ease-out); }
  .btn:hover::after { left: 120%; }
  .btn:hover { border-color: rgba(246,244,239,0.5); background: rgba(246,244,239,0.04); }
  .btn:active { transform: translateY(1px); }
  .btn--ignition { background: var(--ignition); border-color: var(--ignition); color: var(--void); font-weight: 700; }
  .btn--ignition:hover { background: #5ecfff; border-color: #5ecfff; box-shadow: var(--glow-ignition); }
  .btn--secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
  .btn--ghost { background: transparent; color: var(--text-muted); border-color: transparent; }
  .btn--ghost:hover { color: var(--text); background: rgba(246,244,239,0.05); border-color: transparent; }
  .btn--sm { padding: 8px 15px; font-size: var(--text-xs); }
  .btn--lg { padding: 15px 30px; font-size: var(--text-md); }

  /* ---- Card ---- */
  .card { background: var(--surface-raised); color: var(--text); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 24px; transition: border-color .3s ease, transform .3s var(--ease-out), box-shadow .3s ease; }
  .card--glass { background: var(--surface-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .card--hover:hover { border-color: rgba(53,194,255,0.45); transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,0.5), 0 0 0 1px rgba(53,194,255,0.12); }

  /* ---- Badge ---- */
  .badge { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: var(--text-2xs); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--radius-xs); background: rgba(246,244,239,0.07); color: var(--text-muted); border: 1px solid var(--hairline); }
  .badge--solid { background: var(--paper); color: var(--void); border-color: var(--paper); }
  .badge--ignition { background: rgba(53,194,255,0.14); color: #7fd8ff; border-color: rgba(53,194,255,0.35); }
  .badge--ignition.badge--solid { background: var(--ignition); color: var(--void); border-color: var(--ignition); }
  .badge--success { background: rgba(47,107,79,0.18); color: #7fbf9e; border-color: rgba(47,107,79,0.4); }
  .badge--success.badge--solid { background: var(--success); color: #eaf5ef; border-color: var(--success); }

  /* ---- SpecRow (datasheet texture) ---- */
  .spec { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--border); }
  .spec__k { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-subtle); white-space: nowrap; }
  .spec__lead { flex: 1; border-bottom: 1px dotted rgba(246,244,239,0.18); transform: translateY(-3px); }
  .spec__v { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); letter-spacing: 0.01em; color: var(--text); text-align: right; white-space: nowrap; }
  .spec__v--code { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.04em; }
  .spec__u { color: var(--text-faint); font-family: var(--font-mono); font-size: var(--text-xs); margin-left: 5px; }

  /* pulsing "live" status dot */
  .live { display: inline-flex; align-items: center; gap: 8px; }
  .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ignition); box-shadow: 0 0 10px rgba(53,194,255,0.9); }

  /* ---- Form ---- */
  .field { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-display); }
  .field > label, .form-label { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-subtle); }
  .field input, .field textarea, textarea#f-brief { font-family: var(--font-display); font-size: var(--text-sm); color: var(--text); background: #0e0e0c; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 11px 13px; outline: none; width: 100%; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
  .field input::placeholder, textarea::placeholder { color: var(--neutral-600); }
  .field input.mono { font-family: var(--font-mono); }
  .field input:focus, .field textarea:focus, textarea#f-brief:focus { border-color: var(--ignition); box-shadow: 0 0 0 3px rgba(53,194,255,0.22), 0 0 18px rgba(53,194,255,0.12); background: #101010; }
  .field .hint { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--text-faint); letter-spacing: 0.04em; }

  /* ---- Switch ---- */
  .switch { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: var(--text-sm); color: var(--text-muted); cursor: pointer; }
  .switch input { position: absolute; opacity: 0; width: 0; height: 0; }
  .switch .track { position: relative; width: 40px; height: 22px; flex: none; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); background: #0e0e0c; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
  .switch .knob { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: var(--radius-pill); background: var(--neutral-500); transition: left .2s var(--ease-out), background .2s ease; }
  .switch input:checked + .track { background: rgba(53,194,255,0.2); border-color: var(--ignition); box-shadow: 0 0 12px rgba(53,194,255,0.25); }
  .switch input:checked + .track .knob { left: 20px; background: var(--ignition); }
  .switch input:focus-visible + .track { outline: 2px solid var(--ignition); outline-offset: 2px; }

  /* ---- Tabs ---- */
  .tabs { display: inline-flex; border-bottom: 1px solid var(--border); font-family: var(--font-display); }
  .tab { appearance: none; background: transparent; border: none; padding: 11px 18px; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); cursor: pointer; margin-bottom: -1px; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
  .tab:hover { color: var(--text-muted); }
  .tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--ignition); }

  /* ---- Logo ---- */
  .logo { display: inline-flex; align-items: center; gap: 13px; cursor: pointer; }
  .logo .divider { width: 1px; align-self: stretch; background: var(--paper); opacity: 0.2; }
  .logo .wm { line-height: 1; font-family: var(--font-display); color: var(--text); }
  .logo .wm .p { display: block; font-weight: 700; font-size: 15px; letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }
  .logo .wm .s { display: block; font-weight: 500; font-size: 8px; letter-spacing: 0.3em; text-transform: uppercase; margin-top: 5px; white-space: nowrap; color: var(--text-subtle); }

  /* ---- Header ---- */
  .site-header { position: sticky; top: 0; z-index: 80; background: rgba(7,7,6,0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hairline); transition: background .3s ease, border-color .3s ease; }
  .site-header.scrolled { background: rgba(7,7,6,0.86); border-bottom-color: var(--border); }
  .utility { border-bottom: 1px solid var(--hairline); color: var(--text-faint); font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.2em; text-transform: uppercase; }
  .utility .container { display: flex; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; }
  .nav { display: flex; align-items: center; justify-content: space-between; padding-top: 15px; padding-bottom: 15px; }
  .nav-links { display: flex; align-items: center; gap: 4px; }
  .nav-link { position: relative; background: transparent; border: none; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-subtle); padding: 8px 14px; transition: color .2s ease; }
  .nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1px; background: var(--ignition); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
  .nav-link:hover { color: var(--text); }
  .nav-link:hover::after { transform: scaleX(1); }
  .nav-link.active { color: var(--text); }
  .nav-link.active::after { transform: scaleX(1); box-shadow: 0 0 8px rgba(53,194,255,0.8); }

  /* ---- Sections / layout ---- */
  main { position: relative; z-index: 1; }
  section.route > div { border-bottom: 1px solid var(--hairline); }
  section.route > div:last-child { border-bottom: 0; }
  .sunken { background: var(--surface-sunken); }
  .panel { background: var(--surface); }

  /* ============ HERO ============ */
  .hero { position: relative; overflow: hidden; }
  .hero-atmo { position: absolute; inset: 0; pointer-events: none; }
  .hero-atmo .glow-a { position: absolute; top: -220px; right: -160px; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(53,194,255,0.17), transparent 70%); filter: blur(10px); }
  .hero-atmo .glow-b { position: absolute; bottom: -320px; left: -240px; width: 800px; height: 800px; background: radial-gradient(closest-side, rgba(53,194,255,0.07), transparent 70%); }
  .hero-atmo .tnut { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(246,244,239,0.06) 1.2px, transparent 1.6px); background-size: 34px 34px; mask-image: radial-gradient(ellipse 70% 80% at 78% 40%, #000 20%, transparent 72%); }
  .hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; padding: 96px 0 84px; }
  .hero-copy h1 { font-size: var(--text-hero); line-height: 0.94; margin: 26px 0 0; }
  .hero-copy h1 .l2 { display: block; color: var(--ignition); text-shadow: 0 0 34px rgba(53,194,255,0.35); }
  .hero-lede { font-size: var(--text-lg); max-width: 46ch; margin-top: 26px; }
  .hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
  .hero-meta { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); }
  .hero-meta b { color: var(--text-subtle); font-weight: 500; }

  .hero-fig { position: relative; }
  .hero-fig svg { width: 100%; height: auto; display: block; }
  .wall-note { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; fill: var(--neutral-500); }
  .hero-sheet { margin-top: 6px; position: relative; z-index: 2; }
  .datasheet-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
  .datasheet-head .t { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); text-transform: uppercase; letter-spacing: 0.02em; }

  /* hero load sequence */
  @media (prefers-reduced-motion: no-preference) {
    .hr { opacity: 0; transform: translateY(28px); animation: rise .9s var(--ease-slow) forwards; }
    .hr-1 { animation-delay: .08s } .hr-2 { animation-delay: .18s } .hr-3 { animation-delay: .3s }
    .hr-4 { animation-delay: .42s } .hr-5 { animation-delay: .54s } .hr-6 { animation-delay: .5s }
    @keyframes rise { to { opacity: 1; transform: none; } }
    .route-line { stroke-dasharray: 100; stroke-dashoffset: 100; animation: drawline 1.5s var(--ease-slow) forwards; animation-delay: var(--d, 2.1s); }
    @keyframes drawline { to { stroke-dashoffset: 0; } }
    /* wall assembly sequence (empty site → built wall, ref: client reel) */
    .asm { opacity: 0; animation: asmin .55s var(--ease-slow) forwards; animation-delay: var(--d, 0s); }
    .asm-fade { opacity: 0; animation: fadein .6s ease forwards; animation-delay: var(--d, 0s); }
    .asm-pop, .hold-pop { opacity: 0; transform-box: fill-box; transform-origin: center; animation: popin .38s cubic-bezier(.3,1.6,.4,1) forwards; animation-delay: var(--d, 0s); }
    .face-draw { stroke-dasharray: 100; stroke-dashoffset: 100; animation: drawline 1s var(--ease-slow) forwards; animation-delay: var(--d, 1.4s); }
    @keyframes asmin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
    @keyframes fadein { to { opacity: 1; } }
    @keyframes popin { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
    .glow-a { animation: drift 16s ease-in-out infinite alternate; }
    @keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(-70px, 50px) scale(1.08); } }
    .live i { animation: pulse 1.8s ease-in-out infinite; }
    @keyframes pulse { 0%,100% { opacity: 1; transform: scale(1) } 50% { opacity: .45; transform: scale(.8) } }
    section.route { animation: routein .5s var(--ease-out); }
    @keyframes routein { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
  }

  /* ---- scroll reveals ---- */
  [data-reveal] { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: no-preference) {
    body.io [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .85s var(--ease-slow), transform .85s var(--ease-slow); transition-delay: var(--rv, 0s); }
    body.io [data-reveal].in { opacity: 1; transform: none; }
  }

  /* ---- ticker marquee ---- */
  .ticker { overflow: hidden; border-bottom: 1px solid var(--hairline); background: var(--surface-sunken); }
  .ticker__track { display: flex; width: max-content; padding: 13px 0; }
  .ticker__seq { display: flex; align-items: center; flex: none; }
  .ticker span { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-faint); padding: 0 30px; white-space: nowrap; }
  .ticker em { font-style: normal; color: var(--ignition); }
  @media (prefers-reduced-motion: no-preference) {
    .ticker__track { animation: tick 30s linear infinite; }
    @keyframes tick { to { transform: translateX(-50%); } }
  }

  /* ---- stats ---- */
  .stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--hairline); border-top: 0; }
  .stat { background: var(--bg); padding: 34px 30px; }
  .stat .v { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); letter-spacing: -0.01em; }
  .stat .eyebrow { margin-top: 10px; }

  /* ---- section frame ---- */
  .section-pad { padding: 96px 0; position: relative; }
  .section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; gap: 24px; position: relative; }
  .section-head h2 { font-size: var(--text-3xl); letter-spacing: -0.005em; margin: 12px 0 0; }
  .section-index { position: absolute; top: -58px; right: -8px; font-family: var(--font-display); font-weight: 700; font-size: clamp(90px, 12vw, 170px); line-height: 1; -webkit-text-stroke: 1px rgba(246,244,239,0.13); color: transparent; pointer-events: none; user-select: none; }

  /* ---- capabilities grid (home) ---- */
  .caps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
  .cap { position: relative; background: var(--surface); padding: 28px 26px 30px; min-height: 220px; overflow: hidden; transition: background .3s ease; }
  .cap::after { content: "→"; position: absolute; right: 22px; bottom: 18px; font-family: var(--font-mono); color: var(--ignition); opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .3s var(--ease-out); }
  .cap:hover { background: #141412; }
  .cap:hover::after { opacity: 1; transform: none; }
  .cap .n { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--ignition); letter-spacing: 0.1em; margin-bottom: 20px; transition: text-shadow .3s ease; }
  .cap:hover .n { text-shadow: 0 0 14px rgba(53,194,255,0.8); }
  .cap h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); text-transform: uppercase; letter-spacing: 0.01em; margin: 0 0 10px; }
  .cap p { font-family: var(--font-display); font-size: var(--text-sm); line-height: 1.55; color: var(--text-muted); margin: 0; }

  /* ---- featured band ---- */
  .featured-wrap { position: relative; overflow: hidden; }
  .featured-mega { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-display); font-weight: 700; font-size: var(--text-mega); letter-spacing: -0.02em; -webkit-text-stroke: 1px rgba(246,244,239,0.07); color: transparent; pointer-events: none; user-select: none; white-space: nowrap; }
  .featured-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 96px 0; }
  .featured-grid h2 { font-size: var(--text-3xl); letter-spacing: -0.005em; margin: 0 0 14px; }
  .badge-row { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }

  /* ---- CTA band ---- */
  .cta-wrap { position: relative; overflow: hidden; background: var(--surface-sunken); }
  .cta-wrap::before { content: ""; position: absolute; top: -300px; right: 8%; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(53,194,255,0.14), transparent 70%); pointer-events: none; }
  .cta-band { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 96px 0; flex-wrap: wrap; }
  .cta-band h2 { font-size: var(--text-4xl); letter-spacing: -0.01em; margin: 14px 0 0; max-width: 16ch; }

  /* ---- capabilities page ---- */
  .page-head { padding: 84px 0 64px; position: relative; overflow: hidden; }
  .page-head .section-index { top: -20px; right: 0; }
  .page-h1 { font-size: var(--text-4xl); }
  .cap-list { display: flex; flex-direction: column; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
  .cap-row { background: var(--surface); padding: 40px 34px; display: grid; grid-template-columns: 110px 1.4fr 1fr; gap: 32px; align-items: center; transition: background .3s ease; }
  .cap-row:hover { background: #141412; }
  .cap-row .n { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); letter-spacing: 0.02em; -webkit-text-stroke: 1px rgba(53,194,255,0.75); color: transparent; transition: color .3s ease, text-shadow .3s ease; }
  .cap-row:hover .n { color: var(--ignition); text-shadow: 0 0 22px rgba(53,194,255,0.5); }
  .cap-row h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); text-transform: uppercase; letter-spacing: 0.01em; margin: 0 0 8px; }
  .cap-row p { font-family: var(--font-display); font-size: var(--text-md); line-height: 1.6; color: var(--text-muted); margin: 0; max-width: 46ch; }
  .tag-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

  /* ---- project page ---- */
  .project-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; padding: 48px 0 96px; }
  .case-lead { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.6; color: var(--text); margin: 0 0 18px; }
  .case-body { font-family: var(--font-display); font-size: var(--text-md); line-height: 1.7; color: var(--text-muted); margin: 0 0 18px; }
  .bullets { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; }
  .bullets li { display: flex; gap: 12px; align-items: baseline; font-family: var(--font-display); font-size: var(--text-md); color: var(--text); }
  .bullets .dash { color: var(--ignition); font-family: var(--font-mono); font-size: var(--text-sm); }
  .dl-row { display: flex; justify-content: space-between; align-items: center; background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 16px 20px; transition: border-color .25s ease; }
  .dl-row:hover { border-color: var(--border-strong); }
  .dl-row .nm { font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); }
  .sidebar { position: sticky; top: 130px; }

  /* ---- contact page ---- */
  .contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; padding: 84px 0 110px; }
  .contact-grid h2 { font-size: var(--text-4xl); margin: 14px 0 0; }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

  /* ---- footer ---- */
  .site-footer { position: relative; z-index: 1; background: #050504; color: var(--text); border-top: 1px solid var(--hairline); overflow: hidden; }
  .site-footer .wm-mega { position: absolute; right: -60px; bottom: -90px; opacity: 0.05; pointer-events: none; }
  .footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 72px 0 44px; }
  .footer-logo .wm { font-family: var(--font-display); color: var(--paper); text-align: center; line-height: 1; }
  .footer-logo .wm .p { font-weight: 700; font-size: 22px; letter-spacing: 0.03em; text-transform: uppercase; }
  .footer-logo .wm .s { font-weight: 500; font-size: 7px; letter-spacing: 0.34em; text-transform: uppercase; margin-top: 8px; }
  .footer-logo .stack { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
  .footer-tag { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-top: 24px; line-height: 1.9; }
  .footer-col .h { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; }
  .footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
  .footer-col a { font-family: var(--font-display); font-size: var(--text-sm); color: var(--text-muted); cursor: pointer; transition: color .2s ease; }
  .footer-col a:hover { color: var(--ignition); }
  .footer-bottom { position: relative; border-top: 1px solid var(--hairline); }
  .footer-bottom .container { display: flex; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); }

  /* ---- responsive ---- */
  @media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr; gap: 30px; padding: 72px 0 64px; }
    .hero-fig { max-width: 560px; }
    .hero-sheet { margin-top: 0; }
  }
  @media (max-width: 880px) {
    .container { padding-left: 26px; padding-right: 26px; }
    .featured-grid, .project-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
    .stats { grid-template-columns: repeat(2,1fr); }
    .caps-grid { grid-template-columns: repeat(2,1fr); }
    .cap-row { grid-template-columns: 1fr; gap: 14px; }
    .tag-row { justify-content: flex-start; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .sidebar { position: static; }
    .nav-links { gap: 0; }
    .nav-link { padding: 8px 9px; font-size: var(--text-xs); }
    .utility .container span:last-child { display: none; }
    .section-index { display: none; }
    .featured-mega { display: none; }
    .section-pad { padding: 64px 0; }
  }
  @media (max-width: 520px) {
    .stats, .caps-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero-copy h1 { font-size: clamp(52px, 15vw, 76px); }
    .page-h1 { font-size: var(--text-3xl); }
    .cta-band h2 { font-size: var(--text-3xl); }
    .section-head h2, .featured-grid h2 { font-size: var(--text-2xl); }
    .stat .v { font-size: var(--text-lg); }
    .spec__v { white-space: normal; }
    .display { overflow-wrap: break-word; }
  }

  /* ---- mobile nav (hamburger) ---- */
  .nav-toggle { display: none; }
  @media (max-width: 760px) {
    .nav { flex-wrap: wrap; }
    .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 38px; padding: 0 10px; cursor: pointer; background: transparent; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); }
    .nav-toggle span { display: block; width: 100%; height: 2px; background: var(--paper); transition: transform .2s ease, opacity .2s ease; }
    .nav-links { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 4px; }
    .site-header.nav-open .nav-links { display: flex; }
    .nav-links .nav-link { width: 100%; text-align: left; padding: 13px 4px; font-size: var(--text-sm); border-bottom: 1px solid var(--hairline); }
    .nav-links .nav-link::after { display: none; }
    .nav-links > span { margin-left: 0 !important; padding-top: 12px; }
    .nav-links > span .btn { width: 100%; }
    .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  }
