/* Accredited Locksmith Services — redesign prototype
   Layout: one strong enamel-green hero band with a brass key, then calm,
   readable sections on a steel-tinted paper ground. Mobile-first, with a
   fixed call bar on phones. */
:root {
  --paper: #f2f3ef;        /* steel-tinted off-white ground */
  --card: #ffffff;
  --ink: #16211f;          /* body text */
  --muted: #55625f;
  --line: #d6dbd5;
  --enamel: #123b35;       /* deep door-enamel green, hero + footer */
  --enamel-2: #0c2b27;
  --on-enamel: #eef3ef;
  --on-enamel-muted: #b5c7c0;
  --brass: #c4912f;        /* polished brass accent */
  --brass-ink: #6e4c0d;    /* brass dark enough for text on paper */
  --brass-soft: #f4e6c6;
  --ok: #1f7a4a;
  --star: #e2a72e;

  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "Public Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 6px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1514; --card: #172120; --ink: #e6ece9; --muted: #9fb0ab; --line: #2a3735;
    --enamel: #0c2e29; --enamel-2: #081f1c; --on-enamel: #eef3ef; --on-enamel-muted: #a9bdb6;
    --brass: #d9a443; --brass-ink: #e7bd67; --brass-soft: #2e2715; --ok: #4cc283; --star: #f0b84a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1514; --card: #172120; --ink: #e6ece9; --muted: #9fb0ab; --line: #2a3735;
  --enamel: #0c2e29; --enamel-2: #081f1c; --on-enamel: #eef3ef; --on-enamel-muted: #a9bdb6;
  --brass: #d9a443; --brass-ink: #e7bd67; --brass-soft: #2e2715; --ok: #4cc283; --star: #f0b84a;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65;
  padding-bottom: 4.5rem; /* room for phone call bar */
}
@media (min-width: 860px) { body { padding-bottom: 0; } }
img, svg { max-width: 100%; height: auto; }
a { color: var(--brass-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--brass); color: #111; padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }

h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.1rem); font-weight: 800; font-stretch: 112%; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; font-stretch: 108%; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
.prose { display: grid; gap: 1rem; max-width: 65ch; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.eyebrow { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-ink); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }

/* ---------- Header ---------- */
.site-head { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.site-head .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand svg { flex: none; width: 2.4rem; height: 2.4rem; }
.brand-logo { flex: none; width: auto; height: 3.1rem; }
.brand b { font-family: var(--f-display); font-stretch: 110%; font-weight: 800; font-size: 1.05rem; line-height: 1.05; display: block; }
.brand small { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; color: var(--muted); display: block; }
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .4rem .1rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brass-ink); box-shadow: inset 0 -2px var(--brass); }
.site-head .head-call { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; gap: 1.4rem; }
  .site-head .head-call { display: inline-flex; }
  .menu { display: none; }
}
.menu summary { list-style: none; cursor: pointer; font-weight: 700; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel { display: grid; }
.menu-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem; gap: .1rem; }
.menu-panel a { color: var(--ink); text-decoration: none; font-weight: 600; padding: .65rem 0; border-bottom: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-weight: 800; font-family: var(--f-display); font-stretch: 105%;
  text-decoration: none; border-radius: var(--radius); padding: .85rem 1.25rem; font-size: 1.05rem; line-height: 1.1; border: 2px solid transparent; cursor: pointer; }
.btn-brass { background: var(--brass); color: #16110a; }
.btn-brass:hover { background: #d6a03a; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn small { display: block; font-family: var(--f-body); font-weight: 500; font-size: .75rem; opacity: .85; }
.btn svg { width: 1.2rem; height: 1.2rem; flex: none; }
.tel { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(120% 140% at 85% 20%, #1c5048 0%, var(--enamel) 45%, var(--enamel-2) 100%); color: var(--on-enamel); overflow: hidden; }
.hero .wrap { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.25fr .9fr; } }
.hero h1 em { font-style: normal; color: var(--brass); }
.hero .lede { color: var(--on-enamel-muted); margin-top: 1.1rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.hero .eyebrow { color: var(--brass); display: block; margin-bottom: 1rem; }
.hero-key { position: relative; }
.hero-key svg { width: 100%; max-width: 30rem; display: block; margin-inline: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.stamps { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
a.stamp { text-decoration: none; transition: border-color .15s, color .15s; }
a.stamp:hover, a.stamp:focus-visible { border-color: var(--brass); color: var(--brass); }
.stamp { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; border: 1px solid rgba(238,243,239,.35); border-radius: 3px; padding: .3rem .55rem; color: var(--on-enamel); }
.page-hero .wrap { grid-template-columns: 1fr; padding-block: clamp(2rem, 5vw, 3.25rem); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 22ch; }

/* ---------- Proof strip ---------- */
.proof { background: var(--card); border-bottom: 1px solid var(--line); }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .proof ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.proof li { padding: 1rem .75rem; display: grid; gap: .1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .proof li { border-bottom: 0; } .proof li:last-child { border-right: 0; } }
.proof strong { font-family: var(--f-display); font-stretch: 110%; font-size: 1.45rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.proof span { font-size: .88rem; color: var(--muted); }
.stars { color: var(--star); letter-spacing: .05em; }

/* ---------- Sections ---------- */
section.band { padding-block: clamp(3rem, 7vw, 5rem); }
section.band.alt { background: var(--card); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: .7rem; margin-bottom: 2rem; max-width: 46rem; }
.grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid.two, .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.split { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.split > * { min-width: 0; }

.service { display: grid; grid-template-rows: auto auto 1fr auto; gap: .6rem; padding: 1.4rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.band.alt .service { background: var(--paper); }
.service:hover { border-color: var(--brass); transform: translateY(-2px); }
.service .ico { width: 2.6rem; height: 2.6rem; color: var(--brass-ink); }
.service p { color: var(--muted); font-size: .97rem; }
.service .more { font-weight: 700; color: var(--brass-ink); font-size: .95rem; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.checks li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .6rem; align-items: start; }
.checks li::before { content: ""; width: 1.25rem; height: 1.25rem; margin-top: .2rem; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.checks.warn li::before { background: var(--brass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v6M10 14.5v.5' fill='none' stroke='%2316110a' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* Process steps: a real sequence, so numbered */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { counter-increment: step; padding-top: 1rem; border-top: 3px solid var(--brass); display: grid; gap: .4rem; }
.steps li::before { content: "Step " counter(step); font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-ink); }
.steps p { color: var(--muted); font-size: .97rem; }

/* Reviews */
.reviews { display: grid; gap: 1rem; }
@media (min-width: 700px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review { margin: 0; padding: 1.3rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .7rem; align-content: start; }
.band.alt .review { background: var(--paper); }
.review blockquote { margin: 0; font-size: 1rem; }
.review figcaption { font-weight: 700; font-size: .92rem; }
.review figcaption span { font-weight: 400; color: var(--muted); }

/* Area chips */
.areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.areas li a, .areas li span { display: inline-block; padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.areas li a { border-color: var(--brass); }
.areas li a:hover { background: var(--brass-soft); }
.areas small { font-family: var(--f-mono); color: var(--muted); font-weight: 400; margin-left: .3rem; font-size: .75rem; }

/* Callout */
.callout { background: var(--brass-soft); border: 1px solid var(--brass); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .8rem; }
.callout h2, .callout h3 { color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: .6rem; max-width: 52rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.2rem; }
.band.alt .faq details { background: var(--paper); }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--brass-ink); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq .a { padding-bottom: 1.1rem; color: var(--muted); display: grid; gap: .6rem; }

/* Fact table (key specs) */
.facts { width: 100%; border-collapse: collapse; font-size: .97rem; }
.facts th, .facts td { text-align: left; padding: .65rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { font-weight: 700; width: 40%; }
.table-wrap { overflow-x: auto; }

/* Breadcrumb */
.crumbs { font-size: .85rem; color: var(--on-enamel-muted); margin-bottom: 1rem; }
.crumbs a { color: var(--on-enamel); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }

/* CTA band */
.cta-band { background: var(--enamel); color: var(--on-enamel); }
.cta-band .wrap { display: grid; gap: 1.2rem; padding-block: clamp(2.5rem, 6vw, 3.5rem); }
@media (min-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.cta-band p { color: var(--on-enamel-muted); }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Form */
.form { display: grid; gap: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.form label { display: grid; gap: .35rem; font-weight: 700; font-size: .95rem; }
.form input, .form textarea, .form select { font: inherit; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); width: 100%; }
.form .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.form-note { padding: .8rem 1rem; border-radius: var(--radius); background: var(--brass-soft); border: 1px solid var(--brass); }

/* Footer */
.site-foot { background: var(--enamel-2); color: var(--on-enamel-muted); font-size: .93rem; }
.site-foot .wrap { display: grid; gap: 2rem; padding-block: 3rem 2rem; }
@media (min-width: 800px) { .site-foot .wrap { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-foot h2 { font-size: 1rem; color: var(--on-enamel); margin-bottom: .7rem; font-stretch: 105%; }
.site-foot a { color: var(--on-enamel); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-foot address { font-style: normal; display: grid; gap: .2rem; }
.site-foot .legal { grid-column: 1 / -1; border-top: 1px solid rgba(238,243,239,.15); padding-top: 1.2rem; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .03em; }

/* Phone call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1.4fr 1fr; gap: .5rem;
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom, 0px)); background: var(--enamel-2); border-top: 1px solid rgba(238,243,239,.15); }
.callbar .btn { padding: .7rem .5rem; font-size: 1rem; }
.callbar .btn-ghost { color: var(--on-enamel); }
@media (min-width: 860px) { .callbar { display: none; } }

/* Key divider: bitting cuts as a section rule */
.keyrule { display: block; width: 100%; height: 18px; color: var(--line); }

/* =============== v3: livelier, family-first =============== */
.topbar { background: var(--enamel-2); color: var(--on-enamel-muted); font-size: .85rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; justify-content: space-between; padding-block: .45rem; }
.topbar strong { color: var(--brass); }
.topbar a { color: var(--on-enamel); font-weight: 700; text-decoration: none; }
@media (max-width: 640px) { .topbar span:nth-child(2) { display: none; } }

/* Hero door scene */
.hero h1 em { display: inline-block; }
.door-scene { position: relative; justify-self: center; width: min(100%, 22rem); aspect-ratio: 3 / 4; max-width: 100%; }
.door-frame { position: absolute; inset: 0 12% 0 12%; background: #0a201d; border: 12px solid #e9ece6; border-bottom: 0; border-radius: 4px 4px 0 0; perspective: 900px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.door-light { position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 70%, #ffe7a8 0%, #f0b24b 35%, #7a4b14 75%, #2a1a08 100%); }
.door-light::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 26%; height: 52%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,240,200,.9), transparent); }
.door-leaf { position: absolute; inset: 0; transform-origin: left center; transform: rotateY(-38deg); box-shadow: 18px 0 30px rgba(0,0,0,.35); animation: door-open 1.6s cubic-bezier(.2,.7,.2,1) .4s backwards; }
.door-leaf svg { width: 100%; height: 100%; display: block; }
@keyframes door-open { from { transform: rotateY(0deg); } }
.years-badge { position: absolute; right: -2%; bottom: 6%; width: 38%; min-width: 7rem; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
.years-badge svg { width: 100%; display: block; }
.years-badge text textPath, .years-badge svg > text:first-of-type { transform-origin: 80px 80px; }
.years-badge svg text:first-of-type { animation: spin 26s linear infinite; transform-box: view-box; transform-origin: 80px 80px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .door-leaf { animation: none; } .years-badge svg text { animation: none; } }

/* Trust badges row */
.badges { background: var(--card); border-bottom: 1px solid var(--line); }
.badges ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .badges ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .badges ul { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.badges li { display: grid; gap: .1rem; padding: 1rem .9rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.badges strong { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.35rem; color: var(--brass-ink); line-height: 1.1; }
.badges span { font-weight: 700; font-size: .9rem; }
.badges small { color: var(--muted); font-size: .8rem; }

/* Service cards: illustrated tops */
.service { padding: 0; overflow: hidden; grid-template-rows: auto auto 1fr auto; }
.service > :not(.svc-art) { margin-inline: 1.4rem; }
.service .more { margin-bottom: 1.3rem; }
.svc-art { display: grid; place-items: center; height: 12rem; background:
  radial-gradient(circle at 80% 20%, rgba(196,145,47,.25), transparent 55%),
  repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 10px, transparent 10px 20px), var(--enamel); margin-bottom: .6rem; }
.svc-art .ico { width: 4.2rem; height: 4.2rem; color: var(--brass); transition: transform .3s; }
.service:hover .svc-art .ico { transform: scale(1.12) rotate(-6deg); }

/* Family band */
.family-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 950px) { .family-grid { grid-template-columns: 1fr 1fr; } }
.family-grid > * { min-width: 0; }
.counters { list-style: none; padding: 0; margin: .5rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.counters li { border-left: 3px solid var(--brass); padding-left: .8rem; display: grid; }
.counters strong { font-family: var(--f-display); font-stretch: 115%; font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.counters span { color: var(--muted); font-size: .9rem; }

/* Photo collage */
.collage { display: grid; gap: .8rem; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; }
.collage .c1 { grid-row: span 2; }
.pic { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--enamel); min-height: 10rem; }
.pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pic.portrait { background: radial-gradient(circle at 30% 20%, rgba(196,145,47,.28), transparent 60%), var(--enamel); }
.pic.portrait img { object-fit: contain; padding: 1.2rem 1.2rem 3rem; }
.pic.portrait img { box-sizing: border-box; }
.collage .c1 img, .collage .c1 .pic-art { min-height: 21rem; }
.pic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .8rem; background: linear-gradient(transparent, rgba(8,31,28,.92)); color: #eef3ef; font-size: .85rem; font-weight: 600; display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.pic-art { display: grid; place-items: center; height: 100%; min-height: 10rem; padding: 1rem 1rem 2.5rem; background: radial-gradient(circle at 30% 20%, rgba(196,145,47,.28), transparent 60%), var(--enamel); }
.pic-art svg { width: 70%; max-width: 12rem; }
.pic-todo { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; background: var(--brass); color: #16110a; padding: .1rem .4rem; border-radius: 3px; font-weight: 600; }
.about-collage { margin-bottom: 1rem; }
.collage.solo.about-collage { max-width: 19.5rem; }
.about-collage .c1 img { min-height: 15.75rem; }
.collage.solo { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; width: 100%; }

/* Reviews marquee */
.marquee { overflow: hidden; padding-block: .5rem 1rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 1rem; width: max-content; padding-inline: var(--gutter); animation: slide 70s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee .review { width: min(22rem, 80vw); flex: none; background: var(--paper); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee-track { animation: none; } }

/* Gentle entrance for sections (content is visible at rest) */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s ease-out both; }
  @keyframes rise { from { transform: translateY(14px); } }
}

/* Hero on David's own photo, with a compare switch in the prototype */
.hero { position: relative; }
.hero-bg { display: none; position: absolute; inset: 0; background-size: cover; background-position: 75% 40%; }
.hero.show-photo .hero-bg { display: block; }
.hero.show-photo .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,31,28,.94) 0%, rgba(8,31,28,.82) 42%, rgba(8,31,28,.2) 100%); }
@media (max-width: 899px) { .hero.show-photo .hero-bg::after { background: linear-gradient(rgba(8,31,28,.5), rgba(8,31,28,.92) 55%); } }
.hero > .wrap { position: relative; }
.hero.show-photo .door-scene { display: none; } /* keep the photo clear; the headline already says 32 years */
.hero.show-photo .door-scene { aspect-ratio: auto; min-height: 9rem; justify-self: end; align-self: end; }
.hero.show-photo .years-badge { position: static; width: 9.5rem; }
.hero-compare { position: absolute; top: .75rem; right: var(--gutter); z-index: 2; display: flex; align-items: center; gap: .25rem; padding: .25rem; border-radius: 999px; background: rgba(8,31,28,.8); border: 1px solid rgba(238,243,239,.25); font-size: .8rem; color: var(--on-enamel-muted); }
.hero-compare span { padding-inline: .5rem .2rem; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.hero-compare button { font: inherit; font-weight: 700; color: var(--on-enamel); background: transparent; border: 0; border-radius: 999px; padding: .35rem .8rem; cursor: pointer; }
.hero-compare button[aria-pressed="true"] { background: var(--brass); color: #16110a; }


/* Service cards with photos */
.svc-art.svc-photo { display: block; height: 12rem; padding: 0; background: var(--enamel); overflow: hidden; }
.svc-art.svc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.service:hover .svc-art.svc-photo img { transform: scale(1.05); }
.svc-art.svc-photo img[src*="upvc-door"] { object-position: 50% 35%; }
.svc-art.svc-photo img[src*="lock-change"] { object-position: 40% 50%; }
.svc-art.svc-photo img[src*="emergency"] { object-position: 45% 40%; }
/* EPS cutaway is a labelled diagram on white: show it whole rather than cropped */
.svc-art.svc-photo:has(img[src*="evva-eps"]) { background: #fff; }
.svc-art.svc-photo img[src*="evva-eps"] { object-fit: contain; padding: .4rem; }
.svc-art.svc-photo img[src*="wooden-door"] { object-position: 50% 40%; }
.svc-art.svc-photo img[src*="window-repairs"] { object-position: 50% 45%; }
.btn-wa svg { width: 1.35rem; height: 1.35rem; }
/* Linked trust badges */
.badges li > a { display: grid; gap: .1rem; color: inherit; text-decoration: none; margin: -1rem -.9rem; padding: 1rem .9rem; height: calc(100% + 2rem); }
.badges li > a:hover { background: var(--brass-soft); }
.badges li > a:hover small { text-decoration: underline; }
.badges li.long strong { font-size: 1.05rem; line-height: 1.15; }
@media (min-width: 1100px) { .badges ul { grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr)); } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Popular lock ranges grid (Services page) */
.ranges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-top: 1.6rem; }
@media (min-width: 760px) { .ranges { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.range { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto auto; }
.range img, .range-empty { display: block; width: 100%; aspect-ratio: 4 / 3; max-width: 100%; object-fit: contain; background: #fff; }
.range-empty { display: grid; place-items: center; align-content: center; gap: .5rem; background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 10px, transparent 10px 20px), var(--enamel); }
.range-empty .ico { width: 2.6rem; height: 2.6rem; color: var(--brass); }
.range figcaption { padding: .6rem .8rem; font-weight: 700; font-size: .92rem; }
.range img { padding: .6rem; }
.callout.tip { padding: 1rem 1.25rem; margin: 1rem 0 1.5rem; border-left: 5px solid var(--brass); }
.callout.tip strong { color: var(--ink); letter-spacing: .04em; }

.inline-photo { margin: 1.5rem 0; max-width: 30rem; background: #fff; border-radius: var(--radius); padding: .5rem; }
.inline-photo img { width: 100%; height: auto; display: block; }
.side-photo { margin: 0 auto; max-width: 22rem; background: #f0eeef; }
.split-mid { margin-top: 2.5rem; }
@media (min-width: 900px) { .split-mid { grid-template-columns: 1fr 1fr; align-items: center; } }
.carousel { margin: 2rem 0; min-width: 0; }
.carousel-note { color: var(--muted); margin-top: -.4rem; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .8rem; border-radius: var(--radius); scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; background: #16110a; border-radius: var(--radius); overflow: hidden; position: relative; }
.carousel .slide img { width: 100%; height: 24rem; object-fit: contain; display: block; }
.carousel .slide figcaption { padding: .6rem .9rem; background: var(--enamel); color: #eef3ef; font-size: .9rem; font-weight: 600; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: .7rem; }
.carousel-btn { width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 2px solid var(--enamel); background: #fff; color: var(--enamel); font-size: 1.2rem; cursor: pointer; }
.carousel-btn:hover { background: var(--enamel); color: #fff; }
.carousel-count { font-family: var(--f-mono); font-size: .85rem; min-width: 4rem; text-align: center; }
@media (max-width: 600px) { .carousel .slide img { height: 18rem; } }
.map-band { padding: 0 0 3rem; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(0,0,0,.12); background: var(--enamel); aspect-ratio: 16 / 7; min-height: 18rem; }
.map-frame { position: relative; }
.map-frame iframe { position: relative; width: 100%; height: 100%; border: 0; display: block; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: #eef3ef; font-weight: 600; }
.map-link { margin-top: .7rem; }
@media (max-width: 600px) { .map-frame { aspect-ratio: 4 / 3; } }
.family .collage.solo { max-width: 13rem; }
.family .collage .c1 img { min-height: 10.5rem; }
.family .pic.portrait img { padding: .6rem .6rem 3.6rem; }
/* Phones and tablets: the call bar at the bottom is always visible, so don't repeat
   the Call / WhatsApp pair in the hero and the closing band (David, 2026-10-07). */
@media (max-width: 859px) { .hero-ctas, .cta-band .btns { display: none; } }
