@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600&family=IBM+Plex+Sans:wght@400&display=swap");

:root {
  --page-rail: 1280px;
  --reading-rail: 720px;
  --asphalt: #151a21;
  --graphite: #242c36;
  --steel: #5f6b7a;
  --canvas: #f3f6fa;
  --paper: #ffffff;
  --line: #cfd8e5;
  --line-dark: rgb(255 255 255 / 16%);
  --accent: #1258d6;
  --accent-dark: #0a3c94;
  --accent-bright: #6aa2ff;
  --focus: #2f7dff;
  --red: #c94733;
  --green: #1f805e;
  --star: #1258d6;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-panel: 0 20px 50px rgb(8 11 16 / 10%);
  --font-display: "Barlow Condensed", "Arial Narrow", "Aptos Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --home-source: url("assets/source/home-desktop.png");
  --services-source: url("assets/source/services-desktop.png");
  --blog-source: url("assets/source/blog-desktop.png");
  --contact-source: url("assets/source/contact-desktop.png");
  color-scheme: light;
  font-synthesis: none;
}

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

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--graphite);
  background: var(--canvas);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.6rem, 7vw, 6rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2.5rem, 4.3vw, 4.15rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.65rem;
  letter-spacing: -0.015em;
}

p {
  text-wrap: pretty;
}

address {
  font-style: normal;
}

main [id] {
  scroll-margin-top: 120px;
}

main:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  border-radius: var(--radius-xs);
  color: var(--paper);
  background: var(--accent);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.content-shell,
.section-shell,
.header-inner,
.footer-inner {
  width: min(var(--page-rail), calc(100% - 64px));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-transform: uppercase;
}

.dark-section {
  color: var(--paper);
  background: var(--asphalt);
}

.dark-section .eyebrow {
  color: var(--accent-bright);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  color: var(--paper);
  background: var(--accent);
  box-shadow: inset 0 -2px 0 rgb(8 11 16 / 28%);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-dark {
  color: var(--paper);
  background: var(--asphalt);
}

.button-dark:hover {
  background: #242b36;
}

.button-light {
  color: var(--asphalt);
  background: var(--paper);
}

.button-outline {
  color: inherit;
  border-color: currentcolor;
  background: transparent;
}

.button-outline:hover {
  color: var(--asphalt);
  background: var(--paper);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.85rem;
}

.text-link,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.section-heading {
  margin-bottom: 48px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 72px;
  align-items: end;
}

.split-heading > p,
.split-heading > div:last-child:not(:first-child) {
  max-width: 560px;
  margin-bottom: 2px;
  color: var(--steel);
  font-size: 1.05rem;
}

.dark-section .split-heading > p {
  color: rgb(255 255 255 / 68%);
}

/* Shared image crops */
.source-media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #d7dee8;
}

.source-media::before {
  position: absolute;
  z-index: -1;
  width: var(--source-width);
  height: var(--source-height);
  background-image: var(--source-image);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: "";
  inset: var(--source-top) auto auto var(--source-left);
}

.home-workshop {
  aspect-ratio: 2.65 / 1;
  --source-image: var(--home-source);
  --source-width: 156.86%;
  --source-height: 919.87%;
  --source-left: -28.43%;
  --source-top: -418.36%;
}

.home-service-repair,
.home-service-sales,
.home-service-car {
  aspect-ratio: 3 / 2;
  --source-image: var(--home-source);
  --source-width: 480%;
  --source-height: 1601.13%;
  --source-top: -1302.63%;
}

.home-service-repair { --source-left: -87%; }
.home-service-sales { --source-left: -190%; }
.home-service-car { --source-left: -293%; }

.services-tyre-repair,
.services-tyre-sales,
.services-car {
  aspect-ratio: 10 / 7;
  --source-image: var(--services-source);
  --source-width: 480%;
  --source-height: 946.79%;
  --source-top: -132.5%;
}

.services-tyre-repair { --source-left: -87%; }
.services-tyre-sales { --source-left: -190%; }
.services-car { --source-left: -293%; }

.gallery-one,
.gallery-two,
.gallery-three,
.gallery-four,
.gallery-five,
.gallery-six {
  aspect-ratio: 1;
  --source-image: var(--services-source);
  --source-width: 482.41%;
  --source-height: 666.08%;
}

.gallery-one,
.gallery-two,
.gallery-three { --source-top: -252.51%; }
.gallery-four,
.gallery-five,
.gallery-six { --source-top: -356.53%; }
.gallery-one,
.gallery-four { --source-left: -87.44%; }
.gallery-two,
.gallery-five { --source-left: -191.21%; }
.gallery-three,
.gallery-six { --source-left: -295.23%; }

.blog-car,
.blog-service,
.blog-wheel,
.blog-race {
  aspect-ratio: 5 / 3;
  --source-image: var(--blog-source);
  --source-width: 322.15%;
  --source-height: 443.85%;
}

.blog-car,
.blog-service { --source-top: -53.35%; }
.blog-wheel,
.blog-race { --source-top: -194.41%; }
.blog-car,
.blog-wheel { --source-left: -58.39%; }
.blog-service,
.blog-race { --source-left: -163.76%; }

/* Header */
.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  color: var(--paper);
  background: var(--asphalt);
  box-shadow: 0 1px 0 var(--line-dark);
}

.header-utility {
  border-bottom: 1px solid var(--line-dark);
  color: rgb(255 255 255 / 66%);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-utility .content-shell {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
}

.header-inner {
  display: grid;
  min-height: 78px;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.wordmark-image-frame {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.wordmark-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transform: scale(1.48);
}

.wordmark-text {
  display: grid;
  font-family: var(--font-display);
  font-size: 1.26rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 0.78;
  text-transform: uppercase;
}

.wordmark-text strong {
  color: var(--accent-bright);
  font-weight: 700;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.primary-nav a[href="/order-your-tyres-online"] {
  display: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--accent-bright);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 160ms ease, transform 160ms ease;
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: grid;
  font-family: var(--font-display);
  line-height: 1.05;
  text-align: right;
}

.header-phone span {
  color: rgb(255 255 255 / 58%);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-phone strong {
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.nav-find-tyres {
  min-height: 44px;
  padding-inline: 18px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px 9px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentcolor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:first-child { 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); }

/* Home */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 78px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(500px, 0.96fr);
  gap: clamp(48px, 6vw, 92px);
  align-items: center;
}

.hero-content { padding-block: 30px; }

.hero-content h1 {
  max-width: 760px;
  margin-bottom: 30px;
  color: var(--asphalt);
  font-size: clamp(4.6rem, 7.3vw, 7.35rem);
  line-height: 0.86;
}

.hero-content h1 em {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: #4d565a;
  font-size: 1.18rem;
  line-height: 1.6;
}

.hero-actions,
.masthead-actions,
.contact-path-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-points,
.order-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 24px 0 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-points li,
.order-assurances li {
  position: relative;
  padding-left: 17px;
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-points li::before,
.order-assurances li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.hero-side { position: relative; }

.hero-media {
  position: relative;
  z-index: 0;
  margin: 0 22px -18px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: var(--shadow-panel);
}

.hero-media > .source-media { border-radius: inherit; }

.hero-media-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: var(--radius-xs);
  color: var(--paper);
  background: rgb(8 11 16 / 82%);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-finder { position: relative; z-index: 1; }

.proof-rail { color: var(--paper); background: var(--asphalt); }

.proof-rail .content-shell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-rail .content-shell > div {
  display: grid;
  min-height: 112px;
  align-content: center;
  padding: 20px 28px;
  border-left: 1px solid var(--line-dark);
}

.proof-rail .content-shell > div:last-child { border-right: 1px solid var(--line-dark); }

.proof-rail strong {
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.proof-rail span { margin-top: 5px; color: rgb(255 255 255 / 66%); font-size: 0.82rem; }

.services-editorial { padding: 112px 0 124px; }

.service-editorial-list,
.services-feature-grid {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-editorial-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 36px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--line-dark);
}

.service-editorial-item:last-child { border-bottom: 1px solid var(--line-dark); }

.service-number {
  align-self: start;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.on-dark .service-number {
  color: var(--accent-bright);
}

.service-editorial-copy h3 {
  margin-bottom: 14px;
  color: var(--paper);
  font-size: clamp(2rem, 3vw, 3rem);
}

.service-editorial-copy p {
  max-width: 610px;
  margin-bottom: 18px;
  color: rgb(255 255 255 / 66%);
}

.service-editorial-copy a,
.service-ledger-copy a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 5px;
}

.service-editorial-item .source-media { border-radius: var(--radius-sm); }

.workshop-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: center;
  padding-block: 120px;
}

.workshop-story-copy h2 { margin-bottom: 24px; }

.workshop-story-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 24px;
  color: var(--steel);
  font-size: 1.08rem;
}

.workshop-story-media {
  position: relative;
  width: min(100%, 640px);
  justify-self: end;
}

.workshop-story-media .source-media {
  width: min(100%, 560px);
  margin-left: auto;
  border-radius: var(--radius-md);
}

.workshop-story-media blockquote {
  position: absolute;
  left: -52px;
  bottom: 34px;
  max-width: 330px;
  padding: 24px 28px;
  margin: 0;
  border-left: 6px solid var(--accent);
  color: var(--paper);
  background: var(--asphalt);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.08;
}

.reviews-editorial {
  padding: 96px 0 112px;
  border-top: 1px solid var(--line);
}

.review-summary { display: grid; gap: 7px; justify-items: start; }
.stars { color: var(--star); font-size: 1rem; letter-spacing: 0.08em; }
.review-summary > span:not(.stars) { color: var(--steel); font-size: 0.9rem; }
.review-carousel { position: relative; }
.review-viewport { overflow: hidden; }

.review-track {
  display: flex;
  gap: 24px;
  transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.review-card {
  display: flex;
  width: calc((100% - 48px) / 3);
  min-width: calc((100% - 48px) / 3);
  min-height: 300px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--steel);
  font-size: 0.78rem;
}

.review-card > p {
  margin: 34px 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.22;
}

.review-card footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }

.review-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--asphalt);
  font-family: var(--font-display);
  font-weight: 700;
}

.carousel-arrow,
.review-pause {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--asphalt);
  background: var(--paper);
  cursor: pointer;
}

.carousel-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  font-family: var(--font-display);
  font-size: 2rem;
  transform: translateY(-50%);
}

.carousel-arrow.previous { left: 8px; }
.carousel-arrow.next { right: 8px; }
.review-pause { margin: 24px auto 0; font-size: 0.8rem; }

.brands-support {
  padding: 112px 0 120px;
  border-top: 1px solid var(--line);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.brand {
  display: grid;
  min-height: 124px;
  place-items: center;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 42%);
}

.brand img {
  width: 160px;
  height: 48px;
  max-width: 148px;
  max-height: 48px;
  object-fit: contain;
  opacity: 1;
  transition: transform 180ms ease;
}

.brand:hover img,
.brand:focus-within img {
  transform: scale(1.04);
}

/* Shared mastheads */
.page-masthead {
  position: relative;
  overflow: hidden;
  padding: 100px 0 112px;
}

.page-masthead::after {
  position: absolute;
  top: 0;
  right: 8vw;
  width: 10px;
  height: 100%;
  background: var(--accent);
  content: "";
  transform: skewX(-8deg);
}

.page-masthead .content-shell { position: relative; z-index: 1; }

.page-masthead h1 {
  max-width: 920px;
  margin-bottom: 28px;
  font-size: clamp(5rem, 9vw, 8.5rem);
  line-height: 0.82;
}

.page-masthead .content-shell > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgb(255 255 255 / 68%);
  font-size: 1.12rem;
}

/* Services */
.services-ledger { padding: 112px 0 124px; }

.service-ledger-item {
  display: grid;
  grid-template-columns: 72px minmax(260px, 0.8fr) minmax(420px, 1.2fr);
  gap: 36px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.service-ledger-item:last-child { border-bottom: 1px solid var(--line); }
.service-ledger-copy h3 { margin-bottom: 14px; font-size: clamp(2.2rem, 3.5vw, 3.5rem); }
.service-ledger-copy p { margin-bottom: 18px; color: var(--steel); }
.service-ledger-item .source-media { border-radius: var(--radius-sm); }

.gallery-editorial {
  padding: 112px 0 120px;
  border-top: 1px solid var(--line);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.gallery-grid .source-media { grid-column: span 3; border-radius: var(--radius-sm); }
.gallery-grid .source-media:nth-child(-n + 2) { grid-column: span 6; }

/* Location */
.location-section {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(500px, 1.18fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  padding: 112px 0 124px;
  border-top: 1px solid var(--line);
}

.location-copy h2 { margin-bottom: 24px; }

.location-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 30px;
  color: var(--steel);
}

.location-copy h3 {
  margin: 24px 0 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.location-copy address { color: var(--steel); }

.hours-list {
  width: min(100%, 420px);
  padding: 0;
  margin: 0;
  color: var(--steel);
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.hours-list span { color: var(--graphite); font-weight: 600; }

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}

.map-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-md);
  background: #e1e7ef;
  box-shadow: var(--shadow-panel);
}

.services-map {
  aspect-ratio: 3 / 2;
}

.contact-map {
  aspect-ratio: 8 / 5;
}

.map-embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-fallback {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--radius-xs);
  color: var(--paper);
  background: var(--asphalt);
  font-size: 0.84rem;
  font-weight: 700;
}

/* Blog */
.blog-masthead {
  padding: 100px 0 76px;
  border-bottom: 1px solid var(--line);
}

.blog-masthead h1 {
  max-width: 800px;
  margin-bottom: 26px;
  color: var(--asphalt);
  font-size: clamp(5rem, 9vw, 8.5rem);
  line-height: 0.83;
}

.blog-masthead > p:last-child {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--steel);
  font-size: 1.1rem;
}

.blog-index { padding: 72px 0 120px; }

.blog-featured {
  margin-bottom: 72px;
  border-bottom: 1px solid var(--line);
}

.blog-featured .blog-card-link {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  gap: 48px;
  align-items: center;
  padding-bottom: 72px;
}

.blog-featured .source-media { border-radius: var(--radius-md); }
.blog-featured-copy h2 { margin-bottom: 20px; }
.blog-featured-copy > p:not(.eyebrow) { margin-bottom: 20px; color: var(--steel); }

.blog-meta {
  display: block;
  margin-bottom: 12px;
  color: var(--steel);
  font-size: 0.84rem;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-list-card { border: 1px solid var(--line); background: var(--paper); }

.blog-list-card .blog-card-link,
.blog-list-card.is-unavailable {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.blog-list-card .source-media { flex: 0 0 auto; }

.blog-list-copy {
  display: flex;
  min-height: 330px;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.blog-list-copy h2 { margin-bottom: 16px; font-size: 2rem; }

.blog-list-copy > p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 20px;
  color: var(--steel);
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.blog-list-copy .blog-meta { margin-top: auto; }

.availability-label {
  display: inline-flex;
  margin-top: 8px;
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 600;
}

.blog-card-link:hover h2 {
  text-decoration: underline;
  text-decoration-color: var(--accent-dark);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.blog-list-card.is-unavailable { background: #e9eef5; }
.blog-list-card.is-unavailable .source-media { filter: grayscale(0.85); opacity: 0.72; }

/* Forms */
.panel,
.tyre-check {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-panel);
}

.tyre-check { padding: 30px; }
.tyre-check > .eyebrow { margin-bottom: 10px; }

.tyre-check h2 {
  margin-bottom: 24px;
  color: var(--asphalt);
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.tyre-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label,
.tyre-form label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.tyre-form input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #aeb8c7;
  border-radius: var(--radius-xs);
  color: var(--graphite);
  background: var(--paper);
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.contact-form textarea { min-height: 154px; resize: vertical; }

.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.tyre-form input:focus-visible {
  border-color: var(--asphalt);
  box-shadow: 0 0 0 3px rgb(47 125 255 / 48%);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.tyre-form input::placeholder { color: #687385; }

.registration-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.tyre-form .registration-input {
  border-color: var(--accent-dark);
  color: var(--paper);
  background: var(--accent);
  caret-color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tyre-form .registration-input::placeholder {
  color: rgb(255 255 255 / 78%);
}

.tyre-submit { position: relative; min-width: 190px; }
.tyre-submit.is-loading span { opacity: 0.35; }

.tyre-submit.is-loading::after {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgb(255 255 255 / 38%);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  animation: spin 700ms linear infinite;
}

.tyre-submit:disabled { cursor: wait; opacity: 0.72; }

.form-status {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
  font-size: 0.9rem;
}

.form-status:not(:empty) {
  padding: 12px 14px;
  border-left: 4px solid var(--accent-dark);
  background: #e6efff;
}

.form-status.is-error:not(:empty) { border-color: var(--red); background: #fae8e4; }
.form-status.is-success:not(:empty) { border-color: var(--green); background: #e2f1eb; }
.form-status a { font-weight: 700; text-decoration: underline; }

.tyre-disclaimer {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--steel);
  font-size: 0.76rem;
  line-height: 1.45;
}

/* Contact */
.contact-paths {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  padding: 72px 0 112px;
}

.contact-path {
  min-height: 360px;
  padding: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.contact-path-urgent { color: var(--paper); background: var(--accent); }
.contact-path-urgent .eyebrow { color: rgb(255 255 255 / 76%); }
.contact-path-urgent .button-primary { color: var(--accent-dark); background: var(--paper); }
.contact-path-urgent .button-primary:hover { color: var(--paper); background: var(--accent-dark); }
.contact-path-urgent .text-link { color: var(--paper); text-decoration-color: var(--paper); }
.contact-path h2 { margin-bottom: 20px; }
.contact-path > p:not(.eyebrow) { max-width: 560px; margin-bottom: 28px; }
.contact-path-general { display: flex; flex-direction: column; }
.contact-path-general .text-link { margin-top: auto; }

.contact-form-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(520px, 1.25fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.contact-copy h2 { margin-bottom: 22px; }
.contact-copy > p:not(.eyebrow) { color: var(--steel); }
.contact-details { display: grid; gap: 20px; margin-top: 36px; }

.contact-details h3 {
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-details a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.contact-form {
  display: grid;
  gap: 18px;
  padding: 38px;
}

.contact-form h2 { font-size: 2.5rem; }
.contact-form .button { justify-self: start; }

.contact-tyre-check {
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.contact-tyre-check .tyre-check { max-width: 980px; margin-inline: auto; }

/* Order */
.order-hero { padding: 86px 0 96px; }

.order-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.order-intro h1 {
  margin-bottom: 28px;
  font-size: clamp(4.6rem, 7vw, 7rem);
  line-height: 0.86;
}

.order-intro > p:not(.eyebrow) {
  max-width: 570px;
  color: rgb(255 255 255 / 70%);
  font-size: 1.08rem;
}

.order-assurances { display: grid; gap: 12px; border-color: var(--line-dark); }
.order-assurances li { color: rgb(255 255 255 / 68%); }
.order-content .tyre-check { color: var(--graphite); }
.order-content { min-width: 0; }

.tyrescope-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--graphite);
  background: var(--paper);
  box-shadow: var(--shadow-panel);
}

.tyrescope-panel-heading { padding: 30px 30px 24px; }
.tyrescope-panel-heading .eyebrow { margin-bottom: 10px; }

.tyrescope-panel-heading h2 {
  margin-bottom: 14px;
  color: var(--asphalt);
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.tyrescope-panel-heading > p:last-child {
  max-width: 62ch;
  margin: 0;
  color: var(--steel);
  font-size: 0.92rem;
}

.tyrescope-stage {
  position: relative;
  min-height: 128px;
  border-top: 1px solid var(--line);
  background: #e9eef5;
}

.tyrescope-status {
  display: flex;
  min-height: 128px;
  align-items: center;
  justify-content: center;
  padding: 28px;
  margin: 0;
  color: var(--steel);
  text-align: center;
}

.tyrescope-panel[data-tyrescope-state="loading"] .tyrescope-status::before {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-right: 12px;
  border: 2px solid rgb(18 88 214 / 22%);
  border-top-color: var(--accent);
  border-radius: 50%;
  content: "";
  animation: spin 700ms linear infinite;
}

.tyrescope-panel[data-tyrescope-state="ready"] .tyrescope-status {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.tyrescope-panel[data-tyrescope-state="ready"] .tyrescope-stage { min-height: 680px; }

.tyrescope-frame {
  display: block;
  width: 100%;
  min-height: 680px;
  border: 0;
  background: var(--paper);
}

.tyrescope-frame[hidden] { display: none; }

.tyrescope-panel[data-tyrescope-state="unavailable"] .tyrescope-status,
.tyrescope-panel[data-tyrescope-state="error"] .tyrescope-status {
  min-height: 0;
  justify-content: flex-start;
  border-left: 5px solid var(--accent);
  color: var(--graphite);
  background: #e6efff;
  text-align: left;
}

.tyrescope-fallback { padding: 0 30px 30px; }
.tyrescope-fallback .tyre-check { border-radius: var(--radius-sm); box-shadow: none; }

.integration-warning {
  margin: 0 30px 30px;
  padding: 16px 18px;
  border: 1px dashed #8b96a6;
  color: var(--graphite);
  background: #f6f8fb;
  font-size: 0.82rem;
}

.integration-warning p { margin: 4px 0 0; }
.integration-warning code { font-size: 0.78rem; }
.order-process { padding: 112px 0 124px; }

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  min-height: 290px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list span {
  display: block;
  margin-bottom: 58px;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.process-list h3 { margin-bottom: 14px; }
.process-list p { margin-bottom: 0; color: var(--steel); }

.order-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 24px 28px;
  color: var(--paper);
  background: var(--asphalt);
}

.order-help p { margin: 0; font-weight: 600; }
.order-help .button { color: var(--paper); background: var(--accent); }

/* Standalone tyre enquiry */
.enquiry-masthead { padding: 86px 0 92px; }

.enquiry-masthead-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
}

.enquiry-masthead h1 {
  max-width: 760px;
  font-size: clamp(4.7rem, 8vw, 7.5rem);
  line-height: 0.85;
}

.enquiry-masthead-copy { padding-bottom: 8px; }

.enquiry-masthead-copy > p {
  max-width: 600px;
  margin-bottom: 26px;
  color: rgb(255 255 255 / 72%);
  font-size: 1.08rem;
}

.enquiry-masthead-copy ul {
  display: grid;
  gap: 10px;
  padding: 22px 0 0;
  margin: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.enquiry-masthead-copy li {
  position: relative;
  padding-left: 22px;
  color: rgb(255 255 255 / 82%);
}

.enquiry-masthead-copy li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 9px;
  height: 3px;
  background: var(--accent-bright);
  content: "";
}

.enquiry-workbench {
  display: grid;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
  padding: 96px 0 112px;
}

.enquiry-progress {
  position: sticky;
  top: 112px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.enquiry-progress ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.enquiry-progress li {
  position: relative;
  display: grid;
  min-height: 94px;
  grid-template-columns: 46px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  color: var(--steel);
}

.enquiry-progress li:last-child { border-bottom: 1px solid var(--line); }

.enquiry-progress li > span {
  grid-row: 1 / 3;
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}

.enquiry-progress li > strong {
  color: var(--graphite);
  font-family: var(--font-display);
  font-size: 1.32rem;
  line-height: 1;
}

.enquiry-progress li > small { margin-top: 6px; line-height: 1.35; }
.enquiry-progress li.is-current { color: var(--graphite); }

.enquiry-progress li.is-current::before,
.enquiry-progress li.is-complete::before {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -31px;
  width: 4px;
  background: var(--accent);
  content: "";
}

.enquiry-progress li.is-current > span,
.enquiry-progress li.is-complete > span { color: var(--accent); }

.enquiry-progress li.is-complete::after {
  position: absolute;
  top: 18px;
  right: 0;
  color: var(--green);
  content: "✓";
  font-weight: 700;
}

.enquiry-progress-note {
  margin: 24px 0 0;
  color: var(--steel);
  font-size: 0.82rem;
  line-height: 1.5;
}

.enquiry-form {
  overflow: hidden;
  box-shadow: 0 24px 64px rgb(8 11 16 / 11%);
}

.enquiry-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.enquiry-step {
  min-width: 0;
  padding: 38px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.enquiry-step:last-of-type { border-bottom: 0; }

.enquiry-step legend {
  width: 100%;
  padding: 0;
  margin-bottom: 7px;
}

.enquiry-step legend span,
.tyre-axle-heading span {
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.enquiry-step > h2 {
  color: var(--asphalt);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1;
}

.enquiry-step > h2 { margin-bottom: 14px; }

.enquiry-step-intro {
  max-width: 64ch;
  margin-bottom: 26px;
  color: var(--steel);
}

.enquiry-grid,
.tyre-axle-grid { display: grid; gap: 18px; }

.enquiry-grid-two,
.tyre-axle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.enquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
  font-size: 0.85rem;
  font-weight: 600;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #aeb8c7;
  border-radius: var(--radius-xs);
  color: var(--graphite);
  background: var(--paper);
  font: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.enquiry-form textarea { min-height: 132px; resize: vertical; }

.enquiry-form input:focus-visible,
.enquiry-form select:focus-visible,
.enquiry-form textarea:focus-visible {
  border-color: var(--asphalt);
  box-shadow: 0 0 0 3px rgb(47 125 255 / 48%);
}

.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder { color: #687385; }

.enquiry-registration-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
}

.enquiry-form .registration-input {
  border-color: var(--accent-dark);
  color: var(--paper);
  background: var(--accent);
  caret-color: var(--paper);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.enquiry-form .registration-input::placeholder { color: rgb(255 255 255 / 76%); }

.enquiry-lookup,
.enquiry-send { position: relative; min-width: 190px; }

.enquiry-lookup.is-loading span,
.enquiry-send.is-loading span { opacity: 0.28; }

.enquiry-lookup.is-loading::after,
.enquiry-send.is-loading::after {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgb(255 255 255 / 38%);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  animation: spin 700ms linear infinite;
}

.enquiry-lookup-status,
.enquiry-submit-status { margin-top: 16px; }

.enquiry-manual-link {
  min-height: 44px;
  padding: 0;
  border: 0;
  color: var(--accent-dark);
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.enquiry-manual-link:hover { color: var(--asphalt); }

.vehicle-confirmation {
  position: relative;
  padding: 18px 20px 18px 52px;
  margin-bottom: 22px;
  border-left: 4px solid var(--accent-bright);
  color: var(--paper);
  background: var(--asphalt);
  font-weight: 700;
  overflow-wrap: anywhere;
  scroll-margin-top: 120px;
}

.vehicle-confirmation::before {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--accent-bright);
  content: "✓";
}

.tyre-axle {
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--asphalt);
  background: var(--canvas);
}

.tyre-axle-heading { display: grid; gap: 4px; margin-bottom: 18px; }

.tyre-axle-heading h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.tyre-axle label + label { margin-top: 14px; }
.enquiry-preferences { align-items: start; margin-top: 20px; }
.brand-choice { display: grid; gap: 14px; }

.tyre-size-guide {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.tyre-size-guide summary {
  min-height: 48px;
  padding: 13px 0;
  color: var(--accent-dark);
  font-weight: 700;
  cursor: pointer;
}

.tyre-size-guide p {
  max-width: 65ch;
  margin: 0 0 8px;
  color: var(--steel);
  font-size: 0.9rem;
}

.label-note { color: var(--steel); font-weight: 400; }
.enquiry-step[data-enquiry-step="3"] > label + label { margin-top: 18px; }

.enquiry-privacy {
  max-width: 70ch;
  margin: -4px 0 18px;
  color: var(--steel);
  font-size: 0.78rem;
  line-height: 1.55;
}

.enquiry-privacy a {
  color: var(--accent-dark);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.enquiry-safety-note {
  padding: 14px 16px;
  margin: 20px 0;
  border-left: 4px solid var(--accent);
  color: var(--steel);
  background: #e9f1ff;
  font-size: 0.82rem;
  line-height: 1.5;
}

.enquiry-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 32px;
  margin-bottom: 112px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.enquiry-fallback p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
}

/* Articles */
.article-page { padding: 88px 0 120px; }

.article-header {
  max-width: 980px;
  margin: 0 auto 52px;
  text-align: center;
}

.article-header .back-link { margin-bottom: 34px; }

.article-header h1 {
  margin-bottom: 24px;
  color: var(--asphalt);
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.9;
}

.article-meta { margin: 0; color: var(--steel); font-size: 0.88rem; }

.article-page > .source-media {
  max-width: 1120px;
  margin: 0 auto 76px;
  border-radius: var(--radius-md);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--reading-rail)) minmax(280px, 360px);
  gap: clamp(56px, 9vw, 128px);
  justify-content: center;
  align-items: start;
}

.article-copy section { margin-bottom: 62px; }
.article-copy section:last-child { margin-bottom: 0; }

.article-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4vw, 3.4rem);
}

.article-copy p {
  margin-bottom: 20px;
  color: #394453;
  font-size: 1.04rem;
  line-height: 1.78;
}

.article-cta {
  position: sticky;
  top: 138px;
  padding: 30px;
  border-top: 8px solid var(--accent);
  color: var(--paper);
  background: var(--asphalt);
}

.article-cta h2 { margin-bottom: 18px; font-size: 2.4rem; }
.article-cta > p:not(.eyebrow) { color: rgb(255 255 255 / 68%); }
.article-cta .button,
.article-cta .text-link { width: 100%; margin-top: 12px; }

/* Not found */
.not-found { min-height: 65vh; padding: 112px 0; }
.not-found h1 { margin-bottom: 24px; }
.not-found > p:not(.eyebrow) { margin-bottom: 28px; color: var(--steel); }

/* Footer */
.site-footer { color: var(--paper); background: var(--asphalt); }
.footer-inner { padding: 76px 0 28px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: 64px;
}

.wordmark-footer { margin-bottom: 24px; }
.footer-brand > p { max-width: 360px; color: rgb(255 255 255 / 64%); }

.footer-grid h2 {
  margin-bottom: 20px;
  color: var(--accent-bright);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav,
.footer-contact,
.footer-hours {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav a,
.footer-contact a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  color: rgb(255 255 255 / 76%);
}

.footer-nav a:hover,
.footer-contact a:hover { color: var(--accent-bright); }
.footer-contact address,
.footer-hours p { margin-bottom: 14px; color: rgb(255 255 255 / 64%); }
.footer-hours p strong { color: var(--paper); }
.footer-hours .button { margin-top: 10px; }

.footer-socials { display: flex; gap: 8px; margin-top: 24px; }

.social-link {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}

.social-link:hover { color: var(--paper); border-color: var(--accent); background: var(--accent); }
.social-link svg { width: 20px; height: 20px; fill: currentcolor; }

.footer-utility {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: rgb(255 255 255 / 45%);
  font-size: 0.76rem;
}

.footer-utility p { margin: 0; }

/* Persistent actions and cookies */
.mobile-action-dock {
  position: fixed;
  z-index: 45;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
}

.mobile-action-dock > a:not(.whatsapp-button) { display: none; }

.whatsapp-button {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 4px solid rgb(255 255 255 / 42%);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 10px 26px rgb(8 11 16 / 24%);
}

.whatsapp-button img { width: 100%; height: 100%; object-fit: cover; }
.whatsapp-button > span { display: none; }

.cookie-notice {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: min(560px, calc(100% - 40px));
  grid-template-columns: 1fr auto;
  gap: 18px 24px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--graphite);
  background: rgb(255 255 255 / 98%);
  box-shadow: var(--shadow-panel);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-visible .mobile-action-dock { bottom: 200px; }
.cookie-notice.is-closing { opacity: 0; transform: translateY(24px); }
.cookie-notice p { margin: 0; font-size: 0.76rem; line-height: 1.45; }
.cookie-actions { display: flex; gap: 8px; align-items: center; }

.cookie-decline {
  min-width: 70px;
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
}

.capture-full-page { position: relative; }
.capture-full-page .mobile-action-dock,
.capture-full-page .cookie-notice { position: absolute; }
.capture-full-page.cookie-visible .mobile-action-dock { bottom: 200px; }

@keyframes spin { to { transform: rotate(1turn); } }

@media (max-width: 1100px) {
  .content-shell,
  .section-shell,
  .header-inner,
  .footer-inner { width: min(var(--page-rail), calc(100% - 48px)); }

  .header-inner { gap: 22px; }
  .primary-nav { gap: 20px; }
  .header-phone span { display: none; }

  .hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: 42px;
  }

  .hero-content h1 { font-size: clamp(4.25rem, 7.3vw, 5.8rem); }

  .service-editorial-item,
  .service-ledger-item {
    grid-template-columns: 58px minmax(0, 0.95fr) minmax(330px, 1.05fr);
    gap: 26px;
  }

  .workshop-story-media blockquote { left: -24px; }

  .location-section,
  .order-layout {
    grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
    gap: 52px;
  }

  .footer-grid { grid-template-columns: 1.2fr 0.6fr 1fr; }

  .footer-hours {
    grid-column: 2 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 18px;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid var(--line-dark);
  }

  .footer-hours h2 { grid-column: 1 / -1; margin: 0; }
  .footer-hours p,
  .footer-hours .button { margin: 0; }
}

@media (max-width: 940px) {
  html { scroll-padding-top: 82px; }
  .header-utility,
  .header-phone { display: none; }
  .site-header { min-height: 76px; }

  .header-inner {
    min-height: 76px;
    grid-template-columns: auto 1fr auto;
  }

  .primary-nav {
    position: fixed;
    z-index: 42;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    gap: 0;
    overflow: hidden;
    padding: 0 24px;
    color: var(--paper);
    background: var(--asphalt);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overscroll-behavior: contain;
    transition: max-height 240ms ease, opacity 180ms ease, padding 240ms ease;
  }

  .primary-nav.is-open {
    max-height: calc(100vh - 76px);
    padding-block: 20px 34px;
    border-top: 1px solid var(--line-dark);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .primary-nav a {
    min-height: 58px;
    border-bottom: 1px solid var(--line-dark);
    font-size: 1.35rem;
  }

  .primary-nav a[href="/order-your-tyres-online"] {
    display: inline-flex;
    padding-inline: 18px;
    border: 0;
    color: var(--paper);
    background: var(--accent);
  }

  .primary-nav a::after { right: auto; bottom: 10px; width: 42px; }
  .menu-toggle { display: block; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-content { max-width: 720px; }

  .hero-side {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
    gap: 0;
    align-items: center;
  }

  .hero-media {
    z-index: 2;
    margin: 0 -24px 0 0;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
  }

  .hero-finder { z-index: 1; }
  .proof-rail .content-shell > div { padding-inline: 18px; }

  .split-heading { grid-template-columns: 1fr; gap: 24px; align-items: start; }

  .service-editorial-item { grid-template-columns: 52px minmax(0, 1fr); }

  .service-editorial-item .source-media {
    grid-column: 2;
    width: min(100%, 560px);
  }

  .workshop-story,
  .contact-form-section,
  .location-section,
  .order-layout,
  .article-layout { grid-template-columns: 1fr; }

  .workshop-story-media { width: min(100%, 650px); justify-self: start; }

  .review-card {
    width: calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
  }

  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .service-ledger-item { grid-template-columns: 54px minmax(0, 1fr); }

  .service-ledger-item .source-media {
    grid-column: 2;
    width: min(100%, 620px);
  }

  .gallery-grid .source-media,
  .gallery-grid .source-media:nth-child(-n + 2) { grid-column: span 6; }

  .blog-featured .blog-card-link { grid-template-columns: 1fr; }
  .blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-list-card:first-child { grid-column: 1 / -1; }
  .contact-paths { grid-template-columns: 1fr 1fr; }
  .contact-form-section { gap: 42px; }
  .contact-copy { max-width: 650px; }
  .contact-form { max-width: 720px; }
  .contact-map,
  .services-map { width: min(100%, 720px); }
  .order-intro { max-width: 720px; }
  .order-content { max-width: 760px; }

  .enquiry-masthead-layout,
  .enquiry-workbench { grid-template-columns: 1fr; }

  .enquiry-masthead-layout { gap: 34px; }
  .enquiry-masthead-copy { max-width: 720px; }
  .enquiry-workbench { gap: 28px; padding-top: 72px; }

  .enquiry-progress {
    position: static;
    padding: 24px;
  }

  .enquiry-progress ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .enquiry-progress li {
    min-height: 90px;
    padding: 14px 18px;
    border: 0;
    border-left: 1px solid var(--line);
  }

  .enquiry-progress li:first-child { border-left: 0; }
  .enquiry-progress li:last-child { border-bottom: 0; }

  .enquiry-progress li.is-current::before,
  .enquiry-progress li.is-complete::before {
    top: auto;
    right: 18px;
    bottom: -1px;
    left: 18px;
    width: auto;
    height: 4px;
  }

  .enquiry-progress-note { max-width: 70ch; }

  .article-layout {
    max-width: var(--reading-rail);
    margin-inline: auto;
  }

  .article-cta { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .footer-hours {
    grid-column: auto;
    display: flex;
    padding-top: 0;
    border-top: 0;
  }

  .footer-hours h2 { margin-bottom: 20px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 74px; }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
    font-size: 15px;
  }

  .content-shell,
  .section-shell,
  .header-inner,
  .footer-inner { width: min(var(--page-rail), calc(100% - 36px)); }

  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.6rem; }
  .eyebrow { margin-bottom: 12px; font-size: 0.78rem; }
  .site-header,
  .header-inner { min-height: 72px; }
  .primary-nav { top: 72px; }
  .wordmark-text { font-size: 1.08rem; }
  .wordmark-image-frame { width: 42px; height: 42px; border-radius: 8px; }
  .header-actions { display: none; }

  .header-inner { grid-template-columns: auto 1fr auto; }
  .menu-toggle { grid-column: 3; }

  .home-hero { padding: 48px 0 56px; }
  .hero-layout { gap: 38px; }
  .hero-content { padding: 0; }

  .hero-content h1 {
    margin-bottom: 22px;
    font-size: clamp(3.6rem, 17vw, 4.45rem);
    line-height: 0.87;
  }

  .hero-lead { margin-bottom: 24px; font-size: 1rem; }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button { width: 100%; }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    padding-top: 18px;
    margin-top: 22px;
  }

  .hero-side { display: block; }

  .hero-media {
    margin: 0 12px -10px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }

  .hero-media-label { right: 10px; bottom: 10px; font-size: 0.65rem; }
  .proof-rail .content-shell { grid-template-columns: repeat(2, 1fr); }

  .proof-rail .content-shell > div {
    min-height: 94px;
    padding: 16px 14px;
    border-bottom: 1px solid var(--line-dark);
  }

  .proof-rail strong { font-size: 1.5rem; }

  .services-editorial,
  .brands-support,
  .services-ledger,
  .gallery-editorial,
  .contact-form-section,
  .contact-tyre-check,
  .order-process { padding-block: 72px; }

  .section-heading { margin-bottom: 34px; }

  .service-editorial-item,
  .service-ledger-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 18px;
    padding: 28px 0;
  }

  .service-editorial-item .source-media,
  .service-ledger-item .source-media {
    grid-column: 1 / -1;
    width: 100%;
  }

  .service-editorial-copy h3,
  .service-ledger-copy h3 { font-size: 2.25rem; }

  .workshop-story { gap: 46px; padding-block: 72px; }

  .workshop-story-media .source-media {
    width: calc(100% - 22px);
    margin-left: 22px;
  }

  .workshop-story-media blockquote {
    position: relative;
    left: 0;
    bottom: auto;
    width: calc(100% - 22px);
    max-width: none;
    margin: -26px 22px 0 0;
    font-size: 1.4rem;
  }

  .reviews-editorial { padding: 72px 0; }

  .review-card {
    width: 100%;
    min-width: 100%;
    min-height: 290px;
    padding: 24px;
  }

  .review-card > p { font-size: 1.4rem; }

  .carousel-arrow {
    top: auto;
    bottom: -62px;
    transform: none;
  }

  .carousel-arrow.previous { left: 0; }
  .carousel-arrow.next { right: 0; }
  .review-pause { margin-top: 18px; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand { min-height: 100px; padding: 18px; }
  .brand img { max-width: 118px; max-height: 40px; }
  .page-masthead { padding: 66px 0 74px; }
  .page-masthead::after { right: 24px; width: 6px; }
  .page-masthead h1 { font-size: clamp(4.2rem, 19vw, 5.4rem); }

  .masthead-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .masthead-actions .button { width: 100%; }
  .gallery-grid { gap: 10px; }

  .gallery-grid .source-media,
  .gallery-grid .source-media:nth-child(-n + 2) { grid-column: span 6; }

  .gallery-grid .source-media:first-child { grid-column: 1 / -1; }
  .location-section { gap: 42px; padding: 72px 0 82px; }
  .hours-list li { font-size: 0.82rem; }

  .location-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .location-actions .button,
  .location-actions .text-link { width: 100%; justify-content: center; }

  .blog-masthead { padding: 66px 0 54px; }
  .blog-masthead h1 { font-size: clamp(4.4rem, 20vw, 5.6rem); }
  .blog-index { padding: 48px 0 78px; }
  .blog-featured { margin-bottom: 46px; }
  .blog-featured .blog-card-link { gap: 28px; padding-bottom: 46px; }
  .blog-list { grid-template-columns: 1fr; }
  .blog-list-card:first-child { grid-column: auto; }
  .blog-list-copy { min-height: 0; }
  .contact-paths { grid-template-columns: 1fr; padding: 48px 0 72px; }
  .contact-path { min-height: 0; padding: 28px; }

  .contact-path-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-path-actions .button,
  .contact-path-actions .text-link { width: 100%; justify-content: center; }

  .enquiry-masthead { padding: 54px 0 62px; }

  .enquiry-masthead h1 {
    font-size: clamp(4rem, 18vw, 5rem);
    line-height: 0.86;
  }

  .enquiry-masthead-copy > p { font-size: 1rem; }
  .enquiry-workbench { padding: 48px 0 72px; }
  .enquiry-progress { padding: 20px; }
  .enquiry-progress .eyebrow { margin-bottom: 6px; }

  .enquiry-progress ol {
    grid-template-columns: 1fr;
  }

  .enquiry-progress li,
  .enquiry-progress li:first-child {
    min-height: 72px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .enquiry-progress li:last-child { border-bottom: 1px solid var(--line); }

  .enquiry-progress li.is-current::before,
  .enquiry-progress li.is-complete::before {
    top: -1px;
    right: auto;
    bottom: -1px;
    left: -21px;
    width: 4px;
    height: auto;
  }

  .enquiry-step { padding: 26px 20px; }

  .enquiry-step > h2 { font-size: 2.35rem; }

  .enquiry-grid-two,
  .tyre-axle-grid,
  .enquiry-registration-row { grid-template-columns: 1fr; }

  .enquiry-registration-row { align-items: stretch; }
  .enquiry-lookup,
  .enquiry-send { width: 100%; }
  .tyre-axle { padding: 18px; }

  .enquiry-fallback {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 72px;
    text-align: center;
  }

  .enquiry-fallback .button,
  .enquiry-fallback .text-link { width: 100%; justify-content: center; }

  .contact-form-section { gap: 34px; }
  .contact-form { padding: 24px; }
  .contact-form .button { width: 100%; }
  .tyre-check { padding: 22px; }
  .tyrescope-panel-heading { padding: 24px 22px 20px; }
  .tyrescope-fallback { padding: 0 14px 22px; }
  .integration-warning { margin: 0 22px 22px; }
  .tyrescope-panel[data-tyrescope-state="ready"] .tyrescope-stage,
  .tyrescope-frame { min-height: 760px; }
  .tyre-form { grid-template-columns: 1fr; }

  .registration-row {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .tyre-submit { width: 100%; min-width: 0; }
  .order-hero { padding: 62px 0 72px; }
  .order-layout { gap: 40px; }
  .order-intro h1 { font-size: clamp(4rem, 18vw, 5.2rem); }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 0; padding: 26px; }
  .process-list span { margin-bottom: 30px; }

  .order-help {
    align-items: stretch;
    flex-direction: column;
    padding: 24px;
  }

  .article-page { padding: 58px 0 78px; }
  .article-header { margin-bottom: 38px; text-align: left; }
  .article-header .back-link { margin-bottom: 24px; }
  .article-header h1 { font-size: clamp(3.7rem, 16vw, 4.8rem); }
  .article-page > .source-media { margin-bottom: 48px; }
  .article-layout { gap: 48px; }
  .article-copy section { margin-bottom: 46px; }
  .article-copy p { font-size: 1rem; line-height: 1.72; }
  .article-cta { padding: 26px; }
  .footer-inner { padding: 58px 0 24px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-bottom: 48px;
  }

  .footer-hours { display: flex; }

  .footer-utility {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-action-dock {
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    width: 100%;
    height: calc(64px + env(safe-area-inset-bottom));
    grid-template-columns: 1fr 1.2fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line-dark);
    background: var(--asphalt);
    box-shadow: 0 -8px 24px rgb(8 11 16 / 16%);
  }

  .mobile-action-dock > a:not(.whatsapp-button),
  .mobile-action-dock .whatsapp-button {
    display: flex;
    width: auto;
    height: 64px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-right: 1px solid var(--line-dark);
    border-radius: 0;
    color: var(--paper);
    background: transparent;
    box-shadow: none;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-action-dock .dock-primary { color: var(--paper); background: var(--accent); }
  .mobile-action-dock .whatsapp-button { border-right: 0; }
  .mobile-action-dock .whatsapp-button img { width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%; }
  .mobile-action-dock .whatsapp-button > span { display: inline; }

  .cookie-notice {
    right: 10px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .cookie-visible .mobile-action-dock { bottom: 0; }
  .cookie-actions { justify-content: flex-start; }
  .capture-full-page .mobile-action-dock { bottom: 0; }
  .capture-full-page .cookie-notice { bottom: calc(74px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
