:root {
  --ink: #0d1310;
  --text: #3d4541;
  --muted: #6b746f;
  --line: #e4e8e5;
  --tint: #f4f6f4;
  --bg: #fff;
  --green: #1f7a4d;
  --green-soft: #e6f2ec;
  --radius: 18px;
  --max: 1180px;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --display: 'Raleway', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.1; margin: 0; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: #000; color: #fff; border-color: #000; }
.btn-solid:hover { background: var(--green); border-color: var(--green); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--green); }
.btn-solid-light { background: #fff; color: var(--ink); }
.btn-solid-light:hover { background: var(--green); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 76px; padding: 0 32px;
  color: #fff;
  transition: background .3s, height .3s, color .3s, box-shadow .3s;
}
.site-header.scrolled, .site-header.menu-open {
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px);
  color: var(--ink); box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled { height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; font-weight: 300; }
.brand b { font-weight: 800; }
.brand-mark { width: 26px; height: 26px; border-radius: 50%; border: 2px solid currentColor; position: relative; }
.brand-mark::after { content: ""; position: absolute; width: 6px; height: 6px; background: currentColor; border-radius: 50%; top: 4px; right: 4px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; text-decoration: none; font-size: 14px; font-weight: 500; opacity: .85; transition: opacity .2s; }
.site-nav a:hover { opacity: 1; }
/* Underline that grows in from the left on hover */
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: currentColor; border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav a:not(.nav-cta):hover::after, .site-nav a:not(.nav-cta):focus-visible::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid currentColor; opacity: 1 !important;
  transition: background .25s, border-color .25s, color .25s, transform .25s, box-shadow .25s;
}
.nav-cta:hover, .nav-cta:focus-visible {
  background: var(--green); border-color: var(--green); color: #fff;
  transform: translateY(-1px); box-shadow: 0 6px 16px -6px rgba(31,122,77,.6);
}
.nav-cta:hover .icon-phone, .nav-cta:focus-visible .icon-phone { animation: ring .6s ease; }
.icon-phone { width: 16px; height: 16px; flex: none; fill: currentColor; }
@keyframes ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-15deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(4deg); }
}
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; position: relative; color: inherit; }
.menu-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: currentColor; transition: transform .3s; }
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 23px; }
.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden;
  color: #fff; text-align: center; background: #000;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.12); animation: kenburns 14s var(--ease) forwards;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.25), rgba(0,0,0,.6)), linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.15) 40%, rgba(0,0,0,.55));
  opacity: 0; animation: fade 1.5s ease forwards;
}
.hero-content { position: relative; padding: 110px 20px 90px; }
.hero-title { color: #fff; font-size: clamp(54px, 10vw, 120px); line-height: .92; text-transform: uppercase; }
.hero-title span { display: block; }
.h-driving { font-weight: 100; letter-spacing: .13em; }
.h-range { font-weight: 900; letter-spacing: .25em; margin-right: -.25em; }

.h-badge {
  display: inline-block; margin-top: 22px; padding: 8px 20px;
  background: #fff; color: #000;
  font-family: var(--display); font-size: clamp(14px, 2vw, 20px); letter-spacing: .15em; text-transform: uppercase;
}
.h-badge-text span { display: inline-block; }

.hero-actions { position: relative; margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-actions-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
.hero-actions .btn { min-width: 200px; }
.h-times-wrap { display: flex; flex-direction: column; align-items: center; }
.h-late {
  display: inline-block; margin-top: 12px;
  font-family: 'Permanent Marker', cursive; font-size: 18px; color: #fff; transform: rotate(-8deg);
}

.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: cue 1.8s ease-in-out infinite; }

/* Hero entrance — timings follow the original slider */
.h-driving, .h-range, .h-badge, .h-badge-text span, .h-btn-book, .h-btn-prices, .h-btn-times, .h-late, .scroll-cue { opacity: 0; }
.loaded .h-driving    { animation: zoomIn 2s var(--ease) .75s forwards; }
.loaded .h-range      { animation: zoomIn 2s var(--ease) 1s forwards; }
.loaded .h-badge      { animation: popIn 1.5s var(--ease) 1.25s forwards; }
.loaded .h-badge-text span { animation: popIn 1.2s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(1.5s + var(--i) * 50ms); }
.loaded .h-btn-book   { animation: fromRight 1.5s var(--ease) 2.5s forwards; }
.loaded .h-btn-prices { animation: fromRight 1.5s var(--ease) 2.5s forwards; }
.loaded .h-btn-times  { animation: fromLeft 1.5s var(--ease) 2.5s forwards; }
.loaded .h-late       { animation: dropIn 1.5s cubic-bezier(.16,1,.3,1) 3.5s forwards; }
.loaded .scroll-cue   { animation: fade 1s ease 4s forwards; }

@keyframes kenburns { to { transform: scale(1); } }
@keyframes fade { to { opacity: 1; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(1.5); } to { opacity: 1; transform: scale(1); } }
@keyframes popIn { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
@keyframes fromRight { from { opacity: 0; transform: translateX(60vw); } to { opacity: 1; transform: none; } }
@keyframes fromLeft { from { opacity: 0; transform: translateX(-60vw); } to { opacity: 1; transform: none; } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-30px) rotate(-8deg); } to { opacity: 1; transform: rotate(-8deg); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 12px; text-align: center; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 54px); line-height: 1; }
.stat small { font-size: .38em; font-weight: 600; margin-left: 4px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.stat span { display: block; margin-top: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-tint { background: var(--tint); }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.eyebrow-light { color: #8fd7b0; }
h2 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 300; letter-spacing: -.01em; margin-bottom: 26px; }
h2 em { font-style: normal; font-weight: 800; }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.split-reverse .split-text { order: 2; }
.split-text p { margin: 0 0 18px; }

.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 16px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 14px; font-weight: 500; }

.bento { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 520px; }
.bento img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.bento .b-tall { grid-row: span 2; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.card { background: #fff; border-radius: 24px; padding: 44px; box-shadow: 0 1px 2px rgba(13,19,16,.04), 0 12px 40px -12px rgba(13,19,16,.12); }
.card h3 { font-size: 30px; font-weight: 800; margin-bottom: 26px; }
.hours { margin: 0 0 22px; }
.hours div { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; color: var(--ink); }
.note { font-size: 15px; color: var(--muted); margin: 0 0 26px; }

.price-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 40px; }
.price-list li { break-inside: avoid; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-list b { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 18px; }
.price-list small { display: block; color: var(--muted); font-size: 13px; }
.price-list .tt b { color: #0058a3; }

/* ---------- Toptracer ---------- */
.toptracer { background: linear-gradient(135deg, #003a73, #0058a3); color: #dbe8f5; padding: 100px 0; }
.toptracer h2 { color: #fff; }
.toptracer p { max-width: 460px; margin: 0 0 30px; }
.toptracer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.toptracer img { border-radius: 24px; max-width: 340px; justify-self: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); }

/* ---------- Banner ---------- */
.banner { position: relative; background-size: cover; background-position: center; background-attachment: fixed; color: #fff; text-align: center; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,19,16,.55), rgba(13,19,16,.75)); }
.banner-inner { position: relative; padding: 150px 24px; max-width: 760px; margin: 0 auto; }
.banner h2 { color: #fff; font-weight: 800; font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.banner p { margin: 0 0 34px; font-size: 18px; opacity: .9; }

/* ---------- Shop features ---------- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.features div { padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.features h4 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.features p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- Brands ---------- */
.brands { background: var(--ink); padding: 56px 0; }
.brands-row { display: flex; justify-content: space-around; align-items: center; gap: 32px; }
.brands img { width: 180px; max-width: 28%; filter: brightness(0) invert(1); opacity: .7; transition: opacity .2s; }
.brands img:hover { opacity: 1; }

/* ---------- Footer ---------- */
.site-footer { background: #070a08; color: #9aa39e; padding: 72px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.brand-light { color: #fff; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; font-family: var(--body); font-weight: 600; }
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); margin-top: 0; padding-block: 22px; font-size: 14px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.stats-grid .reveal:nth-child(2), .cards .reveal:nth-child(2) { transition-delay: .1s; }
.stats-grid .reveal:nth-child(3) { transition-delay: .2s; }
.stats-grid .reveal:nth-child(4) { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .cards, .toptracer-grid { grid-template-columns: 1fr; gap: 44px; }
  .split-reverse .split-text { order: 0; }
  .bento { height: 420px; }
  .price-list { columns: 1; }
  .section { padding: 84px 0; }
}
@media (max-width: 820px) {
  .site-header { padding: 0 16px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; color: var(--ink); box-shadow: 0 12px 30px -10px rgba(0,0,0,.2);
    display: none;
  }
  .menu-open .site-nav { display: flex; }
  .site-nav a { padding: 16px; border-top: 1px solid var(--line); font-size: 16px; transition: background .2s, padding-left .25s var(--ease), color .2s; }
  .site-nav a:not(.nav-cta)::after { display: none; }
  .site-nav a:not(.nav-cta):hover, .site-nav a:not(.nav-cta):active { background: var(--green-soft); color: var(--green); padding-left: 24px; }
  .site-nav .nav-cta { margin: 12px 16px 16px; justify-content: center; border: 1.5px solid currentColor; }
  .site-nav .nav-cta:hover, .site-nav .nav-cta:active { border-color: var(--green); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding: 28px 8px; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,.1); }
  .footer-grid { grid-template-columns: 1fr; }
  .banner { background-attachment: scroll; }
}
@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .card { padding: 28px 22px; }
  .bento { height: 320px; gap: 10px; }
  .features { grid-template-columns: 1fr; }
  .hero-actions .btn { min-width: 0; width: 100%; }
  .hero-actions-row, .h-times-wrap { width: 100%; flex-direction: column; align-items: stretch; }
  .h-late { align-self: center; }
  .hero-actions { width: min(100%, 320px); margin-inline: auto; }
  .banner-inner { padding: 100px 16px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
