:root {
  --black: #000;
  --graphite: #16171a;
  --steel-700: #2c2f34;
  --steel-400: #8b9098;
  --chrome: #e8eaed;
  --white: #fff;
  --red: #d01c24;
  --red-deep: #a3121a;
  --carbon: #f6eebf;      /* yellow NCR booking paper */
  --carbon-line: #d9cd8a;
  --ink: #1d3a8f;         /* biro blue */
  --plate: #f7c600;

  --f: "Archivo", "Arial Narrow", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--chrome);
  font-family: var(--f);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--plate); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--plate); color: #000; padding: 8px 12px; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -0.01em; }

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 880;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-style: italic;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 52px; padding: 0 1.4em;
  border: 0; border-radius: 4px;
  font: inherit; font-weight: 750; font-variation-settings: "wdth" 112;
  text-decoration: none; cursor: pointer;
  transform: skewX(-8deg);          /* echoes the slant in the badge lettering */
}
.btn > * { transform: skewX(8deg); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #e3242d; }
.btn-chrome {
  background: linear-gradient(#fff 0%, #dfe2e6 48%, #a4a9b0 52%, #d5d8dc 100%);
  color: #111;
}
.btn-chrome:hover { filter: brightness(1.06); }
.btn-small { min-height: 42px; padding: 0 1em; font-size: .95rem; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a4cb0; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 10px var(--gutter);
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--steel-700);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand span { font-weight: 900; font-variation-settings: "wdth" 125; font-style: italic; font-size: 1.15rem; }
.topbar nav { display: flex; gap: 22px; }
.topbar nav a { text-decoration: none; color: #c9ccd1; font-weight: 600; }
.topbar nav a:hover { color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 32px;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(48px, 7vw, 88px);
}
.hero::before {           /* brushed steel, fading out to black */
  content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 70% 80% at 70% 45%, #2b2e33 0%, #121316 55%, #000 100%);
}
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4.3rem);
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  font-style: italic;
  background: linear-gradient(#fff 0%, #eceef0 50%, #9ea3aa 54%, #d8dbdf 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  max-width: 13ch;
}
.lede { max-width: 46ch; margin: 24px 0 32px; font-size: 1.15rem; color: #c9ccd1; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-badge { justify-self: center; width: min(100%, 520px); }
.sheen { position: relative; }
.sheen::after {           /* one polish pass across the badge on load */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-mask: url("Assets/logo.svg") center / contain no-repeat;
          mask: url("Assets/logo.svg") center / contain no-repeat;
  mix-blend-mode: overlay;
  animation: polish 1.6s .4s ease-out forwards;
}
@keyframes polish { to { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .sheen::after { animation: none; display: none; } }

/* ---------- services ---------- */
.pillars {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) var(--gutter);
}
.section-intro { margin: 12px 0 0; color: #b9bdc3; max-width: 60ch; }

.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: 48px; }
.pillar h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 880; font-variation-settings: "wdth" 125; font-style: italic;
  color: var(--white);
  padding-bottom: 14px;
  border-bottom: 3px solid var(--red);
}
.pillar > p { color: #b9bdc3; margin: 14px 0 18px; }
.pillar ul { list-style: none; margin: 0; padding: 0; }
.pillar li {
  padding: 12px 0;
  border-bottom: 1px solid var(--steel-700);
  color: #a9aeb5;
}
.pillar li b { display: block; color: var(--chrome); font-weight: 700; }

/* ---------- at a glance ---------- */
.facts {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: linear-gradient(#f4f5f7 0%, #dcdfe3 48%, #b4b9bf 52%, #d3d6da 100%);
  color: #1a1b1e;
}
.facts li { padding: 20px var(--gutter); border-right: 1px solid rgba(0,0,0,.18); }
.facts li:last-child { border-right: 0; }
.facts strong { display: block; font-size: 1.3rem; font-weight: 900; font-style: italic; font-variation-settings: "wdth" 125; color: #000; }

/* ---------- reviews ---------- */
.reviews { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 8vw, 104px); }
.reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; }
.rating { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.rating-score { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 900; font-style: italic; font-variation-settings: "wdth" 125; color: #fff; line-height: 1; }
.stars { color: #f5b301; letter-spacing: .08em; font-size: 1.2rem; margin: 0; }
.rating-count { color: #b9bdc3; }
.review-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px); margin-top: 36px; }
.review-list:empty { display: none; }
.review { margin: 0; padding: 22px 0; border-top: 3px solid var(--red); }
.review blockquote { margin: 10px 0 14px; color: var(--chrome); font-size: 1.05rem; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .9rem; color: var(--steel-400); }
.review figcaption a, .review figcaption span:first-child { color: #fff; font-weight: 700; }
.review-attribution { grid-column: 1 / -1; margin: 8px 0 0; font-size: .8rem; color: var(--steel-400); }
.review-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

/* ---------- booking ---------- */
.book-wrap {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px),
    var(--graphite);
  border-block: 1px solid var(--steel-700);
  padding: clamp(56px, 8vw, 104px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.book-wrap > * { max-width: 100%; }
.book-intro { position: sticky; top: 100px; justify-self: end; max-width: 30rem; }
.book-intro p { color: #b9bdc3; margin-top: 16px; }

.booking {
  position: relative;
  max-width: 720px;
  background: var(--carbon);
  color: #2b2a22;
  padding: clamp(20px, 4vw, 40px);
  border-radius: 2px;
  box-shadow: 0 1px 0 #fff8 inset, 0 30px 60px -20px rgba(0,0,0,.8);
  transform: rotate(-.6deg);
}
.booking::before {        /* tear-off perforation along the top */
  content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px;
  background: radial-gradient(circle, var(--graphite) 1.5px, transparent 2px) 0 0 / 10px 2px repeat-x;
  opacity: .5;
}
.booking-head {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 2px solid #2b2a22;
}
.booking-head img { background: #000; border-radius: 4px; }
.bk-title { margin: 0; font-weight: 900; font-variation-settings: "wdth" 125; font-style: italic; font-size: 1.6rem; line-height: 1; }
.bk-sub { margin: 4px 0 0; font-size: .9rem; }

.bk-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 18px; align-items: end; }
.bk-row.bk-two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.booking label { display: block; }
.bk-label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; color: #4a4836; }
.bk-help { display: block; font-size: .85rem; color: #6d6a52; margin: 6px 0 0; }

.plate-line { display: flex; gap: 12px; align-items: stretch; }
.plate-line .plate { flex: 1; max-width: 340px; }
.btn-find { min-height: 56px; }
.btn:disabled { opacity: .6; cursor: progress; }

.vehicle-card {           /* looks like it was stamped onto the form */
  margin: -4px 0 20px; padding: 12px 14px;
  border: 2px solid var(--ink); border-radius: 3px;
  color: var(--ink);
  background: rgba(255,255,255,.35);
}
.vehicle-card p { margin: 0; }
.vehicle-name { font-weight: 800; font-size: 1.15rem; font-variation-settings: "wdth" 110; }
.vehicle-meta { font-size: .95rem; margin-top: 2px !important; }

.booking input:not([type="checkbox"]), .booking textarea {
  width: 100%;
  font: inherit; color: var(--ink); font-size: 1.1rem;
  background: transparent;
  border: 0; border-bottom: 1.5px solid #8a8460;
  padding: 6px 2px;
  border-radius: 0;
}
.booking textarea {
  resize: vertical; line-height: 1.9rem; border: 0;
  background: repeating-linear-gradient(transparent 0 calc(1.9rem - 1.5px), #8a8460 calc(1.9rem - 1.5px) 1.9rem);
  background-attachment: local;
}
.booking input::placeholder, .booking textarea::placeholder { color: #a39d78; }
.booking input:focus, .booking textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 2px 0 var(--ink); }

/* number plate */
.plate {
  display: flex; align-items: stretch;
  background: var(--plate);
  border: 2px solid #111; border-radius: 6px;
  overflow: hidden; height: 56px;
}
.plate-band {
  display: grid; place-items: end center;
  width: 30px; padding-bottom: 6px;
  background: #0b3d91; color: #fff; font-size: .75rem; font-weight: 800;
}
.booking .plate input {
  flex: 1; min-width: 0;
  border: 0; box-shadow: none;
  color: #111; text-transform: uppercase; text-align: center;
  font-size: 1.9rem; font-weight: 700; font-variation-settings: "wdth" 72;
  letter-spacing: .06em; padding: 0 8px;
}
.booking .plate input::placeholder { color: rgba(0,0,0,.28); }
.plate:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }

/* tick boxes */
.bk-jobs { border: 0; padding: 0; margin: 4px 0 20px; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.booking .tick { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; }
.tick input {
  appearance: none; -webkit-appearance: none; margin: 0; flex: none;
  width: 24px; height: 24px; border: 1.5px solid #2b2a22; border-radius: 2px; background: transparent;
  display: grid; place-items: center; cursor: pointer;
}
.tick input::after {      /* a biro tick, slightly off-square like a real one */
  content: ""; width: 26px; height: 22px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 22'%3E%3Cpath d='M3 12 C6 14 8 17 10 20 C13 12 18 6 24 2' fill='none' stroke='%231d3a8f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: translate(3px, -4px) scale(0);
  transition: transform .12s ease-out;
}
.tick input:checked::after { transform: translate(3px, -4px) scale(1); }
.tick input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tick input::after { transition: none; } }

.bk-notes { margin-bottom: 18px; }
.bk-error { margin: 0 0 16px; padding: 10px 12px; background: #fff3; border-left: 4px solid var(--red); color: var(--red-deep); font-weight: 600; }
.bk-send { border-top: 2px solid #2b2a22; padding-top: 18px; }
.bk-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- find us ---------- */
.find { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter); }
.find-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); margin-top: 40px; }
.contact-list { margin: 0; }
.contact-list > div { padding: 16px 0; border-bottom: 1px solid var(--steel-700); display: grid; grid-template-columns: 8.5rem 1fr; gap: 12px; }
.contact-list dt { color: var(--steel-400); }
.contact-list dd { margin: 0; font-weight: 650; font-size: 1.15rem; }
.contact-list a { text-decoration-color: var(--red); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.hours h3 { font-size: 1.4rem; font-weight: 850; font-variation-settings: "wdth" 125; font-style: italic; margin-bottom: 12px; }
.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--steel-700); font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { color: #fff; font-weight: 750; }
.hours tr.today th::after { content: "Today"; margin-left: 10px; font-size: .75rem; background: var(--red); color: #fff; padding: 2px 6px; border-radius: 2px; vertical-align: 2px; }
.hours { margin-top: 36px; }
.map { min-height: 360px; border: 1px solid var(--steel-700); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.4) contrast(1.05); }
.text-link { color: inherit; text-decoration-color: var(--red); text-underline-offset: 4px; text-decoration-thickness: 2px; font-weight: 650; }
.book-alt a { color: #fff; }

/* ---------- footer ---------- */
.footer {
  display: flex; align-items: center; gap: 18px;
  padding: 32px var(--gutter) 40px;
  border-top: 1px solid var(--steel-700);
  color: var(--steel-400); font-size: .85rem;
  max-width: var(--max); margin: 0 auto;
}
.footer p { margin: 0; }

.callbar { display: none; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-badge { order: -1; width: min(70%, 340px); }
  .actions .btn { flex: 1 1 auto; }
  .hero h1 { max-width: none; }
  .pillar-grid { grid-template-columns: 1fr; }
  .book-wrap { grid-template-columns: 1fr; }
  .book-intro { position: static; justify-self: start; }
  .booking { transform: none; }
  .find-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .review-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar nav, .topbar .btn { display: none; }
  .bk-row.bk-two, .ticks { grid-template-columns: minmax(0, 1fr); }
  .plate-line { flex-direction: column; }
  .plate-line .plate { max-width: none; }
  .booking-head { grid-template-columns: auto 1fr; }
  .contact-list > div { grid-template-columns: 1fr; gap: 2px; }
  .footer { flex-direction: column; align-items: flex-start; padding-bottom: 96px; }
  .callbar {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
    min-height: 56px; border-radius: 6px;
    background: var(--red); color: #fff; text-decoration: none; font-weight: 800; font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.6);
  }
}
