/* ==========================================================================
   Northbuild Digital — main stylesheet
   Concept: "blueprint" — drafting grid, measurement marks, one signal color.
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --bg-2: #111317;
  --bg-3: #171a1f;
  --line: rgba(236, 235, 230, 0.08);
  --line-2: rgba(236, 235, 230, 0.16);
  --ink: #ecebe6;
  --ink-2: #b9bab6;
  --dim: #85878d;
  --acc: #ff5a1f;
  --acc-ink: #0b0c0e;
  --blue: #6cc4ff;
  --ok: #3ddc84;

  --f-display: "Archivo", "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", "Liberation Mono", "Courier New", monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 1000;
  background: var(--acc); color: var(--acc-ink); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 112;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.h-xl { font-size: clamp(46px, 6.5vw, 104px); }
.h-lg { font-size: clamp(36px, 4.7vw, 72px); }
.h-md { font-size: clamp(30px, 3.4vw, 50px); }
.h-sm { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.02em; line-height: 1.1; }
.mono { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.dim { color: var(--dim); }
.acc { color: var(--acc); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.serif-i { font-family: Georgia, "TeX Gyre Pagella", serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; }

/* Section label with blueprint tick */
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dim);
}
.label::before { content: ""; width: 22px; height: 1px; background: var(--acc); }
.label b { color: var(--ink); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px; border-radius: var(--radius);
  font-weight: 600; font-size: 15.5px; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform .5s var(--ease), background .25s, color .25s, border-color .25s;
  will-change: transform; isolation: isolate; overflow: hidden;
}
.btn-primary { background: var(--acc); color: var(--acc-ink); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }

.link-u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.link-u:hover { background-size: 100% 1px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: transform .5s var(--ease), background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(11, 12, 14, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 30px; height: 30px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word strong { font-family: var(--f-display); font-variation-settings: "wdth" 120; font-weight: 800; font-size: 17px; letter-spacing: 0.02em; }
.brand-word span { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.32em; color: var(--dim); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  position: relative; padding: 8px 14px; font-size: 14.5px; color: var(--ink-2); transition: color .2s;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--acc);
}
.nav .btn { margin-left: 14px; }
.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg); padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-in-out); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 800;
  font-size: 44px; letter-spacing: -0.03em; line-height: 1.25; border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.mobile-menu nav a span { font-family: var(--f-mono); font-size: 12px; color: var(--dim); font-weight: 400; letter-spacing: .08em; }
.mobile-menu .contact-mini { display: grid; gap: 6px; color: var(--ink-2); }

/* ---------- Blueprint grid background ---------- */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 40%, #000 30%, transparent 85%);
}
.crosshair { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.hero:hover .crosshair { opacity: 1; }
.crosshair .ch-x, .crosshair .ch-y { position: absolute; background: rgba(108, 196, 255, 0.22); }
.crosshair .ch-x { left: 0; right: 0; height: 1px; top: 0; }
.crosshair .ch-y { top: 0; bottom: 0; width: 1px; left: 0; }
.crosshair .ch-tag {
  position: absolute; font-family: var(--f-mono); font-size: 10.5px; color: var(--blue);
  background: rgba(11, 12, 14, .85); padding: 3px 6px; border: 1px solid rgba(108, 196, 255, 0.3);
  transform: translate(12px, 12px); white-space: nowrap;
}

/* corner registration marks */
.reg { position: absolute; width: 14px; height: 14px; pointer-events: none; }
.reg::before, .reg::after { content: ""; position: absolute; background: var(--line-2); }
.reg::before { left: 0; right: 0; top: 50%; height: 1px; }
.reg::after { top: 0; bottom: 0; left: 50%; width: 1px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { margin: 22px 0 26px; font-size: clamp(44px, 5.6vw, 86px); font-variation-settings: "wdth" 104; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; }
.hero .lede { margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-meta div { display: grid; gap: 2px; }
.hero-meta strong { font-size: 15px; font-weight: 600; }
.hero-meta span { font-size: 13px; color: var(--dim); }

/* ---------- Self-building browser ---------- */
.builder { position: relative; }
.builder-dims {
  position: absolute; top: -26px; left: 0; right: 0; display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10.5px; color: var(--blue); opacity: .75;
}
.builder-dims::before, .builder-dims::after { content: ""; flex: 1; height: 1px; background: rgba(108,196,255,.35); }
.builder-dims-v {
  position: absolute; left: -26px; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10.5px; color: var(--blue); opacity: .75; writing-mode: vertical-rl; transform: rotate(180deg);
}
.builder-dims-v::before, .builder-dims-v::after { content: ""; flex: 1; width: 1px; background: rgba(108,196,255,.35); }

.browser {
  position: relative; border-radius: 10px; overflow: hidden;
  background: #f6f4ef; color: #15171a;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -20px rgba(0,0,0,.6), 0 20px 30px -10px rgba(0,0,0,.4);
  transform-style: preserve-3d;
}
.browser-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: #1b1d22; border-bottom: 1px solid #000; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3d44; }
.url {
  flex: 1; height: 24px; border-radius: 6px; background: #0f1013; color: #9a9ca2;
  font-family: var(--f-mono); font-size: 11.5px; display: flex; align-items: center; gap: 8px; padding: 0 10px; overflow: hidden; white-space: nowrap;
}
.url .lock { width: 11px; height: 11px; color: var(--ok); opacity: 0; transition: opacity .3s; }
.url .caret { width: 1px; height: 13px; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.status-pill {
  font-family: var(--f-mono); font-size: 10.5px; padding: 4px 8px; border-radius: 4px; background: #0f1013; color: #9a9ca2;
  display: flex; align-items: center; gap: 6px; min-width: 96px; justify-content: center;
}
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: #9a9ca2; transition: background .3s; }

.canvas { position: relative; aspect-ratio: 16 / 11.2; background: var(--site-bg, #f6f4ef); transition: background .6s var(--ease); overflow: hidden; }
/* blueprint state = dark navy + grid */
.canvas::before {
  content: ""; position: absolute; inset: 0; background-color: #0e2236;
  background-image: linear-gradient(rgba(108,196,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(108,196,255,.13) 1px, transparent 1px);
  background-size: 20px 20px; transition: opacity .7s var(--ease); z-index: 0;
}
.b-built .canvas::before { opacity: 0; }

.blk { position: absolute; z-index: 1; }
.blk .wire { position: absolute; inset: 0; border: 1px dashed rgba(108,196,255,.75); transform-origin: left top; transform: scale(0); transition: transform .7s var(--ease), opacity .4s; }
.blk .wire::after {
  content: attr(data-tag); position: absolute; left: 4px; top: 3px; font-family: var(--f-mono); font-size: 8.5px; color: rgba(108,196,255,.9); letter-spacing: .06em; text-transform: uppercase;
}
.b-wire .blk .wire { transform: scale(1); }
.b-built .blk .wire { opacity: 0; }
.blk .fill { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.b-built .blk .fill { opacity: 1; transform: none; }

/* mini site layout inside canvas (percent-based so it scales) */
.s-nav { left: 5%; right: 5%; top: 5%; height: 7%; }
.s-nav .fill { display: flex; align-items: center; justify-content: space-between; }
.s-logo { font-weight: 800; font-size: clamp(9px, 1.15vw, 15px); letter-spacing: -.02em; display: flex; align-items: center; gap: 6px; color: var(--site-ink); }
.s-logo i { width: 1.3em; height: 1.3em; border-radius: 4px; background: var(--site-acc); display: inline-block; }
.s-links { display: flex; gap: 6%; flex: 1; justify-content: flex-end; align-items: center; }
.s-links i { width: 34px; height: 5px; border-radius: 3px; background: var(--site-ink); opacity: .25; }
.s-links b { padding: 4px 9px; border-radius: 5px; background: var(--site-acc); color: var(--site-btn-ink, #fff); font-size: clamp(7px, .75vw, 10px); font-weight: 700; white-space: nowrap; }
.s-hero-text { left: 5%; width: 50%; top: 20%; height: 44%; }
.s-hero-text .fill { display: flex; flex-direction: column; gap: 6%; }
.s-kicker { font-size: clamp(6px, .7vw, 9px); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--site-acc); }
.s-h { font-size: clamp(15px, 2.6vw, 36px); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--site-ink); }
.s-p { display: grid; gap: 5px; }
.s-p i { height: 5px; border-radius: 3px; background: var(--site-ink); opacity: .18; display: block; }
.s-p i:nth-child(2) { width: 80%; }
.s-cta { left: 5%; width: 24%; top: 69%; height: 8.5%; }
.s-cta .fill { border-radius: 6px; background: var(--site-acc); color: var(--site-btn-ink, #fff); font-size: clamp(7px, .85vw, 11px); font-weight: 700; display: grid; place-items: center; }
.s-img { left: 60%; right: 5%; top: 20%; height: 57%; }
.s-img .fill { border-radius: 8px; background: var(--site-img); overflow: hidden; }
.s-img .fill svg { width: 100%; height: 100%; }
.s-cards { position: absolute; z-index: 1; left: 5%; right: 5%; top: 83%; height: 12%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; }
.s-cards .blk { position: relative; }
.s-cards .fill { border-radius: 6px; background: var(--site-card); display: flex; align-items: center; gap: 8%; padding: 0 8%; }
.s-cards .fill i { width: 18%; aspect-ratio: 1; border-radius: 4px; background: var(--site-acc); opacity: .85; }
.s-cards .fill b { flex: 1; height: 5px; border-radius: 3px; background: var(--site-ink); opacity: .2; }

.launch-toast {
  position: absolute; z-index: 5; right: 4%; bottom: 5%; display: flex; align-items: center; gap: 10px;
  background: #15171a; color: #ecebe6; padding: 10px 14px 10px 10px; border-radius: 8px; font-size: 12px;
  box-shadow: 0 14px 30px rgba(0,0,0,.35); transform: translateY(14px) scale(.96); opacity: 0;
  transition: transform .5s var(--ease), opacity .4s;
}
.launch-toast i { width: 26px; height: 26px; border-radius: 6px; background: rgba(61,220,132,.15); color: var(--ok); display: grid; place-items: center; font-style: normal; font-weight: 700; }
.launch-toast b { display: block; font-size: 12.5px; }
.launch-toast span { color: #8f9197; font-size: 11px; font-family: var(--f-mono); }
.b-live .launch-toast { transform: none; opacity: 1; }
.b-live .url .lock { opacity: 1; }
.b-live .status-pill i { background: var(--ok); box-shadow: 0 0 0 3px rgba(61,220,132,.2); }

.builder-steps { display: flex; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.builder-steps button {
  flex: 1; position: relative; padding: 12px 14px; text-align: left; font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--dim); border-right: 1px solid var(--line); transition: color .3s;
}
.builder-steps button:last-child { border-right: 0; }
.builder-steps button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--acc); }
.builder-steps button.is-active { color: var(--ink); }
.builder-steps button.is-active::after { animation: stepfill var(--step-ms, 2600ms) linear forwards; }
.builder-steps button.is-done::after { width: 100%; }
.builder-steps.is-paused button.is-active::after { animation-play-state: paused; }
@keyframes stepfill { to { width: 100%; } }
.builder-steps em { font-style: normal; color: var(--acc); margin-right: 6px; }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 700; font-size: clamp(22px, 2.6vw, 36px); letter-spacing: -.02em;
  padding: 0 28px; display: flex; align-items: center; gap: 56px; white-space: nowrap; color: var(--ink-2);
}
.marquee-track span::after { content: ""; width: 9px; height: 9px; background: var(--acc); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 170px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 84px); }
.section-head h2 { margin: 18px 0 0; }
.section-head .lede { justify-self: end; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* ---------- Before / After ---------- */
.ba { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); user-select: none; aspect-ratio: 16 / 8.6; background: #fff; touch-action: pan-y; }
.ba-pane { position: absolute; inset: 0; }
.ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--acc); transform: translateX(-1px); z-index: 4; pointer-events: none; }
.ba-knob {
  position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; border-radius: 50%; transform: translate(-50%, -50%);
  background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; margin: 0; }
.ba-tag { position: absolute; bottom: 16px; z-index: 3; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; padding: 6px 10px; border-radius: 4px; text-transform: uppercase; }
.ba-tag.l { left: 16px; background: #ffff00; color: #000; }
.ba-tag.r { right: 16px; background: var(--bg); color: var(--ink); }
.ba-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.ba-notes div { padding: 22px 26px 0 0; }
.ba-notes div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.ba-notes h3 { font-size: 17px; margin: 10px 0 6px; font-weight: 600; }
.ba-notes p { margin: 0; color: var(--dim); font-size: 15px; }

/* The "before" site — deliberately dated */
.old-site {
  height: 100%; font-family: "Times New Roman", Times, serif; color: #000; text-align: center;
  background: #c0c0c0 repeating-linear-gradient(45deg, #c8c8c8 0 6px, #bdbdbd 6px 12px);
  font-size: clamp(9px, 1.1vw, 15px); display: flex; flex-direction: column;
}
.old-site .os-top { background: #000080; color: #ffff00; padding: 1.2% 0; font-family: "Comic Sans MS", "Chalkboard", cursive; font-size: 1.9em; font-weight: bold; text-shadow: 2px 2px #ff0000; }
.old-site .os-marq { background: #ff0; color: red; font-weight: bold; padding: .4% 0; white-space: nowrap; overflow: hidden; }
.old-site .os-marq span { display: inline-block; padding-left: 100%; animation: oldmarq 12s linear infinite; }
@keyframes oldmarq { to { transform: translateX(-100%); } }
.old-site .os-body { display: grid; grid-template-columns: 22% 1fr; flex: 1; gap: 2%; padding: 2%; text-align: left; }
.old-site .os-side { background: #fff; border: 3px outset #ddd; padding: 6%; }
.old-site .os-side a { display: block; color: #0000ee; text-decoration: underline; margin-bottom: 8%; }
.old-site .os-main { background: #fff; border: 3px inset #ddd; padding: 3% 4%; }
.old-site h4 { margin: 0 0 3%; font-size: 1.5em; color: #800000; text-align: center; }
.old-site .os-blink { color: red; font-weight: bold; animation: blink 1s steps(1) infinite; }
.old-site .os-construction { display: inline-block; background: repeating-linear-gradient(45deg, #000 0 8px, #ffcc00 8px 16px); color: #000; padding: 1% 3%; font-weight: bold; margin: 2% 0; }
.old-site .os-construction b { background: #ffcc00; padding: 0 6px; }
.old-site .os-counter { font-family: "Courier New", monospace; background: #000; color: #0f0; padding: 1px 6px; letter-spacing: 2px; }
.old-site table { border-collapse: collapse; margin-top: 2%; width: 100%; }
.old-site td { border: 1px solid #888; padding: 1%; }

/* The "after" site */
.new-site { height: 100%; background: #f7f5f0; color: #14202b; font-family: var(--f-body); display: flex; flex-direction: column; font-size: clamp(8px, 1vw, 14px); }
.new-site .ns-nav { display: flex; justify-content: space-between; align-items: center; padding: 2.4% 4%; border-bottom: 1px solid #e5e1d8; }
.new-site .ns-logo { font-weight: 800; letter-spacing: -.03em; font-size: 1.35em; display: flex; align-items: center; gap: .5em; }
.new-site .ns-logo i { width: 1.4em; height: 1.4em; background: #c2410c; clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); }
.new-site .ns-links { display: flex; gap: 2.4em; color: #5a6672; align-items: center; }
.new-site .ns-links b { background: #14202b; color: #fff; padding: .7em 1.2em; border-radius: 6px; font-weight: 600; }
.new-site .ns-hero { flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 5%; align-items: center; padding: 0 4%; }
.new-site .ns-k { color: #c2410c; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8em; }
.new-site h4 { font-size: 3.4em; line-height: .98; letter-spacing: -.045em; margin: .3em 0 .35em; font-weight: 800; }
.new-site p { color: #5a6672; margin: 0 0 1.4em; line-height: 1.5; max-width: 30em; }
.new-site .ns-btns { display: flex; gap: .8em; }
.new-site .ns-btns b { background: #c2410c; color: #fff; padding: 1em 1.6em; border-radius: 8px; }
.new-site .ns-btns span { border: 1.5px solid #14202b; padding: .9em 1.4em; border-radius: 8px; font-weight: 600; }
.new-site .ns-art { aspect-ratio: 1 / 1; border-radius: 14px; background: #1e3a4c; position: relative; overflow: hidden; }
.new-site .ns-art svg { width: 100%; height: 100%; }
.new-site .ns-review { position: absolute; left: -8%; bottom: 10%; background: #fff; border-radius: 10px; padding: .9em 1.2em; box-shadow: 0 10px 30px rgba(0,0,0,.15); font-size: .85em; }
.new-site .ns-review b { color: #f59e0b; letter-spacing: .1em; }

/* ---------- Process (sticky) ---------- */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.process-visual { position: sticky; top: 120px; height: min(560px, 70vh); border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2); overflow: hidden; }
.pv { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.97); transition: opacity .6s var(--ease), transform .8s var(--ease); padding: 40px; }
.pv.is-active { opacity: 1; transform: none; }
.pv-num { position: absolute; left: 22px; top: 18px; font-family: var(--f-mono); font-size: 11px; color: var(--dim); letter-spacing: .1em; }
.process-steps { display: flex; flex-direction: column; }
.pstep { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 30px 0; border-top: 1px solid var(--line); opacity: .32; transition: opacity .5s var(--ease); }
.pstep:last-child { border-bottom: 1px solid var(--line); }
.pstep.is-active { opacity: 1; }
.pstep .mono { color: var(--acc); }
.pstep h3 { margin: 14px 0 14px; }
.pstep p { color: var(--ink-2); max-width: 30em; margin: 0; }
.pstep ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.pstep li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-2); }
.pstep li::before { content: "+"; font-family: var(--f-mono); color: var(--acc); }

/* process visuals */
.pv-form { width: min(380px, 100%); background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 8px; padding: 22px; display: grid; gap: 10px; }
.pv-form .row { height: 38px; border: 1px solid var(--line-2); border-radius: 4px; display: flex; align-items: center; padding: 0 12px; font-size: 13px; color: var(--dim); }
.pv-form .row.typing { color: var(--ink); border-color: var(--acc); }
.pv-form .row.typing::after { content: ""; width: 1px; height: 15px; background: var(--acc); margin-left: 2px; animation: blink 1s steps(1) infinite; }
.pv-form .send { height: 42px; border-radius: 4px; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; font-weight: 600; font-size: 14px; margin-top: 4px; }
.pv-wire { width: min(420px, 100%); aspect-ratio: 4/3.4; position: relative; }
.pv-wire i { position: absolute; border: 1px dashed rgba(108,196,255,.7); }
.pv-wire i::after { content: attr(data-t); position: absolute; left: 6px; top: 4px; font-family: var(--f-mono); font-size: 9px; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.pv-review { width: min(420px, 100%); aspect-ratio: 4/3.2; position: relative; background: #f2f0ea; border-radius: 8px; }
.pv-review .bar { position: absolute; left: 8%; right: 8%; height: 7%; border-radius: 3px; background: #d9d5cb; }
.pin { position: absolute; display: flex; align-items: flex-start; gap: 8px; animation: pinpop .5s var(--ease) both; }
.pin i { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; flex: none; }
.pin span { background: #15171a; color: var(--ink); font-size: 12px; padding: 7px 10px; border-radius: 6px; white-space: nowrap; }
@keyframes pinpop { from { transform: scale(.6); opacity: 0; } }
.pv-launch { width: min(420px, 100%); }
.pv-launch .chart { height: 200px; border-left: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); position: relative; }
.pv-launch svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pv-launch .chart path.line { stroke-dasharray: 600; stroke-dashoffset: 600; }
.pv.is-active .chart path.line { animation: draw 1.8s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pv-launch .chips { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.pv-launch .chips span { font-family: var(--f-mono); font-size: 11px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--ink-2); }
.pv-launch .chips span b { color: var(--ok); font-weight: 500; }

/* ---------- Included / spotlight cards ---------- */
.included { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.inc {
  position: relative; background: var(--bg); padding: clamp(26px, 3vw, 40px); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between;
  grid-column: span 2; overflow: hidden;
}
.inc.wide { grid-column: span 3; }
.inc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 90, 31, 0.11), transparent 60%);
}
.inc:hover::before { opacity: 1; }
.inc h3 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 10px; font-weight: 600; }
.inc p { margin: 0; color: var(--dim); font-size: 15.5px; max-width: 28em; }
.inc .ico { width: 44px; height: 44px; color: var(--acc); margin-bottom: 36px; }
.inc .ico svg { width: 100%; height: 100%; }
.inc .mono-n { position: absolute; right: 22px; top: 20px; font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.inc-demo { margin-top: 26px; }
.ssl-demo { display: flex; align-items: center; gap: 10px; height: 40px; border-radius: 6px; background: var(--bg-3); padding: 0 12px; font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-2); overflow: hidden; }
.ssl-demo .warn { color: #ff6b6b; display: flex; align-items: center; gap: 6px; }
.ssl-demo .secure { color: var(--ok); display: none; align-items: center; gap: 6px; }
.inc:hover .ssl-demo .warn { display: none; }
.inc:hover .ssl-demo .secure { display: flex; }
.devices { display: flex; align-items: flex-end; gap: 10px; height: 76px; }
.devices i { border: 1.5px solid var(--line-2); border-radius: 5px; transition: border-color .4s, transform .5s var(--ease); display: block; }
.devices i:nth-child(1) { width: 110px; height: 70px; }
.devices i:nth-child(2) { width: 52px; height: 70px; border-radius: 6px; }
.devices i:nth-child(3) { width: 30px; height: 52px; border-radius: 6px; }
.inc:hover .devices i { border-color: var(--acc); }
.inc:hover .devices i:nth-child(2) { transform: translateY(-6px); }
.inc:hover .devices i:nth-child(3) { transform: translateY(-12px); }
.serp { display: grid; gap: 8px; }
.serp div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--dim); transition: transform .5s var(--ease), color .3s; }
.serp div b { font-family: var(--f-mono); font-weight: 400; font-size: 11px; width: 18px; }
.serp div.you { color: var(--ink); }
.serp div.you b { color: var(--acc); }
.inc:hover .serp div.you { transform: translateY(-58px); }
.inc:hover .serp div.o { transform: translateY(29px); }
.domain-demo { font-family: var(--f-mono); font-size: 14px; color: var(--ink-2); height: 40px; display: flex; align-items: center; }
.domain-demo .typed { color: var(--ink); }
.domain-demo .typed::after { content: ""; display: inline-block; width: 8px; height: 16px; background: var(--acc); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.edit-demo { font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.edit-demo del { color: var(--dim); text-decoration-color: #ff6b6b; }
.edit-demo ins { text-decoration: none; color: var(--ink); background: rgba(61,220,132,.12); padding: 2px 6px; border-radius: 3px; }

/* ---------- Checkup quiz ---------- */
.checkup { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.checkup-q { background: var(--bg); padding: clamp(24px, 3vw, 44px); }
.checkup-q h3 { margin: 0 0 6px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.q-list { list-style: none; margin: 26px 0 0; padding: 0; }
.q-item { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.q-item:last-child { border-bottom: 1px solid var(--line); }
.q-item span { font-size: 16px; }
.seg { display: flex; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; flex: none; }
.seg button { padding: 7px 14px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--dim); transition: background .2s, color .2s; }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg button[data-v="no"][aria-pressed="true"] { background: var(--acc); color: var(--acc-ink); }
.checkup-r { background: var(--bg-2); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.gauge { position: relative; width: 210px; height: 210px; margin: 10px auto 0; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; }
.gauge .track { stroke: var(--line-2); }
.gauge .val { stroke: var(--acc); stroke-linecap: butt; stroke-dasharray: 597; stroke-dashoffset: 597; transition: stroke-dashoffset 1s var(--ease), stroke .4s; }
.gauge-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-num strong { font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: 64px; letter-spacing: -.04em; line-height: 1; }
.gauge-num span { font-family: var(--f-mono); font-size: 11px; color: var(--dim); letter-spacing: .1em; margin-top: 6px; }
.verdict h4 { margin: 0 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.verdict p { margin: 0 0 20px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- Work carousel ---------- */
.work-rail { --rail-pad: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--rail-pad) 30px; scroll-padding-inline: var(--rail-pad); scrollbar-width: none; cursor: grab; }
.work-rail::-webkit-scrollbar { display: none; }
.work-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.work-rail.is-dragging a { pointer-events: none; }
.wcard { flex: 0 0 min(560px, 82vw); scroll-snap-align: start; }
.wcard-media { position: relative; aspect-ratio: 16/10; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); }
.wcard-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.wcard:hover .wcard-media img { transform: scale(1.04); }
.wcard-phone { position: absolute; right: 5%; bottom: -18%; width: 22%; border-radius: 12px; overflow: hidden; border: 3px solid #1c1e23; box-shadow: 0 20px 40px rgba(0,0,0,.5); transition: transform .8s var(--ease); }
.wcard:hover .wcard-phone { transform: translateY(-12%); }
.wcard-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; gap: 16px; }
.wcard-meta h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.rail-controls { display: flex; gap: 8px; }
.rail-controls button { width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: var(--radius); display: grid; place-items: center; transition: border-color .2s, background .2s; }
.rail-controls button:hover { border-color: var(--ink); }
.rail-progress { height: 1px; background: var(--line-2); position: relative; margin: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.rail-progress i { position: absolute; left: 0; top: -1px; height: 3px; background: var(--acc); width: 20%; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 18px; height: 18px; position: relative; flex: none; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--acc); transition: transform .4s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans { overflow: hidden; }
.faq .ans p { margin: 0; padding: 0 0 26px; color: var(--ink-2); max-width: 46em; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band h2 { margin: 22px 0 40px; }
.cta-band .big-wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta-circle {
  width: 190px; height: 190px; border-radius: 50%; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; text-align: center;
  font-weight: 700; font-size: 17px; line-height: 1.15; flex: none; transition: transform .5s var(--ease); position: relative;
}
.cta-circle svg.ring { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); animation: spin 18s linear infinite; }
.cta-circle svg.ring text { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 3.2px; fill: var(--dim); text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 70px 0 30px; position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-family: var(--f-mono); font-weight: 400; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 0 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--ink-2); transition: color .2s; }
.foot-grid a:hover { color: var(--ink); }
.foot-big { margin: 70px 0 26px; user-select: none; }
.foot-big svg { width: 100%; height: auto; overflow: visible; }
.foot-big text { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 200px; fill: transparent; stroke: var(--line-2); stroke-width: 1; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); letter-spacing: .04em; padding-top: 22px; border-top: 1px solid var(--line); }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 8px; box-shadow: 0 0 0 0 rgba(61,220,132,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 180px 0 90px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 22px 0 26px; max-width: 14ch; }
.page-hero .lede { max-width: 38em; }

/* ---------- Services page ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 80px 1fr 1.2fr; gap: 30px; padding: 44px 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc-row .mono { color: var(--acc); padding-top: 8px; }
.svc-row h3 { margin: 0; }
.svc-row p { margin: 0 0 14px; color: var(--ink-2); }
.svc-row ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-row li { font-family: var(--f-mono); font-size: 11.5px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--ink-2); letter-spacing: .02em; }
.model { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.model > div { padding: clamp(28px, 4vw, 54px); background: var(--bg-2); }
.model .plus { background: var(--bg); display: grid; place-items: center; padding: 0 22px; font-family: var(--f-display); font-size: 40px; color: var(--acc); font-weight: 800; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.model h3 { margin: 16px 0 12px; }
.model p { color: var(--ink-2); margin: 0 0 18px; }
.model ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.model li { display: flex; gap: 12px; font-size: 15.5px; }
.model li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; flex: none; border: 1px solid var(--acc); background: linear-gradient(var(--acc), var(--acc)) center / 6px 6px no-repeat; }

/* ---------- Work page ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filters button { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--ink-2); transition: all .2s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px 28px; }
.work-item { transition: opacity .4s var(--ease), transform .5s var(--ease); }
.work-item.is-hidden { display: none; }
.work-item button.open { display: block; width: 100%; text-align: left; }
.work-item .wcard-media { aspect-ratio: 16/10.5; }
.work-item .tilt { transition: transform .5s var(--ease); transform-style: preserve-3d; }
.notice { margin-top: 70px; padding: 24px 28px; border: 1px dashed var(--line-2); border-radius: 8px; color: var(--ink-2); font-size: 15px; display: flex; gap: 16px; align-items: flex-start; }
.notice .mono { color: var(--acc); flex: none; padding-top: 3px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; background: rgba(6, 7, 8, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox.is-open { display: block; animation: fadein .3s var(--ease); }
@keyframes fadein { from { opacity: 0; } }
.lb-inner { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 22px var(--gutter); }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.lb-top h3 { margin: 0; font-size: 20px; font-weight: 600; }
.lb-tools { display: flex; gap: 8px; align-items: center; }
.lb-stage { flex: 1; min-height: 0; display: grid; place-items: center; overflow: auto; }
.lb-frame { border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); max-height: 100%; transition: width .5s var(--ease); background: #fff; }
.lb-frame img { width: 100%; height: auto; }
.lb-frame.desktop { width: min(1200px, 100%); }
.lb-frame.mobile { width: min(360px, 100%); border-radius: 26px; border: 6px solid #1c1e23; }
.lb-close { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 4px; display: grid; place-items: center; }

/* ---------- Quote page ---------- */
.quote-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.quote-aside { position: sticky; top: 120px; }
.quote-aside h1 { margin: 22px 0 22px; }
.contact-cards { display: grid; gap: 10px; margin-top: 40px; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 6px; transition: border-color .2s, background .2s; }
.contact-card:hover { border-color: var(--ink); background: var(--bg-2); }
.contact-card small { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; }
.contact-card strong { font-weight: 500; font-size: 17px; word-break: break-all; }
.qform { border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2); overflow: hidden; }
.qprogress { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.qprogress div { padding: 16px 20px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); position: relative; }
.qprogress div + div { border-left: 1px solid var(--line); }
.qprogress div::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--acc); transition: width .5s var(--ease); }
.qprogress div.is-active, .qprogress div.is-done { color: var(--ink); }
.qprogress div.is-active::after, .qprogress div.is-done::after { width: 100%; }
.qprogress em { font-style: normal; color: var(--acc); margin-right: 6px; }
.qbody { padding: clamp(24px, 3.4vw, 44px); }
.qstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .qstep:not(.is-active) { display: none; }
.qstep legend { font-family: var(--f-display); font-variation-settings: "wdth" 110; font-weight: 800; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; margin-bottom: 6px; padding: 0; }
.qstep .hint { color: var(--dim); font-size: 15px; margin: 0 0 28px; }
.qstep.is-active { animation: stepin .5s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(16px); } }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field .lbl { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field label .opt { color: var(--dim); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field textarea, .field select {
  width: 100%; background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); border-radius: 4px;
  padding: 14px 15px; font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2385878d' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(255,90,31,.15); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #ff6b6b; }
.err { font-size: 13px; color: #ff8a8a; min-height: 0; display: none; }
.field.has-error .err { display: block; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--acc); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-opt span { display: inline-block; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 14.5px; color: var(--ink-2); transition: all .2s; }
.chip-opt input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-opt input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.qnav { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.qnav .count { font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); letter-spacing: .06em; }
.no-js-note { font-size: 14px; color: var(--dim); }

/* ---------- Thanks / 404 ---------- */
.center-page { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding: 120px var(--gutter) 80px; }
.center-page h1 { margin: 22px 0 22px; }
.center-page .lede { margin: 0 auto 36px; }
.check-anim { width: 92px; height: 92px; margin: 0 auto; }
.check-anim circle { stroke-dasharray: 280; stroke-dashoffset: 280; animation: draw 1s var(--ease) forwards; }
.check-anim path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s .7s var(--ease) forwards; }

/* ---------- Page transition ---------- */
.page-wipe { position: fixed; inset: 0; z-index: 500; background: var(--acc); pointer-events: none; transform: scaleY(0); transform-origin: bottom; }
.page-wipe.in { animation: wipein .55s var(--ease-in-out) forwards; }
.page-wipe.out { transform: scaleY(1); transform-origin: top; animation: wipeout .6s .05s var(--ease-in-out) forwards; }
@keyframes wipein { to { transform: scaleY(1); } }
@keyframes wipeout { to { transform: scaleY(0); } }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 600; pointer-events: none; mix-blend-mode: difference; display: none; opacity: 0; transition: opacity .3s; }
.has-cursor .cursor { display: block; }
.cursor-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }
.cursor-ring { position: absolute; width: 36px; height: 36px; border: 1px solid #fff; border-radius: 50%; transform: translate(-50%, -50%); transition: width .35s var(--ease), height .35s var(--ease), background .3s, border-color .3s; }
.cursor.is-link .cursor-ring { width: 64px; height: 64px; background: rgba(255,255,255,.12); }
.cursor.is-drag .cursor-ring { width: 84px; height: 84px; }
.cursor-label { position: absolute; transform: translate(-50%, -50%); font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-drag .cursor-label { opacity: 1; }

/* ---------- Reveal on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--d, 0s)); }
.js .split.in .w > span { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 130px; }
  .builder { margin: 30px 0 0 26px; }
  .process { grid-template-columns: 1fr; }
  .process-visual { display: none; }
  .pstep { min-height: 0; opacity: 1; padding: 40px 0; }
  .included { grid-template-columns: repeat(2, 1fr); }
  .inc, .inc.wide { grid-column: span 1; }
  .checkup { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-aside { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-inner { height: 64px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head .lede { justify-self: start; }
  .builder { margin-left: 0; }
  .builder-dims-v { display: none; }
  .builder-steps button { padding: 10px 8px; font-size: 9.5px; }
  .builder-steps em { display: none; }
  .hero-meta { gap: 18px; }
  .ba { aspect-ratio: 4 / 4.2; }
  .old-site, .new-site { font-size: 8.5px; }
  .old-site .os-body { grid-template-columns: 1fr; }
  .old-site .os-side { display: none; }
  .new-site .ns-hero { grid-template-columns: 1fr; padding: 6% 5%; }
  .new-site .ns-art { display: none; }
  .new-site h4 { font-size: 2.8em; }
  .hide-sm { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .new-site .ns-links span { display: none; }
  .ba-notes { grid-template-columns: 1fr; }
  .ba-notes div + div { padding-left: 0; border-left: 0; }
  .included { grid-template-columns: 1fr; }
  .inc { min-height: 0; }
  .q-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .svc-row { grid-template-columns: 1fr; gap: 12px; padding: 34px 0; }
  .model { grid-template-columns: 1fr; }
  .model .plus { padding: 14px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .work-grid { grid-template-columns: 1fr; gap: 50px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .qprogress div { padding: 12px 10px; font-size: 10px; }
  .cta-circle { width: 150px; height: 150px; font-size: 15px; }
  .page-hero { padding: 140px 0 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv, .js .split .w > span { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* No-JS fallbacks for the quote form */
html:not(.js) [data-next], html:not(.js) [data-back], html:not(.js) [data-count], html:not(.js) .qprogress { display: none !important; }
html:not(.js) .qstep + .qstep { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
