/* ==========================================================================
   5AB Auto Repairs: main stylesheet
   Mobile-first. Colours, type and spacing are tokens in :root.
   ========================================================================== */

:root {
  /* Brand palette (business card): navy, card blue, yellow */
  --navy: #173257;        /* main dark backgrounds: header, hero, footer, dark sections */
  --navy-deep: #112743;   /* gradient depth under the navy */
  --navy-2: #1e3f6b;      /* raised panels on navy */
  --navy-3: #28518a;      /* hover on navy */
  --blue: #3f86b5;        /* card blue: bands, icon tiles, avatars (white/navy text only at large sizes) */
  --on-dark: #ffffff;
  --on-dark-muted: #c9d6e6;
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Light palette */
  --white: #ffffff;
  --paper: #f1f5f9;
  --text: #132a46;
  --body: #2e3b4e;
  --muted: #4a5a6e;
  --line: #dce4ed;

  /* Accent: yellow. Use navy text on it, never white.
     --accent-ink is a darker card blue for accent-coloured TEXT on light backgrounds (AA, ~5.8:1). */
  --accent: #f5d20f;
  --accent-hover: #ffe14a;
  --accent-ink: #2b6a94;
  --error: #b42318;
  --gold: #f5d20f;   /* review stars */
  --focus: var(--accent-ink);

  --font: "Barlow", "Barlow Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Barlow Condensed", "Barlow Condensed Fallback", "Barlow", system-ui, sans-serif;

  /* Type scale: used by every page so headings, body and buttons stay consistent */
  --fs-display: clamp(2.75rem, 1.6rem + 5.2vw, 5.25rem);  /* home hero */
  --fs-h1: clamp(2.5rem, 1.75rem + 3.6vw, 4.25rem);
  --fs-h2: clamp(2rem, 1.55rem + 2.1vw, 3rem);
  --fs-h2-sm: clamp(1.75rem, 1.5rem + 1.2vw, 2.25rem);    /* headings inside panels and articles */
  --fs-h3: 1.5rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.8125rem;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(17, 39, 67, 0.06), 0 4px 14px rgba(17, 39, 67, 0.07);
  --shadow: 0 2px 6px rgba(17, 39, 67, 0.06), 0 18px 44px rgba(17, 39, 67, 0.15);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --gutter: 16px;
  --section-y: 64px;
  --header-h: 92px;           /* phone */
  --header-h-scrolled: 76px;
  --logo-h: 70px;
  --logo-h-scrolled: 60px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 96px; --header-h: 108px; --header-h-scrolled: 84px; --logo-h: 84px; --logo-h-scrolled: 66px; }  /* tablet */
}
@media (min-width: 1024px) {
  :root { --header-h: 124px; --header-h-scrolled: 92px; --logo-h: 100px; --logo-h-scrolled: 76px; }  /* desktop */
}
@media (min-width: 1200px) {
  :root { --section-y: 120px; }
}

/* Metric-matched fallbacks so text barely moves when the web fonts arrive (reduces layout shift) */
@font-face { font-family: "Barlow Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 93%; }
@font-face { font-family: "Barlow Condensed Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 80%; }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open { overflow: hidden; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  color: var(--text);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); text-transform: uppercase; letter-spacing: -0.005em; }
h2 { font-size: var(--fs-h2); text-transform: uppercase; }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
p { margin: 0 0 1em; }
a { color: inherit; text-underline-offset: 0.2em; }
strong { color: var(--text); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--accent); color: var(--navy);
  padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Dark contexts use the bright accent for focus rings */
.site-header, .hero, .page-hero, .section--dark, .site-footer, .book-card, .mobile-bar { --focus: var(--accent); }

/* ---------- Icons ---------- */
.icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 50px;
  padding: 0.75em 1.5em;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .icon { width: 1.2em; height: 1.2em; transition: transform 0.25s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0.55em 1.15em; font-size: 0.95rem; }
.btn--lg { min-height: 56px; padding: 0.85em 1.75em; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--accent); color: var(--navy); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245, 210, 15, 0.35); }

.btn--ghost { border-color: rgba(255, 255, 255, 0.3); color: var(--on-dark); background: transparent; }
.btn--ghost:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }

.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-3); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17, 39, 67, 0.3); }

.btn--outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn--outline:hover { background: var(--text); color: var(--white); transform: translateY(-2px); }

.btn--outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline-dark:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
/* Fixed (not sticky) so the shrink on scroll never pushes content around.
   Transparent over the dark hero at the top; solid with a shadow once scrolled. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  color: var(--on-dark);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.site-header.is-scrolled,
.nav-open .site-header {
  background: var(--navy);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 10px 30px rgba(8, 20, 38, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .header__inner { height: var(--header-h-scrolled); }

/* Logo (images/5AB-logo-dark-bg-trimmed.svg). Height comes from --logo-h (70 / 84 / 100px for phone / tablet / desktop);
   width follows the file's ratio so it is never stretched or squashed. Never below 56px when the header shrinks on scroll. */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 48px;
  border-radius: 6px;
  text-decoration: none;
}
.brand__logo {
  display: block;
  width: auto;
  max-width: none;
  height: 44px;
  object-fit: contain;
  transition: transform 0.3s var(--ease), height 0.3s var(--ease);
}
.brand:hover .brand__logo { transform: scale(1.04); }
.site-header .brand__logo { height: var(--logo-h); }
.site-header.is-scrolled .brand__logo { height: var(--logo-h-scrolled); }
.brand--footer .brand__logo { height: 72px; }

/* Mobile nav panel (hidden until toggled) */
.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - 100%);
  height: calc(100dvh - 100%);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 16px var(--gutter) 120px;
  background: var(--navy);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-dark);
}
.nav__list a[aria-current="page"] { color: var(--accent); }
.nav__cta { display: flex; flex-direction: column; gap: 14px; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  font-weight: 700; font-size: 1.2rem;
  text-decoration: none; color: var(--on-dark);
}
.nav__phone .icon { color: var(--accent); width: 20px; height: 20px; }
.nav__phone:hover span { text-decoration: underline; }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  color: var(--on-dark);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav {
    position: static;
    height: auto;
    overflow: visible;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
    background: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav__list { display: flex; gap: 4px; }
  .nav__list a {
    position: relative;
    padding: 8px 14px;
    border: 0;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    color: var(--on-dark-muted);
    transition: color 0.2s;
  }
  .nav__list a::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 2px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }
  .nav__list a:hover { color: var(--accent); }
  .nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
  .nav__list a[aria-current="page"] { color: var(--on-dark); }
  .nav__cta { flex-direction: row; align-items: center; gap: 22px; }
  .nav__phone { font-size: 1rem; }
  .nav-toggle { display: none; }
}

/* ---------- Dark hero areas (home hero + inner page heroes) ---------- */
.hero, .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-dark-muted);
}
.hero h1, .hero h2, .hero h3,
.page-hero h1, .page-hero h2,
.section--dark h2, .section--dark h3 { color: var(--on-dark); }

/* Inner pages: gradient + fine grid */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 70% at 88% 10%, rgba(63, 134, 181, 0.45), transparent 65%),
    radial-gradient(40% 50% at 0% 100%, rgba(245, 210, 15, 0.07), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero .eyebrow, .page-hero .eyebrow, .section--dark .eyebrow, .book-card .eyebrow { color: var(--accent); }

/* ---------- Home hero: full-width background photo with dark overlay ---------- */
.hero {
  display: flex;
  align-items: center;
  min-height: min(100svh, 880px);
  padding-block: calc(var(--header-h) + 48px) 56px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* Shown while the hero photo is hidden; a real <img class="hero__img"> covers it */
  background:
    radial-gradient(60% 80% at 82% 25%, rgba(63, 134, 181, 0.45), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(245, 210, 15, 0.06), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
}
.hero__img,
.hero__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Keep the hoists (right of frame) in view; the text side is covered by the overlay */
.hero__img { object-position: 65% 50%; }
.hero__ph {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 var(--gutter) 24px;
  background:
    radial-gradient(60% 80% at 80% 30%, rgba(63, 134, 181, 0.4), transparent 70%),
    repeating-linear-gradient(135deg, #183459 0 18px, #1c3a63 18px 36px);
}
.hero__ph .ph__label { background: rgba(17, 39, 67, 0.88); color: var(--on-dark-muted); border: 1px dashed rgba(255, 255, 255, 0.25); }
/* Overlay: dark on the text side, lighter on the photo side, fading into the trust bar */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 50, 87, 0.95) 0%, rgba(23, 50, 87, 0.82) 45%, rgba(23, 50, 87, 0.4) 100%),
    linear-gradient(0deg, rgba(17, 39, 67, 0.85) 0%, rgba(17, 39, 67, 0) 35%);
}
.hero__inner { width: 100%; }
.hero__content { max-width: 760px; }
.hero__title { margin-bottom: 24px; font-size: var(--fs-display); line-height: 0.98; }
.hero__title .accent { color: var(--accent); }
.hero__lead { max-width: 36em; margin-bottom: 0; font-size: var(--fs-lead); color: var(--on-dark-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__actions .btn { flex: 1 1 240px; }
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--on-dark);
}
.hero__points li { display: inline-flex; align-items: center; gap: 10px; }
.hero__points .icon {
  width: 22px; height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(245, 210, 15, 0.16);
  color: var(--accent);
  stroke-width: 3;
}
/* Licence / inspection station / MTA badge strip */
.hero__credentials { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.hero__credential {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(245, 210, 15, 0.5);
  border-radius: 999px;
  background: rgba(17, 39, 67, 0.55);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--white);
}
.hero__credential .icon { flex: none; width: 20px; height: 20px; color: var(--accent); }
.hero__credential strong { color: var(--accent); font-weight: 700; }
/* Compact special-offers strip in the hero (links down to #offers) */
.hero-offers { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; }
.hero-offers__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-offers__label .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.hero-offers__list { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hero-offer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(245, 210, 15, 0.45);
  border-radius: 10px;
  background: rgba(17, 39, 67, 0.6);
  color: var(--white);
  font-size: var(--fs-small);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.hero-offer .icon { width: 20px; height: 20px; color: var(--accent); transition: color 0.2s; }
.hero-offer:hover { background: var(--accent); border-color: var(--accent); color: var(--navy); transform: translateY(-2px); }
.hero-offer:hover .icon { color: var(--navy); }
@media (max-width: 639px) {
  .hero-offers { display: block; }
  .hero-offers__label { margin-bottom: 10px; }
  /* One row that scrolls sideways inside the strip only */
  .hero-offers__list {
    margin: 0 calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
  }
  .hero-offers__list li { flex: 0 0 auto; scroll-snap-align: start; }
}
/* Short laptop screens (e.g. 1366x768): tighten the hero so the offers strip shows without scrolling */
@media (min-width: 1024px) and (max-height: 860px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 24px); }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero__title { margin-bottom: 16px; font-size: clamp(3rem, 1rem + 4vw, 4.5rem); }
  .hero__actions { margin-top: 24px; }
  .hero__points { margin-top: 18px; }
  .hero__credentials { margin-top: 14px; }
  .hero-offers { margin-top: 14px; }
}
@media (min-width: 640px) { .hero__actions .btn { flex: 0 0 auto; } }
@media (min-width: 960px) { .hero { padding-bottom: 72px; } }

/* Offset accent outline behind photos */
.frame { position: relative; isolation: isolate; }
.frame picture { display: block; }
.frame::before {
  content: "";
  position: absolute;
  inset: 14px -10px -14px 14px;
  z-index: -1;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  opacity: 0.55;
}

.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars .icon { width: 18px; height: 18px; }
.stars--gold { color: var(--gold); }

/* Partial star rating (e.g. 4.4): grey base with a gold layer clipped to width */
.stars-meter { position: relative; display: inline-flex; }
.stars-meter__base, .stars-meter__fill { display: inline-flex; gap: 2px; }
.stars-meter__base { color: #cfd9e5; }
.stars-meter__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--gold); }
.stars-meter .icon { width: 18px; height: 18px; }

/* ---------- Trust bar ---------- */
.trust { position: relative; z-index: 2; margin-top: -60px; }
.trust__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0; padding: 0; list-style: none;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.trust__item { display: flex; flex-direction: column; gap: 4px; padding: 20px 18px; background: var(--white); }
.trust__item .icon { width: 28px; height: 28px; margin-bottom: 8px; color: var(--blue); }
.trust__value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; line-height: 1; text-transform: uppercase; color: var(--text); }
.trust__label { font-size: var(--fs-small); line-height: 1.35; color: var(--muted); }
@media (min-width: 768px) {
  .trust__list { grid-template-columns: repeat(4, 1fr); }
  .trust__item { padding: 28px; }
  .trust__value { font-size: 1.85rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }

/* Card-blue band (business card colour). Contrast rules on #3f86b5:
   only large white headings sit directly on it; small text goes on white or navy surfaces. */
.section--blue { --focus: var(--navy); background: var(--blue); }
.section--blue h2 { color: var(--white); }
.section--blue .eyebrow { padding: 6px 14px; border-radius: 999px; background: var(--navy); color: var(--accent); }
.section--blue .eyebrow::before { width: 16px; }
.section--blue .rating { background: var(--white); box-shadow: var(--shadow-sm); }
.section--blue .review { background: var(--white); box-shadow: var(--shadow-sm); }
.section--blue .reviews__hint { font-size: 1.2rem; font-weight: 700; color: var(--white); }
.section--blue .btn--outline { border-color: var(--navy); background: var(--navy); color: var(--white); }
.section--blue .btn--outline:hover { border-color: var(--accent); background: var(--accent); color: var(--navy); }
.section--dark { background: var(--navy); color: var(--on-dark-muted); }
.section--tight-top { padding-top: clamp(40px, 6vw, 72px); }

.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head > :last-child { margin-bottom: 0; }
.section__foot { display: flex; justify-content: center; margin-top: 48px; }

.lead { font-size: var(--fs-lead); color: var(--muted); }
.section--dark .lead { color: var(--on-dark-muted); }

/* ---------- Special offers (home) ---------- */
.section--offers { --focus: var(--accent); position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); }
/* On the home page the white stats bar overlaps the bottom of this band */
.section--offers + .trust { margin-top: -60px; }
.section--offers { padding-bottom: calc(var(--section-y) + 24px); }
.section--offers::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(63, 134, 181, 0.35), transparent 70%),
    repeating-linear-gradient(-45deg, rgba(245, 210, 15, 0.05) 0 14px, transparent 14px 28px);
}
.section--offers .container { position: relative; }
.section--offers h2 { color: var(--white); }
.section--offers .eyebrow { color: var(--accent); }
.section--offers .lead { color: var(--on-dark-muted); }

.offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 960px) { .offers { gap: 24px; } }
.offer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  border-top: 6px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(8, 20, 38, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.offer:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(8, 20, 38, 0.45); }
.offer__tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.offer__tag .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.offer__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--navy); color: var(--accent); }
.offer__icon .icon { width: 28px; height: 28px; }
.offer h3 { margin: 4px 0 0; text-transform: uppercase; }
.offer p { flex-grow: 1; margin: 0; color: var(--muted); }
.offer .btn { width: 100%; margin-top: 6px; }

/* Services page: slim call-out linking to the offers */
.offer-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.offer-callout__icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--accent); }
.offer-callout p { flex: 1 1 260px; margin: 0; color: var(--body); }
.offer-callout p a { color: var(--text); font-weight: 700; padding-block: 12px; }
.offer-callout p a:hover { color: var(--accent-ink); }
/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
/* Services page: 8 cards fill complete rows at every width (1 / 2 / 4 columns) */
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.card__icon .icon { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--accent); color: var(--navy); transform: rotate(-6deg); }
.card__title { margin: 8px 0 0; font-size: var(--fs-h3); text-transform: uppercase; }
.card__link { text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: -3px; }
.card__text { flex-grow: 1; margin: 0; color: var(--muted); }
.card__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px;
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-ink);
}
.card__more .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.card:hover .card__more .icon, .card:focus-within .card__more .icon { transform: translateX(6px); }

/* ---------- Split layout ---------- */
.split { display: grid; gap: 56px; align-items: center; }
.split__media { width: 100%; max-width: 560px; justify-self: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.1fr 0.9fr; gap: 80px; } }

/* Split sections while their photo is hidden (see the PHOTO SLOT comments in the HTML) */
.split.split--solo { grid-template-columns: 1fr; }
.split--solo .split__content > p,
.split--solo .split__content > .reveal:first-child { max-width: 760px; }
@media (min-width: 960px) {
  .split--solo .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split--solo .value:hover { transform: translateY(-4px); }
}
/* About story: text + "At a glance" card while the workshop photo is hidden */
@media (min-width: 960px) { .split--about { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); align-items: start; } }
/* About: workshop photo stacked above the "At a glance" card */
.split__aside { display: grid; gap: 40px; }
.facts {
  padding: clamp(24px, 3vw, 36px);
  background: var(--navy);
  color: var(--on-dark-muted);
  border-top: 6px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  --focus: var(--accent);
}
.facts__title { margin-bottom: 20px; color: var(--white); font-size: var(--fs-h3); text-transform: uppercase; }
.facts__list { display: grid; gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; }
.facts__list li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; }
.facts__list .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--accent); }
.facts__list strong { color: var(--white); }
/* ---------- Values ---------- */
.values { display: grid; gap: 14px; margin: 36px 0; }
.value {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  background: var(--navy-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s, transform 0.35s var(--ease), background-color 0.3s;
}
.value:hover { border-color: rgba(245, 210, 15, 0.6); background: var(--navy-3); transform: translateX(4px); }
.value__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: rgba(245, 210, 15, 0.14); color: var(--accent); }
.value h3 { margin-bottom: 4px; font-size: var(--fs-h3); }
.value p { margin: 0; }

/* ---------- Checklists ---------- */
.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.18em;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173257' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.checklist--warn li::before {
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5d20f' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v7M12 18h.01'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.section--dark .checklist li { color: var(--on-dark); }
@media (min-width: 640px) { .checklist--cols { grid-template-columns: 1fr 1fr; gap: 14px 32px; } }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
  position: relative;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__num { position: absolute; top: 24px; right: 28px; font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--accent-ink); opacity: 0.9; }
.step__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 12px; background: var(--blue); color: var(--white); }
.step__icon .icon { width: 28px; height: 28px; }
.steps--dark .step__icon { background: var(--blue); color: var(--white); }
.step h3 { padding-right: 64px; font-size: var(--fs-h3); text-transform: uppercase; } /* room for the corner number */
.step p { margin: 0; color: var(--muted); }
.steps--dark .step { background: var(--navy-2); border-color: var(--line-dark); }
.steps--dark .step__num { color: var(--accent); }
.steps--dark .step p { color: var(--on-dark-muted); }

/* ---------- Reviews ---------- */
.rating {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: 8px; padding: 10px 22px;
  background: var(--paper);
  border-radius: 999px;
}
.rating__score { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1; color: var(--text); }
.rating__label { font-weight: 600; color: var(--muted); }

/* Reviews: swipeable carousel on phones, grid from 640px */
.reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 85%;
  gap: 16px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 16px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.reviews:focus-visible { outline-offset: -3px; }
.reviews__item { display: flex; scroll-snap-align: start; }
.reviews__item .review { width: 100%; }
.reviews__hint { margin: 8px 0 0; text-align: center; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
@media (min-width: 640px) {
  .reviews { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 0; padding: 0; overflow: visible; }
  .reviews__hint { display: none; }
}
@media (min-width: 960px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.review {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 28px;
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s, border-color 0.35s;
}
.review:hover { transform: translateY(-6px); background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.review .stars .icon { width: 20px; height: 20px; }
.review blockquote { flex-grow: 1; margin: 0; }
.review blockquote p { margin: 0; font-size: 1.08rem; line-height: 1.6; color: var(--text); }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.review__name { display: block; font-weight: 700; line-height: 1.2; color: var(--text); }
.review__source { display: block; font-size: 0.9rem; color: var(--muted); }

/* ---------- Visit / hours / map ---------- */
.visit { display: grid; gap: 24px; }
@media (min-width: 960px) { .visit { grid-template-columns: 5fr 7fr; } }

.panel {
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.panel h2 { font-size: var(--fs-h2-sm); }

.panel__subtitle { margin-top: 32px; font-size: 1.25rem; text-transform: uppercase; }

/* Live "Open now" line above the hours table (filled in by main.js) */
.hours-status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--paper); font-size: var(--fs-small); font-weight: 600; color: var(--text); }
.hours-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #8a99ab; }
.hours-status.is-open::before { background: #1e8a4c; box-shadow: 0 0 0 3px rgba(30, 138, 76, 0.2); }
.hours-status strong { font-weight: 700; }

.hours { width: 100%; margin: 4px 0 28px; border-collapse: collapse; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; text-align: left; }
.hours th { color: var(--text); }
.hours td { text-align: right; color: var(--muted); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent-ink); font-weight: 700; }
.hours tr.is-today th::after {
  content: "Today";
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--navy);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.contact-list { display: grid; gap: 16px; margin: 0 0 28px; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-list .icon { margin-top: 4px; color: var(--accent-ink); }
.contact-list__label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-list a { display: inline-block; padding-block: 10px; margin-block: -10px; font-weight: 600; color: var(--text); text-decoration: none; overflow-wrap: break-word; }
.contact-list a:hover { text-decoration: underline; color: var(--accent-ink); }

.map {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-2);
  box-shadow: var(--shadow-sm);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map--compact { min-height: 300px; margin-top: 20px; }

/* Contact: shopfront photo to help first-time visitors find the workshop */
.find-us { margin: 20px 0 0; }
.find-us picture { display: block; }
.find-us figcaption { margin-top: 12px; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
.find-us figcaption strong { color: var(--text); }

/* ---------- CTA band ---------- */
.cta-band {
  --focus: var(--navy);
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 88px);
  background: var(--accent);
  color: var(--navy);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.045) 0 14px, transparent 14px 28px);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
  mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta-band__inner { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 48px; } }
.cta-band__title { margin-bottom: 8px; color: var(--navy); font-size: var(--fs-h2); }
.cta-band p { margin: 0; font-size: 1.15rem; font-weight: 500; color: var(--navy); }

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: calc(var(--header-h) + 32px) clamp(64px, 8vw, 96px); }
.page-hero h1 { max-width: 18ch; }
.page-hero__lead { max-width: 42em; margin-bottom: 32px; font-size: var(--fs-lead); }
.page-hero__lead a { color: var(--on-dark); font-weight: 600; padding-block: 12px; }
.page-hero__icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--navy);
}
.page-hero__icon .icon { width: 32px; height: 32px; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 32px; padding: 0; list-style: none; font-size: 0.92rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.45; }
.breadcrumb a { display: inline-block; min-width: 44px; padding-block: 12px; margin-block: -12px; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb a[aria-current="page"] { color: var(--on-dark); }

.page-hero--404 { padding-block: calc(var(--header-h) + 56px) clamp(72px, 10vw, 120px); }
.error-code {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 12rem);
  font-weight: 700;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}

/* ---------- Service page ---------- */
.service-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .service-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: start; }
  .service-aside { position: sticky; top: calc(var(--header-h-scrolled) + 24px); }
}
.prose > * + * { margin-top: 56px; }
.prose h2 { font-size: var(--fs-h2-sm); }
.prose p { font-size: 1.0625rem; }

.book-card {
  padding: 32px;
  background: var(--navy);
  color: var(--on-dark-muted);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.book-card__title { color: var(--on-dark); font-size: var(--fs-h2-sm); }
.book-card .btn + .btn { margin-top: 12px; }
.book-card__meta { display: grid; gap: 12px; margin: 24px 0 0; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--line-dark); font-size: 0.97rem; }
.book-card__meta li { display: flex; align-items: center; gap: 12px; }
.book-card__meta .icon { width: 20px; height: 20px; color: var(--accent); }

/* FAQ accordion */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq__item:hover { border-color: #b8c6d6; }
.faq__item[open] { border-color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); transition: background-color 0.25s, transform 0.3s var(--ease); }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--accent); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 20px 20px; color: var(--muted); }
.faq__a p { margin: 0; font-size: 1.05rem; }

/* ---------- Photo placeholders ---------- */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 16px;
  text-align: center;
  border: 2px dashed #b8c6d6;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--paper) 0 14px, #e4ebf3 14px 28px);
}
.ph__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.ph__label .icon { width: 18px; height: 18px; }
.hero .ph, .section--dark .ph {
  border-color: rgba(255, 255, 255, 0.2);
  background: repeating-linear-gradient(135deg, var(--navy-2) 0 14px, var(--navy-3) 14px 28px);
}
.hero .ph__label, .section--dark .ph__label { background: rgba(17, 39, 67, 0.88); color: var(--on-dark-muted); }

/* Real photos dropped in later use the same ratio classes */
.photo { width: 100%; border-radius: var(--radius); object-fit: cover; background: var(--paper); }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-1x1 { aspect-ratio: 1 / 1; }

/* ---------- About: gallery ---------- */

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery__item { overflow: hidden; border-radius: var(--radius); }
.gallery__item picture { display: block; height: 100%; }
.gallery__item .ph, .gallery__item .photo { height: 100%; transition: transform 0.4s var(--ease); }
.gallery__item:hover .ph, .gallery__item:hover .photo { transform: scale(1.02); }
.gallery__item--feature, .gallery__item--wide-sm { grid-column: span 2; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .gallery__item--feature { grid-column: span 2; grid-row: span 2; }
  .gallery__item--feature .ph, .gallery__item--feature .photo { aspect-ratio: auto; }
  .gallery__item--wide-sm { grid-column: auto; }
}

/* ---------- Contact / booking form ---------- */
.contact-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; } }

.form-card {
  padding: clamp(24px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form__title { font-size: var(--fs-h2-sm); margin-bottom: 8px; }
.form fieldset { margin: 0 0 32px; padding: 0; border: 0; min-width: 0; }
.form legend {
  width: 100%;
  margin-bottom: 18px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
}
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
@media (min-width: 1200px) { .form-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.field label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--text); }
.req { color: var(--accent-ink); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid #aebccc;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: #5f6f82; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #7d8da0; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 4px rgba(63, 134, 181, 0.35);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23132a46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 20px no-repeat;
}
.field textarea { min-height: 140px; resize: vertical; }
.field__hint { margin: 6px 0 0; font-size: 0.9rem; color: var(--muted); }
.field__error { display: none; margin: 6px 0 0; font-size: 0.92rem; font-weight: 600; color: var(--error); }
.field.has-error .field__error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }

.form-note { font-size: 0.95rem; color: var(--muted); }
.form__actions { display: grid; gap: 12px; justify-items: start; }
.form__actions .form-note { margin: 0; }
.form-status:empty { display: none; }
.form-status {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid #f3c1bb;
  border-radius: var(--radius-sm);
  background: #fdeeec;
  color: #7a1c12;
  font-weight: 600;
}
.form-status a { color: inherit; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { padding: clamp(24px, 6vw, 56px) 8px; text-align: center; }
.form-success:focus { outline: none; }
.form-success h2 { font-size: var(--fs-h2-sm); }
.form-success p { max-width: 34em; margin-inline: auto; margin-bottom: 28px; color: var(--muted); }
.form-success a:not(.btn) { color: var(--accent-ink); font-weight: 700; }
.form-success__icon {
  display: grid; place-items: center;
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  animation: pop 0.5s var(--ease) both;
}
.form-success__icon .icon { width: 40px; height: 40px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }
.page-hero--thanks { padding-block: calc(var(--header-h) + 56px) clamp(72px, 10vw, 120px); }
.page-hero--thanks .form-success__icon { margin: 0 0 24px; }

.contact-aside .contact-list { margin-bottom: 0; }
.contact-aside .hours { margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 72px; background: var(--navy); color: var(--on-dark-muted); font-size: 0.98rem; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.3fr 1fr 0.7fr 1.2fr; gap: 48px; } }
.footer__brand p { max-width: 30em; margin: 20px 0 24px; }
.footer__title { margin-bottom: 18px; font-size: 1.1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark); }
.footer__links { display: grid; gap: 0; margin: -10px 0 0; padding: 0; list-style: none; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.footer__links a, .footer__contact a, .footer__bottom a { text-decoration: none; transition: color 0.2s; }
.footer__links a:hover, .footer__contact a:hover, .footer__bottom a:hover { color: var(--accent); text-decoration: underline; }
.footer__contact { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.footer__contact a { display: inline-block; padding-block: 10px; margin-block: -10px; overflow-wrap: break-word; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 56px; padding-block: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.9rem;
}
.footer__bottom p { margin: 0; }

/* ---------- Mobile call / book bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(23, 50, 87, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
}
.mobile-bar .btn { min-height: 48px; }
@media (max-width: 767px) { body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 16px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 45;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s, background-color 0.2s, color 0.2s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.2s, color 0.2s;
}
.to-top:hover { background: var(--accent); color: var(--navy); transform: translateY(-3px); }
.to-top .icon { width: 22px; height: 22px; }
@media (min-width: 768px) {
  .to-top { right: 24px; bottom: 24px; }
  .footer__bottom { padding-right: 64px; } /* keep the footer text clear of the back-to-top button */
}

/* Inline links inside text: larger tap area without changing the layout */
.form-success p a, .form-status a { padding-block: 10px; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal {
  --delay: calc(var(--d, 0) * 90ms);
  opacity: 0;
  translate: 0 26px;
  transition:
    opacity 0.7s var(--ease) var(--delay),
    translate 0.7s var(--ease) var(--delay),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s,
    background-color 0.35s;
}
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; translate: none; }
}

@media print {
  .site-header, .mobile-bar, .to-top, .cta-band, .map { display: none !important; }
  body { padding: 0; }
}
