/* ═══════════════════════════════════════════════════════════
   HERITAGE MOTOR SPARES — styles (LAYOUT WIREFRAME version)
   Neutral wireframe palette: light greys, no accent colour.
   Fonts kept — Display: Fraunces · UI: Libre Franklin
   ═══════════════════════════════════════════════════════════ */

:root {
  --cream: #ededed;      /* page background */
  --cream-2: #e6e6e6;    /* subtle hover surface */
  --kraft: #e2e2e2;      /* surface */
  --kraft-2: #dcdcdc;    /* deeper surface */
  --green: #333333;      /* primary text / solid buttons */
  --green-2: #333333;
  --oxblood: #9a9a9a;    /* former accent → neutral grey */
  --oxblood-2: #9a9a9a;
  --ink: #333333;
  --muted: #777777;
  --line: #c6c6c6;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
  --shadow: none;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  /* faint laid-paper texture */
  background-image:
    radial-gradient(rgba(30, 58, 47, .035) 1px, transparent 1px),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(43, 38, 29, .012) 3px 4px);
  background-size: 26px 26px, auto;
}

h1, h2, h3, .brand-name, .footer-name { font-family: var(--serif); color: var(--green); }

a { color: var(--oxblood); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px dashed var(--oxblood);
  outline-offset: 3px;
}

::selection { background: var(--pop); color: var(--pop-ink); }

/* ── ornamental helpers ─────────────────────────────── */
.rule {
  display: inline-block;
  width: 42px;
  height: 1px;
  background: var(--oxblood);
  vertical-align: middle;
  margin: 0 .9em;
}

.section { padding: 96px 24px; max-width: 1180px; margin: 0 auto; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }

.section-no {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 14px;
}
.section-no::before, .section-no::after {
  content: "—";
  color: var(--line);
  margin: 0 .7em;
}

.section-head h2, .restoration-copy h2, .enquiry-copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}

.section-sub { color: var(--muted); font-size: 1.02rem; }

/* ── buttons ────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1.5px solid var(--green);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-solid { background: var(--green); color: var(--cream); }
.btn-solid:hover { background: var(--green-2); box-shadow: var(--shadow); }

.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--cream); }

.btn-full { width: 100%; }

/* ── badges ─────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border: 1px solid currentColor;
  vertical-align: middle;
}
.badge-stock { color: var(--green-2); }
.badge-oem   { color: var(--oxblood); }
.badge-nos   { color: #8a6d1f; }
.badge-reman { color: #4a5d7a; }

/* ═══════════ HEADER ═══════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 230, .96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--oxblood) 0 12px, transparent 12px 20px);
  opacity: .55;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(43, 38, 29, .12); }

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding .3s ease;
}
.site-header.is-scrolled .header-inner { padding-top: 10px; padding-bottom: 10px; }

.brand { display: flex; align-items: center; gap: 14px; color: var(--green); }
.brand:hover { text-decoration: none; }

.brand-mark { width: 44px; height: 44px; color: var(--oxblood); flex-shrink: 0; transition: transform .5s ease; }
.brand:hover .brand-mark { transform: rotate(90deg); }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 1.28rem; font-weight: 600; letter-spacing: .01em; }
.brand-sub {
  font-size: .64rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  padding: 10px 14px;
  position: relative;
}
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1.5px;
  background: var(--oxblood);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:not(.nav-cta):hover { text-decoration: none; }
.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  border: 1.5px solid var(--oxblood);
  color: var(--oxblood);
  margin-left: 8px;
  transition: background-color .25s ease, color .25s ease;
}
.nav-cta:hover { background: var(--oxblood); color: var(--cream); text-decoration: none; }

.nav-count {
  display: inline-block;
  min-width: 20px;
  height: 20px;
  line-height: 18px;
  text-align: center;
  font-size: .68rem;
  font-weight: 700;
  border: 1px solid currentColor;
  border-radius: 50%;
  margin-left: 8px;
  vertical-align: 1px;
}
.nav-count[hidden] { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: 1.5px solid var(--green);
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--green);
  transition: transform .3s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════ HERO ═══════════ */
.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(233, 224, 203, .5), rgba(245, 240, 230, 0)),
    var(--cream);
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 24px 96px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.hero-kicker {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 26px;
}
.hero-kicker .rule { width: 30px; margin: 0 .6em; }

.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--oxblood); }

.hero-lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero-facts {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line);
}
.hero-facts > div {
  padding: 18px 28px 4px 0;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}
.hero-facts > div:last-child { border-right: 0; }
.hero-facts dt {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  order: 2;
}
.hero-facts dd {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1.1;
}

.hero-plate {
  background: var(--kraft);
  border: 1px solid var(--line);
  padding: 34px 28px 20px;
  box-shadow: var(--shadow);
  position: relative;
}
/* corner ornaments */
.hero-plate::before, .hero-plate::after,
.restoration-figure::before, .restoration-figure::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid var(--oxblood);
  pointer-events: none;
}
.hero-plate::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.hero-plate::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

.hero-plate svg { width: 100%; height: auto; display: block; }

.hero-plate figcaption, .restoration-figure figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: .88rem;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ═══════════ MARQUES ═══════════ */
.marque-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.marque-card {
  background: var(--cream);
  padding: 36px 32px 30px;
  position: relative;
  transition: background-color .3s ease;
}
.marque-card:hover { background: var(--cream-2); }

.marque-roman {
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--oxblood);
  display: inline-block;
  border: 1px solid var(--oxblood);
  width: 34px; height: 34px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 18px;
}

.marque-card h3 { font-size: 1.45rem; font-weight: 600; margin-bottom: 10px; }
.marque-card p { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }

.marque-count {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-2);
  border-top: 1px solid var(--line);
  display: block;
  padding-top: 12px;
}

/* ═══════════ CATALOGUE ═══════════ */
.catalogue {
  max-width: none;
  background: var(--kraft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.catalogue > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.catalogue .section-head { margin-bottom: 44px; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-btn {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  background: transparent;
  border: 1.5px solid var(--green);
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.filter-btn:hover { background: rgba(30, 58, 47, .1); }
.filter-btn.is-active { background: var(--green); color: var(--cream); }

.result-count {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 34px;
}

.parts-list { list-style: none; max-width: 960px; }

.part-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 26px;
  align-items: start;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 26px 30px;
  margin-bottom: -1px;
  position: relative;
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.part-row:hover {
  background: #faf6ec;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  z-index: 1;
}

.part-no {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--oxblood);
  line-height: 1.1;
  padding-top: 2px;
}

.part-no::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--line);
  margin-top: 10px;
}

.part-name { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; color: var(--green); margin-bottom: 4px; }

.part-meta {
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.part-meta .pnum { color: var(--oxblood); font-weight: 600; }

.part-fit { font-size: .84rem; color: var(--ink); margin-bottom: 10px; }
.part-fit::before {
  content: "Fits: ";
  font-weight: 600;
  color: var(--muted);
}

.part-badges { display: flex; flex-wrap: wrap; gap: 8px; }

.part-buy { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

.part-price {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}
.part-price small { font-size: .68rem; font-family: var(--sans); color: var(--muted); display: block; letter-spacing: .08em; }

.add-btn {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: transparent;
  color: var(--oxblood);
  border: 1.5px solid var(--oxblood);
  padding: 9px 16px;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.add-btn:hover { background: var(--oxblood); color: var(--cream); }
.add-btn.is-added { background: var(--green); border-color: var(--green); color: var(--cream); }

/* ═══════════ RESTORATION ═══════════ */
.restoration-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.restoration-figure {
  background: var(--kraft);
  border: 1px solid var(--line);
  padding: 30px 26px 18px;
  box-shadow: var(--shadow);
  position: relative;
}
.restoration-figure::before { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.restoration-figure::after { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.restoration-figure svg { width: 100%; height: auto; display: block; }

.restoration-copy p { color: var(--muted); margin-bottom: 18px; }
.restoration-copy p strong { color: var(--ink); }

.bench-list { list-style: none; margin: 26px 0 34px; }
.bench-list li {
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: .95rem;
  color: var(--muted);
}
.bench-list li strong { color: var(--ink); }
.bench-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 22px;
  width: 14px; height: 14px;
  border: 2px solid var(--oxblood);
  transform: rotate(45deg);
}

/* ═══════════ ARRIVALS ═══════════ */
.arrivals { padding-top: 40px; }

.arrivals-list { list-style: none; max-width: 860px; margin: 0 auto; }

.arrivals-list li {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 6px;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s ease;
}
.arrivals-list li:hover { background: var(--cream-2); }
.arrivals-list li:first-child { border-top: 2px solid var(--green); }

.arrival-date {
  text-align: center;
  border: 1px solid var(--line);
  background: var(--kraft);
  padding: 8px 4px;
}
.arrival-date .day {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--oxblood);
  line-height: 1;
}
.arrival-date .mon {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.arrival-body h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 3px; }
.arrival-body p { font-size: .85rem; color: var(--muted); }

.arrival-price {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}

/* ═══════════ TESTIMONIALS ═══════════ */
.testimonials {
  max-width: none;
  background: var(--green);
  border-top: 3px solid var(--oxblood);
  border-bottom: 3px solid var(--oxblood);
}
.testimonials > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.testimonials .section-head h2 { color: var(--cream); }
.testimonials .section-no { color: var(--kraft-2); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial {
  background: var(--cream);
  padding: 34px 30px 28px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.testimonial::before {
  content: "“";
  position: absolute;
  top: 6px; right: 20px;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--kraft-2);
  line-height: 1;
  pointer-events: none;
}

.stars { display: flex; gap: 4px; margin-bottom: 16px; }
.stars svg { width: 16px; height: 16px; fill: var(--oxblood); }

.testimonial p {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 18px;
}

.testimonial footer {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* ═══════════ ENQUIRY ═══════════ */
.enquiry-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.enquiry-copy p { color: var(--muted); margin-bottom: 16px; }

.enquiry-points { list-style: none; margin-top: 24px; }
.enquiry-points li {
  padding: 10px 0 10px 28px;
  font-size: .92rem;
  color: var(--ink);
  position: relative;
}
.enquiry-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 17px;
  width: 12px; height: 2px;
  background: var(--oxblood);
}

.enquiry-form {
  background: var(--kraft);
  border: 1px solid var(--line);
  padding: 38px 34px;
  box-shadow: var(--shadow);
}
.enquiry-form h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--green);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 7px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.form-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.form-field textarea { resize: vertical; min-height: 96px; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(30, 58, 47, .15);
}
.form-field .is-invalid { border-color: var(--oxblood); box-shadow: 0 0 0 3px rgba(122, 42, 38, .12); }

.form-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: .92rem;
  margin-top: 16px;
  min-height: 1.4em;
}
.form-note.is-error { color: var(--oxblood); }
.form-note.is-success { color: var(--green-2); }

/* ═══════════ FAQ ═══════════ */
.faq { padding-top: 40px; }
.faq-list { max-width: 780px; margin: 0 auto; border-top: 2px solid var(--green); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 22px 6px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green);
  transition: color .2s ease;
}
.faq-q:hover { color: var(--oxblood); }

.faq-icon { width: 16px; height: 16px; flex-shrink: 0; transition: transform .3s ease; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a p {
  padding: 0 6px 24px;
  color: var(--muted);
  font-size: .95rem;
  max-width: 64ch;
}

/* ═══════════ FOOTER ═══════════ */
.site-footer {
  background: var(--green);
  color: var(--kraft-2);
  border-top: 3px solid var(--oxblood);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--cream); margin-bottom: 6px; }
.footer-tag { font-family: var(--serif); font-style: italic; color: var(--kraft-2); margin-bottom: 14px; }
.footer-est { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(233, 224, 203, .6); }

.footer-col h4 {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(233, 224, 203, .25);
}

.footer-col p, .footer-col address { font-style: normal; font-size: .92rem; line-height: 1.8; }
.footer-col a { color: var(--kraft-2); }
.footer-col a:hover { color: var(--cream); }

.footer-base {
  border-top: 1px solid rgba(233, 224, 203, .2);
  padding: 22px 24px;
  text-align: center;
  font-size: .76rem;
  color: rgba(233, 224, 203, .55);
}
.footer-base .footer-rule { margin-top: 6px; letter-spacing: .3em; }
.footer-base .footer-rule span { color: var(--oxblood); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; }
  .restoration-inner, .enquiry-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 20px; }

  .menu-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--oxblood);
    box-shadow: 0 18px 30px rgba(43, 38, 29, .18);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .main-nav.is-open { max-height: 420px; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; }
  .main-nav a { padding: 14px 28px; font-size: .85rem; }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav li:last-child { border-bottom: 0; }
  .nav-cta { border: 0; margin: 0; color: var(--oxblood); }
  .nav-cta:hover { background: var(--cream-2); color: var(--oxblood); }

  .brand-sub { display: none; }

  .part-row { grid-template-columns: 1fr; gap: 14px; padding: 24px 22px; }
  .part-no { display: flex; align-items: baseline; gap: 12px; }
  .part-no::after { display: none; }
  .part-buy { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; border-top: 1px solid var(--line); padding-top: 14px; }

  .arrivals-list li { grid-template-columns: 58px 1fr; }
  .arrival-price { grid-column: 2; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .hero-facts { flex-wrap: wrap; }
  .hero-facts > div { padding-right: 20px; margin-right: 20px; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .filter-bar { gap: 8px; }
  .filter-btn { padding: 9px 14px; font-size: .7rem; }
  .enquiry-form { padding: 28px 22px; }
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT WIREFRAME OVERRIDES
   Flat grey finish: no textures, gradients, shadows or brand
   colour. Appended last so these rules win the cascade.
   ═══════════════════════════════════════════════════════════ */

/* flat page — remove laid-paper texture and hero gradient */
body { background-image: none; }
.hero { background: var(--cream); }

/* header: flat bar, no drop shadow */
.site-header { background: rgba(237, 237, 237, .96); }
.site-header.is-scrolled { box-shadow: none; }

/* logo placeholder box (replaces the brand mark) */
.logo-ph {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dcdcdc;
  border: 1px dashed #a8a8a8;
  font-family: ui-monospace, monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .1em;
  color: #777;
}

/* image placeholder boxes (aspect-ratio set inline per image) */
.img-ph {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dcdcdc;
  border: 1px dashed #a8a8a8;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: #888;
  text-align: center;
  padding: 12px;
}

/* hovers and focus: grey only, no shadows */
.filter-btn:hover { background: rgba(0, 0, 0, .06); }
.part-row:hover { background: var(--cream-2); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
  box-shadow: none;
}
.form-field .is-invalid { border-color: var(--muted); box-shadow: none; }

/* status badges: one neutral grey (accent — re-themes via the COLOUR OPTION block) */
.badge-stock, .badge-oem, .badge-nos, .badge-reman { color: var(--pop); }

/* testimonials band: light surface instead of dark brand band */
.testimonials {
  background: var(--kraft-2);
  border-top-color: var(--line);
  border-bottom-color: var(--line);
}
.testimonials .section-head h2 { color: var(--ink); }
.testimonials .section-no { color: var(--pop); }

/* footer: light surface instead of dark brand band */
.site-footer {
  background: var(--kraft);
  color: var(--muted);
  border-top-color: var(--line);
}
.footer-name { color: var(--ink); }
.footer-tag { color: var(--muted); }
.footer-est { color: var(--muted); }
.footer-col h4 { color: var(--ink); border-bottom-color: var(--line); }
.footer-col a { color: var(--ink); }
.footer-col a:hover { color: var(--ink); }
.footer-base { border-top-color: var(--line); color: var(--muted); }

/* mobile nav panel: no shadow */
.main-nav { box-shadow: none; }

/* ═══════════════════════════════════════════════════════════
   COLOUR OPTION
   Lets a viewer splash ONE brand colour onto the wireframe's
   accent surfaces via the fixed COLOUR widget (bottom right).
   The widget sets --pop / --pop-ink inline on <html>; the grey
   swatch removes them, restoring the neutral accent below.
   Only genuine accent elements use var(--pop) — surfaces,
   lines, ink text and placeholder boxes stay structural grey.
   ═══════════════════════════════════════════════════════════ */
:root {
  --pop: #9a9a9a;      /* accent colour — default is the neutral wireframe grey */
  --pop-ink: #ffffff;  /* text or icons sitting on the accent colour */

  /* the former oxblood accent (already the neutral #9a9a9a) resolves
     through --pop, so every accent element re-themes at once */
  --oxblood: var(--pop);
  --oxblood-2: var(--pop);
}

/* accent surfaces the wireframe had mapped to ink grey rather than
   accent grey: primary solid CTAs, the active filter button and the
   added-to-enquiry state */
.btn-solid,
.btn-solid:hover,
.filter-btn.is-active,
.add-btn.is-added {
  background: var(--pop);
  border-color: var(--pop);
  color: var(--pop-ink);
}

/* text sitting on the accent colour */
.add-btn:hover { color: var(--pop-ink); }
@media (min-width: 769px) {
  /* mobile nav hover keeps accent text on a light wash instead */
  .nav-cta:hover { color: var(--pop-ink); }
}
