:root {
  --blue: #005486;
  --charcoal: #242021;
  --tint: #E0EAF1;
  --sky: #4DA3DE;
  --navy: #0B2236;
}
html { scroll-behavior: smooth; }
body { font-family: 'Ubuntu', system-ui, sans-serif; color: var(--charcoal); -webkit-font-smoothing: antialiased; }
.font-display { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; }
.h-hero { font-size: clamp(2.9rem, 8vw, 6.4rem); line-height: .9; letter-spacing: -0.02em; }
.h-xl { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: .95; letter-spacing: -0.015em; }
.h-lg { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.7; }
.prose-body p { line-height: 1.75; }

/* Header */
#site-header { transition: box-shadow .3s ease, background-color .3s ease; }
body.overflow-hidden #site-header { background-color: #fff; }
#site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(11, 34, 54, .45); background-color: rgba(255, 255, 255, .92); }
.nav-link { position: relative; padding: .5rem 0; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 100%; bottom: .15rem; height: 2px; background: var(--blue); transition: right .25s ease; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { right: 0; }
.nav-link[aria-current="page"] { color: var(--blue); }

/* Road stripe motif, from the "A" in the logo */
.road-stripe { background: repeating-linear-gradient(90deg, var(--sky) 0 38px, transparent 38px 62px); height: 4px; }
.lane-mark { width: 4px; background: repeating-linear-gradient(180deg, var(--sky) 0 22px, transparent 22px 36px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .6rem; font-weight: 500; border-radius: 999px; padding: .95rem 1.6rem; min-height: 48px; transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { transition: transform .2s ease; }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 24px -12px rgba(0, 84, 134, .8); }
.btn-primary:hover { background: #00466f; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--tint); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-outline { border: 1.5px solid var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* Cards */
.card-lift { transition: transform .3s ease, box-shadow .3s ease; }
.card-lift:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(11, 34, 54, .45); }
.zoom { overflow: hidden; }
.zoom img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.zoom:hover img, .zoom:focus-visible img { transform: scale(1.07); }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }

/* Hero */
.hero-photo { object-position: 70% 50%; }
.hero-shade { background: linear-gradient(100deg, rgba(11, 34, 54, .97) 0%, rgba(11, 34, 54, .9) 38%, rgba(0, 84, 134, .55) 68%, rgba(0, 84, 134, .1) 100%); }
@media (max-width: 767px) {
  .hero-photo { object-position: 78% 60%; }
  .hero-shade { background: linear-gradient(180deg, rgba(11, 34, 54, .15) 0%, rgba(11, 34, 54, .3) 18vh, rgba(11, 34, 54, .97) 40vh, rgba(11, 34, 54, 1) 100%); }
}

/* Forms */
.field { width: 100%; border: 1.5px solid #c9d7e2; background: #fff; border-radius: .75rem; padding: .85rem 1rem; min-height: 48px; font: inherit; color: var(--charcoal); transition: border-color .2s, box-shadow .2s; }
.field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 84, 134, .15); }
.field-label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: .4rem; color: var(--navy); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.grecaptcha-badge { visibility: hidden; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(6, 18, 30, .94); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.lightbox.is-open { display: flex; }
.lightbox figure { max-width: min(1100px, 100%); margin: 0; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: .75rem; }
.lightbox figcaption { color: #dbe7f0; margin-top: .9rem; font-size: .95rem; }
.lightbox button { position: absolute; color: #fff; font-size: 2.4rem; line-height: 1; width: 52px; height: 52px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Hero bay strip: echoes the numbered roller doors of the 8-bay workshop */
.bay { position: relative; display: flex; flex-direction: column; border-radius: .4rem; overflow: hidden; background: rgba(11, 34, 54, .7); backdrop-filter: blur(4px); border: 1px solid rgba(224, 234, 241, .18); height: 4.25rem; }
@media (min-width: 640px) { .bay { height: 5.75rem; border-radius: .6rem; } }
.bay-fascia { display: flex; align-items: center; justify-content: center; height: 1.5rem; background: #005486; }
@media (min-width: 640px) { .bay-fascia { height: 1.9rem; } }
.bay-num { display: inline-flex; align-items: center; justify-content: center; min-width: 1.15rem; height: 1.05rem; padding: 0 .2rem; background: #fff; color: var(--navy); font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: .85rem; line-height: 1; border-radius: 2px; }
@media (min-width: 640px) { .bay-num { min-width: 1.5rem; height: 1.35rem; font-size: 1.05rem; } }
.bay-door { flex: 1; transform-origin: top; transition: transform .45s cubic-bezier(.2, .7, .2, 1); background: repeating-linear-gradient(180deg, rgba(224, 234, 241, .34) 0 2px, rgba(224, 234, 241, .12) 2px 7px); }
.bay:hover .bay-door { transform: scaleY(.55); }
.bay-new { border-color: rgba(77, 163, 222, .7); background: rgba(0, 84, 134, .55); }
.bay-new .bay-fascia { background: var(--sky); }
.bay-new .bay-door { background: repeating-linear-gradient(180deg, rgba(159, 208, 242, .5) 0 2px, rgba(77, 163, 222, .18) 2px 7px); }
.breakdown-panel { transition: transform .25s ease, box-shadow .25s ease; }
.breakdown-panel:hover { transform: translateY(-3px); }
