/* ==========================================================
   Tayside Tyre Hub
   Palette: straight from the logo — one blue, one red, black, white
   Type: Geist, one neo-grotesk family throughout
   ========================================================== */
:root {
  --blue: #233F91;                 /* the only blue on the site */
  --red: #E3242B;
  --red-700: #C21A21;
  --black: #111214;
  --black-2: #1C1E22;
  --black-3: #2A2D33;
  --white: #FFFFFF;
  --mist: #F3F4F7;
  --line: #E3E5EB;
  --ink: #111214;
  --ink-2: #4B5060;
  --ink-3: #7D8291;
  --green: #1E7B4C;
  --amber: #E59A1A;

  --on-blue-2: rgba(255, 255, 255, .78);
  --on-blue-line: rgba(255, 255, 255, .16);
  --on-blue-fill: rgba(255, 255, 255, .08);

  --font: "Geist", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 20px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);

  --shadow-soft: 0 1px 2px rgba(17, 18, 20, .06), 0 14px 34px -18px rgba(17, 18, 20, .28);
  --shadow-float: 0 24px 48px -18px rgba(0, 0, 0, .5);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 160ms;
  --t-med: 280ms;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
b, strong { font-weight: 600; }
p { margin: 0 0 1em; }

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

.skip { position: absolute; left: 16px; top: -60px; background: var(--black); color: #fff; padding: 10px 14px; border-radius: var(--radius-s); z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* ---------- Type ---------- */
.display {
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  font-weight: 600; line-height: .98; letter-spacing: -0.05em;
  margin: 0 0 22px; text-wrap: balance;
}
.display-2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 600; line-height: 1.04; letter-spacing: -0.045em;
  margin: 0 0 12px; color: var(--ink); text-wrap: balance;
}
.lede { font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); max-width: 31em; margin: 0 0 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: 500 1rem/1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; border-radius: var(--radius-s);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) ease, box-shadow var(--t-med) ease;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn-sm svg { width: 17px; height: 17px; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px rgba(227, 36, 43, .7); }
.btn-primary:hover { background: var(--red-700); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mist); }

.link { font-weight: 500; color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.link:hover { color: var(--red); }

/* ---------- Top bar ---------- */
.topbar { background: var(--black); color: #C9CCD4; font-size: .8438rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 24px; }
.topbar-info li { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info svg { width: 14px; height: 14px; color: var(--red); }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar-social { gap: 18px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header.scrolled { box-shadow: 0 8px 24px -16px rgba(17, 18, 20, .35); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 84px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 62px; width: auto; }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .9375rem; padding: 8px 12px; border-radius: var(--radius-s); color: var(--ink-2); transition: color var(--t-fast) ease, background-color var(--t-fast) ease; }
.nav a:hover { color: var(--blue); background: var(--mist); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.status-short { display: none; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex-shrink: 0; }
.status.is-open .status-dot { background: var(--green); animation: pulse 2.4s infinite; }
.status.is-closed .status-dot { background: var(--red); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30, 123, 76, .45); } 70% { box-shadow: 0 0 0 8px rgba(30, 123, 76, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 123, 76, 0); } }

/* ---------- Hero (brand blue) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--blue); color: #fff; padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='64'%3E%3Cpath d='M4 6h22l10 13-10 13H4l10-13z M40 32h22l10 13-10 13H40l10-13z' fill='%23fff'/%3E%3C/svg%3E");
  background-size: 72px 64px;
  opacity: .045;
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
          mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-place {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: 6px 14px 6px 12px; border: 1px solid var(--on-blue-line); border-radius: 999px;
  font-weight: 500; font-size: .875rem; color: #fff;
}
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(227, 36, 43, .3); }
.hero .lede { color: var(--on-blue-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-points { list-style: none; margin: 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; border-top: 1px solid var(--on-blue-line); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; color: #fff; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.hero-stage { position: relative; aspect-ratio: 1 / 1; width: 100%; }
.hero-glow { position: absolute; inset: -14%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 72%); }
.hero-glow::before, .hero-glow::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); }
.hero-glow::before { inset: 8%; }
.hero-glow::after { inset: -2%; border-style: dashed; border-color: rgba(255, 255, 255, .1); }

.hero-wheel { position: absolute; inset: 0; animation: rollIn 1.6s var(--ease-out) both .1s; }
.wheel-roll { position: absolute; inset: 0; animation: spinIn 1.6s var(--ease-out) both .1s; }
.wheel-shadow { position: absolute; left: 10%; right: 10%; bottom: -4%; height: 8%; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0)); }
.tyre { width: 100%; height: 100%; }
.tyre svg { width: 100%; height: 100%; overflow: visible; }

.track {
  position: absolute; left: 50%; right: -100vw; bottom: -2%; height: 9%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='40'%3E%3Cg fill='%23fff'%3E%3Cpath d='M2 4h14l6 8-6 8H2l6-8z'/%3E%3Cpath d='M24 20h14l6 8-6 8H24l6-8z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto 100%; opacity: .12;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 25%, transparent 85%);
          mask-image: linear-gradient(90deg, #000 0%, #000 25%, transparent 85%);
  animation: trackIn 1.6s var(--ease-out) both .1s;
}

/* floating info cards land after the tyre stops */
.hero-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  background: #fff; color: var(--ink);
  border-radius: var(--radius-m); box-shadow: var(--shadow-float);
  animation: cardIn .7s var(--ease-out) both;
}
.hero-card strong { display: block; font-size: .9688rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.hero-card small { display: block; font-size: .8125rem; color: var(--ink-3); line-height: 1.35; }
.hero-card--ev { top: 6%; left: -6%; animation-delay: 1.45s; }
.hero-card--rating { bottom: 4%; right: -2%; animation-delay: 1.6s; }
.hero-card-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red); flex-shrink: 0; }
.hero-card-ico svg { width: 18px; height: 18px; fill: #fff; }
.hero-card-num { font-size: 2rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--blue); padding-left: 6px; }
.hero-card .stars { color: var(--red); font-size: .9375rem; letter-spacing: 1px; }

@keyframes rollIn { from { transform: translateX(85vw); } to { transform: translateX(0); } }
@keyframes spinIn { from { transform: rotate(250deg); } to { transform: rotate(0deg); } }
@keyframes trackIn { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }

.hero-copy > * { animation: settle .6s var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: .15s; }
.hero-copy > :nth-child(2) { animation-delay: .22s; }
.hero-copy > :nth-child(3) { animation-delay: .29s; }
.hero-copy > :nth-child(4) { animation-delay: .36s; }
.hero-copy > :nth-child(5) { animation-delay: .43s; }
@keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.sidewall-text { font-family: var(--font); font-weight: 700; letter-spacing: .2em; }

/* ---------- Brands strip: the logo's black bar, with a red livery line ---------- */
.brands { background: var(--black); color: #fff; border-top: 4px solid var(--red); }
.brands-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 48px; min-height: 96px; padding-top: 20px; padding-bottom: 20px; }
.brands-label { margin: 0; font-size: .9375rem; color: #9DA1AD; white-space: nowrap; }
.brands-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex: 1; justify-content: space-between; max-width: 780px; }
.brands-list li { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 600; letter-spacing: -0.035em; }
.brands-list li + li { padding-left: 32px; border-left: 1px solid #34373F; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 7.5vw, 104px) 0; }

/* ---------- Services ---------- */
.services { background: var(--mist); }
.svc-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.svc-head .display-2 { margin: 0; }
.svc-head p { margin: 0; color: var(--ink-2); max-width: 30em; justify-self: end; }

/* EV feature: the headline service, on logo black */
.ev-feature {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 24px;
  background: var(--black); color: #fff;
  border-radius: var(--radius-l);
  padding: clamp(28px, 4.5vw, 60px);
  margin-bottom: 20px;
}
.ev-feature::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(35, 63, 145, .55), rgba(35, 63, 145, 0)); }
.ev-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px 6px 10px; background: var(--red); border-radius: 999px; font-size: .875rem; font-weight: 500; }
.ev-tag svg { width: 15px; height: 15px; fill: #fff; }
.ev-copy h3 { margin: 0 0 16px; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.ev-copy p:not(.ev-tag) { color: #B8BCC6; max-width: 30em; margin: 0 0 28px; font-size: 1.0625rem; }
.ev-art svg { width: 100%; max-width: 380px; margin-left: auto; }
.ev-charge { stroke-dashoffset: 470; transition: stroke-dashoffset 1.6s var(--ease-out); }
.ev-feature.in-view .ev-charge { stroke-dashoffset: 0; }

/* service panels: blue and red, like the logo */
.svc-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.svc-panel {
  --p-bg: var(--blue); --p-sub: rgba(255, 255, 255, .72); --p-rule: rgba(255, 255, 255, .14);
  --p-ring: rgba(255, 255, 255, .3); --p-hover: rgba(255, 255, 255, .08); --p-ico: #fff;
  --p-ico-on: var(--red); --p-ico-on-stroke: #fff;
  --p-tread-o: .07; --p-foot-bg: var(--black); --p-foot-ico: var(--red);
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  background: var(--p-bg); color: #fff;
  border-radius: var(--radius-l);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.6vw, 36px) clamp(56px, 6vw, 72px);
}
.svc-panel--red {
  --p-bg: var(--red); --p-sub: rgba(255, 255, 255, .8); --p-rule: rgba(255, 255, 255, .2);
  --p-ring: rgba(255, 255, 255, .42); --p-hover: rgba(255, 255, 255, .1);
  --p-ico-on: #fff; --p-ico-on-stroke: var(--red);
  --p-tread-o: .08; --p-foot-bg: var(--black); --p-foot-ico: #fff;
}
.svc-panel::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 40px;
  background: #fff; opacity: var(--p-tread-o);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='40'%3E%3Cpath d='M2 4h14l6 8-6 8H2l6-8zM24 20h14l6 8-6 8H24l6-8z'/%3E%3C/svg%3E") repeat-x left bottom / auto 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='40'%3E%3Cpath d='M2 4h14l6 8-6 8H2l6-8zM24 20h14l6 8-6 8H24l6-8z'/%3E%3C/svg%3E") repeat-x left bottom / auto 100%;
}
.svc-art { position: absolute; z-index: -1; pointer-events: none; width: 300px; height: 300px; top: -128px; right: -110px; }
.svc-panel--blue .svc-art { opacity: .7; }
.svc-panel--red .svc-art { opacity: .95; top: -142px; right: -128px; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .35)); }
.svc-art .tyre, .svc-art .disc, .svc-art .disc svg { width: 100%; height: 100%; }

.svc-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding-right: 120px; }
.svc-panel--red .svc-panel-head { padding-right: 150px; }
.svc-panel-head h3 { margin: 0; font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.15; }
.svc-panel-head p { margin: 0; font-size: .875rem; color: var(--p-sub); white-space: nowrap; }

.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li + li .svc-row::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 1px; background: var(--p-rule); }
.svc-row {
  position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) 38px; align-items: center; gap: 16px;
  margin: 0 -14px; padding: 15px 14px; border-radius: 12px;
  text-decoration: none; color: inherit; transition: background-color var(--t-fast) ease;
}
.svc-row:hover, .svc-row:focus-visible { background: var(--p-hover); }
.svc-list li:hover .svc-row::before, .svc-list li:hover + li .svc-row::before { opacity: 0; }
.svc-row:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.svc-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--p-ring); transition: background-color var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out); }
.svc-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--p-ico); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out); }
.svc-row:hover .svc-ico, .svc-row:focus-visible .svc-ico { background: var(--p-ico-on); border-color: var(--p-ico-on); }
.svc-row:hover .svc-ico svg, .svc-row:focus-visible .svc-ico svg { stroke: var(--p-ico-on-stroke); transform: rotate(-8deg); }
.svc-txt { display: grid; gap: 2px; min-width: 0; }
.svc-txt strong { font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.svc-txt span { font-size: .9063rem; color: var(--p-sub); line-height: 1.45; }
.svc-go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--p-sub); opacity: 0; transform: translateX(-6px); transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), background-color var(--t-med) ease, color var(--t-med) ease; }
.svc-go svg { width: 18px; height: 18px; }
.svc-row:hover .svc-go, .svc-row:focus-visible .svc-go { opacity: 1; transform: none; background: #25D366; color: #fff; }
.svc-foot { align-self: flex-start; margin: auto 0 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--p-foot-bg); color: #fff; font-size: .875rem; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; }
a.svc-foot:hover { text-decoration: underline; text-underline-offset: 3px; }
.svc-list + .svc-foot { margin-top: 24px; }
.svc-foot svg { width: 16px; height: 16px; color: var(--p-foot-ico); }
@media (hover: none) { .svc-go { opacity: 1; transform: none; border: 1px solid var(--p-ring); } }

/* ---------- Finder (brand blue) ---------- */
.finder { background: var(--blue); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.finder::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='64'%3E%3Cpath d='M4 6h22l10 13-10 13H4l10-13z M40 32h22l10 13-10 13H40l10-13z' fill='%23fff'/%3E%3C/svg%3E");
  background-size: 72px 64px;
  -webkit-mask-image: linear-gradient(260deg, transparent 35%, #000 80%);
          mask-image: linear-gradient(260deg, transparent 35%, #000 80%);
}
.finder .display-2 { color: #fff; }
.finder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.finder-intro { color: var(--on-blue-2); margin: 0 0 28px; max-width: 32em; }
.finder-intro b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.finder-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.seg-row { display: flex; flex-wrap: wrap; gap: 20px 28px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: .875rem; font-weight: 500; color: var(--on-blue-2); margin-bottom: 8px; padding: 0; }
.field select {
  width: 100%; height: 54px; padding: 0 36px 0 14px;
  font: 600 1.1875rem/1 var(--font); font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
  color: #fff; background-color: var(--on-blue-fill);
  border: 1px solid var(--on-blue-line); border-radius: var(--radius-s);
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  transition: border-color var(--t-fast) ease;
}
.field select option { color: var(--ink); }
.field select:hover { border-color: rgba(255, 255, 255, .4); }
.field select:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.seg { display: inline-flex; background: var(--on-blue-fill); border: 1px solid var(--on-blue-line); border-radius: var(--radius-s); padding: 3px; gap: 3px; }
.seg label { margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 9px 16px; border-radius: 6px; font-weight: 500; color: var(--on-blue-2); transition: background-color var(--t-fast) ease, color var(--t-fast) ease; }
.seg label:hover span { color: #fff; }
.seg input:checked + span { background: var(--red); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.message-preview { background: #DCF8C6; color: #13261A; border-radius: 12px 12px 12px 3px; padding: 12px 16px 14px; max-width: 32em; box-shadow: 0 12px 28px -16px rgba(0, 0, 0, .5); }
.message-label { display: block; font-size: .8125rem; font-weight: 600; color: #3F6B45; margin-bottom: 4px; }
.message-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.message-top .message-label { margin: 0; }
.message-label span { font-weight: 400; color: #5B7A5F; }
.message-reset { border: 0; background: none; padding: 0; font: 500 .8125rem var(--font); color: #2F5E36; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.message-reset:hover { color: #13261A; }
#wa-message {
  display: block; width: 100%; min-height: 72px; margin: 0; padding: 6px 8px; resize: none; overflow: hidden;
  font: 400 .9688rem/1.55 var(--font); color: #13261A;
  background: rgba(255, 255, 255, .45); border: 1px dashed rgba(19, 38, 26, .25); border-radius: 8px;
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease;
}
#wa-message:hover { border-color: rgba(19, 38, 26, .45); }
#wa-message:focus { outline: none; background: #fff; border: 1px solid #25D366; box-shadow: 0 0 0 3px rgba(37, 211, 102, .25); }
.message-error { margin: 8px 0 0; font-size: .875rem; font-weight: 500; color: var(--red-700); }
.finder-visual { display: grid; gap: 28px; justify-items: center; }
.tyre-finder { width: min(100%, 440px); aspect-ratio: 1; }
.decode { margin: 0; display: grid; width: 100%; max-width: 440px; }
.decode div { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--on-blue-line); }
.decode dt { font-weight: 600; font-size: 1.375rem; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.decode dd { margin: 0; color: var(--on-blue-2); font-size: .9688rem; }

/* ---------- Tread ---------- */
.tread-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "copy gauge" "coin gauge"; grid-template-rows: auto 1fr; gap: 24px clamp(32px, 5vw, 72px); align-items: start; }
.tread-copy { grid-area: copy; align-self: end; }
.tread-copy p { color: var(--ink-2); max-width: 30em; margin: 0; }
.gauge { grid-area: gauge; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-soft); }
.coin { grid-area: coin; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--mist); border-radius: var(--radius-m); max-width: 30em; }
.coin svg { width: 40px; height: 40px; flex-shrink: 0; }
.coin p { margin: 0; font-size: .9375rem; color: var(--ink-2); }
.coin b { color: var(--ink); }
.gauge-readout { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
#tread-out { font-weight: 600; font-size: clamp(2.5rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--blue); }
#tread-out small { font-size: 1rem; font-weight: 500; margin-left: 4px; letter-spacing: 0; color: var(--ink-3); }
.verdict { margin: 0; font-weight: 500; font-size: .9688rem; flex: 1 1 200px; padding-left: 14px; border-left: 3px solid var(--green); }
.verdict[data-level="warn"] { border-left-color: var(--amber); }
.verdict[data-level="bad"] { border-left-color: var(--red); color: var(--red); }
.tread-svg { width: 100%; height: auto; margin: 8px 0 12px; }
.tread-svg .tl { font: 500 12px var(--font); fill: var(--ink-3); }
.tread-svg .tl-blue { fill: var(--blue); }
.tread-svg .tl-red { fill: var(--red); }
#tread-blocks rect { transition: y 120ms linear, height 120ms linear; }
.range-label { display: block; font-size: .875rem; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; margin: 0; touch-action: pan-y; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--red) 0 20%, var(--amber) 20% 37.5%, var(--green) 37.5% 100%); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--red) 0 20%, var(--amber) 20% 37.5%, var(--green) 37.5% 100%); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--blue); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 4px 10px rgba(17, 18, 20, .25); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 4px 10px rgba(17, 18, 20, .25); }
input[type="range"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.range-scale { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--ink-3); margin-top: 4px; font-variant-numeric: tabular-nums; }

/* ---------- Reviews (logo black) ---------- */
.reviews { background: var(--black); color: #fff; }
.reviews .display-2 { color: #fff; }
.reviews-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ratings { display: grid; gap: 14px; margin-top: 28px; }
.rating { display: flex; align-items: center; gap: 20px; padding: 18px 22px; background: var(--black-2); border: 1px solid var(--black-3); border-radius: var(--radius-m); }
.rating-num { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 600; line-height: .9; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; color: #fff; }
.rating-meta { display: grid; gap: 2px; color: #B8BCC6; font-weight: 500; }
.stars { color: var(--red); letter-spacing: 1px; }
.rating-meta .stars { font-size: 1.0625rem; }
.quote { margin: 0 0 18px; padding: 24px 26px; background: var(--black-2); border: 1px solid var(--black-3); border-left: 3px solid var(--red); border-radius: var(--radius-m); }
.quote blockquote { margin: 0 0 8px; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.025em; line-height: 1.4; color: #fff; }
.quote figcaption { color: #9DA1AD; font-size: .9375rem; }
.reviews .link { color: #fff; }
.reviews .link:hover { color: var(--red); }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: stretch; }
address { font-style: normal; font-size: 1.25rem; font-weight: 500; line-height: 1.45; letter-spacing: -0.02em; margin: 4px 0 8px; color: var(--ink); }
.moved { color: var(--ink-2); margin: 0 0 24px; }
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; max-width: 440px; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--ink-3); }
.contact-list a { font-weight: 500; text-decoration: none; overflow-wrap: anywhere; text-align: right; color: var(--blue); }
.contact-list a:hover { color: var(--red); }
.visit-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hours { margin-bottom: 24px; }
.status-lg { font-size: 1rem; color: var(--ink); margin: 0 0 10px; }
.hours table { width: 100%; max-width: 440px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; color: var(--ink-2); }
.hours tr.today th, .hours tr.today td { font-weight: 600; color: var(--ink); }
.hours tr.today th::after { content: "today"; margin-left: 10px; font-size: .75rem; font-weight: 500; background: var(--blue); color: #fff; padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.amenities { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.amenities li { padding: 6px 12px; border-radius: 999px; font-size: .9375rem; font-weight: 500; background: var(--mist); color: var(--ink); }
.map { border-radius: var(--radius-l); overflow: hidden; min-height: 420px; background: var(--mist); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.2) contrast(1.02); }

/* ---------- Footer (logo black) ---------- */
.site-footer { background: var(--black); color: #9DA1AD; padding: 64px 0 28px; border-top: 4px solid var(--blue); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--black-3); }
.footer-logo { display: inline-block; background: #fff; border-radius: var(--radius-m); padding: 12px 16px; margin-bottom: 16px; }
.footer-logo img { height: 64px; width: auto; }
.footer-h { color: #fff; font-weight: 500; margin: 0 0 8px; }
.site-footer p { margin: 0; }
.site-footer a { color: #DADDE4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.socials { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .875rem; color: #6E7380; }

.mobile-bar { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .topbar-social { display: none; }
  .brands-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .brands-list { width: 100%; max-width: none; }
}
@media (max-width: 860px) {
  .topbar { display: none; }
  .hero-grid, .finder-grid, .reviews-grid, .visit-grid { grid-template-columns: 1fr; }
  .svc-panels { grid-template-columns: 1fr; }
  .svc-head { grid-template-columns: 1fr; }
  .svc-head p { justify-self: start; }
  .ev-feature { grid-template-columns: 1fr; }
  .ev-art svg { max-width: 300px; margin: 0 auto; }
  .tread-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "gauge" "coin"; grid-template-rows: auto; }
  .hero-stage { width: 74%; max-width: 440px; margin: 24px 4% 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 320px; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .section { padding: 56px 0; }

  .header-inner { height: 64px; gap: 12px; }
  .brand-logo { height: 44px; }
  .header-wa { display: none; }
  .header-actions .status-long { display: none; }
  .header-actions .status-short { display: inline; }
  .status { font-size: .8125rem; background: var(--mist); padding: 6px 10px; border-radius: 999px; }

  .hero { padding: 32px 0 44px; }
  .hero-grid { gap: 8px; }
  .hero-place { margin-bottom: 16px; font-size: .8125rem; }
  .display { font-size: clamp(2.6rem, 12.5vw, 3.25rem); margin-bottom: 16px; }
  .lede { font-size: 1rem; margin-bottom: 24px; }
  .hero-ctas { flex-direction: column; gap: 10px; margin-bottom: 22px; }
  .hero-ctas .btn { width: 100%; }
  .hero-points { gap: 10px 18px; padding-top: 18px; }
  .hero-points li { font-size: .875rem; }
  .hero-stage { width: 70%; margin: 28px 6% 0 auto; }
  .hero-card { padding: 9px 12px 9px 9px; gap: 9px; border-radius: 12px; }
  .hero-card strong { font-size: .8438rem; }
  .hero-card small { font-size: .75rem; }
  .hero-card-ico { width: 32px; height: 32px; }
  .hero-card-ico svg { width: 15px; height: 15px; }
  .hero-card-num { font-size: 1.5rem; padding-left: 4px; }
  .hero-card .stars { font-size: .8125rem; }
  .hero-card--ev { top: -6%; left: -30%; }
  .hero-card--rating { bottom: -2%; right: -6%; }

  .brands { border-top-width: 3px; }
  .brands-inner { min-height: 0; padding-top: 18px; padding-bottom: 18px; }
  .brands-label { font-size: .875rem; }
  .brands-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 0; }
  .brands-list li { font-size: 1.1875rem; }
  .brands-list li + li { padding-left: 0; border-left: 0; }

  .ev-feature { border-radius: 18px; padding: 26px 20px 8px; gap: 8px; margin-bottom: 14px; }
  .ev-tag { margin-bottom: 14px; }
  .ev-copy h3 { font-size: 2rem; }
  .ev-copy p:not(.ev-tag) { font-size: 1rem; margin-bottom: 22px; }
  .ev-copy .btn { width: 100%; }
  .ev-art svg { max-width: 240px; }

  .svc-panels { gap: 14px; }
  .svc-panel { border-radius: 18px; padding: 22px 16px 52px; }
  .svc-panel-head { padding-right: 84px; margin-bottom: 8px; }
  .svc-panel-head p { display: none; }
  .svc-panel--red .svc-panel-head { padding-right: 96px; }
  .svc-art { width: 210px; height: 210px; top: -96px; right: -86px; }
  .svc-panel--red .svc-art { width: 190px; height: 190px; top: -112px; right: -100px; }
  .svc-row { grid-template-columns: 40px minmax(0, 1fr) 34px; gap: 12px; margin: 0 -8px; padding: 13px 8px; }
  .svc-list li + li .svc-row::before { left: 8px; right: 8px; }
  .svc-ico { width: 40px; height: 40px; }
  .svc-ico svg { width: 20px; height: 20px; }
  .svc-txt strong { font-size: 1rem; }
  .svc-txt span { font-size: .8438rem; }
  .svc-go { width: 34px; height: 34px; }
  .svc-go svg { width: 16px; height: 16px; }

  .finder-intro { margin-bottom: 20px; font-size: .9688rem; }
  .finder-form { gap: 18px; }
  .field-row { gap: 8px; }
  .field select { height: 52px; font-size: 1.0625rem; padding: 0 26px 0 10px; background-position: right 9px center; }
  .seg-row { gap: 16px; }
  .seg-row .field { flex: 1 1 100%; }
  .seg { display: flex; width: 100%; }
  .seg label { flex: 1; }
  .seg span { text-align: center; padding: 10px 6px; }
  #wa-message { font-size: .9375rem; }
  .finder-visual { gap: 0; }
  .tyre-finder { width: 58vw; max-width: 240px; margin-top: 8px; }
  .decode { display: none; }

  .gauge-readout { gap: 12px; }
  .verdict { flex-basis: 100%; }

  .ratings { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .rating { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; }
  .rating-num { font-size: 2.75rem; }
  .rating-meta { font-size: .8125rem; }
  .quote { padding: 18px 18px; }
  .quote blockquote { font-size: 1.0625rem; }

  address { font-size: 1.125rem; }
  .visit-ctas { flex-direction: column; gap: 10px; margin-bottom: 28px; }
  .visit-ctas .btn { width: 100%; }
  .map, .map iframe { min-height: 260px; }

  .site-footer { padding: 48px 0 24px; }
  .footer-logo img { height: 56px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1.3fr .85fr 1.25fr; gap: 6px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--black);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .25);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 52px; padding: 0 6px; color: #fff; text-decoration: none; font-weight: 500; font-size: .9063rem; white-space: nowrap; background: var(--black-3); border-radius: var(--radius-s); }
  .mobile-bar svg { width: 19px; height: 19px; }
  .mobile-bar .mb-wa { background: var(--red); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .ev-charge { stroke-dashoffset: 0; }
}
