/*
Theme Name: Best Road
Theme URI: https://www.bestroaddrivingschool.ca/
Author: Best Road Driving School
Description: Classic WordPress theme reproducing the Best Road Driving School React site (bestroaddrivingschool.ca) pixel- and copy-for-copy, built for the two-month WordPress trial. Pairs with the bestroad-core plugin for booking, reviews, schema and tracking.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Tested up to: 6.6
Text Domain: bestroad
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Self-hosted webfonts — copied verbatim from the React build's dist/assets/*.woff2
   (fontsource IBM Plex Sans/Mono + Newsreader Variable). font-display: swap so
   text renders immediately in the fallback stack while the webfont loads. */


/* IBM Plex Sans — 400 (body), 500 (medium), 600 (headings emphasis) */

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-cyrillic-400-normal-DZqxrq2p.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-cyrillic-ext-400-normal-g30qAdWV.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-greek-400-normal-_efipK4i.woff2') format('woff2');
  unicode-range: U+0370-03FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-latin-400-normal-CDDApCn2.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-latin-ext-400-normal-C5H60-Va.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-vietnamese-400-normal-DG4YqDda.woff2') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-cyrillic-500-normal-CocWQlwt.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-cyrillic-ext-500-normal-Cs5J6C77.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-greek-500-normal-JMMifIXV.woff2') format('woff2');
  unicode-range: U+0370-03FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-latin-500-normal-6ng42L7E.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-latin-ext-500-normal-DakdToA3.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-vietnamese-500-normal-e4dixQRQ.woff2') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-cyrillic-600-normal-71GNu3SW.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-cyrillic-ext-600-normal-DUMzJB7m.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-greek-600-normal-DzTrcv_p.woff2') format('woff2');
  unicode-range: U+0370-03FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-latin-600-normal-CuJfVYMP.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-latin-ext-600-normal-DOrvGEcy.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-vietnamese-600-normal-DpPYBSTl.woff2') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB;
}


/* IBM Plex Mono — 400 (body mono), 500 (medium/labels) */

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-cyrillic-500-normal-Bq9vWWag.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-cyrillic-ext-500-normal-BqneJy0T.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-latin-ext-500-normal-CAhNIIs5.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-vietnamese-500-normal-DZ4AoWbu.woff2') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB;
}


/* Newsreader Variable — variable font, weight axis 400-600 covers the h1-h4
   (500) and quote (400/500) usages on the site. */

@font-face {
  font-family: 'Newsreader Variable';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/newsreader-latin-standard-normal-s-izfB6B.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Newsreader Variable';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/newsreader-latin-ext-standard-normal-BQn1nviT.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader Variable';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/newsreader-vietnamese-standard-normal-BjhtXyW2.woff2') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB;
}
/* Best Road Driving School — design tokens + base styles */

:root {
  /* Color theme: paper (default) */
  --bg: #FBF8F3;
  --bg-soft: #F4EFE6;
  --bg-card: #FFFFFF;
  --ink: #1B1F26;
  --ink-2: #3B414B;
  --ink-3: #6B7280;
  --hairline: rgba(27, 31, 38, 0.12);
  --hairline-soft: rgba(27, 31, 38, 0.06);
  --accent: oklch(0.46 0.08 240);
  --accent-ink: oklch(0.32 0.07 240);
  --accent-soft: oklch(0.93 0.03 240);
  --signal: oklch(0.62 0.13 45);
  --signal-soft: oklch(0.95 0.04 60);
  --ok: oklch(0.55 0.10 155);

  /* Density */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --space-9: 112px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --font-serif: 'Newsreader Variable', 'Newsreader', 'Source Serif Pro', Georgia, serif;
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1140px;
}

[data-theme="forest"] {
  --bg: #F6F4EE;
  --bg-soft: #ECE7DA;
  --accent: oklch(0.42 0.07 155);
  --accent-ink: oklch(0.28 0.06 155);
  --accent-soft: oklch(0.93 0.03 155);
  --signal: oklch(0.60 0.12 45);
}
[data-theme="ink"] {
  --bg: #F2F1EE;
  --bg-soft: #E6E4DE;
  --accent: oklch(0.30 0.02 250);
  --accent-ink: oklch(0.20 0.02 250);
  --accent-soft: oklch(0.91 0.01 250);
  --signal: oklch(0.58 0.13 30);
}
[data-theme="dawn"] {
  --bg: #FBF6F1;
  --bg-soft: #F2E9DE;
  --accent: oklch(0.50 0.10 30);
  --accent-ink: oklch(0.34 0.08 30);
  --accent-soft: oklch(0.94 0.03 40);
  --signal: oklch(0.46 0.08 240);
}

[data-density="compact"] {
  --space-5: 18px;
  --space-6: 24px;
  --space-7: 36px;
  --space-8: 56px;
  --space-9: 80px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); }
p { margin: 0; text-wrap: pretty; }

a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

button { font-family: inherit; cursor: pointer; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-left: 4px;
  padding-right: 4px;
}
.btn-ghost:hover { color: var(--accent-ink); }

.hr {
  height: 1px;
  background: var(--hairline);
  border: 0;
  margin: 0;
}

.placeholder-photo {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      var(--bg-soft) 0 12px,
      transparent 12px 24px
    ),
    var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
  padding: 16px;
  overflow: hidden;
}
.placeholder-photo .ph-label {
  background: var(--bg);
  padding: 6px 10px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  max-width: 80%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.badge-signal { background: var(--signal-soft); color: var(--signal); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.kicker .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

.card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}
.service-card-link:hover .card-arrow {
  background: var(--accent);
  color: #fff;
  transform: translateX(2px);
}
.service-card-link:hover .card-flat {
  border-color: var(--accent);
}
.service-card-link .card-flat { transition: border-color 140ms ease; }

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section { padding: var(--space-9) 0; }
.section-tight { padding: var(--space-8) 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
@media (max-width: 800px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

input, textarea, select {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--ink);
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
label { font-size: 14px; color: var(--ink-2); display: block; margin-bottom: 6px; }

/* Booking-form dropdowns.
   - 16px font: anything smaller makes iOS Safari zoom the page on focus, and
     it never zooms back out — the visitor is left on a form twice as wide.
   - 48px min-height clears the 44px minimum tap target.
   - The chevron is an inline SVG data URL so there's no extra request and it
     inherits nothing from the OS default arrow we've suppressed. */
.select-field {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 16px;
  min-height: 48px;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
/* Unselected state reads as a placeholder, not as a real answer. */
.select-field:invalid,
.select-field option[value=""] { color: var(--ink-3, var(--ink-2)); }

.fade-in { animation: fadeIn 200ms ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Site shell */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline-soft);
}
.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 18px;
  white-space: nowrap;
}
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
}
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a.active { color: var(--ink); }

.header-cta {
  display: flex;
  gap: 8px;
  align-items: center;
}
.header-phone {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.header-phone:hover { color: var(--ink); }

/* Hamburger + mobile drawer — hidden on desktop, shown under the nav breakpoint */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 6px;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.nav-toggle:hover { background: var(--bg-soft); }
.mobile-menu { display: none; }
.mobile-menu-scrim { display: none; }

@media (max-width: 1180px) {
  .nav a { padding: 8px 8px; font-size: 13px; }
}
@media (max-width: 1040px) {
  .header-phone { display: none; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .brand small { display: none; }
  .header-book { display: none; }          /* "Book" lives in the drawer on mobile */
  .nav-toggle { display: inline-flex; }

  .mobile-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
    padding: 8px 0 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-menu-links { display: flex; flex-direction: column; padding: 4px var(--space-5); }
  .mobile-menu-links a {
    text-decoration: none;
    color: var(--ink);
    font-size: 17px;
    padding: 13px 8px;
    border-radius: 8px;
    border-bottom: 1px solid var(--hairline-soft);
  }
  .mobile-menu-links a:last-child { border-bottom: 0; }
  .mobile-menu-links a:hover { background: var(--bg-soft); }
  .mobile-menu-links a.active { color: var(--accent); font-weight: 500; }
  .mobile-menu-cta { display: flex; flex-direction: column; gap: 10px; padding: 12px var(--space-5) 0; }
  .mobile-menu-cta .btn { width: 100%; justify-content: center; }

  .mobile-menu-scrim {
    display: block;
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.28);
  }
}
@media (max-width: 540px) {
  .site-header .btn-primary { padding: 10px 14px; font-size: 14px; }
  .brand { font-size: 16px; }
}

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--hairline);
  padding: var(--space-8) 0 var(--space-6);
  margin-top: var(--space-9);
}
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 0.8fr;
  gap: var(--space-6);
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 800px) {
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}

/* hero */
.hero {
  padding: var(--space-9) 0 var(--space-8);
  position: relative;
}
.hero h1 { max-width: 16ch; }
.hero p.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 52ch; line-height: 1.55; margin-top: var(--space-5); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--space-6); }
.hero-meta { display: flex; gap: var(--space-6); flex-wrap: wrap; margin-top: var(--space-7); }
.hero-meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero-meta-item .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.hero-meta-item .value { font-size: 15px; color: var(--ink); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Hero social-proof panel (photo-free) */
.hero-proof {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 18px 40px -28px rgba(27,31,38,0.25);
}
.hero-proof-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hero-proof-g {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.hero-proof-score {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-proof-num {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-proof-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}
.hero-proof-quote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink);
  text-wrap: pretty;
}
.hero-proof-author {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.hero-proof-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: var(--space-4);
  border-top: 1px solid var(--hairline-soft);
}
.hero-proof-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-2);
}
.hero-proof-foot span svg { color: var(--accent); }

/* card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.card-flat {
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

/* Pricing */
.price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-table th, .price-table td {
  text-align: left;
  padding: var(--space-4) var(--space-3);
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 15px;
}
.price-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.strike { color: var(--ink-3); text-decoration: line-through; font-size: 13px; }
.save { color: var(--signal); font-weight: 500; }

/* Pricing tabs */
.pricing-tabbar {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.pricing-tab {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}
.pricing-tab.active {
  background: var(--bg-card);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  font-weight: 500;
}
.pricing-panel { margin-top: 28px; touch-action: pan-y; }
.pricing-fade { animation: pricingFade 220ms ease both; }
@keyframes pricingFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pricing-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.pricing-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--hairline);
  cursor: pointer;
  padding: 0;
  transition: background 140ms ease, transform 140ms ease;
}
.pricing-dot.active { background: var(--accent); transform: scale(1.3); }

.welcome-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-6);
}
.welcome-price { text-align: right; }
@media (max-width: 700px) {
  .welcome-card { grid-template-columns: 1fr; }
  .welcome-price { text-align: left; }
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--hairline-soft);
  padding: var(--space-5) 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .toggle {
  width: 24px;
  height: 24px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 150ms ease;
}
.faq-item[open] summary .toggle { transform: rotate(45deg); }
.faq-item .a {
  margin-top: var(--space-3);
  color: var(--ink-2);
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.6;
}

/* booking */
.booking-shell {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* Contact / Book layout: form + "reach us directly" panel side by side on
   desktop, stacked on phones. This MUST be a class (not an inline style) so it
   can collapse — an inline two-column grid stayed side-by-side on mobile, which
   squeezed the contact panel off-screen and forced a horizontal scroll. */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-7);
  align-items: start;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}
/* On phones, lock the option buttons to two per row so the form stays short and
   quick to scan (fewer screens of scrolling) instead of one tall single column. */
@media (max-width: 560px) {
  .choice-grid { grid-template-columns: 1fr 1fr; }
}
.choice {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--bg-card);
  text-align: left;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 120ms, background 120ms;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.choice:hover { border-color: var(--ink-2); }
.choice.selected { border-color: var(--accent); background: var(--accent-soft); }
.choice .choice-title { font-weight: 500; }
.choice .choice-meta { font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); }

/* --- "When works for you?" two-column block -------------------------------
   Calendar on the left at its natural size, timeframes and the road-test date
   beside it. A calendar has an intrinsic size — letting it stretch to the full
   form width blew the day cells up to ~76px on desktop. Capping the left track
   at 300px keeps cells around 38px, and the right column absorbs the slack
   instead of the grid. Below 640px the two stack. */
.when-grid {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}
.when-grid > * { min-width: 0; }

@media (max-width: 640px) {
  .when-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* In the narrow side column the chips read better stacked full-width than
   wrapped 2-then-1. On phones the block is full width again, so they go back
   to a single row and keep the form short. */
.when-side .chip-row { flex-direction: column; }
.when-side .chip { flex: 0 0 auto; width: 100%; }

@media (max-width: 640px) {
  .when-side .chip-row { flex-direction: row; }
  .when-side .chip { flex: 1 1 0; width: auto; }
}

/* --- Inline calendar (booking form date picker) ---------------------------
   Drawn entirely from the existing tokens so it reads as part of the form.
   Sized for thumbs first: cells are square and never smaller than ~40px, which
   clears the 44px tap target once the gap is counted. */
.cal {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 10px 10px 12px;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cal-title {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.cal-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 120ms, color 120ms;
}
.cal-nav:hover:not(:disabled) { background: var(--bg-soft); color: var(--ink); }
.cal-nav:disabled { opacity: 0.25; cursor: default; }
.cal-nav:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }

.cal-weekdays,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  /* Without this the grid inherits `min-width: auto` and refuses to shrink
     below its content width, pushing the 7th column off a narrow screen. */
  min-width: 0;
}
.cal-weekdays {
  margin-bottom: 4px;
}
.cal-weekdays span {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  padding: 4px 0;
}

.cal-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  /* `min-width: 0` is what actually lets a cell shrink: a grid item's automatic
     minimum size combined with aspect-ratio was resolving to the min-height,
     which made the row wider than the card on small phones and clipped Saturday.
     Height now follows the column width instead of forcing it. */
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: background 120ms, border-color 120ms, color 120ms;
  /* Stops iOS Safari from flashing a grey box on tap. */
  -webkit-tap-highlight-color: transparent;
}
.cal-cell.is-blank { cursor: default; }
.cal-cell:hover:not(:disabled):not(.is-selected) { background: var(--bg-soft); }
.cal-cell:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }

.cal-cell.is-today { font-weight: 600; border-color: var(--hairline); }

.cal-cell.is-selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 500;
}

.cal-cell.is-disabled {
  color: var(--ink-3);
  opacity: 0.35;
  cursor: default;
}

/* Road test date: a signal-coloured dot under the number, so it's marked
   without competing with the selected-date fill. */
.cal-cell.is-roadtest::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--signal);
}
.cal-cell.is-roadtest.is-selected::after { background: #fff; }

.cal-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.cal-legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--signal);
}

/* Phones: tighten the calendar's own padding and shrink the digits so seven
   columns sit comfortably inside the card at 320px, the narrowest phone still
   in use. Cells stay ~40px square at 375px, which clears the tap target. */
@media (max-width: 560px) {
  .cal { padding: 8px 6px 10px; }
  .cal-cell { font-size: 13px; }
  .cal-weekdays span { font-size: 10px; padding: 2px 0; }
  .cal-title { font-size: 12px; }
}

/* Timeframe chips — one shared row that applies to every picked date. */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  flex: 1 1 0;
  min-width: 96px;
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--bg-card);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: border-color 120ms, background 120ms;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { border-color: var(--ink-2); }
.chip.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 500;
}
.chip:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }

/* Plain-language echo of what they picked, e.g.
   "Fri, Aug 7 · Sat, Aug 15 — mornings". Reassures without adding controls. */
.when-summary {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.when-summary strong { color: var(--ink); font-weight: 500; }

/* Inline field error (phone). Reserved space is not needed — the message only
   appears after the field is left, so nothing jumps while typing. */
.field-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--signal);
}
input.has-error,
input.has-error:focus {
  border-color: var(--signal);
}
input.has-error:focus {
  box-shadow: 0 0 0 3px var(--signal-soft);
}

.steps-bar {
  display: flex;
  gap: 8px;
  margin-bottom: var(--space-5);
}
.step-pip {
  flex: 1;
  height: 3px;
  background: var(--hairline);
  border-radius: 2px;
}
.step-pip.active { background: var(--accent); }
.step-pip.done { background: var(--accent-ink); }

/* logo strip / reviews */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-stars { color: var(--signal); font-size: 14px; letter-spacing: 2px; }
.review-author { font-size: 13px; color: var(--ink-3); font-family: var(--font-mono); }

.quote-led {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.quote-led .author { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); margin-top: var(--space-4); display: block; letter-spacing: 0.08em; text-transform: uppercase; }

.review-list-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-5);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--hairline-soft);
  align-items: baseline;
}
@media (max-width: 700px) {
  .review-list-row { grid-template-columns: 1fr; gap: 6px; }
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 15px;
  color: var(--ink-2);
}
.checklist .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 3px;
}

.divider-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: var(--space-7) 0 var(--space-5);
}
.divider-label .line { flex: 1; height: 1px; background: var(--hairline); }
.divider-label span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* page intro */
.page-intro {
  padding: var(--space-9) 0 var(--space-7);
  border-bottom: 1px solid var(--hairline-soft);
}
.page-intro .eyebrow { display: block; margin-bottom: var(--space-4); }
.page-intro h1 { max-width: 18ch; }
.page-intro p { color: var(--ink-2); font-size: clamp(17px, 1.5vw, 19px); max-width: 56ch; margin-top: var(--space-4); }

/* location page */
.location-hero {
  background: var(--bg-soft);
  padding: var(--space-9) 0 var(--space-8);
  border-bottom: 1px solid var(--hairline);
}
.location-hero h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.05;
  max-width: 15ch;
}
.local-pin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}

/* simple route map */
.route-map {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: relative;
  min-height: 280px;
}
.route-map svg { width: 100%; height: auto; display: block; }

/* Location toggle (North Vancouver / Burnaby) */
.map-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.map-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  background: var(--bg-soft);
  color: var(--ink-3);
  border: 1px solid var(--hairline);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.map-toggle-btn svg { opacity: 0.6; transition: opacity .15s ease; }
.map-toggle-btn:hover { color: var(--ink-2); border-color: var(--ink-3); }
.map-toggle-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.map-toggle-btn.active svg { opacity: 1; }

.map-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  z-index: 1;
  filter: grayscale(0.18) contrast(1.02);
}
.map-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 12px;
  background:
    repeating-linear-gradient(135deg, var(--bg-soft) 0 12px, transparent 12px 24px),
    var(--bg);
}
.map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.map-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 6px;
}
.map-chips-label {
  margin-top: 14px;
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.map-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 10px;
  white-space: nowrap;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 11px;
  font-family: var(--font-mono);
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.map-chip:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.map-chip svg { opacity: 0.7; width: 12px; height: 12px; flex: 0 0 auto; }
.map-chip:hover svg { opacity: 1; }

/* Locations page responsive grids (hero map + booking) */
.loc-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-7);
  align-items: center;
  margin-top: 24px;
}
.loc-book-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-7);
  align-items: start;
}
@media (max-width: 880px) {
  .loc-hero-grid,
  .loc-book-grid { grid-template-columns: 1fr; }
}

/* misc */
.muted { color: var(--ink-3); }
.note {
  background: var(--signal-soft);
  border: 1px solid color-mix(in oklab, var(--signal) 30%, transparent);
  color: var(--signal);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-family: var(--font-mono);
}
.draft-banner {
  background: var(--signal-soft);
  border-bottom: 1px solid color-mix(in oklab, var(--signal) 25%, transparent);
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 16px;
  text-align: center;
  letter-spacing: 0.04em;
}

/* ---- Newest-reviews marquee (infinite horizontal auto-scroll) ---- */
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-card {
  width: 300px;
  flex: 0 0 auto;
  margin-right: 16px; /* margin (not gap) keeps the -50% loop seamless */
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.marquee-text { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; flex: 1; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .marquee-card { width: 240px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; overflow-x: auto; }
  .marquee-track { animation: none; }
}

/* Cookie notice — small fixed bar, bottom-left, paper theme. */
.cookie-notice {
  position: fixed;
  left: var(--space-4);
  bottom: var(--space-4);
  z-index: 200;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 24px rgba(27, 31, 38, 0.12);
  animation: cookie-in 240ms ease both;
}
.cookie-notice-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}
.cookie-notice-text a { color: var(--accent-ink); white-space: nowrap; }
.cookie-notice-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
}
.cookie-notice-btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
@keyframes cookie-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .cookie-notice {
    left: var(--space-3);
    right: var(--space-3);
    bottom: var(--space-3);
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-notice { animation: none; }
}
