/* ==========================================================================
   Response Plumber — Plumbing, Heating & Renovation
   Shared stylesheet. One file for the whole site.

   Structure:
     1. Tokens          — colours, type, spacing, radii, shadows
     2. Reset & base    — sensible defaults, typography scale
     3. Layout          — container, section rhythm, grid helpers
     4. Components      — buttons, header, footer, cards, badges
     5. Page sections   — hero, trust strip, capability band, etc.
     6. Utilities       — reveal animation, visually-hidden, print

   Tone: professional and traditional. Navy carries the large surfaces,
   the saturated brand blue is used only as an accent, and the amber is
   reserved exclusively for the 24-hour emergency messaging.
   ========================================================================== */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  /* Brand palette — do not add colours outside this list without asking. */
  --brand-blue: #0000DB;   /* from the logo — CTAs, links, accents */
  --navy:       #0A1A4A;   /* headers, hero overlay, footer, large surfaces */
  --ink:        #111827;   /* body copy */
  --slate:      #5B6478;   /* secondary text */
  --cloud:      #F5F7FB;   /* section backgrounds */
  --white:      #FFFFFF;
  --emergency:  #F59E0B;   /* 24hr / emergency badge ONLY, used sparingly */

  /* Derived shades. Kept here so the six brand colours above stay canonical. */
  --brand-blue-dark: #0000A8;  /* hover state for blue buttons */
  --navy-deep:       #06102F;  /* footer base, hero gradient anchor */
  --navy-soft:       #16295F;  /* navy panels that need separation */
  --line:            #E2E7F0;  /* hairline borders on light surfaces */
  --line-dark:       rgba(255, 255, 255, 0.14);
  --emergency-ink:   #7A4A00;  /* readable amber text on light backgrounds */

  /* Type */
  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Shape */
  --radius:    4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(10, 26, 74, 0.06), 0 1px 3px rgba(10, 26, 74, 0.08);
  --shadow-md: 0 4px 6px rgba(10, 26, 74, 0.05), 0 10px 20px rgba(10, 26, 74, 0.08);
  --shadow-lg: 0 12px 24px rgba(10, 26, 74, 0.10), 0 24px 48px rgba(10, 26, 74, 0.12);

  --container: 1180px;
  --header-h:  68px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Anchor targets clear the sticky header. */
  scroll-padding-top: calc(var(--header-h) + var(--sp-4));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Room for the fixed mobile action bar so the footer is never covered. */
@media (max-width: 720px) {
  body { padding-bottom: 68px; }
}

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

img { height: auto; }

a { color: var(--brand-blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-blue-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  color: var(--navy);
  margin: 0 0 var(--sp-4);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.35rem, 6.2vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15rem; }
li { margin-bottom: var(--sp-2); }

strong { font-weight: 600; color: var(--navy); }

/* Visible, high-contrast focus for keyboard users. */
:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: 2px;
}
.on-navy :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible { outline-color: var(--emergency); }

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 200;
  background: var(--brand-blue);
  color: var(--white);
  padding: var(--sp-3) var(--sp-5);
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.15s var(--ease);
}
.skip-link:focus { top: 0; color: var(--white); }

/* ==========================================================================
   3. Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.section { padding-block: var(--sp-8); }
.section--tight { padding-block: var(--sp-7); }
.section--cloud { background: var(--cloud); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, 0.82); }

/* Every dark surface on the site. Headings default to navy, so anything sitting
   on navy has to opt back into white — keep new dark sections in this list. */
.section--navy h2, .section--navy h3, .section--navy h4,
.capability h2,    .capability h3,    .capability h4,
.cta-band h2,      .cta-band h3,      .cta-band h4 { color: var(--white); }

@media (min-width: 900px) {
  .section { padding-block: var(--sp-9); }
  .section--tight { padding-block: var(--sp-8); }
}

/* Section heading block */
.section-head { max-width: 62ch; margin-bottom: var(--sp-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--slate); font-size: 1.05rem; }
.section--navy .section-head p,
.capability .section-head p,
.cta-band .section-head p { color: rgba(255, 255, 255, 0.75); }

.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: var(--sp-2);
}
/* Brand blue is unreadable on navy — dark surfaces use the amber accent. */
.section--navy .eyebrow,
.capability .eyebrow,
.cta-band .eyebrow,
.hero .eyebrow { color: var(--emergency); }

/* A short rule used under headings to add a bit of traditional weight. */
.rule {
  width: 56px;
  height: 3px;
  background: var(--brand-blue);
  border: 0;
  margin: 0 0 var(--sp-5);
}
.section-head--center .rule { margin-inline: auto; }
.section--navy .rule,
.capability .rule,
.cta-band .rule { background: var(--emergency); }

/* ==========================================================================
   4. Components
   ========================================================================== */

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
              color 0.18s var(--ease), transform 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--primary {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }

/* On dark surfaces */
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn--ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.075rem; }
.btn--block { width: 100%; }

/* --- Emergency badge ------------------------------------------------------ */
.badge-24 {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.3rem 0.7rem;
  background: var(--emergency);
  color: var(--navy-deep);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.7); }
}

/* --- Header --------------------------------------------------------------- */
/* Thin utility strip above the header. Scrolls away; the sticky header below
   keeps the phone number on screen at every size. */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 38px;
  padding-block: var(--sp-2);
}
.topbar__item { display: flex; align-items: center; gap: var(--sp-2); }
.topbar__item svg { flex: none; opacity: 0.7; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 500; }
.topbar a:hover { color: var(--emergency); }
.topbar__hide { display: none; }
@media (min-width: 900px) { .topbar__hide { display: flex; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }

.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: var(--header-h);
  padding-block: var(--sp-3);
}

.brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand img { width: 176px; height: auto; }
@media (min-width: 900px) { .brand img { width: 208px; } }

/* Desktop navigation */
.nav { display: none; }
@media (min-width: 980px) {
  .nav { display: flex; align-items: center; gap: var(--sp-5); }
}
.nav a {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding-block: var(--sp-2);
  border-bottom: 2px solid transparent;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.nav a:hover { color: var(--brand-blue); border-bottom-color: var(--brand-blue); }
.nav a[aria-current="page"] { color: var(--brand-blue); border-bottom-color: var(--brand-blue); }

/* The persistent header call button. Compact on phones, full number on desktop. */
.header-call {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.55rem 0.85rem;
  background: var(--brand-blue);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
  line-height: 1.15;
  transition: background-color 0.18s var(--ease);
}
.header-call:hover { background: var(--brand-blue-dark); color: var(--white); }
.header-call svg { flex: none; }
.header-call__label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emergency);
}
.header-call__num { display: block; font-weight: 700; font-size: 1.02rem; letter-spacing: 0.01em; }
.header-call__text { display: none; }
@media (min-width: 560px) {
  .header-call { padding: 0.5rem 1rem; }
  .header-call__text { display: block; }
}

/* Mobile menu toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--navy); }
@media (min-width: 980px) { .nav-toggle { display: none; } }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.mobile-nav.is-open { display: block; }
@media (min-width: 980px) { .mobile-nav, .mobile-nav.is-open { display: none; } }
.mobile-nav ul { list-style: none; margin: 0; padding: var(--sp-2) 0 var(--sp-4); }
.mobile-nav li { margin: 0; }
.mobile-nav a {
  display: block;
  padding: 0.85rem var(--sp-5);
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] { background: var(--cloud); color: var(--brand-blue); }

/* Fixed mobile action bar — guarantees tap-to-call without scrolling. */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(10, 26, 74, 0.12);
}
@media (min-width: 721px) { .action-bar { display: none; } }
.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.95rem var(--sp-3);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
}
.action-bar__call { background: var(--brand-blue); color: var(--white); }
.action-bar__call:hover { color: var(--white); }
.action-bar__call .badge-mini {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy-deep);
  background: var(--emergency);
  padding: 0.1rem 0.3rem;
  border-radius: 2px;
}
.action-bar__quote { background: var(--white); color: var(--navy); }

/* --- Cards ---------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              border-color 0.22s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 0, 219, 0.28);
}
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.card__body > p { color: var(--slate); }
.card h3 { margin-bottom: var(--sp-3); }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--sp-4);
  background: var(--cloud);
  border-radius: var(--radius);
  color: var(--brand-blue);
}
.card:hover .card__icon { background: var(--brand-blue); color: var(--white); }

.card__list {
  list-style: none;
  margin: var(--sp-4) 0 var(--sp-5);
  padding: 0;
  font-size: 0.95rem;
  color: var(--slate);
}
.card__list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: var(--sp-2);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--brand-blue);
  border-radius: 1px;
  transform: rotate(45deg);
}

.card__link {
  margin-top: auto;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.card__link svg { transition: transform 0.18s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* --- Grids ---------------------------------------------------------------- */
.grid { display: grid; gap: var(--sp-5); }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 700px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.grid--gallery { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
@media (min-width: 700px)  { .grid--gallery { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); } }

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--emergency); text-decoration: underline; }
.site-footer h4 {
  color: var(--white);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.footer-grid {
  display: grid;
  gap: var(--sp-7);
  padding-block: var(--sp-8);
  grid-template-columns: 1fr;
}
@media (min-width: 700px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

.footer-logo {
  width: 200px;
  margin-bottom: var(--sp-4);
  /* The logo is a single-colour blue SVG; invert it for the dark footer. */
  filter: brightness(0) invert(1);
}

.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: var(--sp-3); }

.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  line-height: 1.5;
}
.footer-contact svg { flex: none; margin-top: 3px; color: var(--emergency); }
.footer-contact .big {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

.footer-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.footer-credentials span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  padding: 0.3rem 0.55rem;
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-areas {
  border-top: 1px solid var(--line-dark);
  padding-block: var(--sp-5);
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
}
.footer-areas strong { color: rgba(255, 255, 255, 0.9); font-weight: 600; }

/* ==========================================================================
   5. Page sections
   ========================================================================== */

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* TODO: bump back toward 0.55 once a real photograph replaces the
     placeholder — the placeholder's own caption text reads through at 0.5. */
  opacity: 0.4;
}
/* Navy overlay keeps the headline legible over any photograph. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--navy-deep) 8%, rgba(10, 26, 74, 0.94) 42%, rgba(10, 26, 74, 0.68) 100%);
}
@media (max-width: 820px) {
  .hero__media::after {
    background: linear-gradient(180deg, rgba(6, 16, 47, 0.92) 0%, rgba(10, 26, 74, 0.88) 100%);
  }
}

/* Sized so the headline, both CTAs and the credential line all sit above the
   fold on a standard 1280x720 laptop — the phone number is never a scroll away. */
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: var(--sp-7);
  max-width: 46rem;
}
@media (min-width: 900px) { .hero__inner { padding-block: clamp(3rem, 6vh, 4.5rem); } }

.hero h1 { color: var(--white); margin-bottom: var(--sp-4); }
.hero__lede {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: var(--sp-4);
}
.hero__lede em { color: var(--emergency); font-style: normal; font-weight: 600; }
.hero__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 52ch;
  margin-bottom: var(--sp-5);
}
.hero__badge { margin-bottom: var(--sp-4); }

.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__cta .btn { flex: 1 1 15rem; }
@media (min-width: 560px) { .hero__cta .btn { flex: 0 0 auto; } }

.hero__note {
  margin-top: var(--sp-5);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.hero__note svg { flex: none; color: var(--emergency); }

/* --- Trust strip ---------------------------------------------------------- */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  padding-block: var(--sp-5);
}
@media (min-width: 900px) {
  .trust__grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
}
.trust__item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.trust__item svg { flex: none; color: var(--brand-blue); }
.trust__item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.trust__item span { font-size: 0.85rem; color: var(--slate); }
@media (min-width: 900px) {
  .trust__item + .trust__item { border-left: 1px solid var(--line); padding-left: var(--sp-5); }
}

/* --- Capability band ------------------------------------------------------ */
.capability {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}
.capability__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--sp-6);
}
@media (min-width: 620px)  { .capability__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .capability__grid { grid-template-columns: repeat(5, 1fr); } }
/* Five cells into two columns leaves a visible empty half-cell on the last
   row — the grid's own hairline background shows through. Span it instead. */
@media (min-width: 620px) and (max-width: 999px) {
  .capability__cell:last-child { grid-column: 1 / -1; }
}
.capability__cell {
  background: var(--navy);
  padding: var(--sp-5) var(--sp-4);
  transition: background-color 0.2s var(--ease);
}
.capability__cell:hover { background: var(--navy-soft); }
.capability__cell svg { color: var(--emergency); margin-bottom: var(--sp-3); }
.capability__cell h3 {
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.capability__cell p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.68); line-height: 1.55; }

/* --- Split (equipment / about) -------------------------------------------- */
.split {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .split--media-right .split__media { order: 2; }
}
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.spec-list { list-style: none; margin: var(--sp-5) 0 var(--sp-6); padding: 0; }
.spec-list li {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--line);
}
.spec-list li:last-child { border-bottom: 1px solid var(--line); }
.spec-list svg { flex: none; color: var(--brand-blue); margin-top: 3px; }
.spec-list strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
  margin-bottom: 2px;
}
.spec-list p { font-size: 0.95rem; color: var(--slate); margin: 0; }

/* About snippet */
.about__quote {
  border-left: 3px solid var(--brand-blue);
  padding-left: var(--sp-5);
  margin: var(--sp-5) 0;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy);
}
.about__sig { font-size: 0.92rem; color: var(--slate); margin-bottom: var(--sp-5); }
.about__sig strong { display: block; font-size: 1.05rem; }

/* --- Gallery tiles -------------------------------------------------------- */
.tile {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  text-decoration: none;
}
.tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.tile:hover img { transform: scale(1.05); }
.tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--sp-5) var(--sp-4) var(--sp-3);
  background: linear-gradient(180deg, rgba(6, 16, 47, 0) 0%, rgba(6, 16, 47, 0.88) 70%);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.35;
}
@media (min-width: 700px) { .tile figcaption { font-size: 0.95rem; } }

/* --- Service areas -------------------------------------------------------- */
.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
@media (min-width: 620px)  { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .area-grid { grid-template-columns: repeat(5, 1fr); } }

.area-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}
.area-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.area-card__name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: var(--sp-1);
}
.area-card:hover .area-card__name { color: var(--brand-blue); }
.area-card__meta { font-size: 0.85rem; color: var(--slate); }

/* --- Final CTA band ------------------------------------------------------- */
.cta-band {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  overflow: hidden;
}
/* Very subtle diagonal hatch, echoing the angle of the diamond in the logo.
   Keep it faint — it is texture, not pattern. */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.035) 0 1px,
    transparent 1px 14px
  );
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band__inner {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
  padding-block: var(--sp-8);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 1.4fr auto; gap: var(--sp-8); }
}
.cta-band h2 { color: var(--white); margin-bottom: var(--sp-3); }
.cta-band p { color: rgba(255, 255, 255, 0.78); max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.cta-band__actions .btn { flex: 1 1 14rem; }
@media (min-width: 900px) {
  .cta-band__actions { flex-direction: column; }
  /* In a column, `flex-basis: 14rem` would size the button's HEIGHT.
     Reset it so the buttons stay their natural height and share a width. */
  .cta-band__actions .btn { flex: 0 0 auto; min-width: 17rem; }
}

.btn--emergency {
  background: var(--emergency);
  border-color: var(--emergency);
  color: var(--navy-deep);
}
.btn--emergency:hover {
  background: #FFB020;
  border-color: #FFB020;
  color: var(--navy-deep);
}

/* ==========================================================================
   6. Utilities
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nowrap { white-space: nowrap; }

/* Scroll reveal.
   Elements are visible by default. The `js-reveal` class is only added to
   <html> when JS is running AND the tab is actually visible — an automated or
   background tab never hides the content it can't animate back in. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js-reveal .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .topbar, .action-bar, .mobile-nav, .hero__media { display: none !important; }
  body { padding-bottom: 0; color: #000; }
  .hero, .cta-band, .capability, .site-footer { background: #FFF !important; color: #000 !important; }
}

/* ==========================================================================
   7. Interior pages
   Everything below is used by the pages other than the homepage.
   ========================================================================== */

/* --- Compact page header band --------------------------------------------- */
.page-hero {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.035) 0 1px,
    transparent 1px 14px
  );
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__inner { padding-block: var(--sp-7); max-width: 54rem; }
@media (min-width: 900px) { .page-hero__inner { padding-block: var(--sp-8); } }
.page-hero h1 { color: var(--white); font-size: clamp(2.05rem, 5vw, 3.15rem); }
.page-hero .eyebrow { color: var(--emergency); }
.page-hero__lede {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 60ch;
  margin-bottom: 0;
}
.page-hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.page-hero__cta .btn { flex: 1 1 14rem; }
@media (min-width: 560px) { .page-hero__cta .btn { flex: 0 0 auto; } }

/* --- Breadcrumb ----------------------------------------------------------- */
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  padding-top: var(--sp-5);
  margin-bottom: calc(var(--sp-5) * -1);
  position: relative;
  z-index: 1;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: var(--sp-2); }
.breadcrumb li + li::before { content: "/"; opacity: 0.45; }
.breadcrumb a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.breadcrumb a:hover { color: var(--emergency); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: rgba(255, 255, 255, 0.55); }

/* --- Jump links ----------------------------------------------------------- */
.jumpnav {
  background: var(--cloud);
  border-bottom: 1px solid var(--line);
}
.jumpnav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0;
  padding-block: var(--sp-4);
}
.jumpnav li { margin: 0; }
.jumpnav a {
  display: block;
  padding: 0.45rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease),
              background-color 0.16s var(--ease);
}
.jumpnav a:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

/* --- Service blocks ------------------------------------------------------- */
.service-block { scroll-margin-top: calc(var(--header-h) + var(--sp-5)); }
.service-block + .service-block { margin-top: var(--sp-8); padding-top: var(--sp-8); border-top: 1px solid var(--line); }

.service-block__head {
  display: grid;
  gap: var(--sp-4);
  align-items: start;
  margin-bottom: var(--sp-6);
}
@media (min-width: 900px) {
  .service-block__head { grid-template-columns: 1fr 1.15fr; gap: var(--sp-7); }
  .service-block__head h2 { margin-bottom: 0; }
}
.service-block__head p { color: var(--slate); font-size: 1.05rem; margin-bottom: 0; }
.service-block__head p + p { margin-top: var(--sp-4); }

.svc-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc {
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.svc:hover { border-color: rgba(0, 0, 219, 0.28); box-shadow: var(--shadow-md); }
.svc svg { color: var(--brand-blue); margin-bottom: var(--sp-3); }
.svc h3 { font-size: 1.3rem; margin-bottom: var(--sp-2); }
.svc p { font-size: 0.95rem; color: var(--slate); margin: 0; }
.section--cloud .svc { background: var(--white); }

/* --- Emergency panel ------------------------------------------------------ */
.emergency-panel {
  background: var(--navy);
  border-left: 5px solid var(--emergency);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  color: rgba(255, 255, 255, 0.82);
}
.emergency-panel h2,
.emergency-panel h3 { color: var(--white); }
.emergency-panel .badge-24 { margin-bottom: var(--sp-4); }
.emergency-panel__grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
  margin-top: var(--sp-5);
}
@media (min-width: 800px) { .emergency-panel__grid { grid-template-columns: 1.3fr 1fr; gap: var(--sp-7); } }
.emergency-panel ul { list-style: none; padding: 0; margin: 0; }
.emergency-panel li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--sp-2);
  font-size: 0.98rem;
}
.emergency-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  background: var(--emergency);
  border-radius: 1px;
  transform: rotate(45deg);
}
.emergency-panel .btn { margin-top: var(--sp-5); }

/* Safety callout — used for the propane note. Deliberately plain, not decorative. */
.safety-note {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.55;
}
.safety-note svg { flex: none; color: var(--emergency); margin-top: 2px; }
.safety-note strong { color: var(--white); }

/* --- Numbered steps ------------------------------------------------------- */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
  padding: 0;
  margin: 0;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; margin: 0; padding-top: var(--sp-5); border-top: 3px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-blue);
  margin-bottom: var(--sp-2);
}
.steps h3 { font-size: 1.3rem; margin-bottom: var(--sp-2); }
.steps p { font-size: 0.95rem; color: var(--slate); margin: 0; }

/* --- Prose ---------------------------------------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--sp-7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--sp-6); font-size: 1.35rem; }
.prose p, .prose li { color: var(--ink); }
.prose > p { font-size: 1.05rem; }

/* --- Contact page --------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.25fr 1fr; gap: var(--sp-8); } }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .form-card { padding: var(--sp-6); } }

.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}
.field .hint { font-weight: 400; color: var(--slate); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #C9D2E2;
  border-radius: var(--radius);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6478' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; padding-right: 2.4rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 0, 219, 0.14);
  outline: none;
}
.field-row { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.form-note { font-size: 0.87rem; color: var(--slate); margin-top: var(--sp-4); }

/* Status message shown after a submit attempt. Hidden until JS fills it. */
.form-status {
  display: none;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  padding: var(--sp-4);
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.55;
}
.form-status.is-shown { display: flex; }
.form-status--info {
  background: rgba(0, 0, 219, 0.06);
  border: 1px solid rgba(0, 0, 219, 0.35);
  color: var(--ink);
}
.form-status svg { flex: none; color: var(--brand-blue); margin-top: 2px; }
.form-status a { font-weight: 600; }

.contact-card {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
@media (min-width: 640px) { .contact-card { padding: var(--sp-6); } }
.contact-card h2, .contact-card h3 { color: var(--white); }
.contact-card .badge-24 { margin-bottom: var(--sp-4); }
.contact-card__phone {
  display: inline-block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  line-height: 1.1;
  margin-bottom: var(--sp-2);
}
.contact-card__phone:hover { color: var(--emergency); }
.contact-list { list-style: none; margin: var(--sp-5) 0 0; padding: 0; }
.contact-list li {
  display: flex;
  gap: var(--sp-3);
  padding-block: var(--sp-4);
  border-top: 1px solid var(--line-dark);
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-list svg { flex: none; color: var(--emergency); margin-top: 3px; }
.contact-list strong { display: block; color: var(--white); font-weight: 600; }
.contact-list a { color: rgba(255, 255, 255, 0.85); }
.contact-list a:hover { color: var(--emergency); }

/* --- Gallery -------------------------------------------------------------- */
.gallery-group + .gallery-group { margin-top: var(--sp-8); }
.gallery-group h2 { margin-bottom: var(--sp-2); }
.gallery-group > p { color: var(--slate); margin-bottom: var(--sp-5); max-width: 62ch; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
@media (min-width: 700px)  { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); } }

.placeholder-banner {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-6);
  background: var(--cloud);
  border: 1px dashed #B9C4D8;
  border-radius: var(--radius);
  font-size: 0.93rem;
  color: var(--slate);
  line-height: 1.55;
}
.placeholder-banner svg { flex: none; color: var(--slate); margin-top: 2px; }
.placeholder-banner strong { color: var(--navy); }

/* --- Area pages ----------------------------------------------------------- */
.local-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .local-grid { grid-template-columns: 1.3fr 1fr; gap: var(--sp-8); } }

.local-jobs {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.local-jobs h3 { font-size: 1.35rem; margin-bottom: var(--sp-4); }
.local-jobs ul { list-style: none; margin: 0; padding: 0; }
.local-jobs li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: var(--sp-3);
  font-size: 0.96rem;
  color: var(--ink);
  line-height: 1.5;
}
.local-jobs li:last-child { margin-bottom: 0; }
.local-jobs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--brand-blue);
  border-radius: 1px;
  transform: rotate(45deg);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--sp-6);
}
@media (min-width: 760px) { .fact-strip { grid-template-columns: repeat(4, 1fr); } }
.fact-strip div { background: var(--white); padding: var(--sp-4) var(--sp-5); }
.fact-strip dt {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: var(--sp-1);
}
.fact-strip dd {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

/* Chips linking to the neighbouring towns */
.town-links { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-5); }
.town-links a {
  display: block;
  padding: 0.4rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}
.town-links a:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

/* --- Big area cards on the hub page --------------------------------------- */
.area-hub {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 680px)  { .area-hub { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .area-hub { grid-template-columns: repeat(3, 1fr); } }
.area-hub__card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.area-hub__card:hover { border-color: var(--brand-blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.area-hub__card h2 { font-size: 1.65rem; margin-bottom: var(--sp-1); }
.area-hub__card:hover h2 { color: var(--brand-blue); }
.area-hub__card .meta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: var(--sp-3);
}
.area-hub__card p { font-size: 0.95rem; color: var(--slate); margin-bottom: var(--sp-4); }
.area-hub__card .go {
  margin-top: auto;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

/* Plain two-column list of the smaller communities */
.community-list {
  columns: 2;
  column-gap: var(--sp-6);
  list-style: none;
  padding: 0;
  margin: var(--sp-5) 0 0;
  font-size: 0.98rem;
}
@media (min-width: 760px) { .community-list { columns: 4; } }
.community-list li {
  break-inside: avoid;
  padding-block: 0.3rem;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
}

/* --- 404 ------------------------------------------------------------------ */
.notfound { text-align: center; padding-block: var(--sp-9); }
.notfound .code {
  font-family: var(--font-head);
  font-size: clamp(5rem, 20vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--cloud);
  letter-spacing: -0.02em;
}
.notfound h1 { margin-top: calc(var(--sp-4) * -1); }
.notfound p { color: var(--slate); max-width: 46ch; margin-inline: auto; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-6); }
