/* ==========================================================================
   Crown Garage - design system
   Premium · precise · trustworthy · local. Predominantly light; navy used
   deliberately for hero / how-it-works / CTA bands / footer. Red = CTAs and
   interaction states only.
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL) ----------
   Bevan (display) + Work Sans (everything else). A fat antique slab paired with
   a clean humanist grotesque - signage character up top, quiet and highly
   legible everywhere else. */
@font-face {
  font-family: "Work Sans";
  src: url("../assets/fonts/work-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../assets/fonts/work-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../assets/fonts/work-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../assets/fonts/work-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
/* Bevan - heavy slab serif, echoes Crown Garage's painted signage.
   Used only for the wordmark and page H1s; everything else stays sans. */
@font-face {
  font-family: "Bevan";
  src: url("../assets/fonts/bevan-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bevan";
  src: url("../assets/fonts/bevan-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* colour */
  --navy:      #14213D;   /* dark section background */
  --navy-800:  #1B2A4A;   /* dark surface / cards on navy */
  --navy-700:  #26375C;   /* dark hairline */
  --ink:       #10192B;   /* headings on light */
  --bg:        #F6F7F9;   /* page background (cool off-white) */
  --surface:   #FFFFFF;   /* cards, inputs */
  --surface-2: #EEF1F5;   /* subtle fill */
  --text:      #2B3444;   /* body on light */
  --muted:     #5A6473;   /* secondary text */
  --line:      #E3E7EC;   /* hairlines */
  --line-2:    #D3D9E0;
  --line-3:    #8B96A3;   /* interactive boundaries needing 3:1 (WCAG 1.4.11) - form fields */

  --red:       #D42E12;   /* brand accent (non-text) */
  --red-600:   #C42A10;   /* CTA fill - white text = 5.3:1 AA */
  --red-700:   #A6230D;   /* CTA hover / active */
  --red-tint:  #FCEDEA;   /* faint red wash */

  --focus:     #1F6FEB;
  --success:   #1E7F4F;
  --star:      #F5A623;

  /* text on navy */
  --on-navy:        #F4F6FA;
  --on-navy-muted:  #AEBAD0;

  /* type */
  --font-sign:    "Bevan", "Rockwell", "Courier New", Georgia, serif; /* wordmark + H1 only */
  --font-display: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; /* H2–H4, nav, UI */
  --font-body:    "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* scale (4px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --wrap: 1200px;
  --gutter: clamp(16px, 5vw, 40px);
  --radius: 8px;
  --radius-sm: 6px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgba(16,25,43,.06), 0 2px 8px rgba(16,25,43,.06);
  --shadow-2: 0 8px 24px rgba(16,25,43,.10), 0 2px 6px rgba(16,25,43,.06);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 340ms;

  --header-h: 76px;
  --z-header: 100;
  --z-bar: 90;
  --z-drawer: 110;
  --z-skip: 200;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* not `hidden` - `hidden` on body breaks position: sticky header */
}
img, picture, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 2px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:target { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; }
/* H1 borrows Crown Garage's signage type (Bevan). Heavier + slabbier, so it
   needs a touch more leading, no negative tracking, and a smaller max size. */
h1 {
  font-family: var(--font-sign);
  font-weight: 400;
  font-size: clamp(1.7rem, 1.15rem + 2.4vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: 0;
}
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.15rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.45rem); }
h4 { font-size: 1.06rem; font-weight: 600; }
p { max-width: 66ch; }
.lede { font-size: clamp(1.06rem, 1rem + 0.4vw, 1.22rem); color: var(--muted); }
strong, b { font-weight: 600; }
small { font-size: 0.86rem; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-600);
  margin: 0 0 var(--s-3);
}
.on-navy .eyebrow { color: #FF6A4D; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(var(--s-7), 4vw + 24px, var(--s-9)); }
.section--tight { padding-block: var(--s-7); }
.section-head { max-width: 62ch; margin-bottom: var(--s-6); }
.section-head p { color: var(--muted); margin-top: var(--s-3); }

.on-navy { background: var(--navy); color: var(--on-navy); }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy h4 { color: #fff; }
.on-navy p { color: var(--on-navy-muted); }
.on-navy a { color: #fff; }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: var(--s-4); }
.center { text-align: center; }
.center p { margin-inline: auto; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: var(--z-skip);
  background: var(--red-600); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Focus ---------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red-600);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 12px 22px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { background: var(--red-700); transform: translateY(-1px); box-shadow: var(--shadow-1); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--muted); /* line-2 was ~1.3:1 on bg - fails WCAG 1.4.11 UI-boundary contrast */
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--ink); }
.on-navy .btn--ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.55); }
.on-navy .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn--lg { min-height: 54px; padding: 15px 28px; font-size: 1.04rem; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.link-arrow {
  font-family: var(--font-display); font-weight: 600; color: var(--red-600);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.link-arrow::after { content: "\2192"; transition: transform var(--dur) var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-1); background: color-mix(in srgb, var(--bg) 96%, transparent); }
.header-inner {
  display: flex; align-items: center; gap: var(--s-5);
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-sign); font-weight: 400; font-style: italic; color: var(--ink); font-size: 1.12rem; letter-spacing: 0; }
.brand img { height: 56px; width: auto; flex: none; }
.brand picture { display: flex; align-items: center; }
.site-footer .brand img { height: 64px; }
.brand > span { white-space: nowrap; }
.brand small { display: block; font-family: var(--font-display); font-style: normal; font-weight: 500; font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: var(--s-2); }
.primary-nav a {
  display: inline-flex; align-items: center; padding: 10px 12px;
  font-weight: 500; font-size: 0.95rem; text-decoration: none; color: var(--text);
  border-radius: var(--radius-sm);
}
.primary-nav a:hover { background: var(--surface-2); color: var(--ink); }
.primary-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: var(--s-3); }
.header-tel { font-family: var(--font-display); font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; }
.header-tel:hover { color: var(--red-600); }

.nav-toggle { display: none; }

@media (max-width: 1024px) {
  .primary-nav, .header-cta .btn { display: none; }
  .header-cta { margin-left: auto; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--line-2); background: var(--surface);
    border-radius: var(--radius-sm); cursor: pointer; flex: none;
  }
  .nav-toggle svg { width: 22px; height: 22px; }
}
@media (max-width: 600px) {
  .header-tel { display: none; } /* Call is always in the sticky action bar */
}

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: var(--navy); color: var(--on-navy);
  padding: var(--s-5) var(--gutter) var(--s-7);
  display: flex; flex-direction: column; gap: var(--s-2);
  transform: translateY(-100%); transition: transform var(--dur) var(--ease);
  overflow-y: auto;
}
.drawer[data-open="true"] { transform: translateY(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-4); }
.drawer a { padding: 14px 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; text-decoration: none; border-bottom: 1px solid var(--navy-700); }
.drawer .btn { margin-top: var(--s-4); }
.drawer-close { width: 44px; height: 44px; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-sm); color: #fff; cursor: pointer; }

/* ---------- Mobile sticky action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  display: none; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; background: var(--surface); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
}
.action-bar a.is-book { background: var(--red-600); color: #fff; }
.action-bar svg { width: 18px; height: 18px; }
@media (max-width: 1024px) {
  .action-bar { display: grid; }
  body { padding-bottom: 56px; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--s-5);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.card h3 { margin-bottom: var(--s-2); }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .card-foot { margin-top: var(--s-4); display: flex; gap: var(--s-4); align-items: center; }
.card-icon { width: 40px; height: 40px; color: var(--red-600); margin-bottom: var(--s-3); }
.on-navy .card { background: var(--navy-800); border-color: var(--navy-700); }
.on-navy .card p { color: var(--on-navy-muted); }
.on-navy .card-icon { color: #FF6A4D; }

/* price chip */
.price-chip {
  display: inline-flex; align-items: baseline; gap: 4px;
  background: var(--red-tint); color: var(--red-700);
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.price-chip span { font-size: 0.72rem; font-weight: 500; }

/* ---------- Trust bar ---------- */
.trust-bar { border-block: 1px solid var(--line); background: var(--surface); }
.trust-bar ul { display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-7); align-items: center; justify-content: center; padding-block: var(--s-4); }
.trust-bar li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.92rem; color: var(--muted); }
.trust-bar svg { width: 20px; height: 20px; color: var(--success); flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero .wrap { display: grid; gap: var(--s-6); grid-template-columns: 1.05fr 0.95fr; align-items: center; padding-block: clamp(var(--s-7), 5vw, var(--s-9)); }
.hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 4 / 3; background: var(--surface-2); }
.hero-media picture { width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { margin-bottom: var(--s-4); }
.hero .btn-row { margin-top: var(--s-5); }
.hero-quickpick { margin-top: var(--s-5); display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }
.hero-quickpick span { font-size: 0.86rem; color: var(--muted); }
.hero-quickpick a { font-family: var(--font-display); font-weight: 600; text-decoration: none; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-pill); }
.hero-quickpick a:hover { border-color: var(--red-600); color: var(--red-600); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16 / 10; }
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: var(--s-5); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 52px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--red-600); color: #fff; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700;
}
.step h3 { font-size: 1.1rem; margin-bottom: 4px; }
.step p { color: inherit; opacity: .85; font-size: 0.95rem; }

/* ---------- Pricing table ---------- */
.pricing { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pricing caption { text-align: left; color: var(--muted); font-size: 0.85rem; padding: var(--s-3) var(--s-4); }
.pricing th, .pricing td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pricing thead th { background: var(--surface-2); font-family: var(--font-display); }
.pricing tbody tr:last-child td { border-bottom: 0; }
.pricing .price { font-family: var(--font-display); font-weight: 700; color: var(--ink); white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Branch cards ---------- */
.branch-card { display: grid; gap: var(--s-4); }
.branch-card .map-thumb { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); border: 1px solid var(--line); }
.map-thumb picture { display: block; width: 100%; height: 100%; }
.map-thumb img { width: 100%; height: 100%; object-fit: cover; }
.branch-card address { font-style: normal; color: var(--muted); }
.branch-card .tel { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--ink); }
.branch-card .tel:hover { color: var(--red-600); }

/* ---------- Reviews ---------- */
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); }
.stars { display: inline-flex; gap: 2px; color: var(--star); margin-bottom: var(--s-3); }
.stars svg { width: 16px; height: 16px; flex: none; }
.review blockquote { font-size: 1rem; }
.review cite { display: block; margin-top: var(--s-3); font-style: normal; font-weight: 600; color: var(--muted); font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--s-4) 40px var(--s-4) 0; position: relative;
  font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--red-600); transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > *:not(summary) { padding-bottom: var(--s-4); color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .wrap { max-width: 760px; }
.cta-band h2 { margin-bottom: var(--s-5); }
.cta-band p { margin-inline: auto; margin-bottom: var(--s-7); }
.cta-band .btn-row { justify-content: center; gap: var(--s-4); }
.cta-band .section-head { margin-inline: auto; text-align: center; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-block: var(--s-4) 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--red-600); }

/* ---------- Booking embed ---------- */
.booking-embed { min-height: 620px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.booking-embed iframe { width: 100%; border: 0; display: block; }
.booking-fallback { display: none; padding: var(--s-6); text-align: center; }
.booking-fallback.is-visible { display: block; }
.booking-aside {
  background: var(--navy-800); color: var(--on-navy);
  border-radius: var(--radius); padding: var(--s-5); display: grid; gap: var(--s-3);
}
.booking-aside .tel { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; text-decoration: none; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: var(--s-4); }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.field .req { color: var(--red-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; background: var(--surface);
  border: 1px solid var(--line-3); border-radius: var(--radius-sm);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--focus); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 0.82rem; color: var(--muted); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-600); }
.field .error-msg { font-size: 0.82rem; color: var(--red-700); }
.form-note { font-size: 0.82rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding-block: var(--s-8) var(--s-6); }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-size: 0.95rem; margin-bottom: var(--s-3); letter-spacing: 0.04em; text-transform: uppercase; }
.footer-grid { display: grid; gap: var(--s-6); grid-template-columns: 1.3fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer a { text-decoration: none; color: var(--on-navy-muted); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-legal { margin-top: var(--s-7); padding-top: var(--s-4); border-top: 1px solid var(--navy-700); font-size: 0.82rem; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between; }

/* ---------- Consent banner ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  max-width: 520px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--shadow-2); padding: var(--s-4) var(--s-5);
}
.consent[hidden] { display: none; }
.consent p { font-size: 0.88rem; margin-bottom: var(--s-3); }
.consent .btn-row { gap: var(--s-2); }
.consent .btn { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; }
@media (max-width: 1024px) { .consent { bottom: 72px; } }

/* ---------- Provisional flag (dev only, visible in staging) ---------- */
[data-provisional] { border-bottom: 1px dashed var(--star); }

/* ---------- Reveal animation ----------
   Content is visible by default (no-JS / no-IO safe). site.js only "arms"
   elements that are still below the fold, so above-the-fold never flickers. */
.reveal-armed { opacity: 0; transform: translateY(12px); }
.reveal-armed.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal-armed, .reveal-armed.is-in { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* ---------- Print ---------- */
@media print {
  .site-header, .action-bar, .consent, .cta-band, .booking-embed, .drawer { display: none !important; }
  body { padding: 0; }
}

/* ---------- Intro loader (once per session) ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #3F51B6;
  transition: opacity .45s ease, visibility .45s; animation: loader-out .45s ease 4s forwards; }
.loader img { width: min(320px, 70vw); height: auto; }
.loader.is-done { opacity: 0; visibility: hidden; }
.no-loader .loader { display: none; }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }

/* ---------- Homepage video hero ---------- */
.hero--video { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  min-height: clamp(560px, 82vh, 780px); background: var(--navy); }
.hero--video .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero--video::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,18,34,.9) 0%, rgba(11,18,34,.64) 46%, rgba(11,18,34,.3) 100%); }
.hero--video .wrap { display: block; width: 100%; padding-block: clamp(var(--s-8), 8vw, var(--s-10)); }
.hero--video .hero-copy { max-width: 660px; }
.hero--video h1 { color: #fff; }
.hero--video .lede { color: rgba(255,255,255,.88); }
.hero--video .hero-quickpick span { color: rgba(255,255,255,.75); }
.hero--video .hero-quickpick a { color: #fff; border-color: rgba(255,255,255,.5); }
.hero--video .hero-quickpick a:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.1); }
@media (max-width: 767px) {
  .hero--video { min-height: 520px; }
  .hero--video::after { background: linear-gradient(180deg, rgba(11,18,34,.72), rgba(11,18,34,.86)); }
}

/* ---------- Intro with photo (service pages) ---------- */
.intro-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s-7); align-items: center; }
.intro-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 4 / 5; background: var(--surface-2); }
.intro-media--land { aspect-ratio: 4 / 3; }
.intro-media picture, .intro-media img { display: block; width: 100%; height: 100%; }
.intro-media img { object-fit: cover; }
@media (max-width: 900px) {
  .intro-split { grid-template-columns: 1fr; gap: var(--s-6); }
  .intro-media, .intro-media--land { aspect-ratio: 16 / 10; }
}

/* ---------- Booking page layout: widget + call panel ---------- */
.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.booking-grid > * { min-width: 0; }
@media (max-width: 900px) { .booking-grid { grid-template-columns: minmax(0, 1fr); } }

@media (min-width: 901px) {
  .booking-aside { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-6); padding: var(--s-4) var(--s-5); }
  .booking-aside hr { display: none; }
  .booking-aside p { margin: 0; }
}
