/* =============================================================================
   ESTEEM AUTO MEDICS — design system
   Black / gold / chrome, anchored to the client's own brand card.
   Display: Archivo condensed italic (echoes the EAM wordmark).
   Data & labels: IBM Plex Mono — the operational, job-card voice.
   ========================================================================== */

:root {
  --bg: #0B0B0C;
  --bg-2: #101013;
  --surface: #16171B;
  --surface-2: #1C1D22;
  --line: #26272D;
  --line-2: #33343B;

  --ink: #F4F1EA;
  --ink-2: #D7D2C7;
  --muted: #A8A196;
  --dim: #8D8679;

  --gold: #D9A441;
  --gold-2: #F0C36A;
  --gold-deep: #8A6B2F;
  --gold-ghost: rgba(217, 164, 65, 0.13);

  --ok: #7FD6A0;
  --glass: #1A2027;

  --font-d: 'Archivo', 'Arial Narrow', sans-serif;
  --font-b: 'Archivo', system-ui, sans-serif;
  --font-m: 'IBM Plex Mono', ui-monospace, monospace;

  --wrap: 1180px;
  --rad: 6px;
  --rad-lg: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nav-locked { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }
p a, li a.textlink { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

::selection { background: var(--gold); color: #0B0B0C; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: #0B0B0C;
  padding: 10px 18px; border-radius: 0 0 var(--rad) var(--rad);
  font-family: var(--font-m); font-size: 0.8rem; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---------- type ---------- */

.display {
  font-family: var(--font-d);
  font-style: italic;
  font-weight: 790;
  font-stretch: 68%;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.005em;
}
.display em {
  font-style: italic;
  color: var(--gold);
  -webkit-text-fill-color: transparent;
  background: linear-gradient(160deg, var(--gold-2) 20%, var(--gold) 55%, var(--gold-deep) 95%);
  -webkit-background-clip: text;
  background-clip: text;
}

h2.display { font-size: clamp(2rem, 4.6vw, 3.4rem); }

.eyebrow {
  font-family: var(--font-m);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 1px; flex: none;
  background: linear-gradient(90deg, var(--gold), transparent);
  align-self: center;
}
/* Keep the rule beside the first line rather than centred on a wrapped block. */
.eyebrow { align-items: baseline; }
.eyebrow::before { transform: translateY(-4px); }
.eyebrow--bare::before { display: none; }

.lead { color: var(--ink-2); font-size: 1.06rem; max-width: 56ch; }

.mono { font-family: var(--font-m); }

/* ---------- chips & badges ---------- */

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-m); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 3px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  background: var(--bg-2);
  white-space: nowrap;
}
.chip--gold { border-color: var(--gold-deep); color: var(--gold-2); background: var(--gold-ghost); }

/* "to be confirmed" — a designed state, not a broken slot */
.tbc {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-m); font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 3px;
  border: 1px dashed var(--gold-deep);
  color: var(--gold-2);
  vertical-align: middle;
}

.stage-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-m); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: var(--gold-ghost); color: var(--gold-2);
  border: 1px solid var(--gold-deep);
}
.stage-chip::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  animation: chip-pulse 2.2s ease-in-out infinite;
}
.stage-chip--ready { background: rgba(127, 214, 160, 0.1); color: var(--ok); border-color: rgba(127, 214, 160, 0.4); }
.stage-chip--ready::before { background: var(--ok); animation: none; }

@keyframes chip-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 164, 65, 0.5); }
  55% { box-shadow: 0 0 0 6px rgba(217, 164, 65, 0); }
}
@media (prefers-reduced-motion: reduce) { .stage-chip::before { animation: none; } }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-m); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 26px; border-radius: var(--rad);
  border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:disabled {
  opacity: 0.4; cursor: not-allowed;
  box-shadow: none; transform: none !important;
}
.btn--line:disabled:hover { border-color: var(--line-2); color: var(--ink); }
@media (max-width: 460px) {
  .btn { white-space: normal; min-width: 0; }
}

.btn--gold {
  background: linear-gradient(165deg, var(--gold-2), var(--gold) 60%);
  color: #141414;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 22px -10px rgba(217, 164, 65, 0.55);
}
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 12px 26px -10px rgba(217, 164, 65, 0.7); }

.btn--line {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}
.btn--line:hover { border-color: var(--gold-deep); color: var(--gold-2); }

.btn--sm { padding: 9px 16px; font-size: 0.72rem; }
/* The per-category CTAs are the main conversion on a phone — keep them thumb-sized. */
@media (max-width: 900px) {
  .btn--sm { min-height: 44px; }
}

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 46px; width: auto; mix-blend-mode: screen; }

.site-nav ul { display: flex; gap: 6px; list-style: none; }
.site-nav a {
  display: block; padding: 9px 15px;
  font-family: var(--font-m); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); border-radius: var(--rad);
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--gold-2); }

.header-cta { flex: none; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line-2); border-radius: var(--rad);
  width: 44px; height: 44px; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .site-header .wrap { height: 64px; }
  .brand img { height: 38px; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 64px 0 0 0;
    background: rgba(11, 11, 12, 0.97);
    backdrop-filter: blur(10px);
    display: none; padding: 28px 24px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav a { font-size: 1rem; padding: 15px 10px; border-bottom: 1px solid var(--line); }
}

/* ---------- sections ---------- */

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-head { max-width: 640px; display: grid; gap: 16px; margin-bottom: 52px; }
.section-head p { color: var(--muted); }

/* ---------- reveals ---------- */

.js-anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-anim .reveal.is-in { opacity: 1; transform: none; }
.js-anim .reveal:nth-child(2) { transition-delay: 0.07s; }
.js-anim .reveal:nth-child(3) { transition-delay: 0.14s; }
.js-anim .reveal:nth-child(4) { transition-delay: 0.21s; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px 0 40px;
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0; z-index: -2;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%;
  opacity: 0.34;
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.62) 0%, rgba(11,11,12,0.25) 40%, var(--bg) 96%),
    linear-gradient(100deg, rgba(11,11,12,0.9) 22%, rgba(11,11,12,0.1) 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(217,164,65,0.05) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(217,164,65,0.04) 0 1px, transparent 1px 90px);
  mask-image: radial-gradient(75% 68% at 62% 42%, #000 20%, transparent 78%);
}

.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
  gap: 48px; align-items: center;
}

.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-copy h1 { font-size: clamp(2.9rem, 7vw, 5.6rem); max-width: 11ch; }
.hero-sub { color: var(--ink-2); font-size: 1.12rem; max-width: 46ch; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-pkg-note {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--font-m); font-size: 0.74rem; letter-spacing: 0.06em;
  color: var(--muted);
}
.hero-pkg-note strong { color: var(--gold-2); font-weight: 500; }

.hero-map { position: relative; display: grid; justify-items: center; gap: 18px; }
.hero-map .covmap { width: min(300px, 62vw); filter: drop-shadow(0 24px 50px rgba(0,0,0,0.55)); }

.tier-tabs { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--line); padding: 5px; border-radius: 999px; }
.tier-tab {
  font-family: var(--font-m); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  background: none; border: none; border-radius: 999px;
  padding: 8px 18px; cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.tier-tab:hover { color: var(--ink); }
.tier-tab[aria-pressed="true"] { background: var(--gold); color: #141414; }

.hero-map-cap { font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.hero-map-cap strong { color: var(--gold-2); font-weight: 500; }

.hero-strip {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px 34px;
}
.hero-strip span {
  font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 9px;
}
.hero-strip span::before { content: ''; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex: none; }

@media (max-width: 900px) {
  .hero { min-height: 0; padding: 108px 0 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-map { order: 2; }
  .hero-strip { margin-top: 48px; }
}

/* ---------- coverage map ---------- */

.covmap { display: block; }
.covmap-body { fill: #101014; }
.covmap-edge { fill: none; stroke: var(--line-2); stroke-width: 2.5; }
.covmap-panel {
  fill: #17181D;
  stroke: #2C2D34;
  stroke-width: 1.6;
  transition: fill 0.35s ease, stroke 0.35s ease;
}
.covmap-glass { fill: var(--glass); stroke: #262E37; }
.covmap-panel.is-on {
  fill: rgba(217, 164, 65, 0.34);
  stroke: var(--gold);
}
.covmap-panel.is-active {
  fill: rgba(217, 164, 65, 0.26);
  stroke: var(--gold);
  animation: panel-breathe 2.4s ease-in-out infinite;
}
@keyframes panel-breathe {
  0%, 100% { fill: rgba(217, 164, 65, 0.14); }
  50% { fill: rgba(217, 164, 65, 0.42); }
}
@media (prefers-reduced-motion: reduce) {
  .covmap-panel.is-active { animation: none; fill: rgba(217, 164, 65, 0.3); }
}
.covmap--mini .covmap-edge { stroke-width: 4; }
.covmap--mini .covmap-panel { stroke-width: 3; }

/* ---------- packages ---------- */

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.pkg-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  padding: 30px 26px 26px;
  display: grid; gap: 18px;
  align-content: start;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pkg-card:hover { border-color: var(--gold-deep); transform: translateY(-3px); }

.pkg-card::before {
  content: ''; position: absolute; inset: -60% auto auto -30%;
  width: 60%; height: 220%;
  background: linear-gradient(100deg, transparent 30%, rgba(240, 195, 106, 0.06) 50%, transparent 70%);
  transform: translateX(-140%) rotate(8deg);
  transition: transform 0.9s ease;
  pointer-events: none;
}
.pkg-card:hover::before { transform: translateX(300%) rotate(8deg); }

.pkg-tier { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* Compact, per the client's steer — but the linework itself now carries the
   distinction (hood length, roof height, wheelbase, splitter/spoiler) so a
   small icon still reads as a specific car, not an anonymous wedge. */
.pkg-icon {
  width: 72px; height: 28px; flex: none;
  color: var(--gold);
}
.pkg-icon svg { width: 100%; height: 100%; display: block; }
.pkg-card h3 { font-size: 1.28rem; font-weight: 700; letter-spacing: 0.005em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pkg-fits { font-size: 0.88rem; color: var(--muted); margin-top: -8px; }

.pkg-price { display: flex; align-items: baseline; gap: 10px; border-block: 1px solid var(--line); padding: 14px 0; }
.pkg-price .amt { font-family: var(--font-m); font-size: 1.5rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.pkg-price .amt s { text-decoration: none; color: var(--dim); }
.pkg-price .per { font-family: var(--font-m); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); }

.pkg-list { list-style: none; display: grid; gap: 9px; }
.pkg-list li { display: flex; gap: 11px; align-items: start; font-size: 0.92rem; color: var(--ink-2); }
.pkg-list li svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--gold); }
.pkg-list li.pkg-open { color: var(--muted); }
.pkg-list li.pkg-open svg { color: var(--dim); }

.pkg-cta { margin-top: 4px; }

.pkg-note {
  margin-top: 26px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-m); font-size: 0.72rem; color: var(--dim); letter-spacing: 0.04em;
}

@media (max-width: 980px) {
  .pkg-grid { grid-template-columns: 1fr; max-width: 460px; }
}

/* ---------- coverage explainer (separate from vehicle category) ---------- */

.cov-explain {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  background: var(--surface);
  padding: 26px 28px;
  display: grid; gap: 18px;
}
.cov-explain-head { display: grid; gap: 6px; }
.cov-explain-head h3 { font-size: 1.02rem; font-weight: 640; }
.cov-explain-head p { font-size: 0.9rem; color: var(--muted); max-width: 62ch; }

.cov-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cov-level {
  border: 1px solid var(--line); border-radius: var(--rad);
  background: var(--bg-2); padding: 15px 17px;
  display: grid; gap: 5px; align-content: start;
}
.cov-level .k {
  font-family: var(--font-m); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2);
}
.cov-level p { font-size: 0.86rem; color: var(--muted); }

.quote-steps {
  list-style: none; display: grid; gap: 10px; counter-reset: qs;
  border-top: 1px solid var(--line); padding-top: 18px;
}
.quote-steps li {
  counter-increment: qs;
  display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start;
  font-size: 0.9rem; color: var(--ink-2);
}
.quote-steps li::before {
  content: counter(qs);
  font-family: var(--font-m); font-size: 0.7rem; color: var(--gold);
  border: 1px solid var(--gold-deep); border-radius: 50%;
  width: 26px; height: 26px; display: grid; place-items: center;
}

@media (max-width: 780px) {
  .cov-levels { grid-template-columns: 1fr; }
  .cov-explain { padding: 22px 20px; }
}

/* ---------- spray paint visualiser ---------- */

.paintviz {
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  background:
    radial-gradient(120% 150% at 50% -30%, rgba(217, 164, 65, 0.09), transparent 60%),
    var(--bg-2);
  overflow: hidden;
  display: grid;
}

/* Full-bleed: the crop runs to the card edge, so the stage adds no padding. */
.paint-stage { display: block; overflow: hidden; }
.paintpanel { width: 100%; height: auto; display: block; }

/* The coat itself — every highlight below is layered over this. */
.paint-coat { fill: var(--paint, #4A4E54); }

/* Ceiling strips: tight and bright on gloss, wide and faint on satin. */
.paint-strip {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  opacity: calc(var(--sheen, 0.6) * var(--strip-o, 0.4));
  filter: blur(var(--strip-blur, 8px));
}
/* The tight core is what makes a clearcoat look wet rather than chalky. */
.paint-strip--core { filter: blur(calc(var(--strip-blur, 8px) * 0.22)); }

.paint-shoulder {
  fill: none;
  stroke: #fff;
  stroke-width: 1.2;
  opacity: calc(var(--sheen, 0.6) * 0.16);
  filter: blur(1.4px);
}

.paint-crease-hi {
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  opacity: calc(0.10 + var(--sheen, 0.6) * 0.34);
  filter: blur(0.6px);
}
.paint-crease-lo {
  fill: none;
  stroke: #000;
  stroke-width: 9;
  opacity: 0.20;
  transform: translateY(7px);
  filter: blur(4px);
}

.paint-shut { fill: none; stroke: #000; stroke-width: 3.4; opacity: 0.5; filter: blur(0.7px); }
.paint-shut-hi { fill: none; stroke: #fff; stroke-width: 1.2; opacity: calc(var(--sheen, 0.6) * 0.30); }

.paint-flake {
  opacity: var(--flake, 0.3);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.paint-mist, .paint-wet { pointer-events: none; }

.paint-gloss { opacity: 0; }
.paint-gloss.is-sweeping {
  animation: paint-gloss 820ms ease-out 1;
}
@keyframes paint-gloss {
  0%   { opacity: 0; transform: skewX(-12deg) translateX(0); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: skewX(-12deg) translateX(1240px); }
}
@media (prefers-reduced-motion: reduce) {
  .paint-gloss.is-sweeping { animation: none; }
}

.paint-bar {
  border-top: 1px solid var(--line);
  padding: 18px 22px 20px;
  display: grid; gap: 14px;
}

.paint-readout { display: grid; gap: 3px; min-height: 42px; }
.paint-readout strong {
  font-family: var(--font-d); font-style: italic; font-weight: 760; font-stretch: 72%;
  text-transform: uppercase; letter-spacing: 0.01em;
  font-size: 1.32rem; color: var(--ink); line-height: 1.05;
}
.paint-readout span {
  font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--dim);
}

.paint-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.paint-swatch {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 999px; padding: 6px 14px 6px 7px;
  cursor: pointer; color: var(--muted);
  font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.06em;
  transition: border-color 0.15s, color 0.15s;
}
.paint-swatch:hover { border-color: var(--gold-deep); color: var(--ink); }
.paint-swatch[aria-pressed="true"] { border-color: var(--gold); color: var(--ink); }
.paint-dot {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--dot, #888);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.45);
}
.paint-swatch[aria-pressed="true"] .paint-dot { box-shadow: inset 0 1px 2px rgba(255,255,255,0.4), inset 0 -2px 4px rgba(0,0,0,0.45), 0 0 0 2px var(--gold); }

/* Icon-only swatches still have to clear a 44px thumb target. */
.paintviz--compact .paint-swatch-name { display: none; }
.paintviz--compact .paint-swatch { padding: 8px; }
.paintviz--compact .paint-dot { width: 28px; height: 28px; }
.paintviz--compact .paint-readout strong { font-size: 1.1rem; }

.paint-note {
  font-family: var(--font-m); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--dim); line-height: 1.6;
  display: flex; align-items: start; gap: 9px;
}
.paint-note svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--gold-deep); }

/* Touch sizing: keep the names as long as they fit, but never a small target. */
@media (max-width: 900px) {
  .paint-swatch { min-height: 44px; }
}
@media (max-width: 560px) {
  .paint-bar { padding: 16px 16px 18px; }
  .paint-swatch-name { display: none; }
  .paint-swatch { padding: 8px; }
  .paint-dot { width: 28px; height: 28px; }
}

/* ---------- split bands (image + copy) ---------- */

.band { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.band--flip .band-media { order: 2; }
.band-copy { display: grid; gap: 20px; justify-items: start; }
.band-copy p { color: var(--muted); max-width: 52ch; }

.band-media { position: relative; border-radius: var(--rad-lg); overflow: hidden; border: 1px solid var(--line); }
.band-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.band-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(11,11,12,0) 55%, rgba(11,11,12,0.55));
  pointer-events: none;
}
.band-media .chip { position: absolute; left: 14px; bottom: 14px; z-index: 1; backdrop-filter: blur(6px); }

.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.benefit {
  border: 1px solid var(--line); border-radius: var(--rad);
  background: var(--bg-2);
  padding: 16px 18px; display: grid; gap: 6px;
}
.benefit h3 { font-size: 0.94rem; font-weight: 620; }
.benefit p { font-size: 0.85rem; color: var(--muted); max-width: none; }

@media (max-width: 900px) {
  .band { grid-template-columns: 1fr; gap: 32px; }
  .band--flip .band-media { order: 0; }
  .benefit-grid { grid-template-columns: 1fr; }
}

/* ---------- service cards ---------- */

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  position: relative; border-radius: var(--rad-lg); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  transition: border-color 0.2s, transform 0.2s;
}
.svc-card:hover { border-color: var(--gold-deep); transform: translateY(-3px); }
.svc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.svc-card:hover .svc-media img { transform: scale(1.045); }
.svc-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11,11,12,0.72));
}
.svc-body { padding: 20px 22px 24px; display: grid; gap: 10px; align-content: start; }
.svc-body h3 { font-size: 1.08rem; font-weight: 640; }
.svc-body p { font-size: 0.9rem; color: var(--muted); }
.svc-link {
  font-family: var(--font-m); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2);
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
}
.svc-link svg { width: 13px; height: 13px; transition: transform 0.2s; }
.svc-card:hover .svc-link svg { transform: translateX(4px); }

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-media { aspect-ratio: 16 / 8; }
}

/* ---------- divisions band ---------- */

.divisions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.division {
  border: 1px solid var(--line); border-radius: var(--rad-lg);
  background: var(--surface);
  padding: 30px 28px;
  display: grid; gap: 14px; align-content: start;
}
.division img { height: 64px; width: auto; mix-blend-mode: screen; justify-self: start; }
.division h3 { font-size: 1.05rem; font-weight: 640; }
.division p { font-size: 0.9rem; color: var(--muted); }
.division .chip { justify-self: start; }

@media (max-width: 900px) { .divisions { grid-template-columns: 1fr; } }

/* ---------- track teaser ---------- */

.teaser {
  border: 1px solid var(--gold-deep);
  border-radius: var(--rad-lg);
  background:
    radial-gradient(120% 160% at 90% -20%, rgba(217,164,65,0.14), transparent 55%),
    var(--surface);
  padding: 44px 40px;
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 40px; align-items: center;
}
.teaser-copy { display: grid; gap: 16px; justify-items: start; }
.teaser-copy p { color: var(--muted); max-width: 46ch; }

.teaser-demo { display: grid; gap: 0; }
.tl { list-style: none; display: grid; gap: 0; }
.tl li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; position: relative; padding-bottom: 18px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before {
  content: ''; position: absolute; left: 10px; top: 20px; bottom: -2px;
  width: 2px; background: var(--line-2);
}
.tl li:last-child::before { display: none; }
.tl-dot {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line-2); background: var(--bg-2);
  display: grid; place-items: center; z-index: 1;
}
.tl-dot svg { width: 11px; height: 11px; color: #141414; }
.tl li.is-done .tl-dot { background: var(--gold); border-color: var(--gold); }
.tl li.is-done::before { background: var(--gold-deep); }
.tl li.is-active .tl-dot { border-color: var(--gold); }
.tl li.is-active .tl-dot::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  animation: chip-pulse 2.2s ease-in-out infinite;
}
.tl-label { font-size: 0.92rem; color: var(--muted); padding-top: 0; line-height: 1.4; }
.tl li.is-done .tl-label, .tl li.is-active .tl-label { color: var(--ink); }
.tl-when { display: block; font-family: var(--font-m); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-top: 2px; }

@media (max-width: 900px) {
  .teaser { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  position: relative; overflow: hidden;
  padding: 150px 0 70px;
  border-bottom: 1px solid var(--line);
}
.page-hero-photo { position: absolute; inset: 0; z-index: -1; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.page-hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,0.5), var(--bg) 92%);
}
.page-hero .wrap { display: grid; gap: 18px; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.page-hero p { color: var(--ink-2); max-width: 56ch; font-size: 1.05rem; }

/* ---------- services page ---------- */

/* Also carries .wrap, whose horizontal padding this rule would otherwise
   override — keep the 24px gutter or the copy sits on the screen edge. */
.svc-detail {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px;
  padding: 72px 24px; border-bottom: 1px solid var(--line);
  align-items: center;
}
.svc-detail:last-of-type { border-bottom: none; }
.svc-detail-copy { display: grid; gap: 18px; justify-items: start; }
.svc-detail-copy p { color: var(--muted); max-width: 54ch; }
.svc-detail-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }

.includes { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.includes li { display: flex; gap: 12px; align-items: start; font-size: 0.95rem; color: var(--ink-2); }
.includes li svg { width: 15px; height: 15px; flex: none; margin-top: 5px; color: var(--gold); }

.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; width: 100%; }
.steps li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-m); font-size: 0.85rem; color: var(--gold);
  border: 1px solid var(--gold-deep); border-radius: var(--rad);
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--gold-ghost);
}
.steps h3 { font-size: 0.98rem; font-weight: 640; margin-bottom: 3px; }
.steps p { font-size: 0.88rem; color: var(--muted); }

.film-layers { display: grid; gap: 12px; width: 100%; max-width: 420px; margin-top: 28px; }
.film-layer {
  border: 1px solid var(--line); border-radius: var(--rad);
  padding: 15px 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 0.88rem; color: var(--ink-2);
  background: var(--surface);
}
.film-layer .mono { font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.film-layer--top { border-color: var(--gold-deep); background: linear-gradient(90deg, var(--gold-ghost), var(--surface)); }
.film-layer--paint { border-style: dashed; color: var(--muted); }

.cat-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pill {
  font-family: var(--font-m); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--gold-deep); border-radius: 999px;
  background: var(--gold-ghost); color: var(--gold-2);
  padding: 7px 15px;
}

.trio-cap {
  font-family: var(--font-m); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim);
  margin-bottom: 14px;
}

.tier-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; }
.tier-cell { display: grid; gap: 10px; justify-items: center; text-align: center; }
.tier-cell .covmap { width: min(130px, 100%); }
.tier-cell figcaption { font-family: var(--font-m); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tier-cell figcaption strong { color: var(--gold-2); font-weight: 500; }

@media (max-width: 900px) {
  .svc-detail { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 56px 24px; }
  .tier-trio { max-width: 420px; margin: 0 auto; }
}

/* ---------- tracker ---------- */

.lookup {
  max-width: 620px;
  display: grid; gap: 18px;
}
.lookup-form { display: flex; flex-wrap: wrap; gap: 10px; }
.lookup-form input {
  flex: 1 1 200px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--rad);
  color: var(--ink);
  font-family: var(--font-m); font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 18px;
}
.lookup-form input::placeholder { color: var(--dim); text-transform: none; letter-spacing: 0; font-size: 0.9rem; }
.lookup-form input:focus { outline: none; border-color: var(--gold); }

.lookup-samples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.sample-chip {
  font-family: var(--font-m); font-size: 0.72rem; letter-spacing: 0.08em;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--ink-2); padding: 6px 14px; cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.sample-chip:hover { border-color: var(--gold-deep); color: var(--gold-2); }

.lookup-error {
  display: none;
  font-size: 0.9rem; color: #E8A0A0;
  border: 1px solid rgba(232, 160, 160, 0.3); border-radius: var(--rad);
  background: rgba(232, 160, 160, 0.07);
  padding: 12px 16px;
}
.lookup-error.is-visible { display: block; }

.job-view { display: none; margin-top: 56px; }
.job-view.is-visible { display: block; }

.job-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 36px;
}
.job-id { display: grid; gap: 8px; }
.job-plate {
  font-family: var(--font-m); font-size: 1.7rem; font-weight: 500; letter-spacing: 0.1em;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--rad);
  padding: 6px 16px; display: inline-block; justify-self: start;
}
.job-meta { font-size: 0.95rem; color: var(--muted); }
.job-meta .mono { color: var(--dim); font-size: 0.78rem; letter-spacing: 0.08em; }

.job-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: start; }
.job-col { display: grid; gap: 36px; min-width: 0; }

.job-panel { display: grid; gap: 18px; }
.job-panel > h2 { font-size: 0.78rem; font-family: var(--font-m); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

.job-map-frame {
  border: 1px solid var(--line); border-radius: var(--rad-lg);
  background: var(--bg-2);
  padding: 28px; display: grid; justify-items: center; gap: 14px;
}
.job-map-frame .covmap { width: min(230px, 60vw); }
.job-map-cap { font-family: var(--font-m); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); text-align: center; }

.job-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact {
  border: 1px solid var(--line); border-radius: var(--rad);
  background: var(--surface); padding: 13px 16px; display: grid; gap: 3px;
}
.fact .k { font-family: var(--font-m); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.fact .v { font-size: 0.95rem; color: var(--ink); }

.notes { list-style: none; display: grid; gap: 12px; }
.note {
  border: 1px solid var(--line); border-left: 3px solid var(--gold-deep);
  border-radius: var(--rad);
  background: var(--surface);
  padding: 13px 16px; display: grid; gap: 4px;
}
.note .when { font-family: var(--font-m); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.note p { font-size: 0.92rem; color: var(--ink-2); }

.photo-doc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.photo-set {
  aspect-ratio: 4 / 3;
  min-width: 0; min-height: 0;
  border: 1px solid var(--line); border-radius: var(--rad);
  background:
    repeating-linear-gradient(45deg, rgba(217,164,65,0.05) 0 8px, transparent 8px 20px),
    var(--surface);
  display: grid; align-content: end; gap: 3px;
  padding: 12px 13px;
}
.photo-set svg { width: 18px; height: 18px; color: var(--gold-deep); margin-bottom: auto; }
.photo-set .n { font-size: 0.82rem; color: var(--ink-2); line-height: 1.3; }
.photo-set .c { font-family: var(--font-m); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }

.job-wa {
  border: 1px solid var(--line); border-radius: var(--rad-lg);
  background: var(--surface);
  padding: 22px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.job-wa p { font-size: 0.92rem; color: var(--muted); max-width: 34ch; }

@media (max-width: 980px) {
  .job-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .photo-doc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- staff console ---------- */

.gate {
  min-height: 100svh; display: grid; place-items: center; padding: 100px 24px 60px;
}
.gate-card {
  width: min(420px, 100%);
  border: 1px solid var(--line); border-radius: var(--rad-lg);
  background: var(--surface);
  padding: 40px 36px;
  display: grid; gap: 20px; justify-items: start;
}
.gate-card img { height: 52px; width: auto; mix-blend-mode: screen; }
.gate-card h1 { font-size: 1.5rem; }
.gate-card p { font-size: 0.92rem; color: var(--muted); }
.gate-field { display: grid; gap: 8px; width: 100%; }
.gate-field label { font-family: var(--font-m); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.gate-field input {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--rad);
  color: var(--ink); font-family: var(--font-m); font-size: 1rem;
  padding: 13px 16px; width: 100%;
}
.gate-field input:focus { outline: none; border-color: var(--gold); }

.console { display: none; }
.console.is-open { display: block; }

.console-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 108px 0 26px;
}
.console-head .console-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.console-user { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--muted); }
.console-user .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: #141414;
  display: grid; place-items: center;
  font-family: var(--font-m); font-weight: 500; font-size: 0.8rem;
}

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 40px; }
.stat {
  border: 1px solid var(--line); border-radius: var(--rad);
  background: var(--surface);
  padding: 18px 20px; display: grid; gap: 4px;
}
.stat .n { font-family: var(--font-m); font-size: 1.9rem; font-weight: 500; color: var(--gold-2); line-height: 1; }
.stat .k { font-family: var(--font-m); font-size: 0.64rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--dim); }

.console-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; padding-bottom: 90px; }

.job-list { display: grid; gap: 12px; }
.job-card {
  width: 100%; text-align: left;
  border: 1px solid var(--line); border-radius: var(--rad-lg);
  background: var(--surface);
  padding: 18px 20px;
  display: grid; grid-template-columns: 1fr 64px; gap: 6px 16px;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-b); font-size: 1rem;
  transition: border-color 0.15s, background 0.15s;
}
.job-card:hover { border-color: var(--gold-deep); }
.job-card.is-current { border-color: var(--gold); background: linear-gradient(180deg, rgba(217,164,65,0.07), var(--surface) 60%); }
.job-card .jc-plate { font-family: var(--font-m); font-size: 1.02rem; letter-spacing: 0.08em; font-weight: 500; }
.job-card .jc-vehicle { font-size: 0.85rem; color: var(--muted); }
.job-card .jc-stage { margin-top: 8px; justify-self: start; }
.job-card .jc-map { grid-row: 1 / span 3; grid-column: 2; align-self: center; }
.job-card .jc-map .covmap { width: 64px; }

.detail {
  border: 1px solid var(--line); border-radius: var(--rad-lg);
  background: var(--surface);
  padding: 28px;
  display: grid; gap: 26px;
  position: sticky; top: 96px;
}
.detail-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: start; }
.detail-id { display: grid; gap: 6px; }
.detail-id .job-plate { font-size: 1.3rem; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.detail-stages { list-style: none; display: grid; gap: 8px; }
.detail-stage {
  display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--rad);
  padding: 11px 14px;
  background: var(--bg-2);
}
.detail-stage .ds-n {
  font-family: var(--font-m); font-size: 0.72rem; color: var(--dim);
}
.detail-stage .ds-label { font-size: 0.92rem; color: var(--muted); }
.detail-stage.is-done { border-color: var(--gold-deep); }
.detail-stage.is-done .ds-label { color: var(--ink-2); }
.detail-stage.is-done .ds-n { color: var(--gold); }
.detail-stage.is-active { border-color: var(--gold); background: var(--gold-ghost); }
.detail-stage.is-active .ds-label { color: var(--ink); font-weight: 560; }
.detail-stage .ds-tick { width: 15px; height: 15px; color: var(--gold); }

.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Advancing a stage is customer-visible immediately, so it's confirmed here
   inline rather than with a native confirm() — the rest of the console has
   no browser dialogs, and one would look like it belongs to a different
   product. */
.confirm-band {
  border: 1px solid var(--gold-deep); border-radius: var(--rad);
  background: var(--gold-ghost);
  padding: 14px 16px;
  display: grid; gap: 12px;
}
.confirm-band p { font-size: 0.86rem; color: var(--ink-2); line-height: 1.5; }
.confirm-band-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.detail-noteform { display: grid; gap: 10px; }
.detail-noteform textarea {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--rad);
  color: var(--ink); font-family: var(--font-b); font-size: 0.92rem;
  padding: 12px 14px; min-height: 66px; resize: vertical; width: 100%;
}
.detail-noteform textarea:focus { outline: none; border-color: var(--gold); }

.console-foot {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); padding: 18px 0 60px;
  font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--dim);
}

@media (max-width: 980px) {
  .console-grid { grid-template-columns: 1fr; }
  .detail { position: static; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.contact-grid > * { min-width: 0; }

.qform { display: grid; gap: 16px; }
.qrow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qrow > .qfield, .qform > .qfield { min-width: 0; }
.qfield { display: grid; gap: 7px; }
.qfield label { font-family: var(--font-m); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.qfield input, .qfield select, .qfield textarea {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--rad);
  color: var(--ink); font-family: var(--font-b); font-size: 0.98rem;
  padding: 13px 15px; width: 100%; min-width: 0; max-width: 100%;
}
.qfield textarea { min-height: 110px; resize: vertical; }
.qfield input:focus, .qfield select:focus, .qfield textarea:focus { outline: none; border-color: var(--gold); }
.qfield select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8A196' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
  padding-right: 42px;
}
.qfield.has-error input { border-color: #C96A6A; }
.qfield .err { display: none; font-size: 0.8rem; color: #E8A0A0; }
.qfield.has-error .err { display: block; }

.qform-note { font-size: 0.82rem; color: var(--dim); }

.qform-done {
  display: none;
  border: 1px solid rgba(127, 214, 160, 0.35); border-radius: var(--rad);
  background: rgba(127, 214, 160, 0.07);
  padding: 14px 18px; font-size: 0.9rem; color: var(--ok);
}
.qform-done.is-visible { display: block; }
.qform-done a { color: var(--ok); text-decoration: underline; }

.info-card {
  border: 1px solid var(--line); border-radius: var(--rad-lg);
  background: var(--surface);
  padding: 30px 28px; display: grid; gap: 22px;
}
.info-row { display: grid; grid-template-columns: 22px 1fr; gap: 16px; align-items: start; }
.info-row svg { width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.info-row h3 { font-size: 0.78rem; font-family: var(--font-m); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.info-row p { font-size: 0.96rem; color: var(--ink-2); }
.info-row p a:hover { color: var(--gold-2); }
.info-row .pending { color: var(--dim); }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .qrow { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */

.cta-band {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(90% 130% at 50% 130%, rgba(217, 164, 65, 0.16), transparent 60%),
    var(--bg-2);
  padding: 90px 0;
  text-align: center;
}
.cta-band .wrap { display: grid; gap: 22px; justify-items: center; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 16ch; }
.cta-band p { color: var(--muted); max-width: 44ch; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: 64px 0 110px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.footer-brand img { height: 74px; width: auto; mix-blend-mode: screen; }
.footer-brand p { font-size: 0.88rem; color: var(--muted); max-width: 30ch; }
.footer-col h3 { font-family: var(--font-m); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a, .footer-col li { font-size: 0.9rem; color: var(--muted); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 48px; padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 0.8rem; color: var(--dim);
}
.footer-bottom a { color: var(--dim); }
.footer-bottom a:hover { color: var(--muted); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- mobile action bar ---------- */

.action-bar {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: none;
  background: rgba(16, 16, 19, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  flex: 1; display: grid; justify-items: center; gap: 3px;
  padding: 10px 0 12px;
  font-family: var(--font-m); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.action-bar a svg { width: 19px; height: 19px; color: var(--gold); }
.action-bar a:active { color: var(--ink); }

@media (max-width: 900px) {
  .action-bar { display: flex; }
  .site-footer { padding-bottom: 140px; }
}
@media (max-width: 900px) and (orientation: landscape) and (max-height: 460px) {
  .action-bar a { grid-auto-flow: column; align-items: center; padding: 8px 0; gap: 8px; }
  .action-bar a svg { width: 16px; height: 16px; }
  .site-footer { padding-bottom: 90px; }
}
