/* ==========================================================================
   Commercial Ventilation & Extraction Solutions — main stylesheet
   1. Tokens  2. Base  3. Utilities  4. Buttons  5. Header / nav
   6. Heroes  7. Sections & cards  8. Forms  9. Page-specific  10. Footer
   Mobile-first: base styles target 320px, then 768px and 1200px upwards.
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  --black: #0A0A0A;
  --ink: #111111;
  --coal: #1A1A1A;
  --orange: #C85A1E;
  --orange-bright: #E0692A;
  --silver: #9EA3A8;
  --white: #FFFFFF;


  /* Semantic theme tokens. Light is the page default; dark bands re-scope them. */
  --bg: #FFFFFF;
  --surface: #F3F4F5;
  --surface-2: #E8EAEC;
  --heading: #0A0A0A;
  --text: #2B2E31;
  --text-strong: #3A3E42;
  --text-muted: #5C6166;
  --accent: #B14B13;
  --line: rgba(10, 10, 10, 0.14);
  --line-strong: rgba(200, 90, 30, 0.6);
  --hair: rgba(10, 10, 10, 0.1);
  --error: #C23B22;
  --success: #1E7D4B;

  --band: #E1E4E7; /* silver-grey section background */
  --font-head: "Montserrat", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --container: 1240px;
  --gutter: 1rem;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Dark bands: hero, page heroes, header over the hero, gallery/feature bands, footer */
.dark, .hero, .page-hero, .textured, .site-footer, .site-header {
  --bg: #0A0A0A; --surface: #111111; --surface-2: #1A1A1A;
  --heading: #FFFFFF; --text: #E9EAEB; --text-strong: #C9CCCF; --text-muted: #9EA3A8;
  --accent: #E0692A;
  --line: rgba(200, 90, 30, 0.2); --line-strong: rgba(200, 90, 30, 0.55); --hair: rgba(255, 255, 255, 0.08);
  --error: #FF7A66; --success: #6FCF97;
  color: var(--text);
}
/* ...and light islands inside them */
.light, .trust-bar, .site-header.is-solid, .site-header.is-open {
  --bg: #FFFFFF; --surface: #F3F4F5; --surface-2: #E8EAEC;
  --heading: #0A0A0A; --text: #2B2E31; --text-strong: #3A3E42; --text-muted: #5C6166;
  --accent: #B14B13;
  --line: rgba(10, 10, 10, 0.14); --line-strong: rgba(200, 90, 30, 0.6); --hair: rgba(10, 10, 10, 0.1);
  --error: #C23B22; --success: #1E7D4B;
  color: var(--text);
}

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

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

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

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

h1, h2, h3, h4 {
  margin: 0 0 var(--s-4);
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--heading);
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 6.4vw, 4.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.75rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent); }

:focus-visible { outline: 2px solid var(--orange-bright); outline-offset: 3px; }
::selection { background: var(--orange); color: #fff; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  padding: 0.75rem 1rem; background: var(--orange); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* 3. Utilities ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.bg-ink { background: var(--band); }
.section.dark { background: var(--bg); }
/* Cards sitting on a grey band are white so they still read as cards */
.bg-ink .card, .bg-ink .chip, .bg-ink .pillar, .bg-ink .service-list a, .bg-ink .accreditation { background: var(--bg); }
.bg-ink .pillar:hover, .bg-ink .service-list a:hover { background: var(--surface); }
.bg-coal { background: var(--surface-2); }
.text-orange { color: var(--orange); }
.text-muted { color: var(--text-muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Fine diagonal hatch used on the darker feature bands */
.textured {
  background-color: var(--surface-2);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 12px);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-bottom: var(--s-4);
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 0; }
.section-head--split { max-width: none; display: grid; gap: var(--s-4); }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--text-strong); }

/* Section divider: hairline with an orange node */
.rule { position: relative; height: 1px; background: var(--hair); }
.rule::before {
  content: ""; position: absolute; left: var(--gutter); top: -3px;
  width: 56px; height: 7px; background: var(--orange);
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}

.icon { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }

/* 4. Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.85rem 1.6rem;
  border: 1px solid transparent; border-radius: 0;
  font-family: var(--font-head); font-size: 0.86rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; text-align: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2; transition: transform 0.2s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-bright); color: #fff; }
.btn--outline { border-color: currentColor; color: var(--heading); }
.btn--outline:hover { background: var(--heading); border-color: var(--heading); color: var(--bg); }
.btn--ghost { border-color: var(--line-strong); color: var(--heading); }
.btn--ghost:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0.6rem 1.1rem; font-size: 0.76rem; }
.btn-row { display: flex; flex-direction: column; gap: 0.75rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
.link-arrow .icon { width: 16px; height: 16px; stroke-width: 2; transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* 5. Header / nav --------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-solid, .site-header.is-open { background: rgba(255, 255, 255, 0.97); border-bottom-color: var(--hair); box-shadow: 0 1px 0 var(--hair); }
@supports (backdrop-filter: blur(10px)) {
  .site-header.is-solid { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); }
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--heading); min-width: 0; }
.brand:hover { color: var(--heading); }
.brand__mark { width: 40px; height: 40px; flex: none; transition: transform 0.9s var(--ease); }
.brand:hover .brand__mark { transform: rotate(120deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); text-transform: uppercase; }
.brand__name { font-size: 1.02rem; font-weight: 800; letter-spacing: -0.01em; }
.brand__sub { margin-top: 4px; font-size: 0.5rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); white-space: nowrap; }
.brand__tail { display: none; }

.nav-toggle {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  background: none; border: 1px solid var(--hair); color: var(--heading); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: currentColor;
  transition: transform 0.25s var(--ease), background-color 0.2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  display: none; flex-direction: column; gap: var(--s-5);
  padding: var(--s-5) var(--gutter) var(--s-7);
  background: var(--bg); overflow-y: auto;
}
.is-open .nav { display: flex; }
.nav__list { display: flex; flex-direction: column; }
.nav__item { border-bottom: 1px solid var(--hair); }
.nav__link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 1rem 0; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--heading); text-align: left;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--accent); }
.nav__link .icon { width: 16px; height: 16px; stroke-width: 2; transition: transform 0.2s var(--ease); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.subnav { display: none; padding: 0 0 1rem; }
.nav__link[aria-expanded="true"] + .subnav { display: grid; gap: 0.1rem; }
.subnav a { display: block; padding: 0.55rem 0 0.55rem 1rem; border-left: 2px solid var(--line); color: var(--text-muted); font-size: 0.95rem; }
.subnav a:hover, .subnav a[aria-current="page"] { color: var(--heading); border-left-color: var(--orange); }
.nav__cta { display: grid; gap: 0.75rem; }
.nav__phone { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-weight: 700; color: var(--heading); }
.nav__phone .icon { width: 18px; height: 18px; color: var(--accent); }

/* 6. Heroes --------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; background: var(--bg); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Legibility overlay over the photograph */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.35) 30%, rgba(10, 10, 10, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.55) 60%, rgba(10, 10, 10, 0.4) 100%);
}
/* Homepage hero: the whole photo is shown (nothing cropped).
   Phones/tablets: photo on top, text underneath. Desktop: photo right, text left. */
.hero--clear .hero__media { top: var(--header-h); bottom: auto; height: 72.3vw; max-height: 60vh; }
.hero--clear .hero__media img { width: 100%; height: 100%; object-fit: contain; object-position: center top; }
.hero--clear .hero__media::after { background: linear-gradient(180deg, rgba(10, 10, 10, 0) 70%, var(--bg) 100%); }
.hero--clear .hero__body { align-items: flex-start; padding-top: calc(var(--header-h) + min(72.3vw, 60vh) + 1.25rem); }
@media (min-width: 1024px) {
  .hero--clear .hero__media { bottom: 66px; height: auto; max-height: none; }
  .hero--clear .hero__media img {
    position: absolute; right: 0; top: 0; width: auto; max-width: 100%; height: 100%;
    object-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%);
    mask-image: linear-gradient(90deg, transparent 0, #000 38%);
  }
  .hero--clear .hero__media::after {
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.35) 45%, rgba(10, 10, 10, 0) 80%);
  }
  .hero--clear .hero__body { align-items: center; padding-top: calc(var(--header-h) + 2.5rem); }
}

.hero__body { flex: 1; display: flex; align-items: center; padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 2.5rem; }
.hero__content { max-width: 860px; position: relative; padding-left: 1rem; border-left: 3px solid var(--orange); }
.hero h1 { margin-bottom: var(--s-5); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { max-width: 620px; margin-bottom: var(--s-6); }

.trust-bar { background: var(--bg); border-top: 3px solid var(--orange); }
.trust-bar__list { display: grid; grid-template-columns: 1fr 1fr; }
.trust-bar__item {
  display: flex; align-items: center; gap: 0.6rem; padding: 1rem 0.5rem 1rem 0;
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--heading);
}
.trust-bar__item:nth-child(n+3) { border-top: 1px solid var(--hair); }
.trust-bar__item .icon { width: 18px; height: 18px; stroke-width: 2.5; color: var(--accent); }

.page-hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + 3rem) 0 3.5rem; background: var(--bg); overflow: hidden; }
.page-hero .hero__media::after {
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.78) 55%, rgba(10, 10, 10, 0.55) 100%);
}
/* Orange blade on the right edge */
.page-hero::after {
  content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; width: 34%; max-width: 420px; height: 8px;
  background: var(--orange); clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}
.page-hero .hero__media img { object-position: center 30%; }
/* Page heroes show the whole canopy photo (nothing cropped).
   Phones/tablets: photo on top, text underneath. Desktop: photo right, text left. */
.page-hero { padding-top: calc(var(--header-h) + min(72.3vw, 60vh) + 1.25rem); }
.page-hero .hero__media { top: var(--header-h); bottom: auto; height: 72.3vw; max-height: 60vh; }
.page-hero .hero__media img { width: 100%; height: 100%; object-fit: contain; object-position: center top; }
.page-hero .hero__media::after { background: linear-gradient(180deg, rgba(10, 10, 10, 0) 70%, var(--bg) 100%); }
@media (min-width: 1024px) {
  .page-hero { padding-top: calc(var(--header-h) + 3rem); min-height: 560px; }
  .page-hero .hero__media { bottom: 0; height: auto; max-height: none; }
  .page-hero .hero__media img {
    position: absolute; right: 0; top: 0; width: auto; max-width: 100%; height: 100%;
    object-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%);
    mask-image: linear-gradient(90deg, transparent 0, #000 38%);
  }
  .page-hero .hero__media::after {
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.5) 50%, rgba(10, 10, 10, 0) 85%);
  }
}
.page-hero h1 { font-size: clamp(1.9rem, 5.4vw, 3.6rem); max-width: 900px; }
.page-hero .lead { max-width: 680px; margin-bottom: var(--s-6); }

.breadcrumb { margin-bottom: var(--s-5); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; font-size: 0.8rem; color: var(--text-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.6rem; color: var(--orange); }
.breadcrumb a { color: var(--silver); }
.breadcrumb a:hover { color: var(--heading); }
.breadcrumb [aria-current] { color: var(--heading); }

/* 7. Sections & cards ----------------------------------------------------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.service-card { border-top: 3px solid var(--heading); display: flex; flex-direction: column; padding: 1rem 0.85rem 1.1rem; color: var(--text); overflow: hidden; }
.service-card::after { display: none;
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.service-card:hover { color: var(--text); border-color: var(--line-strong); border-top-color: var(--orange); background: var(--surface-2); transform: translateY(-4px); }
.service-card:hover::after { transform: scaleX(1); }
.service-card__num { font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; color: var(--silver); }
.service-card .icon { width: 34px; height: 34px; margin: 0.9rem 0 1rem; color: var(--silver); transition: color 0.25s var(--ease); }
.service-card:hover .icon { color: var(--accent); }
.service-card h3 { font-size: 0.9rem; margin-bottom: 0.5rem; hyphens: auto; }
.service-card p { font-size: 0.8rem; line-height: 1.5; color: var(--text-muted); margin-bottom: 1rem; }
.service-card__more { margin-top: auto; font-family: var(--font-head); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

/* Why choose us */
.pillars { display: grid; gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.pillar { padding: 2rem 1.5rem; background: var(--surface-2); position: relative; transition: background-color 0.25s var(--ease); }
.pillar:hover { background: #202020; }
.pillar__num { position: absolute; right: 1.25rem; top: 1rem; font-family: var(--font-head); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--hair); }
.pillar .icon { width: 36px; height: 36px; color: var(--accent); margin-bottom: 1.25rem; }
.pillar p { color: var(--text-muted); margin: 0; }

/* Intro: what we do */
.intro__grid { display: grid; gap: 2rem; }
.checklist li { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.85rem 0; border-bottom: 1px solid var(--hair); color: var(--text); }
.checklist li:first-child { border-top: 1px solid var(--hair); }
.checklist .icon { width: 20px; height: 20px; margin-top: 0.2rem; stroke-width: 2.5; color: var(--accent); }
.process { display: grid; margin-top: clamp(2.5rem, 6vw, 4rem); counter-reset: step; }
.process li { padding: 1.25rem 0 1.5rem; border-top: 3px solid var(--heading); }
.process__num { display: block; margin-bottom: 0.75rem; font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); }
.process h3 { margin-bottom: 0.4rem; }
.process p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

/* Emergency band */
.alert-band { background: var(--orange); }
.alert-band strong { color: #0A0A0A; }
.alert-band span { color: rgba(10, 10, 10, 0.82); }
.alert-band .btn--primary { background: #0A0A0A; }
.alert-band .btn--primary:hover { background: #1A1A1A; }
.alert-band__inner { display: flex; flex-direction: column; gap: 1.25rem; padding-block: 1.75rem; }
.alert-band strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }

/* Industries */
.industries { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 0.6rem; overflow-x: auto; padding-bottom: 0.75rem; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--orange) var(--surface-2); }
.industry { scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.4rem 1.1rem; }
.industry:hover { border-color: var(--orange); }
.industry .icon { width: 32px; height: 32px; color: var(--accent); }
.industry span { font-family: var(--font-head); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--heading); }

/* Stats band */
.stats { background: var(--orange); color: #0A0A0A; }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; }
.stat { padding: 1.75rem 0.5rem 1.75rem 0; }
.stat:nth-child(even) { padding-left: 1rem; border-left: 1px solid rgba(10, 10, 10, 0.25); }
.stat:nth-child(n+3) { border-top: 1px solid rgba(10, 10, 10, 0.25); }
.stat__value { display: block; white-space: nowrap; font-family: var(--font-head); font-size: clamp(1.75rem, 5.2vw, 3.25rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat__label { display: block; margin-top: 0.5rem; font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

/* Generic grids */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1rem; }
.feature { padding: 1.5rem; }
.feature:hover { border-color: var(--line-strong); }
.feature .icon { color: var(--accent); margin-bottom: 1rem; }
.feature h3 { font-size: 1.02rem; margin-bottom: 0.5rem; }
.feature p { font-size: 0.94rem; color: var(--text-muted); margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.85rem; border: 1px solid var(--line); background: var(--surface); font-size: 0.86rem; color: var(--text); transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.chip:hover { border-color: var(--orange); color: var(--heading); }
.chip .icon { width: 18px; height: 18px; color: var(--accent); }

/* Article layout on service & location pages */
.split { display: grid; gap: 2.5rem; }
.prose h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-strong); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--heading); }
.prose figure { margin: 2rem 0; border: 1px solid var(--line); }
.prose figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose figcaption { padding: 0.7rem 1rem; font-size: 0.8rem; color: var(--text-muted); border-top: 1px solid var(--line); }

.prose figure.is-photo img { aspect-ratio: auto; max-height: 560px; }

/* Project photo gallery: masonry columns keep each photo uncropped */
.gallery { columns: 2; column-gap: 0.75rem; }
.gallery__item { break-inside: avoid; margin: 0 0 0.75rem; overflow: hidden; }
.gallery__item:hover { border-color: var(--orange); }
.gallery__item a { display: block; overflow: hidden; }
.gallery__item img { width: 100%; height: auto; transition: transform 0.5s var(--ease); }
.gallery__item a:hover img { transform: scale(1.04); }
.gallery__item p { margin: 0; padding: 0.7rem 0.85rem; border-top: 1px solid var(--line); font-size: 0.82rem; line-height: 1.5; color: var(--text-muted); }

.aside-card { padding: 1.5rem; }
.aside-card + .aside-card { margin-top: 1rem; }
.aside-card h2 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.facts { margin: 0 0 1.25rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--hair); font-size: 0.9rem; }
.facts dt { color: var(--text-muted); }
.facts dd { margin: 0; color: var(--heading); font-weight: 600; text-align: right; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--hair); font-size: 0.93rem; color: var(--text); }
.related li:last-child a { border-bottom: 0; }
.related a:hover { color: var(--accent); }
.related .icon { width: 16px; height: 16px; stroke-width: 2; color: var(--orange); transition: transform 0.2s var(--ease); }
.related a:hover .icon { transform: translateX(4px); }

/* Standards */
.standard { padding: 1.5rem; border-left: 3px solid var(--orange); }
.standard h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.standard p { font-size: 0.93rem; color: var(--text-muted); margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--hair); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.35; color: var(--heading);
  transition: color 0.2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--accent); font-weight: 400; font-size: 1.2rem; line-height: 1; transition: transform 0.25s var(--ease), background-color 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq details p { padding: 0 2.75rem 1.4rem 0; margin: 0; color: var(--text-strong); }

/* 8. CTA & forms ---------------------------------------------------------- */
.cta { background: var(--band); border-top: 1px solid var(--hair); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 0; top: 0; width: 120px; height: 6px; background: var(--orange); clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.cta__grid { display: grid; gap: 2.5rem; }
.cta h2 { color: var(--accent); }
.contact-list { display: grid; gap: 1px; margin-top: 2rem; background: var(--hair); border: 1px solid var(--hair); }
.contact-list__item { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; background: var(--bg); color: var(--text); transition: background-color 0.2s var(--ease); }
a.contact-list__item:hover { background: var(--surface-2); color: var(--text); }
.contact-list__item .icon { color: var(--accent); }
.contact-list__label { display: block; font-family: var(--font-head); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.contact-list__value { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--heading); overflow-wrap: anywhere; }

.form-card { padding: 1.5rem 1.25rem; background: var(--bg); }
.form-card h3 { font-size: 1.25rem; }
.form-grid { display: grid; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); }
.field label span { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.8rem 0.9rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 0;
  color: var(--heading); font: inherit; font-size: 1rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23E0692A' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: 0.8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange-bright); background: var(--surface-2); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field__error { min-height: 1.1em; font-size: 0.8rem; line-height: 1.3; color: var(--error); }
.quote-form .btn { margin-top: 1.25rem; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin: 0.9rem 0 0; }
.form-status { display: none; margin-bottom: 1rem; padding: 0.9rem 1rem; border: 1px solid var(--error); color: var(--error); font-size: 0.92rem; }
.form-status.is-shown { display: block; }
.form-success { display: none; padding: 2rem 0; }
.form-success .icon { width: 44px; height: 44px; color: var(--success); margin-bottom: 1rem; }
.form-success p { color: var(--text-muted); margin: 0; }
.is-sent .quote-form { display: none; }
.is-sent .form-success { display: block; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.hp { position: absolute; left: -9999px; }

/* 9. Page-specific -------------------------------------------------------- */
/* Location: map placeholder */
.map { position: relative; min-height: 340px; display: grid; place-items: center; padding: 2rem; text-align: center; border: 1px solid var(--line); background-color: var(--surface); background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px); background-size: 40px 40px; }
.map .icon { width: 40px; height: 40px; margin: 0 auto 1rem; color: var(--accent); }
.map p { max-width: 420px; color: var(--text-muted); font-size: 0.9rem; margin: 0 auto; }
.map strong { display: block; font-family: var(--font-head); color: var(--heading); font-size: 1.05rem; margin-bottom: 0.4rem; }

.service-list { display: grid; gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.service-list a { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; background: var(--surface); color: var(--text); transition: background-color 0.2s var(--ease); }
.service-list a:hover { background: var(--surface-2); color: var(--heading); }
.service-list .icon { color: var(--accent); }
.service-list strong { display: block; font-family: var(--font-head); font-size: 0.96rem; color: var(--heading); }
.service-list small { display: block; font-size: 0.84rem; color: var(--text-muted); line-height: 1.45; }

/* Contact: hours + coverage map */
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours th, .hours td { padding: 0.8rem 0; border-bottom: 1px solid var(--hair); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--heading); font-weight: 600; }
.hours th { color: var(--text-muted); }
.coverage { padding: 1.5rem; }
.coverage svg { width: 100%; max-width: 420px; margin-inline: auto; height: auto; }
.coverage .dot { fill: #C3C7CB; }
.coverage .city { fill: var(--orange-bright); }
.coverage .ring { fill: none; stroke: var(--orange); stroke-width: 0.6; opacity: 0.6; }
.coverage text { font-family: var(--font-head); font-size: 6.5px; font-weight: 700; letter-spacing: 0.06em; fill: var(--heading); text-transform: uppercase; paint-order: stroke; stroke: var(--surface); stroke-width: 3px; }

/* About */
.values { counter-reset: v; }
.accreditations { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.accreditation { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; min-height: 150px; padding: 1.25rem 1rem; text-align: center; border: 1px dashed var(--line-strong); background: var(--surface); transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.accreditation:hover { border-style: solid; background: var(--surface-2); }
.accreditation { min-width: 0; }
.accreditation strong { overflow-wrap: anywhere; font-family: var(--font-head); font-size: clamp(0.95rem, 4.6vw, 1.3rem); font-weight: 800; color: var(--heading); letter-spacing: -0.02em; }
.accreditation span { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }
.accreditation em { font-style: normal; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }

.timeline { position: relative; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding: 0 0 2.25rem 2.25rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 11px; height: 11px; background: var(--orange); transform: rotate(45deg); }
.timeline__year { display: block; font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); }
.timeline h3 { margin: 0.3rem 0 0.4rem; }
.timeline p { color: var(--text-muted); margin: 0; }

.media-frame { position: relative; border: 1px solid var(--line); }
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-frame::after { content: ""; position: absolute; right: -8px; bottom: -8px; width: 64px; height: 64px; border-right: 3px solid var(--orange); border-bottom: 3px solid var(--orange); pointer-events: none; }

.error-page { background: var(--bg); color: var(--text); min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 2rem) 0 4rem; }
.error-page__code { font-family: var(--font-head); font-size: clamp(5rem, 22vw, 11rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--orange); }

/* 10. Footer -------------------------------------------------------------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--hair); padding-top: var(--s-8); font-size: 0.93rem; }
.footer__grid { display: grid; gap: 2.5rem; padding-bottom: var(--s-7); }
.footer__brand p { max-width: 340px; margin: 1.25rem 0 0; color: var(--text-muted); }
.footer__logo { display: inline-block; padding: 0.6rem 0.9rem; background: #FEFEFE; }
.footer__logo img { width: 230px; }
.footer__title { margin-bottom: 1.1rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.footer__links li { margin-bottom: 0.55rem; }
.footer__links a { color: var(--text-muted); }
.footer__links a:hover { color: var(--heading); }
.footer__links span { color: var(--text-muted); opacity: 0.7; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.footer__bottom { display: flex; flex-direction: column; gap: 0.5rem; padding-block: 1.5rem; border-top: 1px solid var(--hair); font-size: 0.82rem; color: var(--text-muted); }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 400px) {
  .brand__name { font-size: 1.15rem; }
  .brand__sub { font-size: 0.56rem; }
  .trust-bar__item { font-size: 0.74rem; }
  .service-card { padding: 1.25rem 1.1rem 1.3rem; }
  .service-card h3 { font-size: 0.98rem; }
  .service-card p { font-size: 0.85rem; }
}

@media (min-width: 560px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .industries { grid-auto-columns: 30%; }
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .form-grid--2 .field--full { grid-column: 1 / -1; }
  .form-card { padding: 2rem; }
  .accreditations { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  :root { --gutter: 2rem; --header-h: 80px; }
  .brand__mark { width: 48px; height: 48px; }
  .brand__name { font-size: 1.3rem; }
  .brand__sub { font-size: 0.62rem; }
  .hero__content { padding-left: 2rem; }
  .trust-bar__list { grid-template-columns: repeat(4, 1fr); }
  .trust-bar__item { padding: 1.35rem 1rem; justify-content: center; }
  .trust-bar__item:nth-child(n+3) { border-top: 0; }
  .trust-bar__item + .trust-bar__item { border-left: 1px solid var(--hair); }
  .services-grid { gap: 1rem; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillar { padding: 2.5rem 2rem; }
  .industries { grid-auto-columns: 22%; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .process { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
  .alert-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .stat { padding: 2.75rem 1.5rem; }
  .stat:first-child { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 0; }
  .stat + .stat { border-left: 1px solid rgba(10, 10, 10, 0.25); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .service-list { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 3; column-gap: 1rem; }
  .gallery__item { margin-bottom: 1rem; }
  .section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 3rem; }
  .footer__grid { grid-template-columns: 1.3fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(5, 1fr); }
  .intro__grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .industries { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; padding-bottom: 0; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr) 360px; gap: 4rem; align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; align-items: center; }
  .split__aside { position: sticky; top: calc(var(--header-h) + 24px); }
  .cta__grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
  .footer__grid { grid-template-columns: 1.4fr 1.5fr 1fr 1.1fr; gap: 3rem; }
}

/* Desktop navigation */
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 1.75rem; padding: 0; background: none; overflow: visible; }
  .nav__list { flex-direction: row; align-items: center; gap: 1.6rem; }
  .nav__item { position: relative; border: 0; }
  .nav__link { width: auto; gap: 0.4rem; padding: 0.5rem 0; font-size: 0.76rem; letter-spacing: 0.1em; position: relative; }
  .nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
  .nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link[aria-expanded="true"]::after { transform: scaleX(1); }
  .nav__link .icon { width: 12px; height: 12px; }
  .subnav, .nav__link[aria-expanded="true"] + .subnav {
    position: absolute; top: 100%; left: -1.25rem; display: grid; gap: 0;
    min-width: 250px; padding: 0.75rem 0; margin-top: 0.75rem;
    background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--orange);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  /* Bridge the gap so the menu doesn't close while the pointer travels to it */
  .subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; }
  .subnav--wide { grid-template-columns: 1fr 1fr; min-width: 600px; }
  .nav__item:hover > .subnav, .nav__item:focus-within > .subnav, .nav__link[aria-expanded="true"] + .subnav { opacity: 1; visibility: visible; transform: none; }
  .subnav a { padding: 0.6rem 1.25rem; border-left: 2px solid transparent; font-size: 0.9rem; color: var(--text); }
  .subnav a:hover { background: var(--surface-2); }
  .nav__cta { display: flex; align-items: center; gap: 1.25rem; }
  .nav__cta .btn { min-height: 44px; padding: 0.6rem 1.1rem; font-size: 0.74rem; }
  .nav__phone { font-size: 0.9rem; white-space: nowrap; }
}

@media (min-width: 1200px) {
  :root { --gutter: 2.5rem; }
  .brand__tail { display: inline; color: var(--silver); }
}

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

/* Sticky contact banner: full-width bar along the bottom. Right side is kept clear
   of Netlify's bottom-right badge. */
.sticky-contact {
  position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: nowrap;
  padding: 0.6rem 11rem 0.6rem 1rem;
  background: var(--coal); border-top: 3px solid var(--orange);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.35);
}
.sticky-contact__text { margin: 0 auto 0 0; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; }
.sticky-contact__text strong { color: var(--orange); }
.sticky-contact__btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.1rem; border-radius: 999px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.sticky-contact__btn .icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sticky-contact__btn--call { background: var(--orange); }
.sticky-contact__btn--wa { background: #1E8E4E; }
.sticky-contact__btn--form { background: #3a3a3a; }
.sticky-contact__btn:hover { filter: brightness(1.15); }
body { padding-bottom: 4.5rem; }
@media (max-width: 720px) {
  .sticky-contact { padding: 0.5rem 5.5rem 0.5rem 0.5rem; gap: 0.35rem; }
  .sticky-contact__text { display: none; }
  .sticky-contact__btn { flex: 1; justify-content: center; padding: 0.7rem 0.4rem; gap: 0.3rem; font-size: 0.8rem; }
  .sticky-contact__btn .icon { width: 18px; height: 18px; }
}

/* Brands grid */
.section-head--center { margin-inline: auto; text-align: center; }
.brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.brand-tile { display: flex; align-items: center; justify-content: center; height: 84px; padding: 0.9rem 1.1rem; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 4px rgba(10, 10, 10, 0.06); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.brand-tile:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(10, 10, 10, 0.12); }
.brand-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.brand-tile--text span { font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: 0.02em; color: var(--heading); text-align: center; line-height: 1.15; }
.brand-tile--more span { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
@media (min-width: 640px) { .brands { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .brands { grid-template-columns: repeat(4, 1fr); gap: 0.8rem; } .brand-tile { height: 96px; } }
@media (min-width: 1100px) { .brands { grid-template-columns: repeat(6, 1fr); } }

/* Areas we cover */
.areas { display: grid; gap: 0.5rem; grid-template-columns: 1fr; }
.areas__city { border: 1px solid var(--line); background: var(--surface); align-self: start; }
.areas__city[open] { border-color: var(--orange); background: #fff; }
.areas__city summary { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.8rem 1rem; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--heading); list-style: none; }
.areas__city summary::-webkit-details-marker { display: none; }
.areas__city summary::after { content: "+"; margin-left: auto; color: var(--accent); font-size: 1.2rem; line-height: 1; }
.areas__city[open] summary::after { content: "\2212"; }
.areas__count { font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; color: var(--text-muted); }
.areas__link { display: inline-block; margin: 0 1rem 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.areas__list { list-style: none; margin: 0; padding: 0 1rem 1rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.area { padding: 0.25rem 0.6rem; border: 1px solid var(--line); font-size: 0.78rem; color: var(--text); background: var(--surface); }
.area--near { color: var(--text-muted); border-style: dashed; }
@media (min-width: 640px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .areas { grid-template-columns: repeat(3, 1fr); } }

/* Locations page: postcode finder and search */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.finder { padding: clamp(1.25rem, 4vw, 2.25rem); max-width: 820px; margin-inline: auto; }
.finder__form label { display: block; margin-bottom: 0.5rem; font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--heading); }
.finder__row { display: flex; flex-direction: column; gap: 0.6rem; }
.finder__row input, .areas-search input { width: 100%; min-height: 48px; padding: 0.7rem 1rem; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 1rem; color: var(--heading); }
.finder__row input { text-transform: uppercase; }
.finder__row input:focus, .areas-search input:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.finder__error { margin: 0.6rem 0 0; color: var(--error); font-size: 0.9rem; }
.finder__result { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.finder__label { margin: 0 0 0.25rem; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.finder__city { margin: 0 0 0.25rem; }
.finder__dist { color: var(--text-muted); }
.finder__areas { padding: 0; margin: 0.75rem 0 1.25rem; }
.finder__also { margin: 1.25rem 0 0; font-size: 0.9rem; color: var(--text-muted); }
.finder__pick { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--accent); text-decoration: underline; cursor: pointer; }
.areas-search { max-width: 520px; margin-bottom: 1.5rem; }
.areas-search__count { margin: 0.4rem 0 0; font-size: 0.85rem; color: var(--text-muted); }
.areas-empty { margin-top: 1.5rem; }
.areas__city[hidden] { display: none; }
@media (min-width: 640px) { .finder__row { flex-direction: row; } .finder__row input { flex: 1; } }

/* Locations page: portrait UK map, shown whole and taller than the photo heroes */
.page-hero--map { padding-top: calc(var(--header-h) + min(120vw, 70vh) + 1.25rem); }
.page-hero--map .hero__media { height: 120vw; max-height: 70vh; }
@media (min-width: 1024px) {
  .page-hero--map { padding-top: calc(var(--header-h) + 3rem); min-height: 760px; }
  .page-hero--map .hero__media { height: auto; max-height: none; }
}
