/* PR Grounds Maintenance
   Design: taken from the company logo. Forest green ground, ivory roman capitals,
   and a sweep of grass greens underneath. Headings are set in Marcellus, a flared
   roman that echoes the logo's lettering; Archivo carries body text and interface.
   The header and hero read as one green block, closed by the logo's grass sweep
   (partials/sweep.njk). That sweep is the one bold element; everything else stays quiet. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Marcellus";
  src: url("../fonts/marcellus-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Sampled from the logo */
  --forest: #024927;
  --forest-deep: #013A1F;
  --forest-hover: #035A31;
  --ivory: #FDF8F2;
  --lime: #9AD73C;
  --lime-hover: #B0E35E;
  --grass: #49AA25;
  --grass-deep: #2E7D1A;

  /* Light surfaces */
  --white: #FFFFFF;
  --sage: #EFF4EC;
  --line: #D5DDD3;
  --ink: #13241A;
  --ink-soft: #4A5B50;

  --on-forest: var(--ivory);
  --on-forest-soft: rgba(253, 248, 242, 0.82);
  --focus: var(--forest);

  --font: "Archivo", "Arial Nova", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Marcellus", "Optima", "Candara", Georgia, serif;
  --semi-wide: 106%;

  --gutter: 16px;
  --max: 1200px;
  --radius: 4px;
  --section: clamp(56px, 7vw, 104px);
  --sweep-h: clamp(52px, 8vw, 116px);

  color-scheme: light;
}

@media (min-width: 700px) {
  :root { --gutter: 32px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

picture { display: block; }

h1, h2, h3 {
  margin: 0 0 0.5em;
  color: var(--forest);
  font-family: var(--serif);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.3rem + 3.1vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.008em;
}

h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.75rem);
}

h3 {
  font-size: clamp(1.3125rem, 1.2rem + 0.4vw, 1.5rem);
  line-height: 1.2;
}

p { margin: 0 0 1em; }

a { color: var(--forest); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--lime);
  color: var(--forest);
  font-weight: 700;
}

.skip-link:focus { top: 16px; }

/* Green surfaces: header, hero, call to action, footer, call bar */
.site-header,
.hero,
.cta-band,
.site-footer,
.callbar {
  --focus: var(--lime);
}

/* Logo */
.brand {
  display: inline-flex;
  min-width: 0;
  text-decoration: none;
}

.logo img {
  width: 200px;
  max-width: 100%;
  height: auto;
}

/* Header: same green as the hero, so the logo sits on its own ground */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--forest);
  color: var(--on-forest);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 80px;
}

.header-inner .brand { margin-right: auto; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--on-forest);
  font-weight: 600;
  text-decoration: none;
}

.nav-list a:hover { color: var(--lime); }

.nav-list a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lime); }

.nav-desktop { display: none; }

.header-call {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--forest);
  font-weight: 700;
  font-stretch: var(--semi-wide);
  text-decoration: none;
  white-space: nowrap;
}

.header-call:hover { background: var(--lime-hover); }

/* Mobile menu */
.menu { position: static; flex: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 2px solid rgba(253, 248, 242, 0.35);
  border-radius: var(--radius);
  color: var(--on-forest);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.menu-toggle::-webkit-details-marker { display: none; }

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--on-forest);
}

.menu-icon { position: relative; }
.menu-icon::before,
.menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }

.menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--forest-deep);
  box-shadow: 0 16px 28px rgba(1, 30, 16, 0.3);
}

.menu-panel .nav-list { padding: 4px var(--gutter) 16px; }

.menu-panel .nav-list a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(253, 248, 242, 0.14);
  font-size: 1.125rem;
}

.menu-panel .nav-list a[aria-current="page"] { box-shadow: none; color: var(--lime); }

@media (max-width: 479px) {
  .menu-label,
  .header-call span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .menu-toggle,
  .header-call { width: 44px; padding: 0; justify-content: center; }
  .header-inner { gap: 10px; }
}

@media (min-width: 1000px) {
  .header-inner { gap: 24px; min-height: 96px; }
  .logo img { width: 248px; }
}

/* Five nav items need about 1200px on one line; below that the menu button is used. */
@media (min-width: 1280px) {
  .menu { display: none; }
  .nav-desktop { display: block; flex: none; }
  .nav-desktop .nav-list { display: flex; gap: 24px; }
  .nav-desktop .nav-list a { padding: 8px 0; white-space: nowrap; }
  .header-inner { gap: 28px; }
}

/* Buttons. Lime is the primary action (call); ivory outline is the alternative (email). */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-stretch: var(--semi-wide);
  text-decoration: none;
}

.btn-primary {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--forest);
}

.btn-primary:hover { background: var(--lime-hover); border-color: var(--lime-hover); }

.btn-secondary {
  border-color: rgba(253, 248, 242, 0.6);
  color: var(--on-forest);
}

.btn-secondary:hover { border-color: var(--ivory); background: var(--ivory); color: var(--forest); }

@media (max-width: 419px) {
  .btn { flex: 1 1 100%; }
}

/* Grass sweep: the curved underline from the logo */
.sweep {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: var(--sweep-h);
  overflow: visible;
}

/* Overlap the neighbouring section by a pixel so fractional heights never leave a seam */
.sweep-bottom { margin-bottom: -1px; }
.sweep-top { margin-top: -1px; }

.sweep-bottom .sweep-ground { fill: var(--sweep-below, var(--white)); }
.sweep-top .sweep-ground { fill: var(--sweep-above, var(--white)); }

/* The site's one orchestrated moment: on the homepage, the hero sweep grows in from the left. */
@media (prefers-reduced-motion: no-preference) {
  .page-home .hero .sweep-blades {
    transform-box: fill-box;
    transform-origin: 0 50%;
    animation: sweep-in 1.1s cubic-bezier(0.3, 0.7, 0.2, 1) 0.15s backwards;
  }
}

@keyframes sweep-in {
  from { transform: scaleX(0.04); opacity: 0; }
  30% { opacity: 1; }
  to { transform: scaleX(1); }
}

/* Hero: continues the green header */
.hero {
  position: relative;
  padding-top: clamp(24px, 4vw, 56px);
  background: var(--forest);
  color: var(--on-forest);
}

.hero h1 { color: var(--on-forest); }

.hero .breadcrumb a,
.hero .plain-links a { color: var(--on-forest); }

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero-copy { padding-bottom: 8px; }

.lead {
  max-width: 44ch;
  color: var(--ink-soft);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.5;
  margin-bottom: 1.6em;
}

.hero .lead { color: var(--on-forest-soft); }

.hero-photos {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: calc(var(--sweep-h) * -1 - 20px);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-photos-single { grid-template-columns: 1fr; max-width: 520px; }
.hero-photos-single .hero-photo img { aspect-ratio: 4 / 5; }

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: end;
  }

  .hero-copy { padding-bottom: clamp(24px, 4vw, 56px); }

  .hero-photos {
    display: block;
    margin-bottom: calc(var(--sweep-h) * -1 - 36px);
  }

  .hero-photo-main {
    width: 78%;
    margin-left: auto;
  }

  .hero-photo-inset {
    position: absolute;
    left: 0;
    bottom: 14%;
    width: 42%;
  }

  .hero-photo-inset img {
    border: 6px solid var(--ivory);
    border-radius: 6px;
    box-shadow: 0 18px 44px rgba(1, 30, 16, 0.4);
  }

  .hero-photos-single { justify-self: end; width: 100%; }
  .hero-photos-single .hero-photo-main { width: 100%; }
}

/* Breadcrumb (sits in the green hero) */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  color: var(--on-forest-soft);
  font-size: 0.9375rem;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: rgba(253, 248, 242, 0.4);
}

/* Facts strip */
.facts { padding: clamp(56px, 6vw, 80px) 0 0; }

.facts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.facts-list li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.96875rem;
  line-height: 1.45;
}

.facts-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.3125rem;
  font-weight: 400;
}

@media (min-width: 700px) {
  .facts-list { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
}

@media (min-width: 1000px) {
  .facts-list {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    border-top: 1px solid var(--line);
  }
  .facts-list li {
    border-top: 0;
    padding: 24px 24px 24px 0;
  }
  .facts-list li + li { border-left: 1px solid var(--line); padding-left: 24px; }
}

/* Sections */
.section { padding: var(--section) 0; }

.section-head {
  display: grid;
  gap: 4px 48px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 52ch; color: var(--ink-soft); }

@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; }
}

.sectors,
.work { background: var(--sage); }

/* Services (home) */
.service-list {
  display: grid;
  gap: 40px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 700px) {
  .service-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .service-list { grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
}

.service-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-photo {
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: var(--radius);
}

.service-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 700px) {
  .service-photo img { aspect-ratio: 4 / 5; }
}

.service-item h3 {
  display: inline;
  margin: 0;
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  background: linear-gradient(var(--grass), var(--grass)) 0 100% / 0 3px no-repeat;
  transition: background-size 0.25s ease;
}

.service-link:hover h3,
.service-link:focus-visible h3 { background-size: 100% 3px; }

.service-item p { margin: 12px 0 0; color: var(--ink-soft); }

/* Sectors */
.sector-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 800px) {
  .sector-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  /* Four sectors (winter services): two by two, then one row on wide screens */
  .sector-grid:has(> :nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .sector-grid:has(> :nth-child(4)) { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}

.sector {
  padding-top: 20px;
  border-top: 3px solid var(--forest);
}

.sector p { margin: 0; color: var(--ink-soft); }

/* Process: a real sequence, so the steps are numbered */
.steps {
  display: grid;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

.step {
  position: relative;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
}

@media (min-width: 1000px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25px;
    left: 68px;
    right: -20px;
    height: 2px;
    background: var(--line);
  }
}

.step h3 { margin-bottom: 0.35em; }
.step p { margin: 0; color: var(--ink-soft); }

/* Gallery & before/after */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.gallery figure { margin: 0; }

.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery figcaption {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 600;
}

.before-after {
  display: grid;
  gap: 10px 40px;
  margin: 0 0 clamp(28px, 4vw, 44px);
}

@media (min-width: 900px) {
  .before-after { grid-template-columns: 2fr 1fr; align-items: end; }
  .before-after figcaption {
    padding-bottom: 8px;
    color: var(--forest);
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.3;
  }
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ba-item { position: relative; }

.ba-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}

.ba-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.ba-tag-after { background: var(--lime); color: var(--forest); }

.before-after figcaption {
  max-width: 28ch;
  color: var(--ink-soft);
  font-weight: 600;
}

/* Areas: styled after the green UK primary route signs */
.areas-inner {
  display: grid;
  gap: 8px 48px;
  align-items: center;
}

.areas-copy p { margin: 0; color: var(--ink-soft); max-width: 46ch; }

@media (min-width: 900px) {
  .areas-inner { grid-template-columns: 1fr 1.1fr; }
}

.area-list {
  display: grid;
  gap: 2px;
  list-style: none;
  margin: 16px 0 0;
  padding: 18px 22px;
  border-radius: 10px;
  background: var(--forest);
  box-shadow: inset 0 0 0 3px var(--forest), inset 0 0 0 6px var(--ivory);
}

.area-list li {
  padding: 6px 4px;
  color: var(--ivory);
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 700;
  font-stretch: var(--semi-wide);
}

.area-list li + li { border-top: 1px solid rgba(253, 248, 242, 0.22); }

/* Call to action band */
.cta-band {
  position: relative;
  background: var(--forest);
  color: var(--on-forest);
}

.cta-inner {
  display: grid;
  gap: 24px 64px;
  padding-top: calc(var(--section) * 0.6);
  padding-bottom: var(--section);
}

@media (min-width: 900px) {
  .cta-inner { grid-template-columns: 1fr 1fr; align-items: center; }
}

.cta-band h2 { color: var(--on-forest); }
.cta-copy p { margin: 0; max-width: 46ch; color: var(--on-forest-soft); }

.cta-actions {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.cta-phone {
  color: var(--lime);
  font-family: var(--serif);
  font-size: clamp(2.375rem, 1.5rem + 3.8vw, 4.25rem);
  line-height: 1.05;
  text-decoration: none;
  white-space: nowrap;
}

.cta-phone:hover { text-decoration: underline; text-decoration-thickness: 2px; }

.cta-email {
  color: var(--on-forest);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Service page: intro and included list */
.intro-grid {
  display: grid;
  gap: 40px 64px;
}

@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
}

.prose p { max-width: 64ch; }

.includes {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--sage);
  border-top: 4px solid var(--forest);
}

.includes-title { font-size: 1.625rem; }

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  line-height: 1.4;
}

.includes .check-list li + li { border-top: 1px solid var(--line); }

.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 7px;
  height: 13px;
  border: solid var(--grass-deep);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* FAQs */
.faq-inner {
  display: grid;
  gap: 24px 64px;
}

@media (min-width: 900px) {
  .faq-inner { grid-template-columns: 1fr 2fr; align-items: start; }
}

.faq-list { border-top: 2px solid var(--forest); }

.faq { border-bottom: 1px solid var(--line); }

.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(var(--forest), var(--forest)) center / 14px 2px no-repeat,
    linear-gradient(var(--forest), var(--forest)) center / 2px 14px no-repeat;
}

.faq[open] summary::after {
  background: linear-gradient(var(--forest), var(--forest)) center / 14px 2px no-repeat;
}

.faq p {
  max-width: 64ch;
  margin: 0;
  padding: 0 0 22px;
  color: var(--ink-soft);
}

/* Other services */
.more-services { padding-top: calc(var(--section) * 0.8); }

.more-list {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 700px) {
  .more-list { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (min-width: 1000px) {
  .more-list { grid-template-columns: repeat(3, 1fr); }
}

.more-link {
  display: block;
  height: 100%;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
}

.more-link:hover { border-color: var(--forest); }

.more-name {
  display: block;
  margin-bottom: 6px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.625rem;
  line-height: 1.2;
}

.more-text { color: var(--ink-soft); }

/* Contact page and 404: hero without photos */
.hero-contact .wrap { padding-bottom: clamp(32px, 4vw, 56px); }

.contact-cards {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

@media (min-width: 800px) {
  .contact-cards { grid-template-columns: 1fr 1.25fr; gap: 24px; }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 2px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
}

.hero .contact-card-phone { background: var(--ivory); border-color: var(--ivory); color: var(--forest); }
.hero .contact-card-email { border-color: rgba(253, 248, 242, 0.45); color: var(--on-forest); }
.hero .contact-card-email:hover { border-color: var(--ivory); }

.contact-card-label {
  font-size: 1.125rem;
  font-weight: 700;
}

.contact-card-value {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.125rem);
  line-height: 1.05;
}

.contact-card-email-value {
  font-family: var(--font);
  font-size: clamp(1.125rem, 0.8rem + 1.1vw, 1.625rem);
  font-weight: 700;
}

.contact-card-note { opacity: 0.85; }

.contact-card:hover .contact-card-value { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }

.contact-grid {
  display: grid;
  gap: 40px 64px;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-grid h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.contact-grid h2:not(:first-child) { margin-top: 40px; }
.contact-grid .area-list { margin-bottom: 0; }

.plain-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plain-links li { padding: 6px 0; }
.plain-links a { font-weight: 700; }
.plain-links-large a { font-size: 1.25rem; }

/* The 404 hero runs straight into the footer */
.page-404 { --sweep-below: var(--forest-deep); }

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: var(--on-forest-soft);
  font-size: 0.96875rem;
}

.site-footer a { color: var(--on-forest); }

.footer-grid {
  display: grid;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 40px;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 48px; }
}

.footer-brand .brand { margin-bottom: 20px; }
.footer-brand .logo img { width: 240px; }
.footer-brand p { max-width: 36ch; }

.footer-heading {
  margin-bottom: 12px;
  color: var(--on-forest);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  font-stretch: var(--semi-wide);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li { padding: 4px 0; overflow-wrap: anywhere; }

.footer-legal {
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(253, 248, 242, 0.14);
  font-size: 0.875rem;
}

.footer-legal p { margin: 0; }

/* Sticky call bar (phones only) */
.callbar { display: none; }

@media (max-width: 699px) {
  body { padding-bottom: 64px; }

  .callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--forest);
    box-shadow: 0 -4px 16px rgba(1, 30, 16, 0.25);
  }

  .callbar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    font-weight: 700;
    font-stretch: var(--semi-wide);
    text-decoration: none;
  }

  .callbar-call { background: var(--lime); color: var(--forest); --focus: var(--ivory); }
  .callbar-email { color: var(--on-forest); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { transition: none !important; animation: none !important; }
}
