
  /* base reset */
  html { -webkit-text-size-adjust: 100%; }
  img, svg, video { max-width: 100%; height: auto; }
  [hidden] { display: none !important; }
  :focus-visible { outline: 2px solid #e8402a; outline-offset: 2px; }


  /* Swiss / architectural system: visible grid of hairline rules, oversized Archivo headings, generous
     whitespace, a single signal-red accent, mono index numbers. Hash-router SPA with scroll-reveal motion. */
  :root {
    --bg: #fbfbf9; --surface: #ffffff; --panel: #f2f2ee; --panel-2: #eae9e3;
    --fg: #16181c; --muted: #595d66; --faint: #9a9ea6;
    --line: #1618201a; --line-strong: #16182036; --rule: #16181c;
    --accent: #e8402a; --accent-ink: #c22e1a; --ok: #1c7d50;
    --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --rail: 1240px; --rail-read: 820px;
    --gut: max(24px, env(safe-area-inset-left, 0px));
    --gutR: max(24px, env(safe-area-inset-right, 0px));
    --ease: cubic-bezier(.16,.84,.32,1);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; margin: 0; overflow-x: hidden; }
  .rail { max-width: var(--rail); margin-inline: auto; padding-left: var(--gut); padding-right: var(--gutR); }
  .rail.read { max-width: var(--rail-read); }
  a { color: inherit; text-decoration: none; }
  h1,h2,h3,h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.0; text-wrap: balance; }
  p { margin: 0; }
  button { font-family: inherit; }
  ::selection { background: var(--accent); color: #fff; }
  .mono { font-family: var(--font-mono); }

  /* header */
  body::before { content:""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top,0px); z-index: 90; background: var(--surface); }
  header.site { position: sticky; top: env(safe-area-inset-top,0px); z-index: 80; background: var(--surface); border-bottom: 1px solid var(--rule); }
  .site-inner { display: flex; align-items: stretch; justify-content: space-between; min-height: 60px; }
  .brand { display: flex; align-items: center; gap: 11px; cursor: pointer; padding-right: 22px; border-right: 1px solid var(--line); }
  .brand .mk { width: 28px; height: 28px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1rem; transition: transform .4s var(--ease); }
  .brand:hover .mk { transform: rotate(-8deg) scale(1.05); }
  .brand b { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; letter-spacing: -0.03em; }
  .brand s { font-family: var(--font-mono); text-decoration: none; color: var(--faint); font-size: .62rem; letter-spacing: .18em; }
  nav.main { display: flex; align-items: stretch; }
  .links { display: flex; align-items: stretch; }
  .navlink { position: relative; display: inline-flex; align-items: center; color: var(--muted); font-size: .8rem; font-weight: 500; letter-spacing: .02em; padding: 0 16px; cursor: pointer; background: none; border: none; border-left: 1px solid var(--line); text-transform: uppercase; transition: color .2s, background .2s; }
  .navlink:hover { color: var(--fg); background: var(--panel); }
  .navlink.on { color: var(--fg); }
  .navlink.on::after { content:""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
  .has-sub { position: relative; display: flex; }
  .submenu { position: absolute; top: 100%; left: 0; min-width: 300px; background: var(--surface); border: 1px solid var(--rule); box-shadow: 0 24px 50px #0000002a; display: flex; flex-direction: column; z-index: 95; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
  .submenu button { text-align: left; background: none; border: none; border-bottom: 1px solid var(--line); cursor: pointer; padding: 13px 16px; color: var(--fg); font-size: .85rem; font-weight: 600; display: flex; flex-direction: column; gap: 3px; font-family: inherit; transition: background .15s, padding-left .2s; }
  .submenu button:last-child { border-bottom: none; }
  .submenu button s { text-decoration: none; font-size: .72rem; color: var(--faint); font-weight: 400; font-family: var(--font-mono); }
  .submenu button:hover { background: var(--panel); color: var(--accent); padding-left: 20px; }
  .cta-top { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .02em; padding: 0 22px; border: none; cursor: pointer; text-transform: uppercase; transition: background .2s; }
  .cta-top:hover { background: var(--accent-ink); }
  .menu-toggle { display: none; background: none; border: none; border-left: 1px solid var(--line); padding: 0 18px; cursor: pointer; color: var(--fg); }
  @media (max-width: 1040px) {
    .links { display: none; }
    .links.open { display: flex; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--rule); z-index: 95; max-height: 80vh; overflow-y: auto; }
    .links.open .navlink { border-left: none; border-bottom: 1px solid var(--line); padding: 14px var(--gut); justify-content: flex-start; }
    .links.open .submenu { position: static; opacity: 1; visibility: visible; transform: none; border: none; box-shadow: none; background: var(--panel); }
    .menu-toggle { display: inline-grid; place-items: center; }
    header .site-inner { position: relative; }
    .cta-top { padding: 0 16px; font-size: .72rem; }
  }

  /* buttons */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: .82rem; letter-spacing: .03em; text-transform: uppercase; padding: 14px 24px; border: 1px solid var(--rule); cursor: pointer; background: none; color: var(--fg); transition: background .2s var(--ease), color .2s, transform .15s; font-family: inherit; }
  .btn:hover { background: var(--fg); color: var(--bg); }
  .btn:active { transform: translateY(1px); }
  .btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
  .btn-accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
  .btn .arr { font-family: var(--font-mono); transition: transform .2s; }
  .btn:hover .arr { transform: translateX(4px); }

  /* section helpers */
  .section { border-bottom: 1px solid var(--rule); }
  .pad { padding-block: clamp(46px, 7vw, 100px); }
  .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .eyebrow::before { content:""; width: 26px; height: 1px; background: var(--accent); display: inline-block; }
  .dotlive { width: 7px; height: 7px; background: var(--ok); border-radius: 50%; display: inline-block; animation: blink 2.6s infinite; }
  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:.35} }
  @media (prefers-reduced-motion: reduce){ .dotlive{animation:none} html{scroll-behavior:auto} }
  .sec-head { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 72ch; }
  .sec-head h2 { font-size: clamp(2rem, 5.5vw, 3.6rem); letter-spacing: -0.035em; }
  .sec-head p { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
  .idx { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; color: var(--faint); }
  .crumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: .76rem; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 26px; }
  .crumb button { background: none; border: none; color: var(--accent); cursor: pointer; font: inherit; padding: 0; text-transform: uppercase; }
  .crumb .sep { opacity: .5; }

  /* pages + motion */
  section[data-page] { display: none; }
  section[data-page].active { display: block; }
  /* scroll reveal */
  .r { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .r.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce){ .r{opacity:1; transform:none; transition:none} }

  /* hero */
  .hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; }
  @media (max-width: 920px){ .hero-grid { grid-template-columns: 1fr; } }
  .hero-main { padding: clamp(40px,6vw,88px) clamp(28px,4vw,56px) clamp(40px,5vw,64px) var(--gut); border-right: 1px solid var(--rule); }
  @media (max-width: 920px){ .hero-main { border-right: none; border-bottom: 1px solid var(--rule); padding-right: var(--gutR); } }
  .hero h1 { font-size: clamp(2.8rem, 8.5vw, 6.2rem); letter-spacing: -0.045em; line-height: .93; }
  .hero h1 .rd { color: var(--accent); }
  .hero .lede { margin-top: 28px; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 48ch; line-height: 1.5; }
  .hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--rule); width: fit-content; max-width: 100%; }
  .hero-actions .btn { border: none; border-right: 1px solid var(--rule); }
  .hero-actions .btn:last-child { border-right: none; }
  .hero-side { display: flex; flex-direction: column; padding-right: var(--gutR); }
  @media (max-width:920px){ .hero-side{ padding-left: var(--gut);} }
  .hero-stat { padding: clamp(18px,3vw,28px) clamp(20px,3vw,30px); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 4px; }
  @media (max-width:920px){ .hero-stat:last-of-type{border-bottom:none} }
  .hero-stat .k { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
  .hero-stat .v { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem,4vw,2.6rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
  .hero-stat .v.ok { color: var(--ok); }
  .hero-stat .s { font-size: .8rem; color: var(--muted); }
  .hero-note { padding: 14px var(--gutR) 14px clamp(20px,3vw,30px); font-family: var(--font-mono); font-size: .68rem; color: var(--faint); display: flex; gap: 9px; align-items: center; }

  .marquee { border-bottom: 1px solid var(--rule); overflow: hidden; background: var(--panel); }
  .marquee .track { display: flex; gap: 48px; padding: 13px 0; white-space: nowrap; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); animation: slide 38s linear infinite; }
  @keyframes slide { from{transform:translateX(0)} to{transform:translateX(-50%)} }
  @media (prefers-reduced-motion: reduce){ .marquee .track{animation:none} }
  .marquee .track span { display: inline-flex; gap: 10px; align-items: center; }
  .marquee .track span::before { content:"→"; color: var(--accent); }

  /* service index rows */
  .svc-list { border-top: 1px solid var(--rule); }
  .svc-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 24px; align-items: center; padding: clamp(22px,3vw,34px) 0; border-bottom: 1px solid var(--rule); cursor: pointer; transition: padding-left .25s var(--ease), background .18s; position: relative; }
  .svc-row::before { content:""; position:absolute; left:0; top:0; bottom:0; width:0; background: var(--accent); transition: width .25s var(--ease); }
  .svc-row:hover { background: var(--panel); padding-left: 24px; }
  .svc-row:hover::before { width: 3px; }
  .svc-row .no { font-family: var(--font-mono); font-size: .9rem; color: var(--accent); }
  .svc-row .mid h3 { font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: -0.03em; transition: color .2s; }
  .svc-row:hover .mid h3 { color: var(--accent); }
  .svc-row .mid p { color: var(--muted); font-size: .96rem; margin-top: 8px; max-width: 70ch; }
  .svc-row .mid .tags { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
  .chip { font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line-strong); padding: 3px 8px; }
  .svc-row .go { font-family: var(--font-mono); font-size: 1.4rem; color: var(--faint); transition: transform .25s var(--ease), color .2s; }
  .svc-row:hover .go { color: var(--accent); transform: translateX(8px); }
  @media (max-width: 680px){ .svc-row{ grid-template-columns: 46px 1fr; } .svc-row .go{ display:none; } }

  /* grids */
  .cols { display: grid; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
  .cols.c3 { grid-template-columns: repeat(3,1fr); }
  .cols.c4 { grid-template-columns: repeat(4,1fr); }
  .cols.c2 { grid-template-columns: repeat(2,1fr); }
  @media (max-width: 920px){ .cols.c4{grid-template-columns:repeat(2,1fr)} }
  @media (max-width: 680px){ .cols.c3,.cols.c4,.cols.c2{grid-template-columns:1fr} }
  .cell { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(24px,3vw,34px); display: flex; flex-direction: column; gap: 12px; background: var(--surface); transition: background .18s; }
  .cell.link { cursor: pointer; }
  .cell.link:hover { background: var(--panel); }
  .cell .no { font-family: var(--font-mono); font-size: .72rem; color: var(--faint); letter-spacing: .1em; }
  .cell h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
  .cell h3.sm { font-size: 1.08rem; }
  .cell p { color: var(--muted); font-size: .93rem; }
  .cell .go { margin-top: auto; font-family: var(--font-mono); font-size: .78rem; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; transition: padding-left .2s; }
  .cell.link:hover .go { padding-left: 4px; }

  ul.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
  ul.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; }
  ul.ticks li svg { flex: none; margin-top: 4px; color: var(--accent); }

  /* split */
  .split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
  @media (max-width: 880px){ .split{grid-template-columns:1fr} }
  .split .l { padding: clamp(34px,5vw,64px) clamp(30px,4vw,56px) clamp(34px,5vw,64px) var(--gut); border-right: 1px solid var(--rule); }
  .split .r { padding: clamp(34px,5vw,64px) var(--gutR) clamp(34px,5vw,64px) clamp(30px,4vw,56px); background: var(--panel); }
  @media (max-width:880px){ .split .l{border-right:none;border-bottom:1px solid var(--rule);padding-right:var(--gutR)} .split .r{padding-left:var(--gut)} }
  .ledger { display: flex; flex-direction: column; border: 1px solid var(--line-strong); }
  .ledger .lrow { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 18px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: .82rem; }
  .ledger .lrow:last-child { border-bottom: none; }
  .ledger .lrow .k { color: var(--muted); }
  .ledger .lrow .v { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); }
  .ledger .lrow .v .d { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

  /* steps */
  .stepcell .n { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--line-strong); line-height: 1; letter-spacing: -0.03em; }
  .stepcell h3 { font-size: 1.1rem; margin-top: 4px; }
  .stepcell p { color: var(--muted); font-size: .93rem; }

  /* detail / prose */
  .lead-para { font-size: clamp(1.2rem,2.5vw,1.6rem); line-height: 1.38; letter-spacing: -0.015em; max-width: 44ch; }
  .prose { max-width: 70ch; }
  .prose > * + * { margin-top: 18px; }
  .prose h2 { font-size: clamp(1.5rem,3.4vw,2.1rem); letter-spacing: -0.028em; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; align-items: baseline; gap: 14px; }
  .prose h2 .hn { font-family: var(--font-mono); font-size: .7rem; color: var(--accent); font-weight: 400; letter-spacing: .1em; flex: none; }
  .prose h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.14rem; letter-spacing: -0.01em; margin-top: 28px; }
  .prose p { color: var(--fg); }
  .prose p.muted { color: var(--muted); }
  .prose ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; }
  .prose ul li { display: flex; gap: 12px; align-items: flex-start; }
  .prose ul li svg { flex: none; margin-top: 4px; color: var(--accent); }
  .link-inline { background: none; border: none; color: var(--accent); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 2px; }
  .tag-soft { display: inline-block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); padding: 4px 10px; }
  .page-h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); letter-spacing: -0.04em; line-height: .96; margin-top: 18px; }

  .callout { border: 1px solid var(--rule); border-left: 3px solid var(--accent); background: var(--surface); padding: 20px 22px; }
  .callout.ok { border-left-color: var(--ok); }
  .callout strong { display: block; margin-bottom: 5px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
  .callout p { color: var(--muted); font-size: .93rem; }

  .pair { display: grid; grid-template-columns: 190px 1fr; gap: 0; border: 1px solid var(--line-strong); }
  .pair > div { display: contents; }
  .pair dt { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
  .pair dd { margin: 0; color: var(--fg); font-size: .95rem; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .pair dt:last-of-type, .pair dd:last-of-type { border-bottom: none; }
  @media (max-width: 620px){ .pair{grid-template-columns:1fr} .pair dt{border-right:none} }

  /* spec table */
  .spec { width: 100%; border-collapse: collapse; font-size: .9rem; border: 1px solid var(--line-strong); }
  .spec th, .spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .spec th { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); font-weight: 400; background: var(--panel); }
  .spec tr:last-child td { border-bottom: none; }
  .spec td.on { color: var(--ok); font-family: var(--font-mono); }
  .spec td.off { color: var(--faint); }
  .spec-wrap { overflow-x: auto; }

  /* mini faq inside pages */
  .mfaq { border-top: 1px solid var(--rule); margin-top: 8px; }
  .mfaq .faq-item { border-bottom: 1px solid var(--line); }
  .mfaq .faq-q { width: 100%; text-align: left; background: none; border: none; font-weight: 600; font-size: 1rem; color: var(--fg); padding: 16px 0; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; align-items: center; font-family: inherit; }
  .mfaq .pm { font-family: var(--font-mono); color: var(--accent); transition: transform .2s; }
  .mfaq .faq-item.open .pm { transform: rotate(45deg); }
  .mfaq .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
  .mfaq .faq-item.open .faq-a { max-height: 300px; }
  .mfaq .faq-a p { color: var(--muted); font-size: .93rem; padding-bottom: 16px; }

  .nextnav { display: flex; border: 1px solid var(--rule); width: fit-content; max-width: 100%; flex-wrap: wrap; margin-top: 36px; }
  .nextnav .btn { border: none; border-right: 1px solid var(--rule); }
  .nextnav .btn:last-child { border-right: none; }

  /* pricing */
  .plans { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
  @media (max-width: 1000px){ .plans{grid-template-columns:repeat(2,1fr)} }
  @media (max-width: 620px){ .plans{grid-template-columns:1fr} }
  .plan { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(26px,2.4vw,36px); display: flex; flex-direction: column; gap: 16px; background: var(--surface); transition: background .18s; }
  .plan:hover { background: var(--panel); }
  .plan.feat { background: var(--panel); position: relative; }
  .plan.feat::before { content:"Most chosen"; position: absolute; top: 0; right: 0; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; }
  .plan .tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .plan .price { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.04em; }
  .plan .price s { text-decoration: none; font-family: var(--font-body); font-size: .74rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
  .plan ul.ticks li { font-size: .88rem; }

  /* faq page */
  .faq-item { border-bottom: 1px solid var(--rule); }
  .faq-q { width: 100%; text-align: left; background: none; border: none; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; color: var(--fg); padding: 22px 0; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
  .faq-q .pm { flex: none; font-family: var(--font-mono); color: var(--accent); font-size: 1.2rem; transition: transform .2s; }
  .faq-item.open .pm { transform: rotate(45deg); }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
  .faq-item.open .faq-a { max-height: 440px; }
  .faq-a p { color: var(--muted); font-size: .96rem; padding-bottom: 22px; max-width: 72ch; }

  /* articles */
  .art-row { display: grid; grid-template-columns: 130px 1fr 30px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--rule); cursor: pointer; transition: padding-left .25s var(--ease), background .18s; }
  .art-row:hover { background: var(--panel); padding-left: 16px; }
  .art-row .meta { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
  .art-row .meta .cat { color: var(--accent); }
  .art-row .meta .rd { color: var(--faint); margin-top: 5px; }
  .art-row h3 { font-size: clamp(1.25rem,2.6vw,1.7rem); letter-spacing: -0.025em; transition: color .2s; }
  .art-row:hover h3 { color: var(--accent); }
  .art-row p { color: var(--muted); font-size: .92rem; margin-top: 7px; max-width: 70ch; }
  .art-row .go { font-family: var(--font-mono); color: var(--faint); text-align: right; transition: transform .25s var(--ease), color .2s; }
  .art-row:hover .go { color: var(--accent); transform: translateX(6px); }
  @media (max-width: 640px){ .art-row{grid-template-columns:1fr; gap:8px} .art-row .meta{display:flex; gap:14px} .art-row .meta .rd{margin-top:0} .art-row .go{display:none} }

  /* CTA */
  .cta-wrap { background: var(--fg); color: var(--bg); padding: clamp(40px,6vw,84px) 0; }
  .cta-wrap h2 { font-size: clamp(2rem,6vw,4.2rem); letter-spacing: -0.04em; max-width: 18ch; }
  .cta-wrap p { color: #bfc2c8; margin-top: 18px; max-width: 48ch; font-size: 1.05rem; }
  .cta-wrap .btn { margin-top: 30px; border-color: var(--bg); color: var(--bg); }
  .cta-wrap .btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

  /* contact */
  .field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
  .field label { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
  .field input, .field textarea, .field select { font-family: inherit; font-size: .98rem; padding: 13px 15px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); width: 100%; border-radius: 0; transition: border-color .15s, box-shadow .15s; }
  .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
  .cline { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
  .cline:first-child { border-top: 1px solid var(--rule); }
  .cline .lab { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
  .cline .val { font-size: 1rem; }
  .copyline { display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; }
  .copyline button { font-family: var(--font-mono); font-size: .72rem; border: 1px solid var(--line-strong); background: none; color: var(--muted); padding: 3px 9px; cursor: pointer; transition: color .15s, border-color .15s; }
  .copyline button:hover { color: var(--accent); border-color: var(--accent); }
  #formNote { font-size: .88rem; margin-top: 8px; min-height: 1.2em; font-family: var(--font-mono); }

  /* footer */
  footer.site { border-top: 2px solid var(--rule); background: var(--surface); }
  .foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); border-bottom: 1px solid var(--rule); }
  @media (max-width: 900px){ .foot-grid{grid-template-columns:1fr 1fr} }
  @media (max-width: 560px){ .foot-grid{grid-template-columns:1fr} }
  .foot-cell { padding: 30px 24px; border-right: 1px solid var(--line); }
  .foot-cell:last-child { border-right: none; }
  .foot-cell h4 { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 16px; font-weight: 400; }
  .foot-cell button { display: block; color: var(--muted); font-size: .9rem; padding: 5px 0; background: none; border: none; cursor: pointer; text-align: left; font-family: inherit; transition: color .15s, padding-left .15s; }
  .foot-cell button:hover { color: var(--accent); padding-left: 4px; }
  .foot-cell .brand { border: none; padding: 0; }
  .foot-cell p { color: var(--muted); font-size: .88rem; margin-top: 14px; max-width: 32ch; }
  .foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; font-family: var(--font-mono); font-size: .72rem; color: var(--faint); }
  .theme-toggle { background: none; border: 1px solid var(--line-strong); color: var(--muted); font-family: var(--font-mono); font-size: .7rem; padding: 6px 10px; cursor: pointer; text-transform: uppercase; letter-spacing: .06em; transition: color .15s, border-color .15s; }
  .theme-toggle:hover { color: var(--accent); border-color: var(--accent); }

  /* team avatars */
  .avatar { width: 64px; height: 64px; flex: none; background: var(--panel-2); border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--faint); background-size: cover; background-position: center; }

  /* case study — dramatic */
  .case-hero { position: relative; border-bottom: 1px solid var(--rule); overflow: hidden; }
  .case-hero .inner { padding-block: clamp(50px,8vw,110px); position: relative; z-index: 2; }
  .case-hero .bgnum { position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-weight: 900; font-size: clamp(16rem,40vw,34rem); line-height: .8; color: var(--line); z-index: 1; pointer-events: none; user-select: none; letter-spacing: -0.06em; }
  .case-kicker { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
  .case-hero h1 { font-size: clamp(2.6rem,8vw,6rem); letter-spacing: -0.045em; line-height: .92; margin-top: 18px; max-width: 16ch; }
  .case-hero .sub { margin-top: 26px; font-size: clamp(1.1rem,2.3vw,1.4rem); color: var(--muted); max-width: 52ch; line-height: 1.45; }
  .case-logo { width: 100%; aspect-ratio: 16/6; border: 1px dashed var(--line-strong); display: grid; place-items: center; background: var(--panel); background-size: cover; background-position: center; margin-top: 34px; }
  .case-logo .wm { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.6rem,4vw,2.6rem); letter-spacing: -0.03em; color: var(--fg); }
  .case-logo .ph { font-family: var(--font-mono); font-size: .7rem; color: var(--faint); margin-top: 6px; letter-spacing: .08em; }

  .chapter { border-top: 1px solid var(--rule); padding-block: clamp(36px,5vw,64px); }
  .chapter .ch-grid { display: grid; grid-template-columns: 140px 1fr; gap: 28px; }
  @media (max-width: 720px){ .chapter .ch-grid{grid-template-columns:1fr; gap:14px} }
  .chapter .ch-no { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
  .chapter .ch-no .big { display: block; font-family: var(--font-display); font-weight: 900; font-size: 3rem; color: var(--line-strong); line-height: 1; margin-top: 6px; letter-spacing: -0.03em; }
  .chapter h2 { font-size: clamp(1.6rem,4vw,2.6rem); letter-spacing: -0.03em; line-height: 1.04; }
  .chapter .body { margin-top: 18px; max-width: 64ch; }
  .chapter .body p { color: var(--fg); }
  .chapter .body p + p { margin-top: 14px; }
  .chapter .body p.muted { color: var(--muted); }
  .pullquote { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem,3.6vw,2.4rem); letter-spacing: -0.02em; line-height: 1.15; border-left: 3px solid var(--accent); padding-left: 24px; margin: 28px 0; max-width: 24ch; }
  .case-shots { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line-strong); margin-top: 26px; }
  @media (max-width: 680px){ .case-shots{grid-template-columns:1fr} }
  .case-shot { aspect-ratio: 4/3; border-right: 1px dashed var(--line-strong); display: grid; place-items: center; background: var(--panel); background-size: cover; background-position: center; text-align: center; }
  .case-shot:last-child { border-right: none; }
  @media (max-width:680px){ .case-shot{border-right:none; border-bottom:1px dashed var(--line-strong)} .case-shot:last-child{border-bottom:none} }
  .case-shot .ph { font-family: var(--font-mono); font-size: .68rem; color: var(--faint); letter-spacing: .06em; padding: 10px; }
  .metric-row { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); margin-top: 8px; }
  @media (max-width: 680px){ .metric-row{grid-template-columns:1fr} }
  .metric { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(24px,3vw,34px); }
  .metric .big { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem,5vw,3.4rem); letter-spacing: -0.04em; line-height: 1; }
  .metric .big.ok { color: var(--ok); }
  .metric .lab { color: var(--muted); font-size: .92rem; margin-top: 10px; }
  .confidential { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); border: 1px solid var(--line-strong); padding: 14px 18px; display: flex; gap: 12px; align-items: flex-start; }
  .confidential svg { flex: none; margin-top: 1px; color: var(--accent); }
  .case-logo.has-img, .case-shot.has-img, .avatar.has-img { border-style: solid; }

  /* admin / control panel */
  #adminBar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; background: var(--accent); color: #fff; display: none; align-items: center; justify-content: space-between; gap: 14px; padding: 10px max(16px, env(safe-area-inset-left,0px)); font-family: var(--font-mono); font-size: .78rem; }
  #adminBar.on { display: flex; }
  #adminBar button { background: #fff; color: var(--accent-ink); border: none; font-family: inherit; font-size: .74rem; font-weight: 600; padding: 6px 12px; cursor: pointer; text-transform: uppercase; letter-spacing: .04em; }
  #adminBar .ghost { background: transparent; color: #fff; border: 1px solid #ffffff80; }
  .admin-wrap { max-width: 900px; margin-inline: auto; }
  .admin-login { max-width: 400px; margin: 40px auto; border: 1px solid var(--rule); padding: 32px; background: var(--surface); }
  .edit-field { outline: 2px dashed transparent; transition: outline-color .15s, background .15s; }
  body.editing [data-ed] { outline: 1px dashed var(--accent); outline-offset: 2px; cursor: text; background: color-mix(in srgb, var(--accent) 6%, transparent); }
  body.editing [data-ed]:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
  body.editing [data-ed]:focus { outline: 2px solid var(--accent); background: var(--surface); }
  .admin-note { border: 1px solid var(--accent); border-left-width: 3px; padding: 16px 18px; background: var(--surface); font-size: .9rem; color: var(--muted); }
  .admin-sec { border: 1px solid var(--rule); margin-top: 16px; }
  .admin-sec h3 { font-family: var(--font-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--panel); font-weight: 400; }
  .admin-row { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); align-items: center; }
  .admin-row:last-child { border-bottom: none; }
  .admin-row label { font-size: .82rem; color: var(--muted); }
  .admin-row input, .admin-row textarea { font-family: inherit; font-size: .9rem; padding: 8px 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); width: 100%; }
  @media (max-width:620px){ .admin-row{grid-template-columns:1fr; gap:4px} }

/* Production additions — white-only, local assets, accessible navigation */
:root { color-scheme: light; }
@font-face { font-family:"Archivo"; font-style:normal; font-weight:500 900; font-display:swap; src:url("/assets/fonts/archivo-latin.woff2") format("woff2"); }
@font-face { font-family:"Inter"; font-style:normal; font-weight:400 700; font-display:swap; src:url("/assets/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family:"JetBrains Mono"; font-style:normal; font-weight:400 700; font-display:swap; src:url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); }
html { background:#fbfbf9; }
body { min-width:280px; }
.sec-head h1 { font-size:clamp(2rem,5.5vw,3.6rem); letter-spacing:-.035em; }
.r, .js .r, .js .r.in { opacity:1; transform:none; }
.skip-link { position:fixed; top:8px; left:8px; z-index:200; padding:10px 14px; background:var(--fg); color:var(--bg); transform:translateY(-160%); }
.skip-link:focus { transform:none; }
.hero-actions a, .nextnav a, .btn[href] { text-decoration:none; }
.foot-cell a { display:block; color:var(--muted); font-size:.9rem; padding:5px 0; transition:color .15s,padding-left .15s; }
.foot-cell a:hover { color:var(--accent); padding-left:4px; }
.crumb a { color:var(--accent); font:inherit; padding:0; text-transform:uppercase; }
.link-inline[href] { text-decoration:underline; }
.menu-toggle[aria-expanded="true"] { background:var(--panel); color:var(--accent); }
.team-card { gap:16px; }
.team-card .avatar { width:96px; height:96px; object-fit:cover; }
.team-card .skills { display:flex; flex-wrap:wrap; gap:7px; margin-top:4px; }
.team-card .person-email { word-break:break-word; }
.case-logo { background:#111; padding:28px; }
.case-logo img { max-height:190px; width:auto; object-fit:contain; }
.case-shot { padding:0; overflow:hidden; }
.case-shot img { width:100%; height:100%; object-fit:cover; display:block; }
.form-privacy { color:var(--muted); font-size:.78rem; margin:12px 0; }
.form-privacy a { color:var(--accent); text-decoration:underline; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color:var(--accent); }
.btn:disabled { opacity:.6; cursor:wait; }
:not(.js) .faq-a { max-height:none; }
@media (prefers-reduced-motion:reduce) { .js .r { opacity:1; transform:none; } }
@media (max-width:620px) {
  .brand s { display:none; }
  .brand { padding-right:12px !important; }
  .team-card .avatar { width:80px; height:80px; }
  .case-logo img { max-height:140px; }
}
