/* ==========================================================================
   Keith McCracken Automotive - mockup stylesheet
   Implements 03-design/design-system.md exactly.
   Display: Fraunces. Body: Archivo. Accent: Scarab green #0B6E4F.
   Motif: the "bezel tick". Every element border-radius:0. No glass, no blur.
   ========================================================================== */

/* ---- Design tokens (:root) ---- */
:root {
  /* Colour: core */
  --charcoal:        #13211B;
  --ink:             #1C2A24;
  --accent:          #0B6E4F;
  --accent-700:      #08503A;
  --accent-tint:     #E4F0EA;
  --steel:           #5C6B64;
  --aluminium:       #9AA8A1;
  --line:            #D5DCD8;
  --surface:         #F3F1EC;
  --bg:              #FAF8F3;
  --white:           #FFFFFF;

  /* Colour: caution / quote */
  --amber:           #C2701C;
  --amber-tint:      #F7ECDD;

  /* Colour: status */
  --success:         #0B6E4F;
  --success-tint:    #E4F0EA;
  --error:           #A4291E;
  --error-tint:      #F6E3E0;

  /* Semantic aliases */
  --color-bg:        var(--bg);
  --color-surface:   var(--surface);
  --color-ink:       var(--ink);
  --color-muted:     var(--steel);
  --color-accent:    var(--accent);
  --color-line:      var(--line);
  --color-inverse:   var(--bg);
  --color-dark-bg:   var(--charcoal);

  /* Type families */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Fluid type scale (clamp: 360 floor -> 1280 ceiling) */
  --fs-display:  clamp(2.50rem, 1.30rem + 5.6vw, 4.75rem);
  --fs-h1:       clamp(2.00rem, 1.25rem + 3.4vw, 3.50rem);
  --fs-h2:       clamp(1.625rem, 1.10rem + 2.3vw, 2.50rem);
  --fs-h3:       clamp(1.3125rem, 1.05rem + 1.1vw, 1.75rem);
  --fs-h4:       clamp(1.125rem, 1.04rem + 0.35vw, 1.3125rem);
  --fs-h5:       clamp(1.00rem, 0.96rem + 0.18vw, 1.125rem);
  --fs-h6:       clamp(0.8125rem, 0.79rem + 0.10vw, 0.875rem);
  --fs-lead:     clamp(1.1875rem, 1.05rem + 0.6vw, 1.375rem);
  --fs-body:     clamp(1.00rem, 0.95rem + 0.22vw, 1.125rem);
  --fs-small:    clamp(0.875rem, 0.85rem + 0.10vw, 0.9375rem);
  --fs-xs:       clamp(0.75rem, 0.74rem + 0.05vw, 0.8125rem);
  --fs-overline: clamp(0.75rem, 0.74rem + 0.05vw, 0.8125rem);

  /* Line-heights */
  --lh-display: 1.02;
  --lh-h1:      1.05;
  --lh-h2:      1.10;
  --lh-h3:      1.15;
  --lh-tight:   1.20;
  --lh-snug:    1.30;
  --lh-lead:    1.45;
  --lh-body:    1.65;

  /* Letter-spacing */
  --ls-display: -0.02em;
  --ls-h1:      -0.015em;
  --ls-h2:      -0.01em;
  --ls-h3:      -0.005em;
  --ls-flat:     0;
  --ls-label:    0.06em;
  --ls-overline: 0.14em;

  /* Font weights */
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;

  /* Spacing scale (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Layout */
  --container:    1200px;
  --container-wide: 1360px;
  --measure:      68ch;
  --measure-lead: 60ch;
  --gutter:       clamp(1rem, 0.6rem + 2vw, 2.5rem);

  /* Borders (square, always) */
  --radius: 0;
  --border-hair: 1px solid var(--line);
  --border-ink:  2px solid var(--ink);
  --border-accent: 2px solid var(--accent);

  /* Elevation: flat by design */
  --shadow-none: none;
  --shadow-1: 0 1px 0 0 var(--line);
  --shadow-2: 0 2px 0 0 var(--ink);

  /* Motion */
  --dur-fast: 120ms;
  --dur-base: 180ms;
  --ease: cubic-bezier(0.2, 0, 0.2, 1);

  /* Focus */
  --focus-ring: 0 0 0 2px var(--white), 0 0 0 4px var(--accent);

  /* Z-index */
  --z-header: 100;
  --z-menu:   200;
  --z-skip:   300;
}

/* ---- Global base / reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  border-radius: 0 !important;   /* hard constraint, enforced globally */
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--font-display); font-weight: var(--fw-semi); }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); font-weight: var(--fw-bold); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); }
h4 { font-family: var(--font-body); font-size: var(--fs-h4); font-weight: var(--fw-semi); line-height: var(--lh-tight); }
h5 { font-family: var(--font-body); font-size: var(--fs-h5); font-weight: var(--fw-semi); line-height: var(--lh-snug); }
h6 {
  font-family: var(--font-body); font-size: var(--fs-h6); font-weight: var(--fw-bold);
  line-height: var(--lh-snug); letter-spacing: var(--ls-label); text-transform: uppercase;
}
h1, h2 { text-wrap: balance; }
p { max-width: var(--measure); }
.lead {
  font-family: var(--font-display); font-weight: var(--fw-regular);
  font-size: var(--fs-lead); line-height: var(--lh-lead); max-width: var(--measure-lead);
}
.overline {
  font-family: var(--font-body); font-size: var(--fs-overline); font-weight: var(--fw-semi);
  letter-spacing: var(--ls-overline); text-transform: uppercase; color: var(--accent);
  margin: 0;
}
small, .small { font-size: var(--fs-small); }
.xs { font-size: var(--fs-xs); }

a { color: var(--accent); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-700); text-decoration-thickness: 2px; }

ul, ol { line-height: var(--lh-body); }

/* Container */
.container {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }

/* Utility: measure-limited body */
.measure { max-width: var(--measure); }
.muted { color: var(--steel); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---- Accessibility primitives ---- */
.skip-link {
  position: absolute; left: var(--space-4); top: -100%;
  z-index: var(--z-skip);
  background: var(--charcoal); color: var(--bg);
  padding: var(--space-3) var(--space-4);
  font-weight: var(--fw-semi); text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

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

/* ==========================================================================
   Header / navigation (identical on every page)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--bg);
  border-bottom: var(--border-hair);
  transition: box-shadow var(--dur-base) var(--ease);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); min-height: 72px;
  transition: min-height var(--dur-base) var(--ease);
}
/* Condensed sticky state */
.site-header.is-condensed { box-shadow: var(--shadow-1); }
.site-header.is-condensed .site-header__bar { min-height: 60px; }

.wordmark {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 1.25rem; letter-spacing: -0.01em; color: var(--ink);
  text-decoration: none; line-height: 1.05; display: inline-flex;
  align-items: center; gap: var(--space-3);
}
.wordmark::before {
  content: ""; width: 22px; height: 3px; background: var(--accent);
  display: inline-block; align-self: flex-start; margin-top: 4px;
  flex: 0 0 auto;
}
.wordmark small {
  display: block; font-family: var(--font-body);
  font-size: var(--fs-xs); font-weight: var(--fw-medium); letter-spacing: 0.04em;
  color: var(--steel); text-transform: uppercase;
}
.wordmark:hover { color: var(--ink); }

/* Desktop nav */
.nav { display: none; }
@media (min-width: 1080px) {
  .nav { display: flex; align-items: center; gap: var(--space-5); }
  .nav__link {
    font-family: var(--font-body); font-weight: var(--fw-medium);
    font-size: var(--fs-small); color: var(--ink); text-decoration: none;
    padding: var(--space-2) 0; position: relative;
    min-height: 44px; display: inline-flex; align-items: center;
    transition: color var(--dur-base) var(--ease);
  }
  .nav__link:hover { color: var(--accent); }
  .nav__link[aria-current="page"] { color: var(--accent); }
  .nav__link[aria-current="page"]::after,
  .nav__link:hover::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 8px;
    height: 2px; background: var(--accent);
  }
}

.header__actions { display: flex; align-items: center; gap: var(--space-4); }
.header__phone {
  font-family: var(--font-body); font-weight: var(--fw-semi);
  font-size: var(--fs-small); color: var(--ink); text-decoration: none;
  white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center;
  font-variant-numeric: tabular-nums;
  transition: color var(--dur-base) var(--ease);
}
.header__phone:hover { color: var(--accent); }

.header__cta { display: none; }
@media (min-width: 1080px) { .header__cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: transparent;
  border: var(--border-hair); color: var(--ink); cursor: pointer;
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.menu-toggle:hover { background: var(--ink); color: var(--bg); }
.menu-toggle svg { display: block; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.header__phone--icon {
  width: 44px; height: 44px; justify-content: center;
  border: var(--border-hair);
}
@media (min-width: 1080px) {
  .menu-toggle, .header__phone--icon { display: none; }
}

.mobile-menu {
  border-top: var(--border-hair); background: var(--bg);
  overflow: hidden;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__link {
  display: flex; align-items: center; min-height: 48px;
  padding: var(--space-3) var(--gutter);
  font-weight: var(--fw-medium); color: var(--ink); text-decoration: none;
  border-bottom: var(--border-hair);
  font-size: var(--fs-body);
  transition: background var(--dur-base) var(--ease);
}
.mobile-menu__link:hover { background: var(--surface); color: var(--accent); }
.mobile-menu__link[aria-current="page"] {
  color: var(--accent); box-shadow: inset 3px 0 0 0 var(--accent);
}
.mobile-menu__cta { padding: var(--space-4) var(--gutter); display: grid; gap: var(--space-3); border-bottom: none; }
.mobile-menu__cta .btn { width: 100%; }
/* Slide-in animation for mobile menu */
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) { animation: menu-slide var(--dur-base) var(--ease); }
  @keyframes menu-slide {
    from { transform: translateY(-8px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: var(--charcoal); color: var(--bg); position: relative; overflow: hidden; }
.hero__grid {
  display: grid; gap: var(--space-6);
  padding-block: var(--space-8);
}
@media (min-width: 768px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding-block: var(--space-9); }
}
.hero__eyebrow { color: var(--accent); }
.hero__title {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display);
  color: var(--bg); text-wrap: balance; margin: var(--space-3) 0;
}
.hero__subhead { color: var(--aluminium); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid rgba(255,255,255,0.18);
}
.hero__media::before {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 32px; height: 3px; background: var(--accent); z-index: 1;
}
.hero__media::after {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 3px; height: 32px; background: var(--accent); z-index: 1;
}

/* Page hero (non-home pages): compact dark band, no image column required */
.page-hero { background: var(--charcoal); color: var(--bg); }
.page-hero__inner {
  display: grid; gap: var(--space-6); padding-block: var(--space-8);
  align-items: center;
}
@media (min-width: 768px) {
  .page-hero--split .page-hero__inner { grid-template-columns: 1.15fr 0.85fr; padding-block: var(--space-9); }
}
.page-hero h1 { color: var(--bg); margin: var(--space-3) 0; }
.page-hero .lead { color: var(--aluminium); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.page-hero__media { position: relative; }
.page-hero__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid rgba(255,255,255,0.18);
}
.page-hero__media::before {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 32px; height: 3px; background: var(--accent);
}
.page-hero__media::after {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 3px; height: 32px; background: var(--accent);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: var(--space-3) var(--space-5);
  font-family: var(--font-body); font-size: var(--fs-small); font-weight: var(--fw-semi);
  letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--dur-base) var(--ease),
    color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease),
    transform var(--dur-fast) var(--ease);
}
.btn--primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-700); border-color: var(--accent-700); color: var(--white); }
.btn--primary:active { transform: translateY(1px); }

.btn--secondary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--secondary:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--bg); }

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

.btn--ghost-light { background: transparent; color: var(--bg); border-color: rgba(255,255,255,0.5); }
.btn--ghost-light:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

.btn:focus-visible { box-shadow: var(--focus-ring); }
.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--aluminium); border-color: var(--aluminium); color: var(--surface); cursor: not-allowed;
}
.btn--block { width: 100%; }

/* ==========================================================================
   Sections / layout
   ========================================================================== */
.section { padding-block: var(--space-8); }
@media (min-width: 768px) { .section { padding-block: var(--space-9); } }
.section--surface { background: var(--surface); }
.section--dark { background: var(--charcoal); color: var(--bg); }
.section--dark h2, .section--dark h3 { color: var(--bg); }
.section--dark .lead { color: var(--aluminium); }
.section--dark p { color: var(--aluminium); }

.section-head {
  display: grid; gap: var(--space-3); margin-bottom: var(--space-6);
  padding-top: var(--space-4); border-top: 3px solid var(--accent);
  max-width: var(--container);
}
.section-head .overline { color: var(--accent); }
.section-head h2 { max-width: 22ch; }
.section-head p { color: var(--steel); }
.section--dark .section-head p { color: var(--aluminium); }

/* Two-column prose + aside layout */
.split {
  display: grid; gap: var(--space-7);
}
@media (min-width: 1080px) {
  .split { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
}
.split--even { }
@media (min-width: 1080px) {
  .split--even { grid-template-columns: 1fr 1fr; }
}
.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-6); }

/* Dividers */
.bezel-divider {
  position: relative; height: 1px; background: var(--line);
  margin: var(--space-7) 0;
}
.bezel-divider::before {
  content: ""; position: absolute; top: -3px; left: 0;
  width: 64px; height: 7px;
  border-left: 3px solid var(--accent);
  background: linear-gradient(var(--accent), var(--accent)) left top / 64px 3px no-repeat;
}
.band-seam { height: 3px; background: var(--accent); }

/* ==========================================================================
   Bezel panel (generic motif panel)
   ========================================================================== */
.bezel {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: var(--space-6);
}
.bezel::before {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 28px; height: 3px; background: var(--accent);
}
.bezel::after {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 3px; height: 28px; background: var(--accent);
}
.section--dark .bezel { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.18); color: var(--bg); }

/* ==========================================================================
   Cards (service grid)
   ========================================================================== */
.cards { display: grid; gap: var(--space-5); }
@media (min-width: 480px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: var(--border-hair);
  transition: box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.card::before {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 26px; height: 3px; background: var(--accent); z-index: 2;
}
.card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-base) var(--ease);
}
.card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.card__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: var(--fw-semi); color: var(--ink); margin: 0; }
.card__text { font-size: var(--fs-small); color: var(--steel); margin: 0; }
.card__link {
  margin-top: auto; padding-top: var(--space-3);
  font-weight: var(--fw-semi); font-size: var(--fs-small);
  color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: var(--space-2);
}
.card__link::after { content: ""; position: absolute; inset: 0; }
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card:hover .card__media img { transform: scale(1.03); }
.card:focus-within { box-shadow: var(--focus-ring); }

@media (prefers-reduced-motion: reduce) {
  .card, .card__media img { transition: none; }
  .card:hover { transform: none; }
  .card:hover .card__media img { transform: none; }
}

/* ==========================================================================
   Category route cards (homepage About/Services/Contact)
   ========================================================================== */
.cat-card {
  position: relative; display: grid; min-height: 240px;
  color: var(--bg); text-decoration: none; overflow: hidden;
  border: 1px solid var(--charcoal);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-card__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,33,27,0.15) 0%, rgba(19,33,27,0.82) 100%);
  transition: background var(--dur-base) var(--ease);
}
.cat-card__label {
  position: relative; align-self: end; padding: var(--space-5);
  display: flex; align-items: center; justify-content: space-between; width: 100%; gap: var(--space-3);
}
.cat-card__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--bg); }
.cat-card__arrow { font-size: 1.5rem; line-height: 1; color: var(--bg); transition: transform var(--dur-base) var(--ease); }
.cat-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 30px; height: 3px;
  background: var(--accent); z-index: 2;
}
.cat-card:hover .cat-card__scrim { background: linear-gradient(180deg, rgba(11,110,79,0.25) 0%, rgba(11,110,79,0.88) 100%); }
.cat-card:hover .cat-card__arrow { transform: translateX(4px); }
.cat-card:focus-visible { box-shadow: var(--focus-ring); }
@media (prefers-reduced-motion: reduce) {
  .cat-card__arrow { transition: none; }
  .cat-card:hover .cat-card__arrow { transform: none; }
}

/* ==========================================================================
   Trust strip (accreditations)
   ========================================================================== */
.trust-strip { background: var(--charcoal); color: var(--bg); }
.trust-fact {
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4);
  font-size: var(--fs-small); color: var(--bg);
  padding-block: var(--space-5);
  align-items: center;
}
.trust-fact .item { display: inline-flex; align-items: center; gap: var(--space-2); }
.trust-fact b { color: var(--accent); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
.trust-fact .sep { color: rgba(255,255,255,0.25); }

.trust-strip__row {
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(2, 1fr);
  padding-block: var(--space-6); align-items: start;
}
@media (min-width: 768px) { .trust-strip__row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px){ .trust-strip__row { grid-template-columns: repeat(6, 1fr); } }
.trust-item { display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start; }
.trust-item img {
  height: 48px; width: auto; background: var(--white); padding: 6px;
  border: 1px solid rgba(255,255,255,0.18);
}
.trust-item span { font-size: var(--fs-xs); color: var(--aluminium); line-height: var(--lh-snug); }
.trust-item b { color: var(--bg); font-weight: var(--fw-semi); }

/* ==========================================================================
   Reviews / testimonials
   ========================================================================== */
.reviews-link {
  display: inline-flex; align-items: center; gap: var(--space-3); min-height: 48px;
  padding: var(--space-3) var(--space-5); border: var(--border-accent);
  color: var(--accent); font-weight: var(--fw-semi); text-decoration: none;
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.reviews-link:hover { background: var(--accent); color: var(--white); }
.reviews-link svg { flex: 0 0 auto; }

/* ==========================================================================
   Honest quote callout (amber)
   ========================================================================== */
.callout-quote {
  position: relative; background: var(--amber-tint);
  border: 1px solid var(--amber); border-left: 4px solid var(--amber);
  padding: var(--space-5) var(--space-6);
  display: grid; gap: var(--space-2);
  max-width: var(--measure);
}
.callout-quote h3 { font-family: var(--font-display); font-size: var(--fs-h4); color: var(--ink); margin: 0; }
.callout-quote p { font-size: var(--fs-small); color: var(--ink); margin: 0; max-width: none; }
.callout-quote .overline { color: var(--amber); }

/* ==========================================================================
   Feature lists, fact lists
   ========================================================================== */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.feature-list li { display: grid; gap: var(--space-2); }
.feature-list h3 {
  font-family: var(--font-body); font-size: var(--fs-h4); font-weight: var(--fw-semi);
  color: var(--ink); margin: 0; display: flex; align-items: baseline; gap: var(--space-3);
}
.feature-list h3::before {
  content: ""; width: 20px; height: 3px; background: var(--accent);
  display: inline-block; flex: 0 0 auto; align-self: center;
}
.section--dark .feature-list h3 { color: var(--bg); }
.feature-list p { margin: 0; color: var(--steel); font-size: var(--fs-small); }
.section--dark .feature-list p { color: var(--aluminium); }

.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.tick-list li {
  position: relative; padding-left: var(--space-6);
  font-size: var(--fs-body); color: var(--ink);
}
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 16px; height: 3px; background: var(--accent);
}
.section--dark .tick-list li { color: var(--bg); }

/* ==========================================================================
   Services page bands
   ========================================================================== */
.service-band { padding-block: var(--space-7); }
.service-band:nth-of-type(even) { background: var(--surface); }
.service {
  display: grid; gap: var(--space-5); padding-block: var(--space-6);
  border-top: var(--border-hair);
  scroll-margin-top: 96px;
}
.service:first-of-type { border-top: none; }
@media (min-width: 768px) {
  .service { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-7); align-items: start; }
}
.service__media { position: relative; }
.service__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: var(--border-hair); }
.service__media::before {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 26px; height: 3px; background: var(--accent); z-index: 2;
}
.service__body h3 { margin: 0 0 var(--space-3); }
.service__body p { color: var(--steel); }
.service__body ul { margin: var(--space-3) 0 0; padding-left: 0; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px){ .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid figure { margin: 0; position: relative; border: var(--border-hair); background: var(--surface); }
.gallery-grid img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.gallery-grid figcaption { font-size: var(--fs-xs); color: var(--steel); padding: var(--space-2) var(--space-3); }
.gallery-grid figure::before {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 22px; height: 3px; background: var(--accent); z-index: 2;
}

/* ==========================================================================
   Hours / location table
   ========================================================================== */
.hours-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; max-width: 420px; }
.hours-table th { text-align: left; font-weight: var(--fw-semi); font-size: var(--fs-small); color: var(--ink); }
.hours-table td { text-align: right; font-size: var(--fs-small); color: var(--steel); }
.hours-table tr { border-bottom: var(--border-hair); }
.hours-table td, .hours-table th { padding: var(--space-3) 0; }
.hours-table tr.is-closed td { color: var(--aluminium); }
.section--dark .hours-table th { color: var(--bg); }
.section--dark .hours-table td { color: var(--aluminium); }
.section--dark .hours-table tr { border-color: rgba(255,255,255,0.14); }

/* ==========================================================================
   Contact details + form
   ========================================================================== */
.detail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.detail-list dt {
  font-family: var(--font-body); font-size: var(--fs-h6); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--accent);
  margin-bottom: var(--space-1);
}
.detail-list dd { margin: 0; font-size: var(--fs-body); color: var(--ink); }
.detail-list dd a { font-weight: var(--fw-semi); }

.form { display: grid; gap: var(--space-5); max-width: 640px; }
.field { display: grid; gap: var(--space-2); position: relative; }
.field > label {
  font-family: var(--font-body); font-weight: var(--fw-semi);
  font-size: var(--fs-small); color: var(--ink);
}
.field .req { color: var(--error); }
.input, .textarea, .select, .file {
  width: 100%; min-height: 48px; padding: var(--space-3) var(--space-4);
  font-family: var(--font-body); font-size: var(--fs-body); color: var(--ink);
  background: var(--white); border: 1px solid var(--steel);
  transition: border-color var(--dur-base) var(--ease);
}
.textarea { min-height: 140px; padding-top: var(--space-3); resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--aluminium); }
.input:hover, .textarea:hover, .select:hover { border-color: var(--ink); }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible, .file:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: var(--focus-ring);
}
.field__hint { font-size: var(--fs-xs); color: var(--steel); }
.field--error .input, .field--error .textarea { border-color: var(--error); }
.field__error { font-size: var(--fs-xs); color: var(--error); display: flex; gap: var(--space-2); align-items: center; }
.file { padding: var(--space-3) var(--space-4); cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: var(--space-4); border: 1px solid; font-size: var(--fs-small); }
.form-msg--ok { background: var(--success-tint); border-color: var(--success); color: var(--accent-700); }
.form-msg--err { background: var(--error-tint); border-color: var(--error); color: var(--error); }

/* Map placeholder (static, no exposed API key) */
.map-frame {
  position: relative; border: var(--border-hair); background: var(--surface);
  min-height: 320px; display: grid; place-items: center; text-align: center;
  padding: var(--space-6);
}
.map-frame::before {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 28px; height: 3px; background: var(--accent);
}
.map-frame::after {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 3px; height: 28px; background: var(--accent);
}
.map-frame .map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}
.map-frame .map-content { position: relative; display: grid; gap: var(--space-3); justify-items: center; }
.map-pin { width: 18px; height: 18px; background: var(--accent); display: inline-block; }

/* ==========================================================================
   Stat / heritage band
   ========================================================================== */
.stat-row {
  display: grid; gap: var(--space-6); grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { display: grid; gap: var(--space-1); }
.stat__num {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: var(--fs-h1); line-height: 1; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: var(--fs-small); color: var(--steel); }
.section--dark .stat__label { color: var(--aluminium); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--charcoal); color: var(--bg); }
.cta-band__inner {
  display: grid; gap: var(--space-5); padding-block: var(--space-8);
  align-items: center;
}
@media (min-width: 768px) {
  .cta-band__inner { grid-template-columns: 1.4fr auto; padding-block: var(--space-9); }
}
.cta-band h2 { color: var(--bg); }
.cta-band p { color: var(--aluminium); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--charcoal); color: var(--aluminium); }
.site-footer a { color: var(--bg); }
.site-footer a:hover { color: var(--accent); }
.site-footer__grid {
  display: grid; gap: var(--space-6); padding-block: var(--space-8);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px){ .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-col h4 { color: var(--bg); margin: 0 0 var(--space-3); }
.footer-col p { color: var(--aluminium); margin: 0 0 var(--space-2); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer-col li { font-size: var(--fs-small); }
.footer-col a {
  font-size: var(--fs-small); min-height: 32px; display: inline-flex; align-items: center;
  text-decoration: none;
}
.footer-col address { font-style: normal; }
.footer-accred { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); font-size: var(--fs-xs); color: var(--aluminium); }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-3); }
.footer-social a {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-social a:hover svg { color: var(--white); }
.footer-social svg { color: var(--bg); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-block: var(--space-4);
  font-size: var(--fs-xs); color: var(--aluminium);
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); justify-content: space-between;
}
.footer-bottom .bezel-mark { width: 22px; height: 3px; background: var(--accent); display: inline-block; vertical-align: middle; margin-right: var(--space-2); }

/* ==========================================================================
   Scroll-reveal (single, fade + 8px rise, IntersectionObserver-driven)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(8px); }
.reveal.is-visible {
  opacity: 1; transform: translateY(0);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
/* If JS is unavailable, never hide content */
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive helpers
   ========================================================================== */
@media (max-width: 479px) {
  .hero__actions .btn, .page-hero__actions .btn, .cta-band__actions .btn { width: 100%; }
}

/* ==========================================================================
   Print stylesheet
   ========================================================================== */
@media print {
  .site-header, .mobile-menu, .hero__media, .page-hero__media, .menu-toggle,
  .btn, .reviews-link, .callout-quote .overline, .footer-social, .map-frame {
    display: none !important;
  }
  * { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10px; }
  .site-footer { border-top: 2px solid #000; }
  body { font-size: 12pt; }
}
