/* ==========================================================================
   FRESHWHIPS
   1. Fonts
   2. Tokens
   3. Reset & base
   4. Layout primitives
   5. Header & navigation
   6. Hero
   7. Buttons & links
   8. Sections & content blocks
   9. Services & pricing
   10. Booking grid & forms
   11. Gallery
   12. Legal pages
   13. Footer
   14. Cookie notice
   15. Utilities, motion & print
   ========================================================================== */

/* -- 1. Fonts -------------------------------------------------------------- */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/public-sans.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* -- 2. Tokens ------------------------------------------------------------- */

:root {
  /* Colour — drawn from the trade: foam, standing water, deep wet paint,
     and the yellow of a chamois cloth. */
  --foam:        #f2f6f7;
  --foam-deep:   #e2ecef;
  --foam-edge:   #cddde2;
  --ink:         #10232e;
  --ink-raised:  #1a333f;
  --ink-soft:    #3a5462;
  --marine:      #1f5a6e;
  --gloss:       #37c6e0;
  --gloss-quiet: #8fdcea;
  --chamois:     #efb93f;
  --chamois-lo:  #d09b1e;
  --alert:       #b3261e;
  --white:       #ffffff;

  /* Type */
  --display: 'Bricolage Grotesque', 'Arial Black', 'Helvetica Neue', sans-serif;
  --body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --t-xs:  0.8125rem;
  --t-sm:  0.9375rem;
  --t-base: 1.0625rem;
  --t-md:  1.1875rem;
  --t-lg:  1.4rem;
  --t-xl:  clamp(1.75rem, 1.3rem + 1.8vw, 2.4rem);
  --t-2xl: clamp(2.2rem, 1.4rem + 3.4vw, 3.4rem);
  --t-3xl: clamp(2.3rem, 1.3rem + 4.4vw, 4.1rem);

  /* Space */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 6.5rem;

  /* Shape */
  --r-panel: 28px;
  --r-block: 18px;
  --r-control: 8px;
  --r-tight: 4px;

  --wrap: 1120px;
  --prose: 66ch;

  --pool: 0 32px 64px -28px rgba(16, 35, 46, 0.45);
}

/* -- 3. Reset & base ------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0 0 var(--s-4);
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: var(--t-3xl); font-weight: 800; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); }
h4 { font-size: var(--t-md); letter-spacing: -0.01em; }

p { margin: 0 0 var(--s-4); max-width: var(--prose); }

a { color: var(--marine); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

/* One focus treatment, used everywhere, always visible. */
:focus-visible {
  outline: 3px solid var(--gloss);
  outline-offset: 3px;
  border-radius: 2px;
}

/* -- 4. Layout primitives -------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--s-5);
}

.band { padding-block: var(--s-8); }
.band-tight { padding-block: var(--s-7); }

.band-sunk {
  background: var(--foam-deep);
  border-block: 1px solid var(--foam-edge);
}

.band-ink {
  background: var(--ink);
  color: var(--foam);
}
.band-ink h2, .band-ink h3, .band-ink .footer-head { color: var(--white); }
.band-ink a { color: var(--gloss-quiet); }
.band-ink a:hover { color: var(--white); }

.lede {
  font-size: var(--t-md);
  color: var(--ink-soft);
  max-width: 54ch;
}
.band-ink .lede { color: var(--gloss-quiet); }

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 999;
  background: var(--ink);
  color: var(--white);
  padding: var(--s-3) var(--s-5);
  border-radius: 0 0 var(--r-control) var(--r-control);
  font-weight: 600;
  text-decoration: none;
  transition: top 120ms ease-out;
}
.skip-link:focus { top: 0; color: var(--white); }

/* -- 5. Header & navigation ------------------------------------------------ */

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(242, 246, 247, 0.88);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--foam-edge);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 68px;
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.wordmark:hover { color: var(--marine); }

/* The mark: a droplet catching light. */
.wordmark-mark { width: 26px; height: 26px; flex: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--foam-edge);
  border-radius: var(--r-control);
  padding: var(--s-2) var(--s-3);
  font: inherit;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  gap: var(--s-2);
}

.nav { display: flex; align-items: center; gap: var(--s-5); }

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: var(--t-sm);
  font-weight: 500;
  padding-block: var(--s-2);
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--ink); border-bottom-color: var(--foam-edge); }
.nav-list a[aria-current='page'] { color: var(--ink); border-bottom-color: var(--gloss); }

/* -- 6. Hero --------------------------------------------------------------- */
/* The one piece of boldness on the site: a panel of wet, dark paint with a
   highlight raking across it, the way a bonnet looks under a workshop light. */

.hero { padding-block: var(--s-8) var(--s-7); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: var(--s-7);
  align-items: center;
}

.hero h1 { margin-bottom: var(--s-5); }

.hero-sub {
  font-size: var(--t-md);
  color: var(--ink-soft);
  max-width: 40ch;
  margin-bottom: var(--s-6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
  margin-bottom: var(--s-6);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5) var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--foam-edge);
  margin: 0;
}
.hero-facts div { min-width: 0; }
.hero-facts dt {
  font-size: var(--t-xs);
  color: var(--ink-soft);
  margin-bottom: 2px;
}
.hero-facts dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-md);
  letter-spacing: -0.02em;
}

.paint-panel {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--r-panel);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 22% 8%, #2c5c72 0%, rgba(44, 92, 114, 0) 58%),
    radial-gradient(90% 70% at 85% 92%, #113442 0%, rgba(17, 52, 66, 0) 60%),
    linear-gradient(155deg, #163a4a 0%, #0c1c25 62%, #143241 100%);
  box-shadow: var(--pool);
  isolation: isolate;
}

/* The specular sweep. Sized wider than the panel so it can travel across. */
.paint-panel::before {
  content: '';
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    104deg,
    transparent 14%,
    rgba(255, 255, 255, 0.02) 30%,
    rgba(143, 220, 234, 0.08) 41%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(143, 220, 234, 0.07) 59%,
    rgba(255, 255, 255, 0.02) 71%,
    transparent 86%
  );
  transform: translateX(-26%);
  animation: sweep 2600ms cubic-bezier(0.32, 0, 0.2, 1) 300ms 1 both;
}

@keyframes sweep {
  from { transform: translateX(-62%); }
  to   { transform: translateX(6%); }
}

/* Beading water, scattered across the panel. */
.paint-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 72%, rgba(255,255,255,0.5) 0 1.1px, transparent 1.6px),
    radial-gradient(circle at 31% 44%, rgba(255,255,255,0.38) 0 1.6px, transparent 2.2px),
    radial-gradient(circle at 47% 78%, rgba(255,255,255,0.42) 0 1.3px, transparent 1.9px),
    radial-gradient(circle at 63% 33%, rgba(255,255,255,0.34) 0 2px, transparent 2.7px),
    radial-gradient(circle at 74% 63%, rgba(255,255,255,0.46) 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 86% 24%, rgba(255,255,255,0.3) 0 1.7px, transparent 2.3px),
    radial-gradient(circle at 24% 19%, rgba(255,255,255,0.36) 0 1.4px, transparent 2px),
    radial-gradient(circle at 55% 12%, rgba(255,255,255,0.28) 0 1.1px, transparent 1.6px),
    radial-gradient(circle at 40% 92%, rgba(255,255,255,0.32) 0 1.5px, transparent 2.1px),
    radial-gradient(circle at 91% 84%, rgba(255,255,255,0.4) 0 1.2px, transparent 1.7px);
  opacity: 0.5;
  pointer-events: none;
}

/* The price, set into the panel like a badge on a boot lid. */
.panel-badge {
  position: absolute;
  left: var(--s-5);
  bottom: var(--s-5);
  z-index: 2;
  color: var(--white);
}
.panel-badge b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.panel-badge span {
  display: block;
  font-size: var(--t-sm);
  color: var(--gloss-quiet);
  margin-top: var(--s-2);
}

/* -- 7. Buttons & links ---------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font: inherit;
  font-weight: 600;
  line-height: 1;
  padding: 0.95em 1.5em;
  border-radius: var(--r-control);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 130ms ease, border-color 130ms ease, color 130ms ease;
}

.btn-book {
  background: var(--chamois);
  color: var(--ink);
  border-color: var(--chamois-lo);
}
.btn-book:hover { background: var(--chamois-lo); color: var(--ink); }

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-quiet:hover { background: var(--ink); color: var(--foam); }

.band-ink .btn-quiet { color: var(--foam); border-color: var(--gloss-quiet); }
.band-ink .btn-quiet:hover { background: var(--foam); color: var(--ink); }

.btn-wide { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* -- 8. Sections & content blocks ------------------------------------------ */

.section-head { margin-bottom: var(--s-6); max-width: var(--prose); }
.section-head p:last-child { margin-bottom: 0; }

/* A genuine sequence, so it is numbered. */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  border-left: 2px solid var(--gloss);
  padding-left: var(--s-4);
}
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-lg);
  color: var(--marine);
  line-height: 1;
  margin-bottom: var(--s-2);
}
.steps h3 { font-size: var(--t-base); margin-bottom: var(--s-2); }
.steps p { font-size: var(--t-sm); color: var(--ink-soft); margin: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-7);
  align-items: start;
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}
.cta-strip h2 { margin: 0; max-width: 18ch; }
.cta-strip p { margin: var(--s-3) 0 0; }

/* -- 9. Services & pricing ------------------------------------------------- */

.price-name {
  font-family: var(--display);
  font-size: var(--t-lg);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0 0 var(--s-4);
}

.price-list {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.price-card {
  border: 1px solid var(--foam-edge);
  border-radius: var(--r-block);
  padding: var(--s-6);
  background: var(--white);
  display: flex;
  flex-direction: column;
}

/* The main offer is a different object, not the same card with a badge. */
.price-card.is-featured {
  background: var(--ink);
  color: var(--foam);
  border-color: var(--ink);
  box-shadow: var(--pool);
}
.price-card.is-featured .price-name { color: var(--white); }
.price-card.is-featured .price-includes li { border-color: rgba(143, 220, 234, 0.28); }
.price-card.is-featured .price-summary { color: var(--gloss-quiet); }
.price-card.is-featured .price-meta { color: var(--gloss-quiet); }

.price-figure {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--s-2);
}
.price-meta { font-size: var(--t-sm); color: var(--ink-soft); margin-bottom: var(--s-4); }
.price-summary { margin-bottom: var(--s-5); }

.price-includes {
  list-style: none;
  margin: 0 0 var(--s-6);
  padding: 0;
  flex: 1;
}
.price-includes li {
  padding: var(--s-3) 0;
  border-top: 1px solid var(--foam-edge);
  font-size: var(--t-sm);
}
.price-includes li:first-child { border-top: none; padding-top: 0; }

.note-block {
  border-left: 3px solid var(--chamois);
  padding: var(--s-2) 0 var(--s-2) var(--s-4);
  background: none;
}
.note-block p:last-child { margin-bottom: 0; }

/* -- 10. Booking grid & forms ---------------------------------------------- */

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--s-7);
  align-items: start;
}

.week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}
.week-nav h3 { margin: 0; font-size: var(--t-base); font-weight: 700; }
.week-nav-buttons { display: flex; gap: var(--s-2); }

.week-step {
  background: var(--white);
  border: 1px solid var(--foam-edge);
  border-radius: var(--r-control);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
}
.week-step:hover:not([disabled]) { border-color: var(--marine); color: var(--marine); }
.week-step[disabled] { opacity: 0.35; cursor: not-allowed; }

.day-column {
  border-top: 1px solid var(--foam-edge);
  padding-top: var(--s-3);
  margin-bottom: var(--s-4);
}
.day-head {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
.day-name { font-family: var(--display); font-weight: 700; font-size: var(--t-base); }
.day-date { font-size: var(--t-sm); color: var(--ink-soft); }

.slot-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.slot {
  font: inherit;
  font-size: var(--t-sm);
  font-weight: 600;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-control);
  border: 1.5px solid var(--foam-edge);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease;
}
.slot:hover:not([disabled]) { border-color: var(--marine); }
.slot[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.slot[disabled] {
  background: var(--foam-deep);
  color: var(--ink-soft);
  border-color: transparent;
  cursor: not-allowed;
  text-decoration: line-through;
}

.booking-panel h2 { font-size: var(--t-lg); }

.booking-panel {
  position: sticky;
  top: 92px;
  border: 1px solid var(--foam-edge);
  border-radius: var(--r-block);
  background: var(--white);
  padding: var(--s-6);
}

.chosen-slot {
  border-radius: var(--r-control);
  background: var(--foam-deep);
  padding: var(--s-4);
  margin-bottom: var(--s-5);
  font-size: var(--t-sm);
}
.chosen-slot strong {
  display: block;
  font-family: var(--display);
  font-size: var(--t-md);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.chosen-slot.is-empty { color: var(--ink-soft); }

.field { margin-bottom: var(--s-4); }
.field label {
  display: block;
  font-size: var(--t-sm);
  font-weight: 600;
  margin-bottom: var(--s-2);
}
.field .hint { font-weight: 400; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--t-sm);
  padding: 0.7rem 0.8rem;
  border: 1.5px solid var(--foam-edge);
  border-radius: var(--r-control);
  background: var(--white);
  color: var(--ink);
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-soft); }

.field-error input,
.field-error select,
.field-error textarea { border-color: var(--alert); }

.error-text {
  display: block;
  color: var(--alert);
  font-size: var(--t-xs);
  font-weight: 500;
  margin-top: var(--s-2);
}
.error-text:empty { display: none; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
  font-size: var(--t-sm);
}
.checkbox-row input { width: auto; margin-top: 0.28em; flex: none; }

.form-status {
  border-radius: var(--r-control);
  padding: var(--s-4);
  margin-bottom: var(--s-4);
  font-size: var(--t-sm);
}
.form-status:empty { display: none; }
.form-status.is-error {
  background: #fbeceb;
  border: 1px solid #e6b5b1;
  color: #7d1a15;
}
.form-status.is-ok {
  background: #e7f6f9;
  border: 1px solid var(--gloss-quiet);
  color: #0d3a46;
}

/* -- 11. Gallery ----------------------------------------------------------- */

.gallery-grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.gallery-item { margin: 0; }
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-tight);
  background: var(--foam-deep);
}
.gallery-item figcaption {
  font-size: var(--t-sm);
  color: var(--ink-soft);
  padding-top: var(--s-2);
}

.gallery-empty {
  border: 2px dashed var(--foam-edge);
  border-radius: var(--r-block);
  padding: var(--s-7) var(--s-5);
  text-align: center;
  color: var(--ink-soft);
}
.gallery-empty p { margin-inline: auto; }

/* Placeholder frames so the layout can be judged before photos exist. */
.frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-tight);
  background:
    repeating-linear-gradient(135deg, var(--foam-deep) 0 12px, var(--foam) 12px 24px);
  border: 1px solid var(--foam-edge);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: var(--t-sm);
}

/* Cars: one card per car, a counter, and the photo viewer. */

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-7);
  margin: 0 0 var(--s-6);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--foam-edge);
}
.stat-row dt { font-size: var(--t-xs); color: var(--ink-soft); margin-bottom: 2px; }
.stat-row dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--t-2xl);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.car-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.car-grid[hidden] { display: none; }

.car-card {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: var(--r-block);
  background: var(--white);
  border: 1px solid var(--foam-edge);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.car-card:hover, .car-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--pool);
}
.car-cover { position: relative; background: var(--foam-deep); }
.car-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.count-badge {
  position: absolute;
  left: var(--s-3);
  bottom: var(--s-3);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 35, 46, 0.78);
  color: var(--white);
  font-size: var(--t-xs);
  font-weight: 600;
}
.car-meta { padding: var(--s-4) var(--s-4) var(--s-5); }
.car-title {
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-md);
  letter-spacing: -0.02em;
}
.car-sub { margin: 4px 0 0; font-size: var(--t-sm); color: var(--ink-soft); }
.gallery-more { margin-top: var(--s-5); }

.album {
  width: min(1100px, 100vw);
  max-width: 100vw;
  height: min(92vh, 900px);
  max-height: 100dvh;
  padding: 0;
  border: 0;
  border-radius: var(--r-block);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.album::backdrop { background: rgba(8, 18, 24, 0.82); }
.album-inner {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
}
.album-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
}
.album-title { margin: 0; font-family: var(--display); font-size: var(--t-lg); }
.album-count { margin: 2px 0 0; font-size: var(--t-sm); color: var(--gloss-quiet); }
.album-close {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ink-raised);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.album-stage {
  position: relative;
  min-height: 0;
  margin: 0 var(--s-8);
}
.album-stage img, .album-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.album-step {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 64px;
  border: 0;
  border-radius: var(--r-control);
  background: rgba(26, 51, 63, 0.85);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}
.album-prev { left: var(--s-2); }
.album-next { right: var(--s-2); }
.album-thumbs {
  display: flex;
  gap: var(--s-2);
  overflow-x: auto;
  padding: var(--s-4) var(--s-5);
  scrollbar-width: thin;
}
.album-thumb {
  position: relative;
  flex: none;
  width: 72px;
  height: 54px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--r-tight);
  overflow: hidden;
  background: var(--ink-raised);
  cursor: pointer;
  opacity: .65;
}
.album-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.album-thumb.is-on { border-color: var(--chamois); opacity: 1; }
.album-thumb.is-clip::after {
  content: '\25B6';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: .9rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}

.review-list { display: grid; gap: var(--s-5); }
.review-card {
  display: grid;
  grid-template-columns: minmax(0, 260px) 1fr;
  gap: var(--s-5);
  padding: var(--s-5);
  border-radius: var(--r-block);
  background: var(--white);
  border: 1px solid var(--foam-edge);
}
.review-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  align-self: start;
}
.review-photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-tight);
}
.review-stars { margin: 0 0 var(--s-2); color: var(--chamois-lo); letter-spacing: .15em; font-size: 1.1rem; }
.review-quote { margin: 0 0 var(--s-3); font-size: var(--t-base); line-height: 1.6; }
.review-meta { margin: 0; font-size: var(--t-sm); color: var(--ink-soft); }

@media (max-width: 720px) {
  .album { width: 100vw; height: 100dvh; border-radius: 0; }
  .album-stage { margin: 0 var(--s-2); }
  .album-step { display: none; }
  .review-card { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .car-card { transition: none; }
  .car-card:hover { transform: none; }
}

/* -- 12. Legal pages ------------------------------------------------------- */

.legal { max-width: var(--prose); }
.legal h2 { font-size: var(--t-lg); margin-top: var(--s-6); }
.legal h2:first-of-type { margin-top: var(--s-5); }
.legal ul { padding-left: 1.1rem; }
.legal li { margin-bottom: var(--s-2); }
.legal .updated { font-size: var(--t-sm); color: var(--ink-soft); }

.toc {
  border: 1px solid var(--foam-edge);
  border-radius: var(--r-block);
  padding: var(--s-5);
  margin-bottom: var(--s-6);
  background: var(--white);
}
.toc h2 { margin-top: 0; font-size: var(--t-base); }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: var(--s-1); font-size: var(--t-sm); }

/* -- 13. Footer ------------------------------------------------------------ */

.site-footer {
  background: var(--ink);
  color: var(--foam);
  padding-block: var(--s-7) var(--s-5);
  margin-top: var(--s-8);
}
.site-footer a { color: var(--gloss-quiet); }
.site-footer a:hover { color: var(--white); }

.footer-grid {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1.4fr 1fr 1fr;
  padding-bottom: var(--s-6);
}
.footer-grid .footer-head {
  color: var(--white);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-3);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0; font-size: var(--t-sm); }

/* Footer links are the ones people reach for on a phone, so give them
   a finger-sized target rather than a 17px line of text. */
.footer-grid li a,
.colophon ul a {
  display: inline-block;
  padding-block: 0.55rem;
}
.footer-grid p { font-size: var(--t-sm); color: var(--gloss-quiet); }

.social-row { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.social-link {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(143, 220, 234, 0.35);
  border-radius: var(--r-control);
  display: grid;
  place-items: center;
  color: var(--foam);
  transition: background-color 130ms ease, color 130ms ease;
}
.social-link:hover { background: var(--foam); color: var(--ink); }
.social-link svg { width: 20px; height: 20px; fill: currentColor; }

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
  padding-top: var(--s-5);
  border-top: 1px solid rgba(143, 220, 234, 0.2);
}
.share-btn {
  font: inherit;
  font-size: var(--t-sm);
  font-weight: 600;
  background: none;
  border: 1px solid rgba(143, 220, 234, 0.35);
  color: var(--foam);
  border-radius: var(--r-control);
  padding: 0.6em 1em;
  cursor: pointer;
}
.share-btn:hover { background: var(--foam); color: var(--ink); }

.colophon {
  border-top: 1px solid rgba(143, 220, 234, 0.2);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  align-items: center;
  justify-content: space-between;
  font-size: var(--t-xs);
  color: var(--gloss-quiet);
}
.colophon ul { display: flex; flex-wrap: wrap; gap: 0 var(--s-4); list-style: none; margin: 0; padding: 0; }

/* -- 14. Cookie notice ----------------------------------------------------- */

.cookie-notice {
  position: fixed;
  left: var(--s-4);
  right: var(--s-4);
  bottom: var(--s-4);
  z-index: 80;
  max-width: 560px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--r-block);
  box-shadow: var(--pool);
  padding: var(--s-5);
}
.cookie-notice[hidden] { display: none; }
.cookie-notice h2 { font-size: var(--t-base); margin-bottom: var(--s-2); }
.cookie-notice p {
  font-size: var(--t-sm);
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
  max-width: none;
}
.cookie-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.cookie-actions .btn { padding: 0.7em 1.2em; font-size: var(--t-sm); }

/* -- 15. Utilities, motion & print ----------------------------------------- */

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

.stack-sm > * + * { margin-top: var(--s-3); }

/* -- Responsive ------------------------------------------------------------ */

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .booking-layout { grid-template-columns: minmax(0, 1fr); }

  .hero-grid { gap: var(--s-6); }
  .paint-panel { aspect-ratio: 16 / 10; }
  .booking-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --s-8: 3.25rem; --s-9: 4rem; }

  .nav-toggle { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--foam);
    border-bottom: 1px solid var(--foam-edge);
    padding: var(--s-3) var(--s-5) var(--s-5);
  }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a {
    display: block;
    padding: var(--s-3) 0;
    border-bottom: 1px solid var(--foam-edge);
    font-size: var(--t-base);
  }
  .nav-list a[aria-current='page'] { border-bottom-color: var(--gloss); }
  .nav .btn { margin-top: var(--s-4); }

  .masthead-inner { position: relative; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .hero-facts { gap: var(--s-4) var(--s-5); }
  .slot { flex: 1 1 auto; min-width: 140px; }
}

@media (max-width: 420px) {
  .cookie-notice { padding: var(--s-4); }
  .cookie-actions .btn { flex: 1 1 auto; }
}

/* Respect the system setting. Nothing here is load-bearing. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .paint-panel::before { transform: translateX(-12%); }
}

@media print {
  .masthead, .cookie-notice, .site-footer, .hero-actions, .booking-panel { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .paint-panel { display: none; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 9pt; }
}
