/* Self-hosted fonts (latin + latin-ext subsets of the former Google Fonts
   request). Generated once, locally. Served same-origin so there is no
   external DNS/TLS hop and the CSP can drop fonts.googleapis/gstatic. */

/* Geist Mono 400 normal — latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/geist-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Geist Mono 400 normal — latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/geist-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Geist Mono 500 normal — latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/geist-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Geist Mono 500 normal — latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/geist-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Geist Mono 600 normal — latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/geist-mono-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Geist Mono 600 normal — latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/geist-mono-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Hanken Grotesk 500 italic — latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/hanken-500-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Hanken Grotesk 500 italic — latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/hanken-500-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Hanken Grotesk 400 normal — latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/hanken-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Hanken Grotesk 400 normal — latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/hanken-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Hanken Grotesk 500 normal — latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/hanken-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Hanken Grotesk 500 normal — latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/hanken-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Hanken Grotesk 600 normal — latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/hanken-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Hanken Grotesk 600 normal — latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/hanken-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Hanken Grotesk 700 normal — latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/hanken-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Hanken Grotesk 700 normal — latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/hanken-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Saira Condensed 600 normal — latin-ext */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/saira-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Saira Condensed 600 normal — latin */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/saira-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Saira Condensed 700 normal — latin-ext */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/saira-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Saira Condensed 700 normal — latin */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/saira-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Saira Condensed 800 normal — latin-ext */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/saira-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Saira Condensed 800 normal — latin */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/saira-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* =====================================================================
   EVEREST AUTO HUB — Global Stylesheet
   Plain CSS, no build step. Edit by hand.
   ---------------------------------------------------------------------
   SECTIONS
   1.  Design tokens (colours, type, spacing)  <-- edit brand here
   2.  Reset & base
   3.  Typography helpers
   4.  Layout helpers (container, sections, eyebrow)
   5.  Buttons
   6.  Header / navigation
   7.  Footer
   8.  Car loader (first-load animation)
   9.  Components: cards, trust strip, forms, map
   10. Page-specific blocks (hero, about, contact)
   11. Animations / reveal-on-scroll
   12. Responsive (mobile) — at the very bottom
   ===================================================================== */

/* ============================ 1. TOKENS ============================ */
:root {
  /* --- Brand colours (sampled from logo.png) --- */
  --bg:          #0A0A0A;   /* dominant near-black surface          */
  --bg-2:        #101010;   /* slightly raised background bands      */
  --surface:     #161616;   /* cards                                 */
  --surface-2:   #1C1C1C;   /* nested / hover card                   */
  --border:      #272727;   /* hairline dividers & card borders      */
  --border-2:    #343434;   /* stronger divider                      */

  --orange:      #F39222;   /* PRIMARY accent (logo mountain-orange) */
  --orange-bright:#F8971D;  /* brighter pop (logo "HUB" box)         */
  --orange-deep: #D97B10;   /* pressed / darker orange               */
  --orange-soft: rgba(243,146,34,.14); /* tint backgrounds          */

  --white:       #FFFFFF;   /* headings                              */
  --text:        #EBEBEB;   /* body text                             */
  --muted:       #A2A2A2;   /* muted text (logo SUV grey, lightened) */
  --grey:        #8A8A8A;   /* logo grey for icons / accents         */
  --red:         #E5484D;   /* RESERVED: error states only           */

  /* --- Type ---
     Display: Saira Condensed (motorsport). Body: Hanken Grotesk (legible grotesk).
     Figures: Geist Mono — prices, durations, phone — the "spec sheet" voice. */
  --font-head: 'Saira Condensed', 'Saira Extra Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* --- Layout --- */
  --container: 1200px;
  --gutter: clamp(24px, 6vw, 64px);
  --nav-h: 112px;
  --radius: 6px;        /* kept tight — motorsport, not SaaS-rounded */
  --radius-sm: 4px;

  /* --- Spacing scale (4pt base) — every gap/pad pulls from this set,
     so rhythm is identical across all pages. No arbitrary values. --- */
  --space-3xs: 4px;
  --space-2xs: 8px;
  --space-xs:  12px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  32px;
  --space-xl:  48px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  /* Section vertical rhythm — one source of truth for every <section> */
  --section-y:      clamp(72px, 10vw, 132px);  /* standard band */
  --section-y-tight: clamp(48px, 7vw, 88px);   /* compact band (CTA, map) */
  --section-head-gap: clamp(40px, 5vw, 64px);  /* head → content */

  /* --- Motion --- */
  --ease: cubic-bezier(.2,.7,.2,1);
  --t-fast: .16s;
  --t: .24s;
}

/* ============================ 2. RESET ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
/* <picture> is used only as a WebP-with-JPEG-fallback wrapper. display:contents
   removes its box so every existing `.hero-bg img` / `.about-photo img` rule and
   percentage-height sizing keeps resolving against the real container. */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 16px; }

/* Visible focus for keyboard users */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--orange); color: #000; }

/* ========================= 3. TYPOGRAPHY ========================= */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--white);
  font-weight: 800;
  line-height: 1.08;          /* a touch more air for multi-line headings */
  letter-spacing: .01em;
  text-transform: uppercase;
  text-wrap: balance;         /* even line lengths without manual <br> */
}

h1 { font-size: clamp(2.6rem, 5.8vw, 4.7rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.3vw, 1.6rem); letter-spacing: .02em; line-height: 1.12; }

/* Italic only where it adds motorsport energy — use the helper, not on every line */
.italic { font-style: italic; }

p { color: var(--text); }
.lead { font-size: clamp(1.02rem, 1.7vw, 1.2rem); line-height: 1.7; color: var(--muted); max-width: 58ch; }

/* Numbers that must scan fast: mono "spec sheet" voice, never italic, tabular */
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-style: normal;
  letter-spacing: -.01em;
}

.orange { color: var(--orange); }

/* ====================== 4. LAYOUT HELPERS ====================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

section { padding-block: var(--section-y); }
.section-tight { padding-block: var(--section-y-tight); }
.section-flush { padding-block: 0; }
.band { background: var(--bg-2); border-block: 1px solid var(--border); }

/* Eyebrow: small orange label with a leading bar — replaces numbered "01 02" pattern */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .9rem;
  color: var(--orange);
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 3px;
  background: var(--orange);
  transform: skewX(-20deg);
}

.section-head { max-width: 640px; margin-bottom: var(--section-head-gap); }
.section-head p { color: var(--muted); margin-top: var(--space-md); }
.section-head--tight { margin-bottom: var(--space-lg); }
/* trailing action after a grid/list (e.g. "All 8 services") */
.section-actions { margin-top: var(--space-lg); }
/* Give the trailing link real secondary-CTA weight: orange text + orange border,
   tinted fill on hover (instead of the faint default outline). */
.section-actions .btn-outline { color: var(--orange); border-color: var(--orange); }
/* Must be dark, not orange: the shared .btn-outline hover now sweeps a solid
   orange fill across the button, so orange text would vanish into it. */
.section-actions .btn-outline:hover { color: #0A0A0A; }

/* ============================ 5. BUTTONS ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1.05rem;
  padding: 15px 30px;
  border: 2px solid transparent;
  transition: background var(--t) var(--ease), color var(--t) var(--ease),
              border-color var(--t) var(--ease), transform var(--t-fast) var(--ease);
  /* angled corner — echoes the logo's slit wordmark & HUB box, no SaaS pill */
  clip-path: polygon(0 0, 100% 0, 100% 70%, calc(100% - 14px) 100%, 0 100%);
  /* positioning context + stacking context for the ::before sweep below */
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn svg { width: 20px; height: 20px; }

/* ---- HOVER SWEEP -------------------------------------------------
   A skewed panel that wipes across the button from the left. The -20deg
   matches the eyebrow bar, the .tick and the logo's slit wordmark, so the
   motion reads as part of the brand rather than a generic button effect.

   z-index:-1 inside the .btn stacking context paints it ABOVE the button's
   own background but BELOW the label, so the text never dims.
   left/right overshoot stops the skew leaving triangular gaps at the edges.
   Only transform animates — no layout, no repaint of surrounding content. */
.btn::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -10%; right: -10%;
  z-index: -1;
  transform: translateX(-115%) skewX(-20deg);
  transition: transform .42s var(--ease);
}
.btn-primary { background: var(--orange); color: #0A0A0A; }
/* Sheen rather than a colour swap: the button is already orange, so a light
   pass reads as movement without muddying the brand colour. */
.btn-primary::before {
  background: linear-gradient(90deg, rgba(255,255,255,.32), rgba(255,255,255,.06));
}
.btn-primary:hover { background: var(--orange-bright); }
.btn-primary:active { background: var(--orange-deep); }

.btn-outline { background: transparent; color: var(--white); border-color: var(--border-2); }
/* The outline button fills solid on hover, so the label has to flip to dark. */
.btn-outline::before { background: var(--orange); }
.btn-outline:hover, .btn-outline:focus-visible { border-color: var(--orange); color: #0A0A0A; }

/* Movement is gated to real pointers: on touch, :hover sticks after a tap and
   the button would sit in its hovered state until you tap elsewhere. */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover::before,
  .btn:focus-visible::before { transform: translateX(0) skewX(-20deg); }
}
/* Keyboard users get the sweep too, on any device. */
.btn:focus-visible::before { transform: translateX(0) skewX(-20deg); }

/* MUST stay after the hover block above. `.btn:active` and `.btn:hover` have
   identical specificity (0,2,0), so source order decides — and :active always
   coincides with :hover for a mouse press. Declared earlier, the lift would win
   and the button would stay raised while held, killing the press feedback. */
.btn:active { transform: translateY(1px); }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 38px; font-size: 1.15rem; }

/* ============================ 6. HEADER ============================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height var(--t) var(--ease), background var(--t) var(--ease), border-color var(--t) var(--ease);
  border-bottom: 1px solid transparent;
}
/* JS toggles .scrolled once the user leaves the very top — header condenses */
.site-header.scrolled {
  height: 86px;
  background: rgba(10,10,10,.86);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}
.brand img { transition: height var(--t) var(--ease); }
.site-header.scrolled .brand img { height: 64px; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

/* Logo anchors the header — noticeably larger, balanced by the lighter nav */
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 88px; width: auto; }

.nav { display: flex; align-items: center; gap: 10px; }
/* refined navigation: smaller + lighter so it reads as nav, not headline */
.nav a:not(.btn) {
  position: relative;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .9rem;
  color: var(--text);
  /* 11px vertical keeps the tap target >=44px on tablets, which still get the
     desktop nav (the drawer only engages <=760px). */
  padding: 11px 14px;
  transition: color var(--t-fast) var(--ease);
}
/* sliding underline that wipes in from the left */
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.nav a:not(.btn):hover { color: var(--white); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav a.active { color: var(--orange); }
.nav a.active::after { transform: scaleX(1); }
/* color here beats `.nav a` specificity so the orange button keeps dark, legible text */
.nav .btn-primary { margin-left: 14px; padding: 12px 24px; font-size: .9rem; color: #0A0A0A; }
.nav .btn-primary:hover { color: #0A0A0A; }

/* Mobile menu toggle (hidden on desktop) */
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 26px; height: 2px; background: var(--white);
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.nav-toggle span::before { transform: translateY(-8px); }
.nav-toggle span::after  { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(-1px); }

/* ============================ 7. FOOTER ============================ */
.site-footer { background: #070707; border-top: 1px solid var(--border); padding-block: clamp(72px, 9vw, 116px) 44px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(48px, 6vw, 88px);
  align-items: start;
}
/* width:auto is required, not optional: the <img> now carries width/height
   attributes (for layout stability), so without it the attribute width wins
   against this rule's fixed height and the logo stretches. Mirrors .brand img. */
.footer-brand img { height: 92px; width: auto; margin-bottom: 24px; }
.footer-brand p { color: var(--muted); max-width: 34ch; font-size: .96rem; line-height: 1.7; }
.footer-col h3 { font-size: 1.15rem; color: var(--white); margin-bottom: 22px; letter-spacing: .03em; }
.footer-col a, .footer-col p { color: var(--muted); font-size: .96rem; display: block; padding: 9px 0; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-2); border-radius: var(--radius-sm); color: var(--muted);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--orange); color: var(--orange); background: var(--orange-soft);
}
@media (hover: hover) and (pointer: fine) {
  .footer-social a:hover { transform: translateY(-2px); }
}
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: clamp(48px, 6vw, 76px); padding-top: 30px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--grey); font-size: .85rem;
}
/* Inline in a sentence, so it can't be 44px without breaking the line —
   but 18px failed even the 24px AA minimum. inline-block + padding clears it. */
.footer-credit { color: var(--orange); display: inline-block; padding: 4px 0; transition: color var(--t-fast); }
.footer-credit:hover { color: var(--orange-bright); }

/* ========================= 8. CAR LOADER ========================= */
/* Shown on first load, hidden via JS (sessionStorage) so it only flashes once. */
#loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-track { position: relative; width: 220px; height: 50px; overflow: hidden; }
.loader-car { position: absolute; top: 8px; left: 0; color: var(--orange); animation: car-drive 1.2s var(--ease) infinite; }
.loader-car svg { width: 64px; height: auto; display: block; }
/* speed lines trailing the car */
.loader-line { position: absolute; height: 2px; background: linear-gradient(90deg, transparent, var(--orange)); opacity:.0; }
.loader-line.l1 { top: 16px; width: 40px; animation: streak 1.2s linear infinite; }
.loader-line.l2 { top: 26px; width: 60px; animation: streak 1.2s linear .15s infinite; }
.loader-line.l3 { top: 36px; width: 30px; animation: streak 1.2s linear .3s infinite; }
.loader-word {
  font-family: var(--font-head); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: .18em; color: var(--white); font-size: 1.1rem;
}
.loader-word span { color: var(--orange); }
/* GPU-composited (transform only) — was animating `left`, a layout property,
   which PSI flagged under "avoid non-composited animations". */
@keyframes car-drive {
  0%   { transform: translateX(-70px); }
  60%  { transform: translateX(165px); }
  100% { transform: translateX(165px); }
}
@keyframes streak {
  0%   { transform: translateX(160px); opacity: 0; }
  30%  { opacity: .9; }
  60%  { transform: translateX(-40px); opacity: 0; }
  100% { opacity: 0; }
}

/* ========================= 9. COMPONENTS ========================= */

/* --- Trust strip (phone / address / credibility) --- */
.trust-strip { background: var(--bg-2); border-block: 1px solid var(--border); }
.trust-strip .container {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  /* turn the gap into divider lines */
}
.trust-item {
  background: var(--bg-2);
  display: flex; align-items: center; gap: 18px;
  padding: clamp(40px, 5vw, 60px) clamp(22px, 3vw, 40px);
}
.trust-item svg { width: 30px; height: 30px; color: var(--orange); flex: none; }
.trust-item .label { font-size: .84rem; text-transform: uppercase; letter-spacing: .14em; color: var(--grey); }
.trust-item .value { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1.25rem; line-height: 1.15; }
/* The phone/address here are links and were only 24px tall — under the 44px
   touch minimum, on the highest-intent element on the home page. */
.trust-item a.value { display: inline-flex; align-items: center; min-height: 44px; }
/* phone number reads in the mono spec-sheet voice */
.trust-item .value.num { font-family: var(--font-mono); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; }
/* Hover colour change on the whole item, so all three read as consistent
   (phone + address are links; opening hours is not, but still highlights). */
.trust-item:hover .value { color: var(--orange); }
.trust-item a.value:hover { color: var(--orange); }

/* --- Service cards --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}
/* Flip container — perspective wrapper, equal height across all 8 cards */
.service-card {
  position: relative;
  perspective: 1400px;
  min-height: 440px;
  border: none; background: transparent; padding: 0;
}
.flip-inner {
  position: relative; width: 100%; min-height: 440px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
}
.flip-front, .flip-back {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.flip-front { background: var(--surface); padding: 38px 34px 34px; }
/* top orange accent bar that grows on hover (no layout shift) */
.flip-front::before {
  content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t) var(--ease); z-index: 2;
}
/* back face: dark atmospheric image (swap files in Assets/services/) + name + Book */
.flip-back {
  transform: rotateY(180deg);
  background-color: var(--bg); background-size: cover; background-position: center;
  justify-content: flex-end; padding: 34px;
}
/* Back-face imagery only loads on hover-capable devices. Touch devices never
   flip (see the reduced/no-hover rules) and therefore do not fetch it. */
@media (hover: hover) and (pointer: fine) {
  /* Each rule declares the JPEG first (fallback for browsers without image-set)
     then image-set() so modern browsers fetch the smaller WebP. */
  .service-image-logbook { background-image: url("../Assets/services/logbook.jpg"); background-image: image-set(url("../Assets/services/logbook.webp") type("image/webp"), url("../Assets/services/logbook.jpg") type("image/jpeg")); }
  .service-image-diagnostics { background-image: url("../Assets/services/diagnostics.jpg"); background-image: image-set(url("../Assets/services/diagnostics.webp") type("image/webp"), url("../Assets/services/diagnostics.jpg") type("image/jpeg")); }
  .service-image-brakes { background-image: url("../Assets/services/brakes.jpg"); background-image: image-set(url("../Assets/services/brakes.webp") type("image/webp"), url("../Assets/services/brakes.jpg") type("image/jpeg")); }
  .service-image-suspension { background-image: url("../Assets/services/suspension.jpg"); background-image: image-set(url("../Assets/services/suspension.webp") type("image/webp"), url("../Assets/services/suspension.jpg") type("image/jpeg")); }
  .service-image-tyres { background-image: url("../Assets/services/tyres.jpg"); background-image: image-set(url("../Assets/services/tyres.webp") type("image/webp"), url("../Assets/services/tyres.jpg") type("image/jpeg")); }
  .service-image-batteries { background-image: url("../Assets/services/batteries.jpg"); background-image: image-set(url("../Assets/services/batteries.webp") type("image/webp"), url("../Assets/services/batteries.jpg") type("image/jpeg")); }
  .service-image-inspection { background-image: url("../Assets/services/inspection.jpg"); background-image: image-set(url("../Assets/services/inspection.webp") type("image/webp"), url("../Assets/services/inspection.jpg") type("image/jpeg")); }
  .service-image-repairs { background-image: url("../Assets/services/repairs.jpg"); background-image: image-set(url("../Assets/services/repairs.webp") type("image/webp"), url("../Assets/services/repairs.jpg") type("image/jpeg")); }
}
/* The one real link per service card. Stretched over both faces so it works
   whichever side is showing. Transparent — the visible "button" on each face is
   a styled <span> sitting underneath. */
.service-card-cta { position: absolute; inset: 0; z-index: 3; }
/* Focus lands on the whole card, so draw the ring on the card, not the invisible link. */
.service-card-cta:focus-visible { outline: none; }
.service-card:has(.service-card-cta:focus-visible) {
  outline: 2px solid var(--orange); outline-offset: 3px;
}

/* Accessible text that is present for screen readers but not painted. */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.flip-back::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,.92) 6%, rgba(8,8,8,.5) 55%, rgba(8,8,8,.55));
}
.flip-back > * { position: relative; z-index: 1; }
.flip-back .flip-title {
  display: block;
  font-family: var(--font-head); font-style: italic; font-weight: 800;
  text-transform: uppercase; color: var(--white);
  font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.02; margin-bottom: 20px;
}
/* Flip only where a real hover/fine pointer exists; touch shows the front face only */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover .flip-inner { transform: rotateY(180deg); }
  .service-card:hover .flip-front::before { transform: scaleX(1); }
}

.service-icon {
  width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange-soft); color: var(--orange); border-radius: var(--radius-sm);
  margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { color: var(--white); margin-bottom: 14px; }
.service-card .desc { color: var(--muted); font-size: .95rem; line-height: 1.7; flex-grow: 1; margin-bottom: 28px; }

.service-meta { display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; }
/* Price now reads as supporting info (body scale), not a display headline */
.service-meta .price { font-family: var(--font-mono); font-weight: 600; color: var(--white); font-size: 1rem; line-height: 1.3; letter-spacing: -.01em; }
.service-meta .price small { font-size: .8rem; color: var(--grey); font-weight: 500; }
.service-meta .dur { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }
.service-meta .dur svg { width: 16px; height: 16px; color: var(--grey); }

/* --- Home services preview (text-forward rows, NOT a numbered stock grid) --- */
.preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.preview-item {
  background: var(--bg);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background var(--t) var(--ease);
}
.preview-item:hover { background: var(--surface); }
.preview-item .service-icon { margin-bottom: 4px; }
.preview-item h3 { color: var(--white); }
.preview-item p { color: var(--muted); font-size: .93rem; }
.preview-item .more { font-family: var(--font-head); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .04em; color: var(--orange); font-size: .92rem; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; }
.preview-item:hover .more svg { transform: translateX(4px); }
.preview-item .more svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }

/* --- Forms --- */
.form-card { background: var(--surface); border: 1px solid var(--border); padding: clamp(26px, 4vw, 44px); }
.form-container { max-width: 760px; }
.contact-hours-content { width: 100%; }
.form-booking-hint { margin-top: 14px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; color: var(--white); margin-bottom: 9px; }
.field .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-2);
  color: var(--text);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #8a8a8a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #0d0d0d; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23F39222' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field .hint { font-size: .82rem; color: var(--grey); margin-top: 7px; }

/* Submit confirmation message */
.form-success {
  display: none;
  background: var(--orange-soft);
  border: 1px solid var(--orange);
  padding: 22px 24px;
  border-radius: var(--radius);
  color: var(--white);
}
.form-success.show { display: flex; gap: 14px; align-items: flex-start; }
.form-success svg { width: 26px; height: 26px; color: var(--orange); flex: none; margin-top: 2px; }
.form-success h3 { color: var(--white); margin-bottom: 4px; }
.form-success p { color: var(--text); font-size: .95rem; }

/* Inline submit error (created by main.js on a failed POST). */
.form-error {
  background: rgba(229, 72, 77, .12);
  border: 1px solid var(--red);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: .95rem;
  line-height: 1.55;
  margin-bottom: 22px;
}

/* --- Social proof (Google reviews) ---
   Two columns, rebalanced: a sticky premium rating anchor on the left, a
   featured + supporting quote stack on the right. Distinct from neighbours
   via a faint orange glow + hairline borders (Services sits on --bg,
   About on --bg-2). Typography-led; orange kept to stars + thin accents. */
.proof { position: relative; background: var(--bg); border-block: 1px solid var(--border); overflow: hidden; }
.proof::before { /* subtle brand glow, top-right — keeps the band distinct without a new surface colour */
  content: ""; position: absolute; z-index: 0; top: -20%; right: -8%;
  width: 44vw; max-width: 560px; aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(243,146,34,.12) 0%, rgba(243,146,34,.04) 40%, transparent 68%);
  filter: blur(8px);
}
.proof .container { position: relative; z-index: 1; }
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

/* LEFT — sticky premium rating anchor */
.proof-lead { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; }
.proof-lead h2 { margin-bottom: 16px; }
.proof-micro { color: var(--muted); font-size: .98rem; line-height: 1.6; max-width: 36ch; margin-bottom: clamp(26px, 3vw, 38px); }

.proof-aggregate {
  background: var(--surface); border: 1px solid var(--border);
  padding: clamp(28px, 3.2vw, 44px);
  display: flex; flex-direction: column; gap: clamp(26px, 3vw, 38px);
}
.proof-rating { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 30px); }
.proof-score { font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--white); font-size: clamp(3.4rem, 7vw, 5.2rem); line-height: .85; letter-spacing: -.03em; }
.proof-rating-meta { display: flex; flex-direction: column; gap: 10px; }
.proof-stars { display: inline-flex; gap: 4px; color: var(--orange); }
.proof-stars svg { width: 24px; height: 24px; }
.proof-count { color: var(--muted); font-size: 1rem; line-height: 1.4; }
.proof-count strong { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }

/* CTAs — restrained: bordered primary, quiet secondary; orange only on intent */
.proof-actions { display: flex; flex-direction: column; gap: 14px; padding-top: clamp(24px, 2.8vw, 32px); border-top: 1px solid var(--border); }
.proof-cta-primary {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 14px 20px; border: 1px solid var(--border-2);
  font-family: var(--font-head); font-weight: 700; font-style: italic;
  text-transform: uppercase; letter-spacing: .03em; font-size: 1rem; color: var(--white);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.proof-cta-primary .proof-g { width: 20px; height: 20px; display: inline-flex; flex: none; }
.proof-cta-primary .proof-g svg { width: 20px; height: 20px; }
.proof-cta-primary .proof-arrow { width: 17px; height: 17px; margin-left: auto; transition: transform var(--t) var(--ease); }
.proof-cta-primary:hover { border-color: var(--orange); color: var(--orange); }
.proof-cta-primary:hover .proof-arrow { transform: translateX(4px); }
.proof-cta-secondary {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .95rem; color: var(--muted);
  min-height: 44px;                      /* was 27px — under the touch minimum */
  transition: color var(--t-fast) var(--ease);
}
.proof-cta-secondary svg { width: 16px; height: 16px; }
.proof-cta-secondary:hover { color: var(--white); }

/* RIGHT — testimonials as a slow vertical auto-scroll (marquee).
   The viewport clips + fades top/bottom; the track holds two identical sets
   and animates by -50% (exactly one set) for a seamless, jump-free loop. */
.proof-marquee {
  position: relative;
  /* tall enough to show at least 3 reviews at once, inside the edge fades */
  max-height: clamp(600px, 70vh, 700px);
  overflow: hidden;
  /* premium opacity fade at top + bottom edges (slim bands so 3 stay clear) */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.proof-track {
  display: flex; flex-direction: column;
  animation: proof-scroll 56s linear infinite;
  will-change: transform;
}
/* pause on hover or keyboard focus, resume smoothly on leave */
.proof-marquee:hover .proof-track,
.proof-marquee:focus-within .proof-track { animation-play-state: paused; }
@keyframes proof-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* Uniform rows (no first/last special-casing — every item identical so the
   loop is seamless). Borderless; hairline divider between reviews. */
.proof-quote { padding-block: clamp(20px, 2.6vw, 28px); border-bottom: 1px solid var(--border); }
.proof-quote-stars { display: inline-flex; gap: 2px; color: var(--orange); margin-bottom: 12px; }
.proof-quote-stars svg { width: 15px; height: 15px; }
.proof-quote blockquote { color: var(--text); font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.6; text-wrap: pretty; }
.proof-quote-by { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.proof-quote-by .tick { flex: none; }
.proof-quote-name { font-family: var(--font-head); font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .03em; font-size: 1rem; }
.proof-quote-service { color: var(--grey); font-size: .85rem; }

/* Keyword emphasis — weight + colour only (no underline) */
.proof-quote .kw { background: none; color: var(--white); font-weight: 600; }

/* Reduced motion: no scroll. Show one static set, fully readable, no clipping. */
@media (prefers-reduced-motion: reduce) {
  .proof-track { animation: none; }
  .proof-marquee { max-height: none; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .proof-quote[aria-hidden="true"] { display: none; }
}

/* --- Map embed --- */
.map-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.3) contrast(1.05); }

/* ===================== 10. PAGE BLOCKS ===================== */

/* --- Hero (home) — fills the viewport so nothing peeks below the fold --- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 80px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .82; }
/* refined cinematic scrim: dark on the left for legible type, image breathes
   on the right; subtle floor + top fade keep it premium, not flat */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10,10,10,.78) 30%, rgba(10,10,10,.32) 70%, rgba(10,10,10,.12) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 42%),
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, transparent 22%);
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 34px; }
/* 19ch (was 16ch) so the deliberate break keeps "Trusted Auto Care in" on one
   line above "Bayswater"; font-relative, so mobile still wraps naturally. */
.hero h1 { max-width: 19ch; }
.hero h1 .orange { color: var(--orange); }
.hero .lead { margin-top: 34px; }
.hero-actions { display: flex; gap: 18px; margin-top: 52px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1; color: var(--grey); font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll svg { width: 18px; height: 18px; animation: bob 1.8s var(--ease) infinite; }
/* Redundant on desktop — the next section is already visible below the fold. */
@media (min-width: 1025px) { .hero-scroll { display: none; } }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }

/* --- Page hero (inner pages) --- */
.page-hero { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 90px)); padding-bottom: clamp(30px, 5vw, 50px); border-bottom: 1px solid var(--border); position: relative; }
.page-hero::before { /* faint diagonal motorsport stripe */
  content: ""; position: absolute; top: 0; right: 0; width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent 40%, var(--orange-soft) 100%);
  pointer-events: none;
}
.page-hero h1 { max-width: 18ch; }
.page-hero .eyebrow { margin-bottom: 30px; }
.page-hero .lead { margin-top: 26px; }

/* --- About --- */
.about-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(44px, 6vw, 88px); align-items: center; }
.about-photo { position: relative; border: 1px solid var(--border); overflow: hidden; }
.about-photo img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; transition: transform .7s var(--ease); }
.about-photo:hover img { transform: scale(1.045); }   /* gentle zoom on hover */
.about-photo .tag { position: absolute; bottom: 0; left: 0; background: var(--orange); color: #0A0A0A; font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase; padding: 10px 18px; letter-spacing: .03em; }
/* calmer rhythm: clear gaps between heading, paragraphs and the button */
.about-text h2 { margin-bottom: 26px; }
.about-text p { color: var(--muted); margin-bottom: 22px; }
.about-text p strong { color: var(--text); }
.about-text .btn { margin-top: 18px; }

/* Values as a divider-grid (same idiom as the trust strip / services preview),
   not floating cards — one connected block, hairline-separated. */
.value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);          /* the gap becomes the dividers */
  border: 1px solid var(--border);
  margin-top: var(--space-sm);
}
.value-card {
  background: var(--bg-2);            /* matches the .band it sits on */
  padding: clamp(28px, 3vw, 40px) clamp(22px, 2.4vw, 32px);
  display: flex; flex-direction: column;
  transition: background var(--t) var(--ease);
}
.value-card:hover { background: var(--surface); }
.value-card svg { width: 30px; height: 30px; color: var(--orange); margin-bottom: var(--space-sm); }
.value-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: var(--space-2xs); }
.value-card p { color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* --- Contact --- */
.contact-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px,5vw,56px); align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 4px; }
.contact-row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-row:first-child { padding-top: 0; }
.contact-row svg { width: 26px; height: 26px; color: var(--orange); flex: none; }
.contact-row .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--grey); margin-bottom: 3px; }
.contact-row .value { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1.25rem; }
.contact-row .value.num { font-family: var(--font-mono); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; }
.contact-row a.value:hover { color: var(--orange); }
.hours-list { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.hours-list .row { display: flex; justify-content: space-between; gap: 20px; color: var(--text); font-size: .98rem; }
.hours-list .row span:last-child { color: var(--muted); }

/* --- Final CTA band ---
   Premium dark image sits behind the gradient for depth. Swap the image at
   Assets/workshop-wide-bayswater.jpg — opacity keeps it subtle and text legible. */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--bg);
  border-block: 1px solid var(--border);
  text-align: center;
  /* tighter than the doubled global section padding — this band shouldn't be huge */
  padding-block: clamp(72px, 8vw, 116px);
}
.cta-band::before { /* premium background image, clearly present */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("../Assets/workshop-wide-bayswater.jpg") center/cover no-repeat;
  background-image: image-set(url("../Assets/workshop-wide-bayswater.webp") type("image/webp"), url("../Assets/workshop-wide-bayswater.jpg") type("image/jpeg"));
  opacity: .5;
}
.cta-band::after { /* scrim keeps the copy crisp while the image still reads */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(135% 135% at 50% 45%, rgba(10,10,10,.32) 12%, rgba(10,10,10,.72) 80%),
    linear-gradient(0deg, rgba(10,10,10,.5), rgba(10,10,10,.4));
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { color: var(--muted); margin: 22px auto 40px; max-width: 52ch; }

/* ===================== 11. REVEAL ANIMATION =====================
   Not fade-up: a clip-path "wipe" that uncovers content from the bottom,
   with a small lift. Stagger is applied per-item by main.js (--d). */
/* Only hide reveals when JS is active (html.js) — no-JS users see everything */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  clip-path: inset(0 0 10% 0);
  transition: opacity .5s var(--ease), transform .5s var(--ease), clip-path .5s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform, clip-path;
}
.reveal.in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* The eyebrow's leading rule "draws" itself when its section reveals */
.reveal .eyebrow::before, .eyebrow.reveal::before { transform: skewX(-20deg) scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .15s; }
.reveal.in .eyebrow::before, .eyebrow.reveal.in::before { transform: skewX(-20deg) scaleX(1); }

/* ===================== 11b. ART DIRECTION ===================== */

/* Film grain — a single tiled SVG noise over everything (subtle premium signal).
   pointer-events:none so it never blocks clicks. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Duotone photo treatment — desaturate, then push an orange/black tint through
   so any real photo dropped in later reads as commissioned, on-brand art. */
/* Subtle, consistent treatment so real photos read naturally but still feel
   on-brand. isolation keeps the blend contained; containers are already
   positioned (.about-photo is relative). */
.duotone { isolation: isolate; }
.duotone img { filter: grayscale(.4) contrast(1.05) brightness(.9) saturate(.95); }
.duotone::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg, #0A0A0A 0%, transparent 55%, var(--orange) 145%);
  mix-blend-mode: color; opacity: .28;
}
.duotone::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(10,10,10,.5) 100%);
}

/* Photos of PEOPLE get a lighter hand. The full duotone is tuned for
   atmospheric workshop shots; on faces it drains skin tones and the team
   stops reading as real people, which is the whole point of the photo. */
.duotone--people img { filter: grayscale(.12) contrast(1.03) brightness(.97) saturate(1); }
.duotone--people::before { opacity: .14; }
.duotone--people::after { background: linear-gradient(180deg, transparent 62%, rgba(10,10,10,.42) 100%); }

/* Hero ridge + glow — the logo's mountain motif as art direction, no photo needed */
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  top: 18%; right: 6%; width: 46vw; max-width: 620px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(243,146,34,.32) 0%, rgba(243,146,34,.08) 38%, transparent 65%);
  filter: blur(6px);
}
.hero-ridge {
  position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; width: 100%;
  pointer-events: none; opacity: .5;
}
.hero-ridge svg { width: 100%; height: auto; display: block; }
.hero-ridge .ridge-line { fill: none; stroke: var(--orange); stroke-width: 1.5; opacity: .55; }
.hero-ridge .ridge-fill { fill: url(#ridgeGrad); opacity: .14; }

/* Recurring spec-sheet detail: thin skewed orange tick, echoes the wordmark slits */
.tick {
  display: inline-block; width: 26px; height: 4px; background: var(--orange);
  transform: skewX(-20deg);
}

/* ===================== 11c. BLOG =====================
   Two surfaces:
   (a) the index (blog.html)  — featured post + card grid
   (b) the article (blog/*.html) — narrow measure, long-form reading
   Nothing here is used by any other page, so it's safe to tweak freely.
   ==================================================== */

/* ---- (a) INDEX ---- */
.blog-featured {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.blog-featured .blog-thumb { height: 100%; min-height: 300px; }
.blog-featured .blog-featured-body { padding: clamp(28px, 3.5vw, 52px) clamp(28px, 3.5vw, 52px) clamp(28px, 3.5vw, 52px) 0; }
.blog-featured h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.06; margin: var(--space-sm) 0; }
.blog-featured p { color: var(--muted); margin-bottom: var(--space-lg); }

.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(24px, 2.5vw, 36px);
}
.blog-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.blog-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.blog-card-body { padding: var(--space-lg); display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: clamp(20px, 1.6vw, 25px); line-height: 1.12; margin: var(--space-xs) 0 var(--space-sm); }
.blog-card h3 a { color: var(--white); text-decoration: none; }
.blog-card:hover h3 a { color: var(--orange); }
.blog-card p { color: var(--muted); font-size: 15px; flex: 1; margin-bottom: var(--space-md); }

/* Shared thumb treatment — duotone-ish so photos stay on-brand even if stock */
.blog-thumb { position: relative; background: var(--bg-2); overflow: hidden; }
.blog-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(.35) contrast(1.05) brightness(.85);
  transition: transform .6s var(--ease), filter .4s var(--ease);
}
.blog-card .blog-thumb { aspect-ratio: 16 / 10; }
.blog-card:hover .blog-thumb img,
.blog-featured:hover .blog-thumb img { transform: scale(1.04); filter: grayscale(.15) contrast(1.05) brightness(.95); }

/* Meta row: category + date + read time, all in the spec-sheet mono voice */
.blog-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--grey);
}
.blog-meta .cat { color: var(--orange); }
.blog-meta .dot { opacity: .45; }

/* ---- (b) ARTICLE ---- */
.article-hero { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 72px)); padding-bottom: clamp(24px, 3vw, 40px); }
.article-hero .container { max-width: 800px; }
.article-hero h1 { font-size: clamp(32px, 5vw, 62px); line-height: 1.02; margin: var(--space-md) 0; }
.article-hero .lead { color: var(--muted); max-width: 62ch; }

.breadcrumbs {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--grey); margin-bottom: var(--space-md);
}
.breadcrumbs a { color: var(--grey); text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs span { opacity: .45; margin: 0 var(--space-2xs); }

.article-figure { margin: clamp(28px, 4vw, 48px) 0; }
.article-figure img { width: 100%; border-radius: var(--radius); display: block; filter: grayscale(.3) brightness(.88); }
.article-figure figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--grey); margin-top: var(--space-sm); }

/* The reading column. 68ch is the readable maximum — do not widen it. */
.article-body { max-width: 720px; margin: 0 auto; padding-bottom: clamp(48px, 6vw, 80px); }
.article-body > * { max-width: 68ch; }
.article-body p { color: var(--text); font-size: 17px; line-height: 1.75; margin-bottom: var(--space-md); }
.article-body h2 { font-size: clamp(24px, 2.6vw, 34px); margin: clamp(40px, 4vw, 60px) 0 var(--space-sm); }
.article-body h3 { font-size: clamp(19px, 1.8vw, 23px); margin: var(--space-xl) 0 var(--space-xs); color: var(--white); }
.article-body ul, .article-body ol { margin: 0 0 var(--space-md) var(--space-md); color: var(--text); }
.article-body li { line-height: 1.72; margin-bottom: var(--space-2xs); padding-left: var(--space-2xs); }
.article-body li::marker { color: var(--orange); }
/* Inline prose links only. Must exclude .btn — otherwise this rule outranks
   .btn-primary's own colour and paints orange text onto an orange button. */
.article-body a:not(.btn) { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--white); }
.article-body hr { border: 0; border-top: 1px solid var(--border); margin: clamp(40px, 4vw, 56px) 0; }

/* Pull-out box for "the answer in one line" — good for featured snippets.
   Marked by the skewed orange tick (same motif as .tick / the wordmark slits)
   rather than a coloured side border, which reads as generic. */
.article-callout {
  background: var(--orange-soft); border: 1px solid var(--border);
  padding: var(--space-lg); border-radius: var(--radius);
  margin: var(--space-lg) 0;
}
.article-callout::before {
  content: ""; display: block; width: 26px; height: 4px;
  background: var(--orange); transform: skewX(-20deg);
  margin-bottom: var(--space-sm);
}
.article-callout p:last-child { margin-bottom: 0; }

/* Inline booking nudge, dropped mid-article and again at the end */
.article-cta {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius); padding: clamp(28px, 3vw, 40px);
  margin: clamp(40px, 4vw, 56px) 0; max-width: 68ch;
}
.article-cta h3 { margin-top: 0; font-size: clamp(21px, 2vw, 27px); }
.article-cta p { color: var(--muted); margin-bottom: var(--space-md); }

/* FAQ block — mirrors the FAQPage JSON-LD on each post */
.article-faq details {
  border-bottom: 1px solid var(--border); padding: var(--space-md) 0;
}
.article-faq summary {
  cursor: pointer; color: var(--white); font-family: var(--font-head);
  font-weight: 700; font-size: clamp(18px, 1.5vw, 21px); list-style: none;
  display: flex; justify-content: space-between; gap: var(--space-md);
}
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary::after { content: "+"; color: var(--orange); font-size: 22px; line-height: 1; }
.article-faq details[open] summary::after { content: "–"; }
.article-faq details p { margin: var(--space-sm) 0 0; color: var(--muted); }

@media (max-width: 820px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured .blog-thumb { min-height: 0; aspect-ratio: 16 / 9; }
  .blog-featured .blog-featured-body { padding: var(--space-lg); }
}

/* ===================== 12. RESPONSIVE ===================== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .about-split, .contact-split { grid-template-columns: 1fr; }
  .trust-strip .container { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; gap: clamp(32px, 6vw, 48px); align-items: start; }
  .proof-lead { position: static; top: auto; }   /* no sticky once stacked */
}

@media (max-width: 760px) {
  /* Hide the Explore nav column in the footer — mobile users have the hamburger menu.
     Must match the 760px drawer breakpoint below: when these were 768 and 760,
     viewports of 761-767px lost the footer nav before gaining the mobile bar. */
  .footer-grid > div:nth-child(2) { display: none; }
  /* Make Get in Touch span the full width now that Explore is hidden */
  .footer-grid > div:nth-child(3) { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --nav-h: 74px; }
  /* logo scaled to the mobile header so it has breathing room */
  .brand img { height: 52px; }
  .site-header.scrolled .brand img { height: 44px; }

  /* ---- Full-screen overlay menu (designed for phone, not a shrunk drawer) ---- */
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 4px;
    background: #0a0a0a;
    padding: 0 var(--gutter);
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    z-index: 9;
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  /* When overlay is open, remove backdrop-filter so fixed children position against the viewport */
  .site-header:has(.nav.open) { backdrop-filter: none; }
  /* mobile nav links: ~20% smaller than the oversized desktop-overlay defaults */
  .nav a:not(.btn) {
    font-size: clamp(1.9rem, 8.8vw, 2.7rem);
    font-style: italic;
    color: var(--white);
    padding: 6px 0;
    opacity: 0; transform: translateX(-12px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
  }
  .nav a:not(.btn)::after { display: none; }
  .nav.open a:not(.btn) { opacity: 1; transform: none; }
  .nav.open a:nth-child(1) { transition-delay: .06s; }
  .nav.open a:nth-child(2) { transition-delay: .12s; }
  .nav.open a:nth-child(3) { transition-delay: .18s; }
  .nav.open a:nth-child(4) { transition-delay: .24s; }
  .nav a.active { color: var(--orange); }
  .nav .btn-primary { margin: 20px 0 0; clip-path: none; align-self: stretch; padding: 12px 18px; font-size: 1rem; opacity: 0; transition: opacity .4s var(--ease) .3s; }
  .nav.open .btn-primary { opacity: 1; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 60; }

  .hero { min-height: 100vh; min-height: 100svh; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 3.8rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; clip-path: polygon(0 0,100% 0,100% 78%,calc(100% - 12px) 100%,0 100%); }
  .field-row { grid-template-columns: 1fr; }
  /* Footer — stack columns with generous breathing room on mobile */
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-brand img { height: 64px; margin-bottom: var(--space-sm); }
  .footer-col h3 { margin-top: 0; margin-bottom: var(--space-md); }
  .footer-social { margin-top: var(--space-md); }
  .footer-bottom { flex-direction: column; gap: 8px; margin-top: var(--space-2xl); }
  /* Home services preview stacks on phones (2x2 is too cramped for the text cards) */
  .preview-grid { grid-template-columns: 1fr; }

  /* ---- Service cards become tight spec-sheet rows on phone (no flip) ---- */
  .service-grid { gap: 0; border: 1px solid var(--border); }
  .service-card { min-height: 0; perspective: none; border: none; padding: 0; }
  .flip-inner { min-height: 0; transform: none !important; transition: none; }
  .flip-front { position: static; border: none; border-bottom: 1px solid var(--border); padding: 20px; }
  .service-card:last-child .flip-front { border-bottom: none; }
  .flip-back { display: none; }
  .service-card .service-icon { position: absolute; top: 20px; right: 20px; margin: 0; width: 44px; height: 44px; background: transparent; }
  .service-card h3 { padding-right: 56px; }
  .service-card .desc { margin-bottom: 16px; }
  .service-meta { margin-bottom: 16px; }

  /* ---- Sticky bottom action bar (injected by main.js) ---- */
  body { padding-bottom: 68px; } /* room so content clears the bar */
  .mobile-bar { display: grid; }
}

/* Mobile action bar — hidden on desktop, shown <=760px via the rule above */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  grid-template-columns: 1fr 1fr;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 8px;
  font-family: var(--font-head); font-weight: 700; font-style: italic;
  text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem;
}
.mobile-bar svg { width: 19px; height: 19px; }
/* Touch-only surface: :active is the honest feedback here, not :hover. */
.mobile-bar a { transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.mobile-bar .mb-call:active { background: var(--surface-2); }
.mobile-bar .mb-book:active { background: var(--orange-deep); }
.mobile-bar .mb-call { color: var(--white); border-right: 1px solid var(--border); }
.mobile-bar .mb-book { background: var(--orange); color: #0A0A0A; }
/* Declared after the base rule so it wins (media queries add no specificity) */
@media (max-width: 760px) { .mobile-bar { display: grid; } }

/* Skip link — visible only on keyboard focus */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 120;
  background: var(--orange); color: #0A0A0A; padding: 10px 16px; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  transform: translateY(-150%); transition: transform var(--t) var(--ease);
}
.skip-link:focus-visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .reveal .eyebrow::before, .eyebrow.reveal::before { transform: skewX(-20deg) scaleX(1) !important; }
  /* Keep the hover STATE (fill/colour still change, so hover is still legible)
     but remove the movement: no lift, and the sweep snaps rather than travels. */
  .btn:hover, .footer-social a:hover { transform: none !important; }
}
