/* ==========================================================================
   KCM Landscaping — "Heritage Estate" visual system
   Spec: docs/superpowers/specs/2026-10-14-heritage-estate-redesign-design.md
   Dark (ink) and light (cream) sections alternate; hairlines instead of boxes.
   ========================================================================== */

:root {
  --ink: #121410;
  --ink-2: #1B1E18;
  --olive: #A6B068;
  --olive-deep: #5E6B2E;
  --cream: #F3EFE3;
  --stone: #E9E4D6;
  --muted-dark: #A39D8B;
  --muted-light: #5C5F52;
  --rule-dark: rgba(166, 176, 104, 0.22);
  --rule-light: rgba(18, 20, 16, 0.14);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1200px;
  --header-h: 84px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Keeps #anchor targets (e.g. services.html#patio-restorations, /#about) clear of the sticky header */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--stone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--cream);
  margin: 0;
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--olive); }
h2 { font-size: clamp(34px, 4.6vw, 54px); }

p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}
.section-light :focus-visible, .form-panel :focus-visible { outline-color: var(--olive-deep); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--olive);
}
.kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; flex-shrink: 0; }

.lead { font-size: 17px; color: #C4BEAC; max-width: 46ch; }

/* Honest "coming soon" copy (e.g. Casey's bio) — styled to look deliberate, never filled with invented text */
.placeholder-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--muted-dark);
}
.placeholder-text a { color: var(--olive); }
.section-light .placeholder-text a { color: var(--olive-deep); }

/* ---------------------------------- Buttons ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--olive);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-solid { background: var(--olive); color: var(--ink); }
.btn-solid:hover { background: #B9C27C; border-color: #B9C27C; }
.btn-ghost { background: transparent; color: var(--cream); }
.btn-ghost:hover { background: rgba(166, 176, 104, 0.12); }
.section-light .btn-ghost { color: var(--ink); border-color: var(--olive-deep); }
.section-light .btn-ghost:hover { background: rgba(94, 107, 46, 0.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------------------------- Header ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 20, 16, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule-dark);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 58px; height: 58px; }
.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.06em;
  color: var(--cream);
}
.brand-name small {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--olive);
}

.main-nav ul { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: inline-block;
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--muted-dark);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--olive); }
.main-nav .nav-extra { display: none; }

.head-cta { display: flex; align-items: center; gap: 22px; }
.head-phone { font-size: 13px; letter-spacing: 0.04em; color: var(--cream); text-decoration: none; white-space: nowrap; }
.head-phone:hover { color: var(--olive); }

.nav-toggle {
  display: none;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: 1px solid var(--rule-dark);
  color: var(--cream);
  cursor: pointer;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ""; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ---------------------------------- Sections ---------------------------------- */
section { padding: 110px 0; }

.section-light { background: var(--cream); color: #2A2C25; }
.section-light h2, .section-light h3 { color: var(--ink); }
.section-light h2 em, .section-light h3 em { color: var(--olive-deep); }
.section-light .kicker { color: var(--olive-deep); }
.section-light p, .section-light .lead { color: var(--muted-light); }

.section-raised {
  background: var(--ink-2);
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}

.section-head h2 { margin-top: 16px; }
.section-head .lead { margin-top: 18px; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.split-head > p { margin: 0; max-width: 46ch; }

/* ---------------------------------- Home hero ---------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(88vh, 760px);
  padding: 0;
  overflow: hidden;
  background: var(--ink);
}
/* Photo sits in the right 62% so its 4:3 frame shows (almost) the whole garden
   instead of being cropped hard and hidden behind the copy. */
.hero-img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38%;
  width: 62%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 20, 16, 1) 0%, rgba(18, 20, 16, 1) 38%, rgba(18, 20, 16, 0.55) 52%, rgba(18, 20, 16, 0.1) 72%, rgba(18, 20, 16, 0) 100%),
    linear-gradient(0deg, rgba(18, 20, 16, 0.9) 0%, transparent 25%);
}
.hero-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero h1 { font-size: clamp(46px, 7vw, 92px); line-height: 0.98; max-width: 13ch; margin: 22px 0 26px; }
/* Keep the slogan's emphasised ending ("our own.") together on one line */
.hero h1 em { white-space: nowrap; }
.hero .lead { margin-bottom: 36px; }
.hero-meta { position: relative; z-index: 1; border-top: 1px solid var(--rule-dark); }
.hero-meta ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 44px;
  list-style: none;
  margin: 0 auto;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.hero-meta li::before { content: "\2713"; margin-right: 10px; color: var(--olive); }

/* ---------------------------------- Seasonal offer band ---------------------------------- */
/* Ships with the hidden attribute; js/main.js reveals it only in its season (data-show-season) */
.offer { padding: 0; background: var(--olive); color: var(--ink); }
.offer[hidden] { display: none; }
.offer .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
}
.offer-tag {
  padding: 8px 12px;
  border: 1px solid rgba(18, 20, 16, 0.45);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
}
.offer h2 { font-size: clamp(28px, 3.2vw, 40px); color: var(--ink); margin: 0 0 6px; }
.offer h2 em { color: var(--ink); }
.offer p { margin: 0; max-width: 62ch; font-size: 15px; color: #2B3016; }
.offer .btn { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.offer .btn:hover { background: #2A2E24; border-color: #2A2E24; }
.offer :focus-visible { outline-color: var(--ink); }

/* ---------------------------------- Inner page header band ---------------------------------- */
.page-band {
  padding: 100px 0 76px;
  border-bottom: 1px solid var(--rule-dark);
  background: radial-gradient(ellipse at 85% 0%, rgba(166, 176, 104, 0.1), transparent 55%), var(--ink);
}
.page-band h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 0.98; max-width: 14ch; margin: 20px 0 22px; }
.page-band .lead { margin: 0; }

/* ---------------------------------- Regular garden care ---------------------------------- */
.regular-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.regular-copy h2 { margin: 16px 0 22px; }
.regular-copy p { max-width: 46ch; color: var(--muted-dark); }
.regular-copy .btn { margin-top: 14px; }
.points { list-style: none; margin: 0; padding: 0; counter-reset: point; }
.points li {
  counter-increment: point;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--rule-dark);
}
.points li:last-child { border-bottom: 1px solid var(--rule-dark); }
.points li::before {
  content: counter(point, decimal-leading-zero);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  color: var(--olive);
}
.points h3 { font-size: 26px; margin: 0 0 6px; }
.points p { margin: 0; font-size: 14px; color: var(--muted-dark); }

/* ---------------------------------- Service rows ---------------------------------- */
.svc-list { border-bottom: 1px solid var(--rule-light); }
.svc {
  display: grid;
  grid-template-columns: 70px 1.1fr 1.6fr 48px;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--rule-light);
  color: inherit;
  text-decoration: none;
  transition: padding-left 0.25s ease;
}
a.svc:hover { padding-left: 14px; }
.svc-num { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--olive-deep); }
.svc h3 { font-size: 32px; }
.svc p { margin: 0; font-size: 15px; }
.svc-arrow { justify-self: end; font-size: 20px; color: var(--olive-deep); transition: transform 0.25s ease; }
a.svc:hover .svc-arrow { transform: translateX(6px); }

.svc-list--detail { margin-top: 48px; }
.svc--detail { grid-template-columns: 70px 1fr 1.5fr; padding: 36px 0; }
.svc--detail h3 { font-size: 36px; }

/* ---------------------------------- Featured work + before/after ---------------------------------- */
.work-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.work-copy h2 { margin: 18px 0 20px; }
.work-copy p { color: var(--muted-dark); }
.detail-list { display: grid; grid-template-columns: auto 1fr; margin: 28px 0 34px; font-size: 14px; }
.detail-list dt, .detail-list dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--rule-dark); }
.detail-list dt {
  padding-top: 14px;
  padding-right: 28px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive);
}

.before-after {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  outline: 1px solid var(--rule-dark);
  outline-offset: 10px;
}
.ba-image { position: absolute; inset: 0; }
.ba-image img { width: 100%; height: 100%; object-fit: cover; }
.ba-before { width: 50%; overflow: hidden; }
.ba-before img { width: var(--ba-img-width, 200%); max-width: none; }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 2;
  width: 2px;
  background: var(--cream);
  cursor: ew-resize;
  transform: translateX(-50%);
}
/* Wider invisible grab area so the 2px line is easy to drag on a phone */
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -22px; right: -22px; }
.ba-handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--olive);
  transform: translate(-50%, -50%);
}
.ba-handle-grip::before {
  content: "\2039\00a0\203A";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--cream);
}
.ba-handle:focus-visible .ba-handle-grip { box-shadow: 0 0 0 3px var(--olive); }
.ba-tag {
  position: absolute;
  top: 16px;
  z-index: 3;
  padding: 7px 12px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(18, 20, 16, 0.82);
  pointer-events: none;
}
.ba-tag--before { left: 16px; }
.ba-tag--after { right: 16px; }

/* Honest "coming soon" tiles — keep the gallery-placeholder class until a real photo replaces the tile */
.soon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 70px; }
.gallery-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 20px;
  text-align: center;
  border: 1px dashed var(--rule-dark);
  color: var(--muted-dark);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.gallery-placeholder em {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--olive);
}
.section-light .gallery-placeholder { border-color: rgba(94, 107, 46, 0.45); color: var(--muted-light); }
.section-light .gallery-placeholder em { color: var(--olive-deep); }
.section-light .work-tile figcaption { color: var(--muted-light); }
.work-tile { margin: 0; }
.work-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work-tile figcaption {
  padding-top: 12px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* ---------------------------------- About + how it works (homepage #about) ---------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.about-grid h2 { margin: 16px 0 24px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--rule-dark);
}
.steps li:last-child { border-bottom: 1px solid var(--rule-dark); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.4;
  color: var(--olive);
}
.section-light .steps li { border-color: var(--rule-light); color: var(--ink); }
.section-light .steps li::before { color: var(--olive-deep); }

/* ---------------------------------- Seasons ---------------------------------- */
.season-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 50px; border-top: 1px solid var(--rule-dark); }
.season { position: relative; padding: 34px 28px 10px 0; border-right: 1px solid var(--rule-dark); }
.season + .season { padding-left: 28px; }
.season:last-child { border-right: 0; }
.season-name { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted-dark); }
.season h3 { font-size: 26px; margin: 10px 0 8px; }
.season p { margin: 0; font-size: 14px; color: var(--muted-dark); }
/* .is-current is added by js/main.js based on today's month */
.season.is-current::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--olive); }
.season.is-current .season-name { color: var(--olive); }
.season.is-current .season-name::after { content: " \00b7\20Now"; } /* "\20" keeps the space: a plain space after a CSS hex escape is swallowed */

/* ---------------------------------- Service area ---------------------------------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.area-grid h2 { margin: 16px 0 22px; }
.towns { columns: 2; column-gap: 40px; list-style: none; margin: 0; padding: 0; }
.towns li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-light);
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink);
  break-inside: avoid;
}
.towns small { font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--olive-deep); }

/* ---------------------------------- Closing CTA ---------------------------------- */
.cta-band { text-align: center; }
.cta-band .seal { width: 120px; height: 120px; margin: 0 auto 30px; }
.cta-band h2 { font-size: clamp(40px, 6vw, 76px); max-width: 14ch; margin: 0 auto 22px; }
.cta-band p { max-width: 48ch; margin: 0 auto 38px; color: var(--muted-dark); }
.cta-band .btn-row { justify-content: center; }

/* ---------------------------------- Contact ---------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }
.form-panel { background: var(--cream); color: #2A2C25; padding: 44px; }
.form-panel h2 { font-size: clamp(32px, 3.6vw, 44px); color: var(--ink); margin-bottom: 28px; }
.form-panel h2 em { color: var(--olive-deep); }
.form-panel .btn-solid { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.form-panel .btn-solid:hover { background: #2A2E24; border-color: #2A2E24; }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: #FFFDF7;
  border: 1px solid var(--rule-light);
  border-radius: 0;
  transition: border-color 0.2s ease;
}
.form-field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23121410' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--olive-deep); }
.form-status { margin: 16px 0 0; font-weight: 500; color: var(--ink); }

/* Honeypot field: hidden from sighted users but present in the DOM so simple
   bots that auto-fill every field will fill it and can be rejected. Kept off
   -screen instead of display:none, which some bots skip past. */
.form-field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-direct h2 { margin: 16px 0 28px; }
.contact-links { list-style: none; margin: 0; padding: 0; }
.contact-links li { padding: 20px 0; border-top: 1px solid var(--rule-dark); }
.contact-links li:last-child { border-bottom: 1px solid var(--rule-dark); }
.contact-links .label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive);
}
.contact-big {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--cream);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-big:hover { color: var(--olive); }
.contact-links .plain { font-size: 16px; color: var(--stone); }

/* ---------------------------------- Footer (markup injected by functions/_middleware.js) ---------------------------------- */
.site-footer { padding: 64px 0 30px; border-top: 1px solid var(--rule-dark); font-size: 14px; color: var(--muted-dark); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-head { margin: 0 0 16px; font-size: 11px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--olive); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: var(--stone); text-decoration: none; }
.site-footer a:hover { color: var(--olive); }
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-dark);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ---------------------------------- Header at mid widths ---------------------------------- */
/* Tighter spacing so the full desktop header still fits down to 1081px */
@media (max-width: 1240px) {
  .main-nav ul { gap: 24px; }
  .head-cta { gap: 16px; }
}

/* Below 1080px the desktop header no longer fits on one row (tablets, small
   laptops), so it collapses into the menu button even though the page layout
   stays two-column until 900px. */
@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .site-header .container { flex-wrap: wrap; gap: 0 16px; }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 19px; }
  .brand-name small { letter-spacing: 0.26em; }
  .head-cta { display: none; }
  .nav-toggle { display: grid; }
  .main-nav { display: none; order: 3; width: 100%; padding-bottom: 20px; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-top: 1px solid var(--rule-dark); }
  .main-nav a { display: flex; align-items: center; min-height: 52px; padding: 0; font-size: 13px; border-bottom: 0; }
  .main-nav a[aria-current="page"] { color: var(--olive); }
  .main-nav .nav-extra { display: block; }
  .main-nav li.nav-extra:last-child { border-top: 0; }
  .main-nav .nav-extra .btn { width: 100%; justify-content: center; margin-top: 14px; color: var(--ink); }
}

/* ---------------------------------- Mobile ---------------------------------- */
@media (max-width: 900px) {
  .container { padding: 0 20px; }

  section { padding: 80px 0; }

  .hero { min-height: 0; }
  .hero-img { left: 0; width: 100%; object-position: center 40%; }
  .hero::after { background: linear-gradient(0deg, rgba(18, 20, 16, 0.98) 25%, rgba(18, 20, 16, 0.7) 70%, rgba(18, 20, 16, 0.45) 100%); }
  .hero-body { padding-top: 110px; padding-bottom: 48px; }
  .hero-meta ul { flex-direction: column; gap: 6px; }
  .offer .container { grid-template-columns: 1fr; gap: 16px; padding-top: 34px; padding-bottom: 30px; }
  .offer-tag { justify-self: start; }
  .page-band { padding: 72px 0 56px; }

  .split-head, .regular-grid, .work-grid, .about-grid, .area-grid, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .split-head { gap: 20px; margin-bottom: 40px; }
  .regular-grid { gap: 44px; }
  .points li { grid-template-columns: 44px 1fr; gap: 12px; }

  .svc { grid-template-columns: 44px 1fr 28px; gap: 4px 12px; }
  .svc p { grid-column: 2; }
  .svc-arrow { grid-column: 3; grid-row: 1; }
  .svc h3 { font-size: 26px; }
  .svc--detail { grid-template-columns: 44px 1fr; }
  .svc--detail h3 { font-size: 30px; }

  .work-grid { gap: 50px; }
  .soon-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .gallery-placeholder { aspect-ratio: auto; padding: 34px 16px; }
  .soon-grid--home .gallery-placeholder:nth-child(n+2) { display: none; }

  .about-grid, .area-grid { gap: 44px; }
  .season-row { grid-template-columns: 1fr 1fr; }
  .season, .season + .season { padding: 24px 16px 24px 0; border-right: 0; }
  .towns { columns: 1; }
  .form-panel { padding: 28px 20px; }
  .foot-grid { gap: 30px; }
  .site-footer li a { display: inline-block; padding: 10px 0; }

  .hero .btn, .offer .btn, .regular-copy .btn, .cta-band .btn, .area-grid .btn, .work-copy .btn, .form-panel .btn { width: 100%; }
}

@media (max-width: 380px) {
  /* Keeps logo + name + menu button on one header row on 320px phones */
  .site-header .container { gap: 0 12px; }
  .brand { gap: 10px; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 17px; }
  .brand-name small { display: none; }
  .season-row { grid-template-columns: 1fr; }
}
