:root {
  --paper: #f7f6f1;
  --panel: #eeece5;
  --ink: #11100d;
  --muted: #68635a;
  --line: #171512;
  --soft-line: #d9d4ca;
  --logo-fill: rgba(17, 16, 13, 0.94);
  --logo-gap: var(--paper);
  --logo-border: rgba(17, 16, 13, 0.36);
  --logo-border-soft: rgba(17, 16, 13, 0.3);
  --logo-shadow: rgba(17, 16, 13, 0.055);
  --intro-logo-fill-start: rgba(17, 16, 13, 0.84);
  --intro-logo-fill-mid: rgba(17, 16, 13, 0.92);
  --intro-logo-border-start: rgba(17, 16, 13, 0.58);
  --intro-logo-border-mid: rgba(17, 16, 13, 0.38);
  --intro-logo-shadow-start: rgba(17, 16, 13, 0.09);
  --intro-logo-shadow-mid: rgba(17, 16, 13, 0.06);
  --hero-overlay: rgba(17, 16, 13, 0.08);
  --tooltip-bg: #e9e5dc;
  --tooltip-border: #c8c0b3;
  --tooltip-shadow: rgba(17, 16, 13, 0.1);
  --map-bg: #24231f;
  --map-border: rgba(17, 16, 13, 0.18);
  --map-wash: rgba(247, 246, 241, 0.08);
  --map-glow: rgba(247, 246, 241, 0.1);
  --max: 1120px;
  --intro-duration: 7600ms;
  --intro-content-delay: 6400ms;
  --intro-content-duration: 1200ms;
  --intro-ease: cubic-bezier(0.19, 1, 0.22, 1);
  --intro-start-x: -4.8vw;
  --intro-left-shift: clamp(9.2rem, 27vw, 34rem);
  --intro-right-shift: clamp(-11.4rem, -39vw, -48rem);
  --intro-letter-scale: 2.2;
  --masthead-gap-settled: clamp(-12px, -0.62vw, -7px);
  --masthead-gap-intro: clamp(8px, 1.25vw, 20px);
  --masthead-title-y: 0.96em;
  --masthead-initial-y: 0.13em;
}

:root[data-theme="dark"] {
  --paper: #11100d;
  --panel: #191814;
  --ink: #f1eee7;
  --muted: #a9a397;
  --line: #f1eee7;
  --soft-line: #3b372f;
  --logo-fill: rgba(241, 238, 231, 0.94);
  --logo-gap: var(--paper);
  --logo-border: rgba(241, 238, 231, 0.38);
  --logo-border-soft: rgba(241, 238, 231, 0.28);
  --logo-shadow: rgba(0, 0, 0, 0.22);
  --intro-logo-fill-start: rgba(241, 238, 231, 0.84);
  --intro-logo-fill-mid: rgba(241, 238, 231, 0.9);
  --intro-logo-border-start: rgba(241, 238, 231, 0.5);
  --intro-logo-border-mid: rgba(241, 238, 231, 0.34);
  --intro-logo-shadow-start: rgba(0, 0, 0, 0.28);
  --intro-logo-shadow-mid: rgba(0, 0, 0, 0.2);
  --hero-overlay: rgba(0, 0, 0, 0.2);
  --tooltip-bg: #1b1915;
  --tooltip-border: #4b463d;
  --tooltip-shadow: rgba(0, 0, 0, 0.34);
  --map-bg: #151410;
  --map-border: rgba(241, 238, 231, 0.14);
  --map-wash: rgba(241, 238, 231, 0.06);
  --map-glow: rgba(241, 238, 231, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  transition: background 280ms ease, color 280ms ease;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  display: grid;
  justify-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 32px 4px;
}

.masthead {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: start;
  justify-content: center;
  gap: var(--masthead-gap-settled);
  width: min(980px, 100%);
  font-family: "Times New Roman", Times, Georgia, serif;
  font-weight: 700;
  line-height: 0.84;
  text-transform: uppercase;
  transition: gap 900ms var(--intro-ease);
}

.masthead-title {
  position: relative;
  display: block;
  padding: 0 0 12px;
  font-size: clamp(1.25rem, 3.2vw, 2.85rem);
  text-align: center;
  transform: translateY(var(--masthead-title-y));
  white-space: nowrap;
}

.masthead-title-text {
  position: relative;
  display: block;
  color: transparent;
}

.masthead-title-text::before,
.masthead-title-text::after {
  position: absolute;
  inset: 0;
  content: attr(data-title);
  pointer-events: none;
}

.masthead-title-text::after {
  z-index: 0;
  color: transparent;
  text-shadow: 0 3px 8px var(--logo-shadow);
  -webkit-text-stroke: 1.25px var(--logo-border-soft);
}

.masthead-title-text::before {
  z-index: 1;
  color: var(--logo-fill);
  -webkit-text-stroke: 0.78px var(--logo-gap);
}

.masthead-title::after {
  position: absolute;
  right: 0.09em;
  bottom: 0.22em;
  left: 0.09em;
  height: 2px;
  background: var(--ink);
  content: "";
}

.masthead-initial {
  position: relative;
  display: block;
  font-size: clamp(4.9rem, 11vw, 8.75rem);
  letter-spacing: 0;
  transform: translateY(var(--masthead-initial-y));
}

.masthead-initial::before,
.masthead-initial::after {
  position: absolute;
  inset: 0;
  content: attr(data-letter);
  pointer-events: none;
}

.masthead-initial::after {
  z-index: 0;
  color: transparent;
  text-shadow: 0 5px 12px var(--logo-shadow);
  -webkit-text-stroke: 2.2px var(--logo-border);
}

.masthead-initial::before {
  z-index: 1;
  color: var(--logo-fill);
  text-shadow: none;
  -webkit-text-stroke: 1.35px var(--logo-gap);
}

.masthead-initial:first-child {
  min-width: 0;
  text-align: right;
}

.masthead-initial--right {
  min-width: 0;
  text-align: left;
}

.masthead-mobile {
  display: none;
}

.site-nav {
  display: flex;
  justify-content: space-between;
  gap: clamp(16px, 2.6vw, 38px);
  width: min(500px, 50vw);
  margin-top: -30px;
  padding-top: 0;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  font-weight: 700;
  text-transform: uppercase;
}

.intro-enabled .masthead {
  position: relative;
  z-index: 10;
  gap: var(--masthead-gap-intro);
  animation: introMastheadSettle var(--intro-duration) var(--intro-ease) both;
}

.intro-enabled .masthead-title {
  animation: introTitleReveal var(--intro-duration) var(--intro-ease) both;
}

.intro-enabled .masthead-title::after {
  animation: introRuleReveal var(--intro-duration) var(--intro-ease) both;
}

.intro-enabled .masthead-initial:first-child {
  animation:
    introLeftInitial var(--intro-duration) var(--intro-ease) both;
}

.intro-enabled .masthead-initial--right {
  animation:
    introRightInitial var(--intro-duration) var(--intro-ease) both;
}

.intro-enabled .masthead-initial {
  color: transparent;
}

.intro-enabled .masthead-initial::before {
  animation: introInitialBodyFinish var(--intro-duration) var(--intro-ease) both;
}

.intro-enabled .masthead-initial::after {
  animation: introInitialBorderFinish var(--intro-duration) var(--intro-ease) both;
}

.intro-enabled .site-nav,
.intro-enabled main,
.intro-enabled .site-footer {
  animation: introPageReveal var(--intro-content-duration) ease both;
  animation-delay: var(--intro-content-delay);
}

.site-nav a {
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--line);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transition: color 180ms ease, opacity 360ms ease;
}

.intro-complete .theme-toggle {
  opacity: 1;
  pointer-events: auto;
}

.theme-toggle__mark {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 14px;
  border: 1px solid var(--soft-line);
}

.theme-toggle__mark::after {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: var(--ink);
  content: "";
  transition: transform 220ms ease;
}

.theme-toggle[aria-pressed="true"] .theme-toggle__mark::after {
  transform: translateX(18px);
}

.theme-toggle[aria-pressed="false"] .theme-toggle__day,
.theme-toggle[aria-pressed="true"] .theme-toggle__night {
  color: var(--ink);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--ink);
}

.hero,
.page-section,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding-right: 32px;
  padding-left: 32px;
}

.hero {
  min-height: calc(100vh - 190px);
  padding-top: 20px;
  padding-bottom: 54px;
}

.vehicle-stage {
  position: relative;
  height: clamp(290px, 31vw, 420px);
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    linear-gradient(90deg, transparent, var(--soft-line), transparent) border-box;
  border: 1px solid transparent;
  overflow: hidden;
}

.vehicle-stage::after {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  content: "";
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(1) saturate(0.1);
  object-fit: cover;
  object-position: center 58%;
  opacity: 0;
  transform: scale(1.14);
  transform-origin: center center;
  transition: opacity 1800ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  animation: heroImageDrift 10000ms ease-out both;
}

.hero-slide.is-leaving {
  opacity: 0;
  transform: scale(1);
}

.hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-details {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.45fr 0.95fr;
  gap: 26px;
  margin: 44px auto 0;
  padding-top: 18px;
  border-top: 3px solid var(--line);
  width: min(1020px, 100%);
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
}

.scroll-cue {
  display: grid;
  place-items: center;
  width: 34px;
  height: 42px;
  margin: 24px auto 0;
}

.scroll-cue::before {
  width: 13px;
  height: 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  content: "";
  transform: rotate(45deg);
  animation: scrollCuePulse 1800ms ease-in-out infinite;
}

.contact-details span,
.map-panel__label {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: clamp(1.18rem, 1.9vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
}

.hero-details p {
  margin: 0;
}

.hero-details a {
  overflow-wrap: anywhere;
}

.hero-details a,
.contact-details a {
  display: inline-block;
}

.address-link {
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.address-link:hover,
.address-link:focus-visible {
  border-color: var(--line);
  color: var(--muted);
}

.whatsapp-link {
  border-bottom: 1px solid transparent;
  color: var(--ink);
  transition: border-color 180ms ease, color 180ms ease;
}

.whatsapp-link:hover,
.whatsapp-link:focus-visible {
  border-color: var(--line);
  color: var(--muted);
}

.contact-details a {
  display: block;
}

.contact-details .whatsapp-link {
  color: var(--muted);
}

.contact-details .whatsapp-link:hover,
.contact-details .whatsapp-link:focus-visible {
  color: var(--ink);
}

.page-section {
  padding-top: 84px;
  padding-bottom: 92px;
  border-top: 1px solid var(--line);
}

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

h2 {
  margin: 0;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: clamp(1.52rem, 2.45vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.service-carousel {
  position: relative;
  --service-gap: clamp(30px, 4vw, 46px);
}

.service-list {
  display: flex;
  gap: var(--service-gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.service-list.is-service-scrolling {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.service-list::-webkit-scrollbar {
  display: none;
}

.service-list a {
  display: block;
  flex: 0 0 calc((100% - (var(--service-gap) * 3)) / 4);
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid var(--soft-line);
  scroll-snap-align: start;
  transition: color 180ms ease;
}

.service-list a:hover,
.service-list a:focus-visible,
.about-grid a:hover,
.about-grid a:focus-visible {
  color: var(--muted);
}

.item-title {
  display: block;
  margin-bottom: 38px;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: clamp(1.18rem, 1.9vw, 1.35rem);
  line-height: 1.05;
  white-space: nowrap;
}

.item-blurb {
  display: block;
  margin: 0;
  color: var(--muted);
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.48;
  max-width: 230px;
}

.service-carousel__arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 28px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.service-carousel__arrow::before {
  position: absolute;
  top: 28px;
  width: 14px;
  height: 14px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  opacity: 0.36;
  animation: serviceArrowPulse 1900ms ease-in-out infinite;
}

.service-carousel__arrow--prev::before {
  right: 6px;
  transform: rotate(-135deg);
}

.service-carousel__arrow--next::before {
  left: 6px;
  transform: rotate(45deg);
}

.service-carousel__arrow--prev {
  left: -34px;
}

.service-carousel__arrow--next {
  right: -34px;
}

.service-carousel__arrow:hover::before,
.service-carousel__arrow:focus-visible::before {
  opacity: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 46px);
}

.about-grid a {
  display: block;
  padding-top: 18px;
  border-top: 1px solid var(--soft-line);
}

.about-grid span {
  display: block;
  margin-bottom: 38px;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: clamp(1.18rem, 1.9vw, 1.35rem);
  line-height: 1.05;
}

.about-grid p,
.location-entry address,
.location-entry p,
.contact-details address,
.contact-details p {
  margin: 0;
  color: var(--muted);
  font-style: normal;
  font-size: 1rem;
  line-height: 1.48;
  max-width: 230px;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 46px);
}

.location-entry {
  display: grid;
  align-content: start;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--soft-line);
}

.location-entry:nth-child(1) {
  grid-column: 1 / span 2;
}

.location-entry:nth-child(2) {
  grid-column: 3 / span 2;
}

.location-entry h3 {
  margin: 0 0 14px;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: clamp(1.28rem, 2.1vw, 1.58rem);
  font-weight: 400;
  line-height: 1.05;
}

.location-entry a:not(.map-open-link) {
  display: inline-block;
}

.location-entry .map-open-link {
  margin-top: 8px;
}

.locations-map-panel {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.locations-map-panel .location-map {
  min-height: clamp(340px, 36vw, 460px);
}

.locations-map-panel .map-fallback {
  min-height: clamp(340px, 36vw, 460px);
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 46px);
  align-items: start;
}

.contact-details {
  display: grid;
  grid-column: 1 / span 2;
  gap: 22px;
}

.enquiry-form {
  grid-column: 3 / span 2;
}

.map-panel {
  display: grid;
  gap: 18px;
}

#map,
.location-map {
  position: relative;
  min-height: 360px;
  background: var(--map-bg);
  border: 1px solid var(--map-border);
  filter: grayscale(1) saturate(0.25);
  overflow: hidden;
}

.location-map-panel {
  gap: 14px;
  margin-top: 6px;
}

.location-entry:nth-child(2) .location-map-panel {
  margin-top: 30px;
}

.location-map {
  min-height: 260px;
}

.location-map .map-fallback {
  min-height: 260px;
}

.map-fallback {
  display: grid;
  min-height: 360px;
  padding: 24px;
  color: var(--paper);
}

.map-fallback::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--map-wash), transparent 45%),
    radial-gradient(circle at 64% 54%, var(--map-glow), transparent 30%);
  content: "";
}

.map-fallback__graphic {
  position: relative;
  align-self: center;
  width: 100%;
  height: auto;
  opacity: 0.72;
}

.map-fallback__graphic path,
.map-fallback__graphic circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-fallback__graphic > path {
  opacity: 0.46;
  stroke-width: 1.35;
}

.map-fallback__graphic g path {
  fill: var(--map-bg);
  stroke-width: 1.8;
}

.map-fallback__graphic circle {
  fill: currentColor;
  stroke: none;
}

.map-fallback span {
  position: relative;
  align-self: end;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.05;
}

.map-open-link {
  justify-self: start;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.map-open-link:hover,
.map-open-link:focus-visible {
  border-color: var(--line);
  color: var(--ink);
}

.enquiry-form {
  display: grid;
  gap: 20px;
}

.enquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: clamp(1.18rem, 1.9vw, 1.35rem);
  font-weight: 400;
  line-height: 1.05;
  text-transform: none;
}

.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 0;
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
  outline: 0;
  border-color: var(--muted);
}

.enquiry-form button {
  justify-self: start;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 11px 20px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.enquiry-form button:hover,
.enquiry-form button:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-top: 34px;
  padding-bottom: 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@keyframes introLeftInitial {
  0%,
  44% {
    transform: translateX(var(--intro-left-shift)) translateY(var(--masthead-initial-y)) scale(var(--intro-letter-scale));
  }

  100% {
    transform: translateX(0) translateY(var(--masthead-initial-y)) scale(1);
  }
}

@keyframes introRightInitial {
  0%,
  44% {
    transform: translateX(var(--intro-right-shift)) translateY(var(--masthead-initial-y)) scale(var(--intro-letter-scale));
  }

  100% {
    transform: translateX(0) translateY(var(--masthead-initial-y)) scale(1);
  }
}

@keyframes introInitialBodyFinish {
  0%,
  44% {
    color: var(--intro-logo-fill-start);
    text-shadow: 0 3px 9px var(--logo-shadow);
    -webkit-text-stroke: 1.85px var(--logo-gap);
  }

  76% {
    color: var(--intro-logo-fill-mid);
    text-shadow: 0 2px 6px var(--intro-logo-shadow-mid);
    -webkit-text-stroke: 1.35px var(--logo-gap);
  }

  100% {
    color: var(--logo-fill);
    text-shadow: none;
    -webkit-text-stroke: 1.35px var(--logo-gap);
  }
}

@keyframes introInitialBorderFinish {
  0%,
  44% {
    opacity: 0.8;
    text-shadow: 0 10px 20px var(--intro-logo-shadow-start);
    -webkit-text-stroke: 3.55px var(--intro-logo-border-start);
  }

  76% {
    opacity: 0.56;
    text-shadow: 0 6px 13px var(--intro-logo-shadow-mid);
    -webkit-text-stroke: 2.6px var(--intro-logo-border-mid);
  }

  100% {
    opacity: 0.58;
    text-shadow: 0 5px 12px var(--logo-shadow);
    -webkit-text-stroke: 2.2px var(--logo-border);
  }
}

@keyframes introTitleReveal {
  0%,
  52% {
    opacity: 0;
    transform: translateY(8px) scaleX(0.82);
  }

  88%,
  100% {
    opacity: 1;
    transform: translateY(var(--masthead-title-y));
  }
}

@keyframes introRuleReveal {
  0%,
  62% {
    opacity: 0;
    transform: scaleX(0.7);
  }

  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes introPageReveal {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introMastheadSettle {
  0%,
  44% {
    gap: var(--masthead-gap-intro);
    transform: translateX(var(--intro-start-x)) translateY(calc(33vh - 50% - 36px));
  }

  100% {
    gap: var(--masthead-gap-settled);
    transform: translateX(0) translateY(0);
  }
}

@keyframes introMobileWordmarkSettle {
  0%,
  44% {
    opacity: 1;
    transform: translateY(calc(32vh - 50% - 28px)) scale(1.18);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes scrollCuePulse {
  0%,
  100% {
    opacity: 0.32;
    transform: translateY(0) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: translateY(7px) rotate(45deg);
  }
}

@keyframes serviceArrowPulse {
  0%,
  100% {
    opacity: 0.28;
  }

  50% {
    opacity: 0.92;
  }
}

@keyframes heroImageDrift {
  0% {
    transform: scale(1.14);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 920px) {
  .hero-details,
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-list a {
    flex-basis: calc((100% - var(--service-gap)) / 2);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-details,
  .enquiry-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .page-section,
  .site-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-header {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    padding-top: 28px;
    overflow: hidden;
  }

  :root {
    --intro-start-x: 0;
    --intro-left-shift: clamp(2.8rem, 14vw, 4.2rem);
    --intro-right-shift: clamp(-2.95rem, -14.5vw, -4.35rem);
    --intro-letter-scale: 1.8;
    --masthead-gap-settled: 0;
    --masthead-gap-intro: clamp(5px, 1.6vw, 9px);
    --masthead-title-y: 0.7em;
    --masthead-initial-y: 0.16em;
  }

  .masthead {
    display: none;
  }

  .masthead-mobile {
    position: relative;
    display: block;
    justify-self: stretch;
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    font-family: "Times New Roman", Times, Georgia, serif;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
  }

  .intro-enabled .masthead-mobile {
    position: relative;
    z-index: 10;
    animation: introMobileWordmarkSettle var(--intro-duration) var(--intro-ease) both;
  }

  .masthead-mobile span {
    position: relative;
    display: block;
    color: var(--logo-fill);
    overflow: hidden;
    font-size: clamp(0.86rem, 3.85vw, 1rem);
    text-shadow: 0 5px 12px var(--logo-shadow);
    padding-bottom: 12px;
    white-space: nowrap;
    -webkit-text-stroke: 0.78px var(--logo-gap);
  }

  .masthead-mobile span::after {
    position: absolute;
    right: 0.09em;
    bottom: 0.22em;
    left: 0.09em;
    height: 2px;
    background: var(--ink);
    content: "";
  }

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    width: 100%;
    max-width: 320px;
    margin: -4px auto 0;
    padding-top: 6px;
    font-size: clamp(0.78rem, 3.35vw, 0.92rem);
    text-align: center;
  }

  .site-nav a {
    flex: 0 0 calc(50% - 9px);
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 70px;
  }

  .vehicle-stage {
    height: clamp(260px, 68vw, 390px);
  }

  .hero-details,
  .locations-grid,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-carousel {
    --service-gap: 22px;
    margin-right: -20px;
  }

  .service-list,
  .about-grid {
    display: flex;
    gap: var(--service-gap);
    margin-right: -20px;
    padding-right: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .about-grid {
    --service-gap: 22px;
  }

  .service-list::-webkit-scrollbar,
  .about-grid::-webkit-scrollbar {
    display: none;
  }

  .service-list [data-service-clone] {
    display: none;
  }

  .service-carousel__arrow {
    display: none;
  }

  .service-list a,
  .about-grid a {
    flex: 0 0 min(78vw, 310px);
    min-height: 168px;
    padding-top: 16px;
    scroll-snap-align: start;
  }

  .item-title,
  .about-grid span {
    margin-bottom: 12px;
    white-space: normal;
  }

  .item-blurb,
  .about-grid p {
    max-width: 34ch;
    overflow-wrap: normal;
  }

  .contact-details address,
  .location-entry address,
  .location-entry p,
  .contact-details p {
    max-width: none;
    overflow-wrap: anywhere;
  }

  .hero-details {
    max-width: 390px;
    gap: 16px;
    margin-top: 32px;
    text-align: left;
  }

  .hero-details a,
  .contact-details a,
  .site-footer a {
    min-height: 34px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .scroll-cue {
    margin-top: 18px;
  }

  .page-section {
    padding-top: 54px;
    padding-bottom: 62px;
  }

  .section-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
  }

  .services .section-heading::after,
  .about .section-heading::after {
    width: 18px;
    height: 18px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    content: "";
    transform: rotate(45deg);
    animation: serviceArrowPulse 1500ms ease-in-out infinite;
  }

  .locations-grid,
  .contact-details {
    gap: 22px;
  }

  .location-entry:nth-child(1),
  .location-entry:nth-child(2) {
    grid-column: 1;
  }

  .location-entry:nth-child(2) .location-map-panel {
    margin-top: 6px;
  }

  .location-entry {
    gap: 18px;
    padding-top: 16px;
  }

  #map,
  .location-map,
  .map-fallback {
    min-height: 280px;
  }

  .map-fallback {
    padding: 20px;
  }

  .enquiry-form {
    gap: 18px;
  }
}

.detail-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 32px 110px;
}

.detail-main h1 {
  margin: 0;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: clamp(1.52rem, 2.45vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.detail-heading {
  margin-bottom: 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 46px);
  align-items: stretch;
}

.detail-copy {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--soft-line);
}

.detail-main p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.48;
  max-width: none;
}

.detail-media {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--soft-line);
}

.detail-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  filter: grayscale(1) saturate(0.1);
  object-fit: cover;
  object-position: center;
}

.detail-main .back-link {
  align-self: end;
  justify-self: start;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .detail-main {
    padding: 58px 20px 74px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .detail-heading {
    margin-bottom: 0;
  }

  .detail-copy {
    gap: 34px;
  }
}

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

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

  .intro-enabled .masthead,
  .intro-enabled .masthead-title,
  .intro-enabled .masthead-title::after,
  .intro-enabled .masthead-initial,
  .intro-enabled .site-nav,
  .intro-enabled main,
  .intro-enabled .site-footer {
    opacity: 1;
    transform: none;
  }

  .hero-slide {
    transition: none;
    transform: scale(1);
  }

  .hero-slide.is-active {
    animation: none;
    transform: scale(1);
  }

  .hero-slide.is-leaving {
    transform: scale(1);
  }
}
