/* K&N Home Services
   Layout: dark full-bleed "surface" heroes built around the clean-line motif,
   then light concrete sections. Squared corners, rule lines, workwear type.
   One accent (spray blue). Single committed look across all pages. */
:root {
  --ink: #0f1214;
  --ink-2: #161b1e;
  --ink-3: #262d31;
  --paper: #f4f5f4;
  --concrete: #e6e9e8;
  --line: #d2d7d6;
  --muted: #56616a;
  --muted-d: #9ba8ae;
  --spray: #4fb9ea;
  --spray-deep: #0f6f9f;
  --foam: #def1fa;
  --white: #ffffff;
  --star: #f1b42f;
  --ok: #2f9e6b;
  --err: #d6513c;

  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-hero: clamp(2.7rem, 7.4vw, 6rem);
  --fs-h1: clamp(2.4rem, 6vw, 4.6rem);
  --fs-h2: clamp(1.85rem, 3.6vw, 2.9rem);
  --fs-h3: 1.3rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  --maxw: 1240px;
  --r: 3px;
  --hdr: 76px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));

  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--spray); outline-offset: 3px; }
button { font: inherit; color: inherit; }
::selection { background: var(--spray); color: var(--ink); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--spray); color: var(--ink); padding: 10px 14px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* ---------- Type ---------- */
.display, h1, h2 {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  text-wrap: balance;
  margin: 0;
}
h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: var(--fs-h3); line-height: 1.2; margin: 0; letter-spacing: -0.005em; }
h2 { font-size: var(--fs-h2); line-height: 1.04; }
p { margin: 0; }
.spray { color: var(--spray); }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 0.75rem/1 var(--f-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--spray-deep);
}
.label::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.on-dark .label, .label.on-dark { color: var(--spray); }

.mono { font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.04em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--spray); --fg: var(--ink); --bd: var(--spray);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 24px;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd); border-radius: var(--r);
  font: 700 0.95rem/1 var(--f-display); font-stretch: 110%; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; flex: none; }
.btn:hover { --bg: var(--white); --bd: var(--white); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-ghost { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,.35); }
.btn-ghost:hover { --bg: transparent; --fg: var(--white); --bd: var(--white); }
.btn-dark { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); }
.btn-dark:hover { --bg: var(--spray-deep); --bd: var(--spray-deep); --fg: var(--white); }
.btn-line { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn-line:hover { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--spray); padding-bottom: 2px;
}
.text-link svg { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--white);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-solid { background: rgba(15,18,20,.94); box-shadow: 0 1px 0 rgba(255,255,255,.07); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 40px; height: auto; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font: 800 1.2rem/1 var(--f-display); font-stretch: 125%; letter-spacing: 0.02em; }
.brand-word span { font: 500 0.66rem/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-d); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: #d4dbde; position: relative; padding-block: 6px; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--spray); transition: right .25s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav-phone { font-family: var(--f-mono); font-size: 0.85rem !important; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; }

@media (max-width: 960px) {
  .nav-phone { display: none; }
  .nav { gap: 22px; }
}
@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r);
    color: var(--white); height: 42px; padding: 0 14px; cursor: pointer;
    font: 600 0.85rem/1 var(--f-body);
  }
  .menu-btn i { display: grid; gap: 4px; }
  .menu-btn i::before, .menu-btn i::after { content: ""; display: block; width: 16px; height: 2px; background: currentColor; transition: transform .2s; }
  .menu-btn[aria-expanded="true"] i::before { transform: translateY(3px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i::after { transform: translateY(-3px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 0;
    padding: calc(var(--hdr) + env(safe-area-inset-top, 0px)) var(--gutter-r) 40px var(--gutter-l);
    background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font: 800 2rem/1 var(--f-display); font-stretch: 125%; padding-block: 16px; border-bottom: 1px solid var(--ink-3); color: var(--white); }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"] { color: var(--spray); }
  .nav .nav-phone { display: block; font: 500 1rem/1 var(--f-mono) !important; color: var(--muted-d); border: 0 !important; margin-top: 18px; }
  .nav .btn { margin-top: 24px; min-height: 56px; }
}
body.menu-open { overflow: hidden; }

/* ---------- Heroes ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--white);
  padding-top: calc(var(--hdr) + env(safe-area-inset-top, 0px));
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: #3b3f40; }
.hero-media canvas, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15,18,20,.94) 0%, rgba(15,18,20,.82) 34%, rgba(15,18,20,.35) 62%, rgba(15,18,20,.08) 100%),
    linear-gradient(0deg, rgba(15,18,20,.75) 0%, rgba(15,18,20,0) 32%);
}
.hero-inner { position: relative; padding-block: clamp(64px, 11vw, 150px) clamp(56px, 8vw, 110px); max-width: var(--maxw); }
.hero-copy { max-width: 680px; display: grid; gap: 26px; justify-items: start; }
.hero h1 { font-size: var(--fs-hero); line-height: .95; }
.page-hero h1 { font-size: var(--fs-h1); }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #cfd7da; max-width: 50ch; line-height: 1.55; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: #dbe3e6;
  padding: 9px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); background: rgba(15,18,20,.35);
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--spray); box-shadow: 0 0 0 4px rgba(79,185,234,.22); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.wash-hint {
  position: absolute; right: var(--gutter-r); bottom: 28px; z-index: 1; margin: 0;
  display: none; align-items: center; gap: 10px;
  font: 500 0.75rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #e8eef0;
  background: rgba(15,18,20,.6); padding: 10px 14px; border-radius: 40px; border: 1px solid rgba(255,255,255,.15);
  transition: opacity .4s;
}
.wash-hint svg { width: 16px; height: 16px; color: var(--spray); }
@media (hover: hover) and (pointer: fine) { .wash-hint { display: inline-flex; } }
.wash-hint.is-done { opacity: 0; }
.hero-home .hero-media { cursor: crosshair; }

.page-hero .hero-inner { padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 90px); }

@media (max-width: 720px) {
  .hero::after { background: linear-gradient(180deg, rgba(15,18,20,.72) 0%, rgba(15,18,20,.85) 60%, rgba(15,18,20,.95) 100%); }
}

/* Proof bar under home hero */
.proof { background: var(--ink); color: var(--white); border-top: 1px solid var(--ink-3); }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.proof li { display: flex; align-items: center; gap: 14px; padding: 22px 20px 22px 0; min-width: 0; }
.proof li + li { padding-left: 22px; border-left: 1px solid var(--ink-3); }
.proof svg { width: 26px; height: 26px; color: var(--spray); flex: none; }
.proof b { display: block; font: 700 0.98rem/1.2 var(--f-display); font-stretch: 110%; }
.proof span { display: block; font-size: 0.82rem; color: var(--muted-d); }
@media (max-width: 900px) {
  .proof ul { grid-template-columns: 1fr 1fr; }
  .proof li + li { border-left: 0; padding-left: 0; }
  .proof li { border-top: 1px solid var(--ink-3); padding-block: 18px; }
  .proof li:nth-child(-n+2) { border-top: 0; }
  .proof li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--ink-3); }
}

/* Ticker */
.ticker { background: var(--spray); color: var(--ink); overflow: hidden; border-block: 1px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-track span {
  display: inline-flex; align-items: center; gap: 28px; padding: 16px 14px;
  font: 800 1.05rem/1 var(--f-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap;
}
.ticker-track span::after { content: ""; width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section.tight { padding-block: clamp(56px, 7vw, 88px); }
.bg-concrete { background: var(--concrete); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink-2 { background: var(--ink-2); color: var(--white); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { color: var(--muted); max-width: 60ch; font-size: 1.08rem; }
.bg-ink .section-head p, .bg-ink-2 .section-head p { color: var(--muted-d); }
.split-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.split-head .section-head { margin-bottom: 0; }

/* Surface cards (home) */
.surface-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .surface-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .surface-grid { grid-template-columns: 1fr; } }
.surface-card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.surface-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(15,18,20,.45); border-color: var(--ink); }
.tile { position: relative; aspect-ratio: 4 / 3; background: #9ea3a3; overflow: hidden; }
.tile canvas, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.surface-card .tile canvas { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.surface-card:hover .tile canvas { transform: scale(1.04); }
.surface-body { display: grid; gap: 10px; padding: 22px 22px 24px; align-content: start; }
.spec { display: inline-flex; align-self: start; justify-self: start; font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--spray-deep); background: var(--foam); padding: 6px 8px; border-radius: 2px; }
.bg-ink .spec, .bg-ink-2 .spec { background: rgba(79,185,234,.14); color: var(--spray); }
.surface-body p { color: var(--muted); font-size: 0.97rem; }
.surface-body .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; margin-top: 4px; }
.surface-body .more svg { width: 16px; height: 16px; transition: transform .2s; }
.surface-card:hover .more svg { transform: translateX(4px); }

/* Compare slider */
.compare { margin: 0; display: grid; gap: 14px; }
.compare-stage { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; border-radius: var(--r); background: #8d9293; user-select: none; -webkit-user-select: none; --pos: 50%; }
.compare-stage canvas, .compare-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-stage .c-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--white); box-shadow: 0 0 12px rgba(0,0,0,.35); }
.compare-handle span {
  position: absolute; top: 50%; left: 0; width: 52px; height: 52px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: 0 6px 20px rgba(0,0,0,.35);
  display: grid; place-items: center;
}
.compare-handle svg { width: 26px; height: 26px; }
.compare-tag {
  position: absolute; top: 14px; padding: 7px 10px; border-radius: 2px; pointer-events: none;
  font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase;
}
.compare-tag.before { left: 14px; background: rgba(15,18,20,.78); color: var(--white); }
.compare-tag.after { right: 14px; background: var(--spray); color: var(--ink); }
.compare-stage input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; touch-action: pan-y;
}
.compare-stage:focus-within { outline: 2px solid var(--spray); outline-offset: 3px; }
.compare figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.compare figcaption b { font: 700 1.05rem/1.25 var(--f-display); font-stretch: 112%; }
.compare figcaption span { font: 500 0.72rem/1.3 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.bg-ink .compare figcaption span, .bg-ink-2 .compare figcaption span { color: var(--muted-d); }
.compare figcaption p { flex-basis: 100%; color: var(--muted); font-size: 0.95rem; }
.bg-ink .compare figcaption p { color: var(--muted-d); }

/* Feature (home compare) */
.feature { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }
.feature-copy { display: grid; gap: 22px; min-width: 0; }
.feature-copy > p { color: var(--muted-d); font-size: 1.08rem; max-width: 50ch; }
.removes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink-3); }
.removes li { padding: 14px 0; border-bottom: 1px solid var(--ink-3); display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; }
.removes li::before { content: ""; width: 8px; height: 8px; background: var(--spray); transform: rotate(45deg); flex: none; }
.small-note { font: 500 0.72rem/1.4 var(--f-mono); letter-spacing: 0.04em; color: var(--muted); }
.bg-ink .small-note, .bg-ink-2 .small-note, .hero .small-note { color: var(--muted-d); }

/* Steps (real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 2px solid var(--ink); counter-increment: step; min-width: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 800 3.2rem/1 var(--f-display); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.steps p { color: var(--muted); }
.bg-ink .steps li { border-top-color: var(--spray); }
.bg-ink .steps li::before { -webkit-text-stroke-color: var(--spray); }
.bg-ink .steps p { color: var(--muted-d); }

/* Reviews */
.review-grid { columns: 3 320px; column-gap: 20px; }
.review-grid.three { columns: 3 280px; }
.review {
  break-inside: avoid; margin: 0 0 20px; display: grid; gap: 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px;
}
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stars { display: flex; gap: 3px; color: var(--star); }
.stars svg { width: 18px; height: 18px; }
.sample-tag { font: 500 0.64rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line); padding: 5px 7px; border-radius: 2px; }
.review blockquote { margin: 0; font-size: 1.04rem; line-height: 1.6; }
.review blockquote.big { font: 600 1.3rem/1.4 var(--f-display); font-stretch: 105%; letter-spacing: -0.01em; }
.review footer { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font: 700 0.95rem/1 var(--f-display); font-stretch: 120%; flex: none; }
.review footer b { display: block; font-size: 0.95rem; }
.review footer span { display: block; font-size: 0.82rem; color: var(--muted); }

/* Specials (other home services) */
.specials { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink-3); border-left: 1px solid var(--ink-3); }
@media (max-width: 960px) { .specials { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .specials { grid-template-columns: 1fr; } }
.special {
  display: grid; gap: 10px; align-content: start; padding: 28px 26px; text-decoration: none;
  border-right: 1px solid var(--ink-3); border-bottom: 1px solid var(--ink-3);
  transition: background .25s;
  position: relative;
}
.special:hover { background: var(--ink-2); }
.special .ico { width: 34px; height: 34px; color: var(--spray); margin-bottom: 6px; }
.special h3 { font-size: 1.15rem; color: var(--white); }
.special p { color: var(--muted-d); font-size: 0.95rem; }
.special .req { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--spray); }
.special .req svg { width: 14px; height: 14px; transition: transform .2s; }
.special:hover .req svg { transform: translateX(4px); }
.special-flag { position: absolute; top: 26px; right: 24px; font: 500 0.62rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-d); border: 1px solid var(--ink-3); padding: 5px 7px; border-radius: 2px; }

.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  padding: 12px 16px; border: 1px solid var(--ink-3); border-radius: 40px; font-weight: 600; font-size: 0.95rem; color: var(--white);
  transition: border-color .2s, background .2s, color .2s;
}
.chip-link:hover { border-color: var(--spray); background: rgba(79,185,234,.1); }
.chip-link svg { width: 14px; height: 14px; color: var(--spray); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.two-col > * { min-width: 0; }

/* ---------- Services page ---------- */
.gauge-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .gauge-wrap { grid-template-columns: 1fr; } }
.gauge-wrap > * { min-width: 0; }
.surface-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pick {
  padding: 11px 15px; border: 1px solid var(--ink-3); border-radius: 40px; background: transparent; color: var(--white);
  font-weight: 600; font-size: 0.92rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.pick:hover { border-color: var(--spray); }
.pick[aria-pressed="true"] { background: var(--spray); border-color: var(--spray); color: var(--ink); }
.gauge { position: relative; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--r); padding: clamp(20px, 4vw, 40px); display: grid; gap: 18px; justify-items: center; }
.gauge svg { width: 100%; max-width: 420px; height: auto; overflow: visible; }
.gauge .needle { transform-origin: 160px 160px; transition: transform 1s cubic-bezier(.3,1.5,.5,1); }
.gauge-read { text-align: center; display: grid; gap: 6px; }
.gauge-num { font: 800 clamp(2.6rem, 6vw, 3.8rem)/1 var(--f-display); font-stretch: 125%; font-variant-numeric: tabular-nums; }
.gauge-num small { font: 500 0.9rem/1 var(--f-mono); letter-spacing: 0.1em; color: var(--spray); margin-left: 8px; }
.gauge-surface { font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-d); }
.gauge-method { color: #cfd7da; max-width: 42ch; font-size: 0.98rem; min-height: 3.2em; }

.service-list { display: grid; gap: clamp(56px, 8vw, 104px); }
.service-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; scroll-margin-top: calc(var(--hdr) + 24px); }
.service-row:nth-child(even) .service-media { order: 2; }
@media (max-width: 900px) { .service-row { grid-template-columns: 1fr; } .service-row:nth-child(even) .service-media { order: 0; } }
.service-row > * { min-width: 0; }
.service-media .tile { aspect-ratio: 5 / 4; border-radius: var(--r); }
.service-copy { display: grid; gap: 18px; justify-items: start; }
.service-copy h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-stretch: 125%; font-weight: 800; letter-spacing: -0.015em; }
.service-copy > p { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checks svg { width: 20px; height: 20px; color: var(--spray-deep); margin-top: 3px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-row span { font-size: 0.85rem; padding: 6px 10px; border: 1px solid var(--line); border-radius: 40px; color: var(--muted); }
.from { font: 500 0.8rem/1 var(--f-mono); letter-spacing: 0.04em; color: var(--muted); }
.from b { font: 800 1.35rem/1 var(--f-display); font-stretch: 120%; color: var(--ink); letter-spacing: -0.01em; margin-left: 6px; font-variant-numeric: tabular-nums; }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--ink); max-width: 900px; }
.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: 24px 0; font: 700 1.15rem/1.3 var(--f-display); font-stretch: 108%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 18px; height: 18px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--ink); transition: transform .25s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details p { padding: 0 0 26px; color: var(--muted); max-width: 70ch; }

/* ---------- Results page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter {
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 40px; background: var(--white); cursor: pointer;
  font-weight: 600; font-size: 0.92rem; transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 28px; }
@media (max-width: 800px) { .results-grid { grid-template-columns: 1fr; } }
.results-grid > * { min-width: 0; }

/* ---------- About page ---------- */
.statement { font: 700 clamp(1.6rem, 3.4vw, 2.6rem)/1.15 var(--f-display); font-stretch: 112%; letter-spacing: -0.015em; text-wrap: balance; }
.statement em { font-style: normal; color: var(--spray-deep); }
.prose { display: grid; gap: 18px; color: var(--muted); font-size: 1.08rem; max-width: 62ch; }
.standards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .standards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .standards { grid-template-columns: 1fr; } }
.standard { display: grid; gap: 12px; align-content: start; padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.standard svg { width: 30px; height: 30px; color: var(--spray-deep); }
.standard p { color: var(--muted); font-size: 0.97rem; }
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.roadmap::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--spray) 0 33%, var(--ink-3) 33%); }
@media (max-width: 760px) { .roadmap { grid-template-columns: 1fr; gap: 30px; } .roadmap::before { display: none; } }
.roadmap li { position: relative; display: grid; gap: 10px; padding-top: 40px; padding-right: 24px; align-content: start; }
.roadmap li::before { content: ""; position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 2px solid var(--ink-3); }
.roadmap li.now::before { background: var(--spray); border-color: var(--spray); box-shadow: 0 0 0 6px rgba(79,185,234,.2); }
.roadmap .when { font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--spray); }
.roadmap p { color: var(--muted-d); }
.area-list { list-style: none; margin: 0; padding: 0; columns: 3 160px; column-gap: 24px; }
.area-list li { padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-weight: 600; }
.protect { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.protect li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.protect b { font: 500 0.75rem/1.5 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--spray-deep); }
.protect span { color: var(--muted); }
@media (max-width: 560px) { .protect li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Estimate page ---------- */
.est-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 1000px) { .est-layout { grid-template-columns: 1fr; } }
.form-step { display: grid; gap: 20px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.form-step:last-of-type { border-bottom: 0; }
.step-head { display: flex; align-items: baseline; gap: 14px; }
.step-head .n { font: 500 0.78rem/1 var(--f-mono); color: var(--spray-deep); letter-spacing: 0.08em; }
.step-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.step-head p { color: var(--muted); }

.svc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 620px) { .svc-options { grid-template-columns: 1fr; } }
.svc-option { position: relative; display: grid; gap: 12px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--white); padding: 18px; transition: border-color .2s, box-shadow .2s; min-width: 0; }
.svc-option:has(input[type="checkbox"]:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.svc-option label.svc-name { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.svc-option label.svc-name b { font: 700 1.02rem/1.25 var(--f-display); font-stretch: 108%; }
.svc-option label.svc-name span { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 3px; font-family: var(--f-body); font-weight: 400; }
.svc-option select { margin-left: 36px; width: calc(100% - 36px); }
.box { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 2px; margin: 1px 0 0; display: grid; place-items: center; cursor: pointer; background: var(--white); }
.box::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.box:checked { background: var(--ink); }
.box:checked::after { opacity: 1; }

.chip-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-toggle { position: relative; }
.chip-toggle input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip-toggle span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 40px; background: var(--white); font-weight: 600; font-size: 0.92rem; transition: background .2s, color .2s, border-color .2s; }
.chip-toggle span::before { content: "+"; font-family: var(--f-mono); color: var(--spray-deep); }
.chip-toggle input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip-toggle input:checked + span::before { content: "✓"; color: var(--spray); }
.chip-toggle input:focus-visible + span { outline: 2px solid var(--spray); outline-offset: 2px; }

.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.seg span { display: block; padding: 12px 18px; font-weight: 600; font-size: 0.92rem; border-right: 1px solid var(--line); }
.seg label:last-child span { border-right: 0; }
.seg input:checked + span { background: var(--ink); color: var(--white); }
.seg input:focus-visible + span { outline: 2px solid var(--spray); outline-offset: -2px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label, .field-label { font-weight: 600; font-size: 0.9rem; }
.field-label small, .field > label small { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
  width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--f-body); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r);
  transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f1214' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(79,185,234,.35); }
.field.has-error input { border-color: var(--err); }
.field .err { color: var(--err); font-size: 0.82rem; font-weight: 600; }

.drop {
  display: grid; gap: 8px; justify-items: center; text-align: center; padding: 30px 20px;
  border: 1.5px dashed #b4bcbc; border-radius: var(--r); background: var(--white); cursor: pointer; position: relative;
  transition: border-color .2s, background .2s;
}
.drop:hover, .drop.is-over { border-color: var(--spray-deep); background: var(--foam); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.drop svg { width: 30px; height: 30px; color: var(--spray-deep); }
.drop b { font-weight: 700; }
.drop span { color: var(--muted); font-size: 0.88rem; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; border: 1px solid var(--line); }

.summary { position: sticky; top: calc(var(--hdr) + env(safe-area-inset-top, 0px) + 20px); background: var(--ink); color: var(--white); border-radius: var(--r); overflow: hidden; }
@media (max-width: 1000px) { .summary { position: static; } }
.summary-head { padding: 24px 24px 20px; border-bottom: 1px solid var(--ink-3); display: grid; gap: 6px; }
.summary-head .label { color: var(--spray); }
.summary-lines { list-style: none; margin: 0; padding: 8px 24px; display: grid; }
.summary-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--ink-3); font-size: 0.93rem; }
.summary-lines li span:last-child { font-family: var(--f-mono); font-size: 0.85rem; white-space: nowrap; font-variant-numeric: tabular-nums; color: #dbe3e6; }
.summary-lines li.empty { color: var(--muted-d); border: 0; justify-content: flex-start; }
.summary-lines li.discount span:last-child { color: var(--spray); }
.summary-lines li.special span:last-child { color: var(--muted-d); }
.summary-total { padding: 20px 24px 24px; display: grid; gap: 8px; background: var(--ink-2); }
.summary-total .t-label { font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-d); }
.summary-total .t-num { font: 800 clamp(2rem, 4vw, 2.6rem)/1 var(--f-display); font-stretch: 120%; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.summary-total p { font-size: 0.82rem; color: var(--muted-d); }
.summary-contact { padding: 18px 24px 24px; display: grid; gap: 10px; border-top: 1px solid var(--ink-3); font-size: 0.92rem; }
.summary-contact a { text-decoration: none; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.summary-contact a:hover { color: var(--spray); }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-foot p { color: var(--muted); font-size: 0.88rem; max-width: 46ch; }
.form-alert { padding: 14px 16px; border-left: 3px solid var(--err); background: #fbecea; color: #7c2a1e; font-weight: 600; font-size: 0.92rem; }

.success { display: grid; gap: 22px; justify-items: start; padding: clamp(32px, 5vw, 56px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--spray); color: var(--ink); display: grid; place-items: center; }
.success .tick svg { width: 32px; height: 32px; }
.success h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.success p { color: var(--muted); max-width: 56ch; }

/* ---------- CTA band + footer ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white); }
.cta-band .hero-media { opacity: 1; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,18,20,.95) 0%, rgba(15,18,20,.8) 45%, rgba(15,18,20,.35) 100%); }
.cta-inner { padding-block: clamp(72px, 10vw, 130px); display: grid; gap: 28px; justify-items: start; }
.cta-inner h2 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); max-width: 14ch; }
.cta-inner p { color: #cfd7da; max-width: 48ch; font-size: 1.1rem; }
.cta-phone { font: 500 1rem/1 var(--f-mono); color: #dbe3e6; font-variant-numeric: tabular-nums; }
.cta-phone a { text-decoration: none; border-bottom: 1px solid var(--spray); }

.site-footer { background: var(--ink); color: #c2cbcf; border-top: 1px solid var(--ink-3); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid > * { min-width: 0; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand p { font-size: 0.95rem; color: var(--muted-d); max-width: 34ch; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 7px; font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); border: 1px solid var(--ink-3); padding: 8px 10px; border-radius: 2px; }
.badge svg { width: 14px; height: 14px; color: var(--spray); }
.footer-col h4 { margin: 0 0 16px; font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-d); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: #dbe3e6; }
.footer-col a:hover { color: var(--spray); }
.footer-col .mono-line { font-family: var(--f-mono); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px; border-top: 1px solid var(--ink-3); font-size: 0.82rem; color: var(--muted-d); }
.footer-word { font: 900 clamp(4rem, 17vw, 15rem)/0.8 var(--f-display); font-stretch: 125%; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px var(--ink-3); white-space: nowrap; overflow: hidden; padding-top: 10px; user-select: none; }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
    background: rgba(15,18,20,.96); border-top: 1px solid var(--ink-3);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transform: translateY(110%); transition: transform .3s;
  }
  .mobile-bar.is-shown { transform: none; }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; }
  body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Special request groups ---------- */
.special-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-3); border: 1px solid var(--ink-3); }
@media (max-width: 1000px) { .special-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .special-groups { grid-template-columns: 1fr; } }
.sgroup { background: var(--ink); padding: 28px 26px 18px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.sgroup-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink-3); }
.sgroup-head svg { width: 28px; height: 28px; color: var(--spray); flex: none; }
.sgroup-head h3 { color: var(--white); font-size: 1.12rem; }
.sgroup-head span { margin-left: auto; font: 500 0.7rem/1 var(--f-mono); color: var(--muted-d); letter-spacing: .08em; }
.sitem { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--ink-3); text-decoration: none; }
.sitem:last-child { border-bottom: 0; }
.sitem b { color: var(--white); font-weight: 600; font-size: 0.98rem; }
.sitem small { grid-column: 1; color: var(--muted-d); font-size: 0.85rem; line-height: 1.4; }
.sitem svg { grid-row: 1 / span 2; grid-column: 2; width: 16px; height: 16px; color: var(--muted-d); transition: transform .2s, color .2s; }
.sitem:hover b { color: var(--spray); }
.sitem:hover svg { color: var(--spray); transform: translateX(4px); }
.chip-group { display: grid; gap: 10px; }
.chip-group h4 { margin: 0; font: 500 0.72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chip-groups { display: grid; gap: 22px; }
.field.promo-ok input { border-color: var(--ok); box-shadow: 0 0 0 3px rgba(47,158,107,.2); }
.field .promo-msg { display: none; color: var(--ok); font-size: 0.85rem; font-weight: 600; }
.field.promo-ok .promo-msg { display: block; }

/* ---------- Home: game teaser ---------- */
.game-teaser { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; text-decoration: none; background: #3a4144; }
.game-teaser .tile { position: absolute; inset: 0; aspect-ratio: auto; }
.game-teaser::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 55%, rgba(15,18,20,.15), rgba(15,18,20,.7)); }
.game-teaser .play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 14px; color: var(--white); text-align: center; }
.game-teaser .play i { width: 84px; height: 84px; border-radius: 50%; background: var(--spray); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(79,185,234,.25); transition: transform .3s, box-shadow .3s; }
.game-teaser:hover .play i { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(79,185,234,.18); }
.game-teaser .play svg { width: 34px; height: 34px; margin-left: 4px; }
.game-teaser .play b { font: 800 1.1rem/1 var(--f-display); font-stretch: 120%; letter-spacing: .02em; text-transform: uppercase; }
.game-teaser .job-chips { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.game-teaser .job-chips span { font: 500 0.68rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--white); background: rgba(15,18,20,.7); border: 1px solid rgba(255,255,255,.15); padding: 6px 8px; border-radius: 2px; }

/* ---------- Wash-a-house game ---------- */
.game-section { background: var(--ink); color: var(--white); padding-block: 0 clamp(48px, 7vw, 88px); }
.game { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
@media (max-width: 1080px) { .game { grid-template-columns: 1fr; } }
.stage {
  position: relative; height: min(76vh, 760px); min-height: 460px; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(180deg, #8fc3df 0%, #c7e0ec 52%, #e6eee8 100%);
  border: 1px solid var(--ink-3); user-select: none; -webkit-user-select: none;
}
@media (max-width: 700px) { .stage { height: 68vh; min-height: 420px; } }
.stage canvas.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; }
.stage.is-rotate canvas.gl { cursor: grab; }
.hud { position: absolute; pointer-events: none; z-index: 2; }
.hud > * { pointer-events: auto; }
.hud-tl { top: 14px; left: 14px; display: flex; align-items: center; gap: 12px; background: rgba(15,18,20,.82); padding: 10px 16px 10px 10px; border-radius: 60px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ring { position: relative; width: 54px; height: 54px; flex: none; }
.ring svg { width: 54px; height: 54px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring .bg { stroke: var(--ink-3); }
.ring .fg { stroke: var(--spray); stroke-linecap: round; transition: stroke-dashoffset .3s; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 0.9rem/1 var(--f-display); font-stretch: 112%; font-variant-numeric: tabular-nums; }
.hud-tl .meta { display: grid; gap: 4px; }
.hud-tl .meta strong { font: 700 0.95rem/1 var(--f-display); font-stretch: 110%; }
.hud-tl .meta span { font: 500 0.72rem/1 var(--f-mono); color: var(--muted-d); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.hud-tr { top: 14px; right: 14px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 60%; }
.hbtn {
  height: 40px; min-width: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: rgba(15,18,20,.82); color: var(--white); border: 1px solid rgba(255,255,255,.12); border-radius: 40px; cursor: pointer;
  font: 600 0.8rem/1 var(--f-body); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s, border-color .2s;
}
.hbtn svg { width: 17px; height: 17px; }
.hbtn:hover { border-color: var(--spray); }
.hbtn[aria-pressed="true"] { background: var(--spray); color: var(--ink); border-color: var(--spray); }
@media (max-width: 700px) { .hbtn .t { display: none; } .hud-tl { padding-right: 12px; } .hud-tl .meta strong { font-size: .8rem; } }
.toolbar-wrap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 12px 12px; display: flex; justify-content: center; pointer-events: none; }
.toolbar {
  pointer-events: auto; display: flex; gap: 4px; padding: 6px; max-width: 100%; overflow-x: auto; scrollbar-width: none;
  background: rgba(15,18,20,.88); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.toolbar::-webkit-scrollbar { display: none; }
.tool {
  position: relative; flex: none; width: 74px; padding: 9px 4px 8px; display: grid; justify-items: center; gap: 6px;
  background: transparent; color: #cfd7da; border: 1px solid transparent; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s;
}
.tool svg { width: 24px; height: 24px; }
.tool span { font: 600 0.68rem/1.15 var(--f-body); text-align: center; }
.tool kbd { position: absolute; top: 4px; right: 6px; font: 500 0.58rem/1 var(--f-mono); color: var(--muted-d); }
.tool:hover { background: rgba(255,255,255,.06); color: var(--white); }
.tool[aria-pressed="true"] { background: var(--spray); color: var(--ink); }
.tool[aria-pressed="true"] kbd { color: var(--ink); }
.tool.done::after { content: ""; position: absolute; top: 6px; left: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
@media (max-width: 700px) { .tool { width: 62px; } .tool kbd { display: none; } }
.toast {
  position: absolute; z-index: 3; left: 50%; top: 82px; transform: translate(-50%, -10px); opacity: 0; pointer-events: none;
  max-width: min(460px, calc(100% - 32px)); padding: 12px 16px; border-radius: 10px; text-align: center;
  background: var(--white); color: var(--ink); font-weight: 600; font-size: 0.92rem; box-shadow: 0 12px 30px -10px rgba(0,0,0,.45);
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.warn { background: #fff4e5; color: #6b3a07; border-left: 4px solid #e8931f; }
.toast.good { background: var(--white); border-left: 4px solid var(--ok); }
.hover-tag {
  position: absolute; z-index: 2; pointer-events: none; transform: translate(14px, 14px);
  padding: 6px 9px; border-radius: 6px; background: rgba(15,18,20,.9); color: var(--white);
  font: 500 0.72rem/1.3 var(--f-mono); letter-spacing: .03em; white-space: nowrap;
}
.hover-tag em { font-style: normal; color: var(--spray); }
.hover-tag.bad em { color: #ffb36b; }
.overlay {
  position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 20px;
  background: rgba(15,18,20,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.panel { width: min(520px, 100%); background: var(--ink); border: 1px solid var(--ink-3); border-radius: 12px; padding: clamp(24px, 4vw, 36px); display: grid; gap: 16px; justify-items: start; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.panel h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.panel p { color: #cfd7da; }
.panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; width: 100%; }
.panel li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; color: #cfd7da; font-size: 0.95rem; }
.panel li svg { width: 20px; height: 20px; color: var(--spray); margin-top: 2px; }
.code-box { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 20px; border: 2px dashed var(--spray); border-radius: 10px; background: rgba(79,185,234,.08); }
.code-box b { font: 900 clamp(1.6rem, 5vw, 2.2rem)/1 var(--f-display); font-stretch: 125%; letter-spacing: .04em; color: var(--spray); }
.stats-row { display: flex; flex-wrap: wrap; gap: 8px 24px; font: 500 0.78rem/1 var(--f-mono); color: var(--muted-d); letter-spacing: .06em; text-transform: uppercase; }
.stats-row b { color: var(--white); }
.loading { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: linear-gradient(180deg, #8fc3df, #e6eee8); color: var(--ink); font: 600 0.95rem/1 var(--f-body); }
.loading span { display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,.85); padding: 14px 18px; border-radius: 40px; }
.loading i { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--ink-3); border-top-color: var(--spray-deep); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.jobs { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--r); padding: 18px; display: grid; gap: 4px; }
.jobs-head { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 4px 12px; border-bottom: 1px solid var(--ink-3); margin-bottom: 6px; }
.jobs-head h3 { font-size: 1.05rem; }
.jobs-head span { font: 500 0.72rem/1 var(--f-mono); color: var(--muted-d); }
.job { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 10px 6px; border-radius: 8px; cursor: pointer; background: transparent; border: 0; color: inherit; text-align: left; width: 100%; font: inherit; }
.job:hover { background: rgba(255,255,255,.04); }
.job b { font-weight: 600; font-size: 0.92rem; }
.job .pct { font: 500 0.75rem/1.4 var(--f-mono); color: var(--muted-d); font-variant-numeric: tabular-nums; }
.job .bar { grid-column: 1 / -1; height: 4px; background: var(--ink-3); border-radius: 4px; overflow: hidden; }
.job .bar i { display: block; height: 100%; width: 0; background: var(--spray); transition: width .3s; }
.job .needs { grid-column: 1 / -1; font: 500 0.68rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-d); }
.job.done b { color: var(--muted-d); text-decoration: line-through; text-decoration-color: var(--ok); }
.job.done .bar i { background: var(--ok); }
.job.done .pct { color: var(--ok); }
.controls-help { margin-top: 10px; padding: 14px 6px 4px; border-top: 1px solid var(--ink-3); display: grid; gap: 8px; font-size: 0.82rem; color: var(--muted-d); }
.controls-help b { color: var(--white); font-weight: 600; }
.game-fallback { padding: 40px; text-align: center; color: var(--ink); background: rgba(255,255,255,.9); border-radius: 10px; margin: 20px; }

/* small-screen fixes */
@media (max-width: 720px) { .wash-hint { display: none !important; } }
@media (max-width: 520px) { .proof span { display: none; } .proof li { gap: 10px; } }
.overlay { overflow-y: auto; }
@media (max-width: 700px) {
  .overlay { place-items: start center; padding: 12px; }
  .panel { padding: 20px; gap: 12px; }
  .panel li { font-size: 0.86rem; }
  .stage { min-height: 520px; }
}

/* new logo lockup */
.brand { gap: 14px; }
.brand-mark { width: auto; height: 42px; }
.brand-sub { font: 500 0.62rem/1.25 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-d); padding-left: 14px; border-left: 1px solid rgba(255,255,255,.2); }
@media (max-width: 420px) { .brand-sub { display: none; } }
.footer-logo img { width: 190px; height: auto; }

/* service notes on the estimate */
.svc-note {
  margin: 2px 0 0 36px; padding: 12px 14px; border-left: 3px solid #e8931f; background: #fff6ea;
  color: #5b3a12; font-size: 0.86rem; line-height: 1.5; border-radius: 0 var(--r) var(--r) 0;
}
.svc-note b, .special-notes .sn-title { display: block; font: 500 0.68rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: #a8600f; margin-bottom: 6px; }
.special-notes { display: grid; gap: 10px; padding: 16px 18px; border-left: 3px solid #e8931f; background: #fff6ea; border-radius: 0 var(--r) var(--r) 0; }
.special-notes p { color: #5b3a12; font-size: 0.88rem; line-height: 1.5; }
.special-notes p b { color: #3d2507; }
.summary-fine { font-size: 0.78rem !important; color: var(--muted-d); border-top: 1px dashed var(--ink-3); padding-top: 10px; margin-top: 4px; }
@media (max-width: 620px) { .svc-note { margin-left: 0; } }
.svc-options { align-items: start; }
.svc-option { align-content: start; }
.brand img.brand-mark { width: auto; height: 48px; }
@media (max-width: 860px) { .brand img.brand-mark { height: 40px; } }
.summary-lines li span:first-child { min-width: 0; }
.summary-lines li.special span:last-child { font-size: 0.75rem; }

/* tablet / small-laptop header */
.nav a { white-space: nowrap; }
@media (max-width: 1180px) { .nav-phone { display: none; } .nav { gap: 22px; } }
@media (min-width: 861px) and (max-width: 1060px) { .brand-sub { display: none; } .nav { gap: 18px; } .nav a:not(.btn) { font-size: 0.9rem; } .nav .btn { padding: 0 14px; } }
.code-box { flex-wrap: wrap; }
@media (max-width: 380px) { .kicker { font-size: 0.68rem; letter-spacing: 0.08em; } .hero h1 { font-size: 2.35rem; } }

/* game HUD on phones: progress top-left, controls stacked on the right */
@media (max-width: 700px) {
  .hud-tl { top: 10px; left: 10px; padding: 6px 12px 6px 6px; gap: 8px; }
  .ring, .ring svg { width: 44px; height: 44px; }
  .ring b { font-size: .78rem; }
  .hud-tl .meta strong { font-size: .78rem; }
  .hud-tr { top: 10px; right: 10px; flex-direction: column; flex-wrap: nowrap; max-width: none; gap: 6px; }
  .hbtn { height: 38px; min-width: 38px; padding: 0 10px; }
  .toolbar-wrap { padding: 0 8px 8px; }
  .toast { top: 66px; left: 12px; right: 60px; transform: translateY(-10px); max-width: none; }
  .toast.show { transform: none; }
}

/* mobile menu: the header's backdrop blur traps fixed children, so drop it on small screens */
@media (max-width: 860px) {
  .site-header, .site-header.is-solid { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.is-solid { background: rgba(15,18,20,.98); }
  body.menu-open .site-header { background: var(--ink); }
  .nav {
    height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
    justify-content: flex-start;
    padding-top: calc(var(--hdr) + env(safe-area-inset-top, 0px) + 24px);
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  }
  .nav a:not(.btn) { font-size: clamp(1.6rem, 7vw, 2rem); }
  body.menu-open .mobile-bar { transform: translateY(110%); }
}
