/* Acid Dipping 'n' Powdercoating
   Layout concept: a workshop spec sheet. Graphite bands, steel-grey ground,
   bronze (from the powder-coated wheels) as the single accent, mono labels for real measurements. */
:root {
  --steel: #edf0f2;
  --paper: #ffffff;
  --ink: #15191e;
  --graphite: #1c2127;
  --graphite-2: #262c33;
  --muted: #56606a;
  --muted-dark: #a7b0b8;
  --line: #d2d8dc;
  --line-dark: #39414a;
  --accent: #1b5fc1;
  --accent-fill: #1f6fe0;
  --accent-fill-hover: #1a5fc2;
  --brand-red: #8e2f38;
  --accent-hi: #5aa9ff;
  --on-dark: #f1f3f4;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--steel);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: #0f1114;
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent-hi); outline-offset: 2px;
}
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-stretch: 118%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; font-stretch: 112%; font-weight: 750; }
p { margin: 0; }
.prose p + p { margin-top: 0.9em; }
.prose { max-width: 66ch; }

/* ---------- utilities ---------- */
.wrap { max-width: calc(var(--wrap) + 32px); margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.band { padding-block: clamp(56px, 8vw, 104px); }
.band--paper { background: var(--paper); }
.band--dark { background: var(--graphite); color: var(--on-dark); }
.band--dark a:not(.btn) { color: var(--accent-hi); }
.label {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.band--dark .label, .hero .label { color: var(--accent-hi); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 58ch; }
.band--dark .lede, .hero .lede { color: var(--muted-dark); }
.stack { display: grid; gap: 18px; }
.stack-lg { display: grid; gap: 28px; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-stretch: 112%; font-weight: 700;
  font-size: 1rem; letter-spacing: 0.01em;
  padding: 14px 22px; border-radius: 3px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--accent-fill); color: #fff; }
.btn--primary:hover { background: var(--accent-fill-hover); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(90,169,255,.14); }
.btn--dark { background: var(--graphite); color: var(--on-dark); }
.btn--dark:hover { background: var(--graphite-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: #0f1114; border-bottom: 2px solid var(--brand-red);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 94px; }
.brand { display: flex; align-items: center; text-decoration: none; min-width: 0; padding-block: 8px; }
.brand img { height: 78px; width: auto; }
.brand-name { font-family: var(--f-display); font-stretch: 125%; font-weight: 850; font-size: 1.05rem; line-height: 1.05; letter-spacing: -0.01em; }
.brand-name small { display: block; font-family: var(--f-mono); font-stretch: 100%; font-weight: 400; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--f-display); font-stretch: 105%; font-weight: 600; font-size: 0.95rem;
  color: var(--on-dark); text-decoration: none; padding: 8px 10px; border-radius: 3px;
}
.nav a:hover { background: var(--graphite-2); }
.nav a[aria-current="page"] { color: var(--accent-hi); box-shadow: inset 0 -2px 0 var(--accent-hi); border-radius: 0; }
.nav .btn { margin-left: 8px; padding: 10px 16px; font-size: 0.95rem; }
.nav .btn:hover { background: var(--accent-fill-hover); }
.menu { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary {
    list-style: none; cursor: pointer; font-family: var(--f-display); font-weight: 700;
    padding: 10px 14px; border: 2px solid var(--on-dark); color: var(--on-dark); border-radius: 3px;
  }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { background: var(--on-dark); color: var(--ink); }
  .menu-panel {
    position: absolute; right: 0; top: calc(100% + 10px);
    width: min(300px, calc(100vw - 32px));
    background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
    box-shadow: 0 18px 40px rgba(21,25,30,.18);
    display: grid; padding: 8px;
  }
  .menu-panel a { padding: 12px 12px; color: var(--ink); text-decoration: none; font-family: var(--f-display); font-weight: 600; border-radius: 3px; }
  .menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--steel); color: var(--accent); }
  .menu-panel .btn { justify-content: center; margin-top: 6px; color: #fff; }
}
@media (max-width: 420px) { .brand img { height: 62px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.foot-logo { height: 120px; width: auto; }

/* ---------- photos (graceful if a photo fails to load) ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: 3px;
  background-color: var(--graphite-2);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px);
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph img.x { display: none; }
.ph figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 28px 14px 10px;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--on-dark);
  background: linear-gradient(to top, rgba(21,25,30,.82), rgba(21,25,30,0));
}

/* ---------- hero ---------- */
.hero { background: var(--graphite); color: var(--on-dark); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 92px); }
.hero h1 { color: var(--on-dark); }
.hero h1 em { font-style: normal; color: var(--accent-hi); }
.hero .ph { aspect-ratio: 4 / 5; max-height: 560px; width: 100%; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 8px; border-top: 1px solid var(--line-dark); }
.hero-facts span { font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: .05em; color: var(--muted-dark); padding-top: 12px; }
.hero-facts b { color: var(--on-dark); font-weight: 500; }
.page-hero .wrap { grid-template-columns: 1fr; padding-block: clamp(44px, 6vw, 76px); }
.page-hero .hero-copy { max-width: 780px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .ph { aspect-ratio: 4 / 3; max-height: 420px; }
}

/* ---------- price strip ---------- */
.prices { background: var(--paper); border-bottom: 1px solid var(--line); }
.prices .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.price-cell { padding: 22px 18px; border-left: 1px solid var(--line); display: grid; gap: 2px; min-width: 0; }
.price-cell:first-child { border-left: 0; padding-left: 0; }
.price-cell .label { color: var(--muted); }
.price-cell strong { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: 1.55rem; font-variant-numeric: tabular-nums; }
.price-cell strong small { font-family: var(--f-body); font-stretch: 100%; font-weight: 600; font-size: 0.9rem; color: var(--muted); margin-left: 4px; }
@media (max-width: 860px) {
  .prices .wrap { grid-template-columns: repeat(2, 1fr); }
  .price-cell { padding: 18px 14px; }
  .price-cell:nth-child(odd) { border-left: 0; padding-left: 0; }
  .price-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- section heads ---------- */
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }
.sec-head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 700px) { .sec-head--split { grid-template-columns: 1fr; } }

/* ---------- service blocks ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; color: inherit; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.svc:hover { border-color: var(--accent); transform: translateY(-2px); }
.svc .ph { aspect-ratio: 4 / 3; border-radius: 0; }
.svc-body { padding: 22px; display: grid; gap: 10px; align-content: start; }
.svc-body p { color: var(--muted); }
.svc-from { margin-top: 6px; font-family: var(--f-mono); font-size: 0.85rem; color: var(--ink); }
.svc-from b { color: var(--accent); font-weight: 500; }
@media (max-width: 1000px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.step { padding: 26px 22px 6px 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.step + .step { padding-left: 22px; border-left: 1px solid var(--line-dark); }
.step-n { font-family: var(--f-mono); font-size: 0.8rem; color: var(--accent-hi); letter-spacing: .08em; }
.step h3 { color: var(--on-dark); }
.step p { color: var(--muted-dark); }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line-dark); }
}

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
.split .ph { aspect-ratio: 5 / 4; }
.split--flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery .ph { aspect-ratio: 3 / 4; }
.gallery .ph.wide { grid-column: span 2; aspect-ratio: auto; }
.gallery a { display: block; color: inherit; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.strip .ph { aspect-ratio: 1; }
@media (max-width: 700px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 4px; overflow: hidden; background: var(--graphite-2); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-link { display: grid; place-items: center; text-decoration: none; color: var(--on-dark); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px); }
.video-link span { display: inline-flex; gap: 10px; align-items: center; font-family: var(--f-display); font-weight: 700; padding: 14px 20px; border: 2px solid var(--accent-hi); border-radius: 3px; }

/* ---------- info tiles / notes ---------- */
.notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.note { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.note p { color: var(--muted); }
.note--warn { border-color: var(--accent); }
.note--warn .label { color: var(--accent); }
@media (max-width: 760px) { .notes { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.ticks li::before { content: ""; width: 12px; height: 12px; margin-top: 7px; background: var(--accent-hi); transform: rotate(45deg); }
.ticks b { display: block; }
.ticks span { color: var(--muted); }
.band--dark .ticks span { color: var(--muted-dark); }

/* ---------- price table ---------- */
.ptable-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.ptable { width: 100%; border-collapse: collapse; min-width: 420px; }
.ptable caption { text-align: left; padding: 22px 22px 6px; }
.ptable caption h3 { margin-bottom: 6px; }
.ptable caption p { color: var(--muted); font-size: 0.98rem; }
.ptable th, .ptable td { padding: 14px 22px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.ptable thead th { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.ptable td.price { text-align: right; white-space: nowrap; font-family: var(--f-display); font-stretch: 112%; font-weight: 750; font-variant-numeric: tabular-nums; }
.ptable th.price-h { text-align: right; }
.ptable tbody th { font-weight: 600; }
.ptable .sub { display: block; font-weight: 400; color: var(--muted); font-size: 0.92rem; }
.price-grid { display: grid; gap: 22px; }
.small-print { font-size: 0.95rem; color: var(--muted); max-width: 70ch; }

/* ---------- swatches ---------- */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sw { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.sw i { display: block; height: 84px; border-bottom: 1px solid var(--line); }
.sw div { padding: 10px 12px 12px; display: grid; gap: 2px; }
.sw b { font-family: var(--f-mono); font-weight: 500; font-size: 0.82rem; }
.sw span { font-size: 0.92rem; color: var(--muted); }
.finishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.finish { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.finish p { color: var(--muted); }
.sheen { height: 90px; border-radius: 3px; background-color: #22272d; }
.sheen--gloss { background-image: linear-gradient(115deg, #22272d 0 34%, #6c747c 44%, #f2f4f5 50%, #6c747c 56%, #22272d 66% 100%); }
.sheen--satin { background-image: linear-gradient(115deg, #22272d 0 28%, #3f464e 44%, #5d656d 50%, #3f464e 56%, #22272d 72% 100%); }
.sheen--matt { background-image: linear-gradient(115deg, #22272d, #2b3138); }
@media (max-width: 860px) { .finishes { grid-template-columns: 1fr; } }

/* ---------- spec drawings ---------- */
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.spec-card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 26px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.spec-card svg { width: 100%; height: auto; display: block; }
.spec-card svg text { font-family: var(--f-mono); }
.dims { display: flex; flex-wrap: wrap; gap: 8px; }
.dims span { font-family: var(--f-mono); font-size: 0.85rem; padding: 6px 10px; background: var(--steel); border-radius: 3px; }
@media (max-width: 860px) { .spec { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.cdetails { display: grid; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.cdetails > div { padding: 20px 24px; display: grid; gap: 4px; }
.cdetails > div + div { border-top: 1px solid var(--line); }
.cdetails .big { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; font-size: 1.35rem; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.cdetails .big:hover { color: var(--accent); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; font-variant-numeric: tabular-nums; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-family: var(--f-mono); font-size: 0.95rem; }
form.quote { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--steel);
  border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: var(--paper); outline: none; box-shadow: 0 0 0 3px rgba(90,169,255,.35); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 3px; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 16px; border-radius: 3px; font-weight: 600; }
.form-msg--ok { background: #e3f1e6; color: #1d5a2c; }
.form-msg--err { background: #f7e4e1; color: #8a2a1c; }
.map { aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: var(--graphite-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta .wrap { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta h2 { color: var(--on-dark); }
@media (max-width: 760px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: #111418; color: var(--muted-dark); font-size: 0.95rem; }
.site-footer .wrap { padding-block: 56px 28px; display: grid; gap: 36px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-cols > div { display: grid; gap: 8px; align-content: start; min-width: 0; }
.foot-cols h4 { font-family: var(--f-mono); font-stretch: 100%; font-weight: 500; font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 4px; }
.site-footer a { color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--accent-hi); }
.foot-brand { font-family: var(--f-display); font-stretch: 125%; font-weight: 850; font-size: 1.2rem; color: var(--on-dark); line-height: 1.1; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; border-top: 1px solid #2a3037; font-size: 0.85rem; }
@media (max-width: 860px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-cols { grid-template-columns: 1fr; } }

/* ---------- mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: var(--graphite); border-top: 1px solid var(--line-dark);
  }
  .callbar .btn { justify-content: center; padding: 12px; }
  .site-footer { padding-bottom: 76px; }
}

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

/* ---------- 3D wheel configurator (home hero) ---------- */
.wheel-stage { display: grid; gap: 14px; min-width: 0; }
.wheel-canvas {
  position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin-inline: auto;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  background: radial-gradient(circle at 50% 46%, rgba(90,169,255,.16), rgba(90,169,255,0) 58%);
}
.wheel-canvas.grabbing { cursor: grabbing; }
.wheel-canvas canvas { position: relative; display: block; width: 100% !important; height: 100% !important; }
.wheel-hint {
  position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; pointer-events: none;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark);
  transition: opacity .4s ease;
}
.wheel-canvas.touched .wheel-hint { opacity: 0; }
.wheel-fallback { display: none; }
.wheel-fallback .ph { aspect-ratio: 4 / 5; max-height: 520px; }
.wheel-stage.no-3d .wheel-canvas, .wheel-stage.no-3d .finish-ui, .wheel-stage.no-3d .wheel-note { display: none; }
.wheel-stage.no-3d .wheel-fallback { display: block; }
.finish-ui {
  display: grid; gap: 12px; padding: 14px 16px;
  background: var(--graphite-2); border: 1px solid var(--line-dark); border-radius: 4px;
}
.finish-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.finish-name { font-family: var(--f-mono); font-size: 0.85rem; color: var(--on-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  width: 32px; height: 32px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--line-dark); background: var(--c);
  transition: transform .15s ease;
}
.chip.metal { background-image: linear-gradient(135deg, rgba(255,255,255,.45), rgba(255,255,255,0) 45%, rgba(0,0,0,.25)); background-color: var(--c); }
.chip:hover { transform: scale(1.08); }
.chip[aria-pressed="true"] { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.seg { display: inline-flex; border: 1px solid var(--line-dark); border-radius: 3px; overflow: hidden; }
.seg button {
  font-family: var(--f-display); font-stretch: 108%; font-weight: 650; font-size: 0.9rem;
  padding: 8px 14px; background: transparent; color: var(--muted-dark); border: 0; cursor: pointer;
}
.seg button + button { border-left: 1px solid var(--line-dark); }
.seg button[aria-pressed="true"] { background: var(--accent-fill); color: #fff; }
.wheel-note { font-size: 0.85rem; color: var(--muted-dark); text-align: center; }
@media (max-width: 860px) { .wheel-canvas { max-width: 420px; } }

.wheel-head { display: grid; gap: 6px; text-align: center; justify-items: center; }
.wheel-title { color: var(--on-dark); font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.wheel-head p { color: var(--muted-dark); font-size: 0.98rem; }
.finish-step { display: grid; gap: 10px; }
.finish-step + .finish-step { padding-top: 12px; border-top: 1px solid var(--line-dark); }
.step-tag { font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hi); }
.wheel-note a { color: var(--accent-hi); }
.try-link {
  justify-self: start; display: inline-flex; gap: 8px; align-items: center;
  font-family: var(--f-display); font-stretch: 108%; font-weight: 650; font-size: 0.98rem;
  color: var(--accent-hi); text-decoration: none; border-bottom: 1px solid rgba(90,169,255,.45); padding-bottom: 2px;
}
.try-link:hover { border-bottom-color: var(--accent-hi); }
@media (min-width: 861px) { .try-link { display: none; } }

.hero a:not(.btn):not(.try-link) { color: var(--accent-hi); }
.finish-step .seg { display: grid; grid-template-columns: repeat(3, 1fr); }
.finish-step .seg button { text-align: center; padding-block: 10px; }

/* ---------- quote tools ---------- */
[hidden] { display: none !important; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--wa { background: #1f9d55; color: #fff; }
.btn--wa:hover { background: #188246; }
.finish-ui .quote-link { justify-content: center; }
.callbar { grid-template-columns: repeat(3, 1fr) !important; }
.callbar .btn { padding: 12px 6px; font-size: 0.92rem; gap: 6px; }

.est-wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.est-wrap > * { min-width: 0; }
.est { display: grid; gap: 24px; }
.est-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.est-group legend { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input, .check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pill span {
  display: inline-flex; align-items: center; padding: 10px 16px; border: 1px solid var(--line); border-radius: 3px;
  background: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color .15s ease, background-color .15s ease;
}
.band--paper .pill span { background: var(--steel); }
.pill:hover span { border-color: var(--accent); }
.pill input:checked + span { background: var(--accent-fill); border-color: var(--accent-fill); color: #fff; }
.pill input:focus-visible + span, .check input:focus-visible + span::before { outline: 3px solid var(--accent-hi); outline-offset: 2px; }
.check { display: block; position: relative; cursor: pointer; }
.check span { display: grid; gap: 2px; font-weight: 600; padding-left: 36px; position: relative; }
.check span::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); }
.check input:checked + span::before { background: var(--accent-fill); border-color: var(--accent-fill); }
.check input:checked + span::after { content: ""; position: absolute; left: 8px; top: 5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check input:disabled + span { opacity: .55; cursor: not-allowed; }
.check small { font-weight: 400; color: var(--muted); font-size: 0.92rem; }
.est-result {
  background: var(--graphite); color: var(--on-dark); border-radius: 4px; padding: clamp(20px, 3vw, 30px);
  display: grid; gap: 14px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 110px);
}
.est-result .label { color: var(--accent-hi); }
.est-price { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.est-price small { font-family: var(--f-body); font-stretch: 100%; font-size: 1rem; font-weight: 600; color: var(--muted-dark); }
.est-rows { margin: 0; display: grid; gap: 8px; border-top: 1px solid var(--line-dark); padding-top: 12px; }
.est-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.95rem; }
.est-rows dt { color: var(--muted-dark); }
.est-rows dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.est-colour { font-size: 0.92rem; }
.est-note { font-size: 0.88rem; color: var(--muted-dark); }
.est-result .btn-row .btn { flex: 1 1 auto; justify-content: center; }
@media (max-width: 860px) { .est-wrap { grid-template-columns: 1fr; } .est-result { position: static; } }

.selection { background: var(--steel); border: 1px solid var(--line); border-radius: 3px; padding: 12px 16px; }
.selection ul { margin: 6px 0 0; padding-left: 18px; }
.opt { font-weight: 400; color: var(--muted); }
.photo-drop { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px; border: 1px dashed var(--line); border-radius: 3px; background: var(--steel); }
.photo-drop input[type="file"] { font: inherit; font-size: 0.95rem; max-width: 100%; color: var(--muted); }
.photo-drop input[type="file"]::file-selector-button {
  font: inherit; font-weight: 600; border: 0; border-radius: 3px; background: var(--graphite); color: var(--on-dark);
  padding: 10px 14px; margin-right: 12px; cursor: pointer;
}
.photo-count { font-size: 0.9rem; color: var(--muted); }
.thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; aspect-ratio: 1; border-radius: 3px; overflow: hidden; background: var(--graphite-2); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs li.noprev img { display: none; }
.thumbs span { position: absolute; left: 0; right: 0; bottom: 0; font-size: 0.7rem; padding: 3px 6px; background: rgba(21,25,30,.78); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(21,25,30,.82); color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; }

.photo-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.photo-drop { position: relative; }
.photo-btn { cursor: pointer; padding: 10px 16px; }
.photo-drop input[type="file"]:focus-visible + .photo-btn { outline: 3px solid var(--accent-hi); outline-offset: 2px; }

/* ---------- phone fixes ---------- */
.num-sm { display: none; }
.sec-head--split > .btn { justify-self: start; }
.cdetails > div > a:not(.big):not(.btn) { display: inline-block; padding-block: 8px; }
@media (max-width: 860px) { .contact-grid > form { order: -1; } }
@media (max-width: 560px) {
  .hero .btn-row, .cta .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .btn-row .btn, .cta .btn-row .btn { justify-content: center; padding-inline: 12px; }
  .hero .btn-row .btn:first-child, .cta .btn-row .btn:first-child { grid-column: 1 / -1; }
  .num-lg { display: none; }
  .num-sm { display: inline; }
  .ptable { min-width: 0; }
  .ptable th, .ptable td { padding: 12px 16px; }
  .ptable caption { padding: 18px 16px 4px; }
  .services .ph, .svc .ph { aspect-ratio: 16 / 10; }
}

/* ---------- workshop photos ---------- */
.ph img { width: 100%; height: 100%; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba-item { position: relative; margin: 0; }
.ba-item .ph { aspect-ratio: 1; }
.ba-tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 3px; background: rgba(21,25,30,.85); color: #fff;
}
.ba-tag--after { background: var(--accent-fill); }
.ba-cap { grid-column: 1 / -1; color: var(--muted); font-size: 0.98rem; }
.masonry { columns: 3 260px; column-gap: 12px; }
.masonry .ph { break-inside: avoid; margin: 0 0 12px; aspect-ratio: auto; }
.masonry .ph img { height: auto; }
.strip .ph figcaption, .masonry .ph figcaption { padding-top: 22px; }

/* ---------- services page jump links ---------- */
.jumps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 8px; }
.jumps a {
  display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: 4px;
  color: var(--on-dark); text-decoration: none; font-family: var(--f-display); font-stretch: 108%; font-weight: 650;
  transition: border-color .15s ease, background-color .15s ease;
}
.jumps a span { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: .08em; color: var(--accent-hi); }
.jumps a:hover { border-color: var(--accent-hi); background: var(--graphite-2); }
.page-hero .hero-copy:has(.jumps) { max-width: none; }
.page-hero .hero-copy:has(.jumps) > :not(.jumps) { max-width: 780px; }
[id="wheels"], [id="stripping"], [id="powder-coating"], [id="decor"] { scroll-margin-top: 100px; }
@media (max-width: 860px) { .jumps { grid-template-columns: 1fr 1fr; } }
.hero .jumps a { color: var(--on-dark); align-content: start; }

/* ---------- privacy page ---------- */
.legal { display: grid; gap: 14px; }
.legal > * { max-width: 760px; }
.legal h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-top: 22px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink); }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.legal a { overflow-wrap: anywhere; }
.foot-base a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- video (click to play) and map card ---------- */
.video-play { display: block; padding: 0; border: 0; cursor: pointer; font: inherit; color: var(--on-dark); }
.video-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .2s ease; }
.video-play:hover img { opacity: .7; }
.video-cta {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  font-family: var(--f-display); font-stretch: 112%; font-weight: 750; font-size: clamp(1.05rem, 2.4vw, 1.4rem);
}
.video-btn { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-fill); font-size: 1.1rem; padding-left: 3px; }
.video-note { position: absolute; right: 12px; bottom: 10px; font-size: 0.78rem; color: var(--muted-dark); }
.map-card {
  display: grid; gap: 4px; padding: 22px 24px; border-radius: 4px; text-decoration: none;
  background-color: var(--graphite); color: var(--on-dark);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px);
}
.map-card .label { color: var(--accent-hi); }
.map-card strong { font-family: var(--f-display); font-stretch: 112%; font-size: 1.2rem; }
.map-card span { color: var(--muted-dark); }
.map-card .map-go { margin-top: 10px; color: var(--accent-hi); font-weight: 600; }
.map-card:hover .map-go { text-decoration: underline; text-underline-offset: 3px; }
