:root {
  --gulf: #a7d1ec;        /* powder blue from the GT40/GT livery */
  --gulf-pale: #e6f1f9;
  --orange: #f26a1b;      /* livery orange */
  --orange-dark: #c9520d;
  --navy: #1d2b5a;        /* logo navy */
  --ink: #18202e;
  --steel: #5b6678;
  --white: #ffffff;
  --display: "Big Shoulders Display", "Oswald", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 64ch; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 0.95; margin: 0 0 0.4em; letter-spacing: 0.005em; color: var(--navy); }
h2 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h3 { font-size: 1.6rem; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid #dde5ec;
}
.bar { max-width: var(--wrap); margin: 0 auto; padding: .5rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { width: 200px; }
.site-header nav { display: flex; align-items: center; gap: 1.75rem; font-weight: 600; font-size: 1.1rem; }
.site-header nav a { text-decoration: none; color: var(--navy); }
.site-header nav a:hover { color: var(--orange-dark); }
.site-header .nav-call { background: var(--navy); color: #fff; padding: .55rem 1rem; border-radius: 999px; }
.site-header .nav-call:hover { background: var(--orange); color: #fff; }

/* Hero */
.hero {
  position: relative;
  background: var(--gulf);
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 0;
}
.hero-copy { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: 1.35fr 1fr; gap: 1rem 3.5rem; align-items: end; }
.hero-copy .where { grid-column: 1 / -1; }
.hero-copy .side .lede { margin-bottom: 0; }
.where { font-weight: 600; color: var(--navy); margin-bottom: .75rem; }
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 900;
  max-width: 18ch;
  margin: 0;
  line-height: .9;
}
.lede { font-size: 1.3rem; max-width: 52ch; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }
.btn { display: inline-block; padding: 1rem 1.6rem; font-size: 1.1rem; font-weight: 600; text-decoration: none; border-radius: 999px; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* The livery stripe: the one bold move */
.livery { position: absolute; left: 0; right: 0; height: 64px; pointer-events: none; }
.hero .livery { bottom: clamp(70px, 12vw, 150px); z-index: 1; }
.livery span { display: block; transform-origin: left center; }
.stripe-b { height: 10px; background: var(--navy); margin-top: 8px; }
.stripe-o { height: 46px; background: var(--orange); }
.hero .livery span { animation: draw 1.1s cubic-bezier(.2,.8,.2,1) both; }
.hero .livery .stripe-b { animation-delay: .15s; }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-car { position: relative; z-index: 2; max-width: 1280px; margin: clamp(1rem, 3vw, 2rem) auto 0; }
.hero-car img { width: 100%; }

/* Both worlds */
.both { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--navy); border-radius: 6px; overflow: hidden; box-shadow: 14px 14px 0 var(--gulf); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Services */
.services { background: var(--gulf-pale); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.section-head p { margin: 0; color: var(--steel); }
.carousel { position: relative; }
.grid { list-style: none; margin: 0; padding: .25rem .25rem 1.25rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--orange) #c9dbe8; }
.grid::-webkit-scrollbar { height: 6px; }
.grid::-webkit-scrollbar-track { background: #c9dbe8; border-radius: 3px; }
.grid::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }
.grid li { flex: 0 0 calc((100% - 2rem) / 3.25); scroll-snap-align: start; background: var(--white); border: 1px solid #c9dbe8; border-radius: 6px; padding: 1.5rem 1.25rem 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.grid img { width: 86%; transition: transform .25s ease; }
.grid li:hover img { transform: translateX(8px); }
.grid span { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--navy); margin-top: .6rem; }
.car-nav { display: flex; align-items: center; gap: .6rem; justify-content: flex-end; margin-top: .5rem; }
.car-nav .count { margin-right: auto; color: var(--steel); font-weight: 500; }
.car-nav button { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--navy); background: var(--white); color: var(--navy); font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .15s, color .15s, opacity .15s; }
.car-nav button:hover:not(:disabled) { background: var(--navy); color: #fff; }
.car-nav button:disabled { opacity: .35; cursor: default; }
.aside { margin: 2.5rem auto 0; text-align: center; font-size: 1.25rem; max-width: 60ch; }

/* Shop */
.shop { padding: 0 0 clamp(4rem, 8vw, 6.5rem); }
.shop-photo { max-width: 1280px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.shop h2 { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900; }
.shop .two { align-items: start; }

/* Contact */
.contact { position: relative; background: var(--navy); color: #e8eef6; padding: 0 0 2rem; }
.contact .livery.thin { position: relative; height: auto; }
.contact .livery.thin .stripe-o { height: 14px; }
.contact .livery.thin .stripe-b { height: 6px; background: var(--gulf); margin-top: 6px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: 3rem; }
.contact h2, .contact h3 { color: #fff; }
.contact h3 { margin-top: 1.75rem; }
.contact address { font-style: normal; font-size: 1.4rem; line-height: 1.35; margin-bottom: 1rem; }
.contact address a, .lines a { color: #fff; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.lines { font-size: 1.25rem; }
.hours { border-collapse: collapse; }
.hours th { text-align: left; font-weight: 500; padding: .2rem 2rem .2rem 0; }
.hours td { color: var(--gulf); }
.map { min-height: 340px; border-radius: 6px; overflow: hidden; }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.5rem; font-size: .95rem; color: #b8c4d6; }
.legal p { margin: 0; }
.legal nav { display: flex; gap: 1.5rem; }
.legal a { color: #b8c4d6; text-decoration: none; }
.legal a:hover { color: #fff; }

.call-fab { display: none; }

/* Responsive */
@media (max-width: 900px) {
  .two, .section-head, .contact-grid, .hero-copy { grid-template-columns: 1fr; gap: 2rem; }
  .grid li { flex-basis: calc((100% - 1rem) / 2.2); }
  .site-header nav a:not(.nav-call) { display: none; }
}
@media (max-width: 560px) {
  .grid li { flex-basis: 80%; }
  .car-nav button { width: 44px; height: 44px; }
  .site-header .nav-call { display: none; }
  .brand img { width: 140px; }
  .call-fab {
    display: block; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60;
    background: var(--orange); color: #fff; text-align: center; font-weight: 600;
    padding: .95rem; border-radius: 999px; text-decoration: none;
    box-shadow: 0 6px 18px rgba(24,32,46,.3);
  }
  .contact { padding-bottom: 5.5rem; }
  .video { box-shadow: 8px 8px 0 var(--gulf); margin-right: 8px; }
  .hero .livery { height: 40px; }
  .hero .livery .stripe-o { height: 26px; }
  .hero .livery .stripe-b { height: 6px; margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .livery span { animation: none; }
  .grid img { transition: none; }
  .grid { scroll-behavior: auto; }
}