/* Evans Motorcare — brand: Orange #e84e0f, Navy #00152c */
/* Self-hosted fonts (latin subset), so visitors' browsers never contact Google for fonts */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.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; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.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; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.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; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600.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; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700.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; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-800.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; }
:root {
    --orange: #e84e0f;
    --orange-dark: #c23f08;
    --navy: #00152c;
    --navy-soft: #0b2744;
    --ink: #1c2a3a;
    --muted: #4f5d6d;
    --line: #dde2e8;
    --tint: #f3f5f8;
    --white: #fff;
    --head: "Barlow Condensed", "Arial Narrow", sans-serif;
    --body: "Barlow", system-ui, sans-serif;
    --slant: 6vw; /* depth of the diagonal cuts, taken from the spray-gun slash on the business card */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
a, button, input, label, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 0 0 .6em; color: var(--navy); font-weight: 700; letter-spacing: .005em; }
h1 { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; max-width: 62ch; }

/* Logo */
.logo { display: inline-block; line-height: 0; text-decoration: none; }
.logo img { height: auto; width: clamp(120px, 34vw, 168px); transition: transform .25s ease; }
.logo:hover img { transform: scale(1.04); }
.site-footer .logo img { width: 190px; }

/* Header */
.site-header { background: #fff; border-bottom: 2px solid var(--orange); position: sticky; top: 0; z-index: 50; transition: box-shadow .25s ease; padding-top: env(safe-area-inset-top); }
.site-header.scrolled { box-shadow: 0 6px 18px rgba(0, 21, 44, .14); }
.bar { display: flex; align-items: center; justify-content: space-between; padding-block: .8rem; gap: 1rem; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { text-decoration: none; font-weight: 600; color: var(--navy); padding-block: .3rem; border-bottom: 3px solid transparent; background: linear-gradient(var(--orange), var(--orange)) left bottom / 0 3px no-repeat; transition: background-size .25s ease; }
.nav a:hover { background-size: 100% 3px; }
.nav a[aria-current="page"] { background-size: 100% 3px; }
.nav .nav-call, .nav .nav-cta { background: var(--orange); color: #fff; padding: .55rem 1.1rem; border-bottom: 0; transition: background-color .15s, transform .15s; }
.nav .nav-call:hover, .nav .nav-cta:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(232, 78, 15, .35); }
.nav .nav-cta { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; letter-spacing: .01em; }
.nav .nav-cta span { display: inline-block; transition: transform .2s ease; }
.nav .nav-cta:hover span { transform: translateX(4px); }
.nav-toggle { display: none; align-items: center; gap: .6rem; font: inherit; font-weight: 600; background: var(--navy); color: #fff; border: 0; padding: .7rem 1rem; min-height: 44px; cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: #fff; transition: transform .25s ease, background-color .25s ease; }
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-block; font-family: var(--body); font-weight: 600; font-size: 1.05rem; text-decoration: none; padding: .85rem 1.6rem; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; text-align: center; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .2); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Hero: navy field, orange slash carrying the call-in panel */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 50%; background: var(--orange); clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; align-items: center; padding-block: clamp(3rem, 8vw, 6rem); }
.hero h1 { color: #fff; }
.lead { font-size: 1.25rem; color: #d6deea; }
.hero-panel { justify-self: end; width: min(100%, 22rem); color: #fff; padding-left: 1rem; }
.hero-panel h2 { color: #fff; font-size: 2rem; margin-bottom: .2em; }
.hero-panel p { margin-bottom: 1.2rem; }
.phone { display: flex; flex-direction: column; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 2rem; line-height: 1.1; margin-bottom: 1rem; }
.phone span { font-family: var(--body); font-weight: 500; font-size: .95rem; color: var(--navy); }
.phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.phone-dark { color: var(--orange); }
.phone-dark span { color: var(--muted); }

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-tint { background: var(--tint); }
.split { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.text-link { font-weight: 600; color: var(--orange-dark); text-underline-offset: 4px; }
.text-link:hover { color: var(--navy); }
.sign { font-family: var(--head); font-weight: 700; font-size: 1.8rem; color: var(--orange); }

/* Home: workshop photo beside intro */
.about-split { grid-template-columns: 1fr 1fr; align-items: center; }
.about-photo { position: relative; margin: 0; }
.about-photo picture { display: block; }
.about-photo::before { content: ""; position: absolute; inset: .9rem -.9rem -.9rem .9rem; background: var(--orange); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.about-photo:hover::before { transform: translate(-.5rem, -.5rem); }
.about-photo img { position: relative; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 22%; }

/* Slide up and fade in: a slightly longer slide than the other sections so it stands out */
.js .about-photo.reveal:not(.in) { transform: translateY(60px); }
.js .about-photo.reveal { transition-duration: .9s; }

@media (max-width: 860px) {
    .about-photo { margin: 0 .5rem 1.4rem 0; }
    .about-photo::before { inset: .5rem -.5rem -.5rem .5rem; }
    .about-photo img { aspect-ratio: 4 / 3; }
}

/* Page heading band with diagonal base */
.page-head { background: var(--navy); color: #fff; padding-block: clamp(2.5rem, 6vw, 4.5rem) calc(clamp(2.5rem, 6vw, 4.5rem) + 2vw); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2vw), 0 100%); border-bottom: 0; }
.page-head h1 { color: #fff; margin: 0; }
.page-head + .section { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* Services: ruled list, not cards */
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 5vw, 4rem); }
.service-list li { border-top: 3px solid var(--navy); padding: 1.1rem 0 1.6rem; }
.service-list li:nth-child(odd):last-child { grid-column: 1 / -1; }
.service-list li { transition: border-color .25s ease, transform .25s ease; }
.service-list li:hover { border-top-color: var(--orange); transform: translateY(-3px); }
.service-list h2, .service-list h3 { font-size: 1.6rem; margin-bottom: .3em; }
.service-list p { margin: 0; color: var(--muted); }
.service-list-short li { border-top-color: var(--orange); }

/* Chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.2rem 0 0; }
.chips li { border: 2px solid var(--navy); color: var(--navy); font-weight: 600; padding: .25rem .8rem; transition: background-color .2s, color .2s; }
.chips li:hover { background: var(--navy); color: #fff; }
.chips-big li { font-family: var(--head); font-size: 1.6rem; padding: .3rem 1.1rem; }

/* CTA band */
.cta-band { background: var(--orange); color: #fff; padding-block: clamp(2.2rem, 5vw, 3.5rem); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; }

/* Gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery li { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.gallery a { display: block; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.06); }
.gallery-placeholder li { background: repeating-linear-gradient(135deg, var(--tint) 0 14px, #e8ecf1 14px 28px); }
.empty { color: var(--muted); }
code { background: var(--tint); padding: .1rem .35rem; }
.lightbox { animation: fade .2s ease; position: fixed; inset: 0; background: rgba(0, 21, 44, .94); display: grid; place-items: center; z-index: 200; padding: 1.5rem; }
.lightbox img { max-height: 88vh; max-width: 92vw; object-fit: contain; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; font: inherit; font-weight: 600; background: var(--orange); color: #fff; border: 0; padding: .6rem 1.1rem; cursor: pointer; }

/* Before / after slider */
.ba-hint { color: var(--muted); margin-bottom: 1.5rem; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2rem); margin-bottom: 0; }
.ba-item { margin: 0; }
.ba-item figcaption { font-family: var(--head); font-weight: 700; font-size: 1.4rem; color: var(--navy); margin-top: .6rem; }

/* Slider moves with transforms only (no repaint): the "before" layer slides in and its image slides back by the same amount */
.ba { --pos-n: .5; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; contain: layout paint; touch-action: pan-y; cursor: ew-resize; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba-clip { position: absolute; inset: 0; overflow: hidden; will-change: transform; transform: translate3d(calc((var(--pos-n) - 1) * 100%), 0, 0); }
.ba-clip img { will-change: transform; transform: translate3d(calc((1 - var(--pos-n)) * 100%), 0, 0); }

.ba-tag { position: absolute; top: .8rem; padding: .25rem .7rem; background: var(--navy); color: #fff; font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ba-tag-before { left: .8rem; }
.ba-tag-after { right: .8rem; background: var(--orange); }

.ba-handle { position: absolute; inset: 0; pointer-events: none; will-change: transform; transform: translate3d(calc(var(--pos-n) * 100%), 0, 0); }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; background: #fff; }
.ba-knob { position: absolute; top: 50%; left: 0; width: 46px; height: 46px; transform: translate(-50%, -50%); background: var(--orange); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(0, 21, 44, .3); transition: scale .15s ease; }
.ba.dragging .ba-knob { scale: 1.12; }
.ba-knob::before, .ba-knob::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; transform: translateY(-50%); }
.ba-knob::before { left: 6px; border-right-color: #fff; border-left-width: 0; }
.ba-knob::after { right: 6px; border-left-color: #fff; border-right-width: 0; }

/* The range input is kept for keyboard and screen readers only; pointer/touch is handled in main.js so vertical scrolling never moves the slider */
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba:has(.ba-range:focus-visible) .ba-knob { outline: 3px solid var(--navy); outline-offset: 3px; }

@media (max-width: 860px) {
    .ba-grid { grid-template-columns: 1fr; }
    .ba-knob { width: 42px; height: 42px; }
}

/* Contact */
.mini-h { font-size: 1.7rem; margin-top: 0; }
address { font-style: normal; margin-bottom: 1rem; }
.contact-lead { max-width: 46ch; margin-bottom: 2rem; color: var(--muted); }

.call-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.call-card { display: flex; flex-direction: column; gap: .35rem; text-decoration: none; background: var(--orange); color: #fff; padding: clamp(1.5rem, 3vw, 2.2rem); border-bottom: 6px solid var(--navy); transition: background-color .15s, transform .15s, box-shadow .15s; }
.call-card:nth-child(even) { background: var(--navy); border-bottom-color: var(--orange); }
.call-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0, 21, 44, .25); }
.call-card:nth-child(odd):hover { background: var(--orange-dark); }
.call-card:nth-child(even):hover { background: var(--navy-soft); }
.call-name { font-weight: 600; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.call-num { font-family: var(--head); font-weight: 800; font-size: clamp(2.5rem, 5.5vw, 3.8rem); line-height: 1; white-space: nowrap; }
.call-cta { font-weight: 600; margin-top: .5rem; }

.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); }
.hours { font-size: 1.25rem; margin-bottom: .6rem; }
.hours-note { color: var(--muted); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.25); }

@media (max-width: 860px) {
    .call-cards, .visit { grid-template-columns: 1fr; }
    .call-card { padding: 1.4rem 1.25rem; }
    .call-card .call-cta { font-size: 1.05rem; }
}
@media (hover: hover) and (min-width: 861px) {
    .call-cta { opacity: .85; }
}

/* Footer */
.site-footer { background: var(--navy); color: #cfd8e5; padding-top: 3rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.foot-h { font-size: 1.3rem; color: #fff; margin-bottom: .4em; }
.foot-note { margin-top: 1rem; max-width: 30ch; }
.foot-hours { margin-top: .6rem; }
.site-footer p { margin-bottom: .4rem; }
.site-footer a { color: #fff; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--orange); }
.foot-base { border-top: 1px solid var(--navy-soft); padding-block: 1.2rem; font-size: .9rem; }

/* Footer legal links + link-styled button */
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.foot-company { flex: 1 0 100%; margin: 0; font-size: .85rem; color: #9fb0c6; max-width: none; }
.foot-legal { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.link-btn { font: inherit; color: #fff; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--orange); }

/* Cookie banner */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: var(--navy); color: #fff; border-top: 4px solid var(--orange); box-shadow: 0 -8px 24px rgba(0, 21, 44, .35); padding: 1.1rem 0 calc(1.1rem + env(safe-area-inset-bottom)); }
.cookie-banner[hidden] { display: none; }
.cookie-inner { width: min(1120px, 100% - 2.5rem); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; flex-wrap: wrap; }
.cookie-text { flex: 1 1 28rem; }
.cookie-text h2 { color: #fff; font-size: 1.4rem; margin: 0 0 .2em; }
.cookie-text p { margin: 0; max-width: 70ch; font-size: .98rem; line-height: 1.5; color: #d6deea; }
.cookie-text a { color: #fff; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: .7rem; flex: 0 0 auto; }
.cookie-actions .btn { min-width: 8.5rem; padding-block: .7rem; }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--navy); }

/* Map gate (map only loads after consent) */
.map-gate { min-height: 380px; display: grid; place-items: center; text-align: center; padding: 2rem 1.25rem; background: repeating-linear-gradient(135deg, var(--tint) 0 14px, #e8ecf1 14px 28px); }
.map-gate-inner p { margin-inline: auto; }
.map-alt { margin: 1rem auto 0; }

/* Cookie policy page */
.policy { max-width: 48rem; }
.policy h2 { font-size: 1.9rem; margin-top: 2rem; }
.policy h2:first-child { margin-top: 0; }
.policy p, .policy li { max-width: none; }
.policy ul { padding-left: 1.2rem; }
.table-wrap { overflow-x: auto; margin-bottom: 1.2rem; }
.policy table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .98rem; }
.policy th, .policy td { text-align: left; vertical-align: top; padding: .6rem .8rem; border: 1px solid var(--line); }
.policy th { background: var(--tint); color: var(--navy); }

/* Mobile call bar (shown on small screens only) */
.call-bar { display: none; }

/* Animations */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slash { from { transform: translateX(40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slashUp { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wipe { from { clip-path: polygon(0 0, 0 0, 0 calc(100% - 2vw), 0 100%); } to { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2vw), 0 100%); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 78, 15, .5); } 50% { box-shadow: 0 0 0 10px rgba(232, 78, 15, 0); } }

.anim-in { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.anim-d2 { animation-delay: .2s; }
.hero::after { animation: slash .9s cubic-bezier(.2, .7, .2, 1) both; }
.page-head { animation: wipe .8s cubic-bezier(.2, .7, .2, 1) both; }
.nav .nav-call, .nav .nav-cta { animation: pulse 2.6s ease-in-out 1.5s 3; }

/* Scroll reveals: only hide content when JS is running, so no-JS visitors still see everything */
.js .reveal, .js .stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in, .js .stagger.in > * { opacity: 1; transform: none; }
.js .stagger.in > *:nth-child(2) { transition-delay: .08s; }
.js .stagger.in > *:nth-child(3) { transition-delay: .16s; }
.js .stagger.in > *:nth-child(4) { transition-delay: .24s; }
.js .stagger.in > *:nth-child(5) { transition-delay: .32s; }
.js .stagger.in > *:nth-child(6) { transition-delay: .4s; }
.js .stagger.in > *:nth-child(n+7) { transition-delay: .45s; }
/* keep hover lift working after reveal finishes */
.js .stagger.done > * { transition-delay: 0s; transition-duration: .25s; }

/* Responsive */
@media (max-width: 860px) {
    :root { --slant: 6vw; }
    body { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
    .nav-toggle { display: inline-flex; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem 1.4rem; border-bottom: 2px solid var(--orange); max-height: calc(100vh - 70px); overflow-y: auto; }
    .nav.open { display: flex; animation: fade .2s ease; }
    .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); background-image: none; min-height: 44px; }
    .nav .nav-cta { justify-content: center; }
    .nav .nav-call, .nav .nav-cta { text-align: center; margin-top: .8rem; animation: none; }
    .hero::after { width: 100%; clip-path: polygon(0 62%, 100% 48%, 100% 100%, 0 100%); animation-name: slashUp; }
    .hero-grid { grid-template-columns: 1fr; padding-bottom: 2.5rem; }
    .hero-panel { justify-self: start; padding-left: 0; margin-top: 3.5rem; }
    .split, .contact-grid, .service-list, .foot-grid { grid-template-columns: 1fr; }
    .form .row { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; gap: .4rem; }
    .btn-row .btn { flex: 1 1 100%; }
    .cta-inner .btn { width: 100%; }
    .chips-big li { font-size: 1.35rem; }
    .gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
    .map iframe { height: 300px; }
    .map-gate { min-height: 300px; }
    body.has-cookie-banner .call-bar { display: none; }
    .cookie-banner { padding-top: .9rem; }
    .cookie-inner { width: min(1120px, 100% - 2rem); }
    .cookie-actions { width: 100%; }
    .cookie-actions .btn { flex: 1 1 0; }
    .form .btn { justify-self: stretch; }
    .phone { padding-block: .2rem; }
    .site-footer a { display: inline-block; padding-block: .15rem; }
    .call-bar { display: flex; justify-content: center; align-items: center; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--orange); color: #fff; font-weight: 700; text-decoration: none; padding: .95rem 1rem calc(.95rem + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0, 21, 44, .25); }
    .call-bar span { font-weight: 500; }
}
@media (max-width: 400px) {
    .wrap { width: min(1120px, 100% - 2rem); }
    h1 { font-size: 2.6rem; }
    .lead { font-size: 1.12rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
}
