/* ==========================================================================
   Great Garden Rooms — shared stylesheet
   Design tokens sourced from the live site's Elementor global kit
   (_source/css/wp-content_uploads_elementor_css_post-5.css) and per-page CSS.
   ========================================================================== */

/* ---------- Accessibility utility ---------- */
/* Visually-hidden but screen-reader-accessible text (footer social icon labels).
   Named to match the "elementor-screen-only" class carried over from the source
   markup, since it's baked into the shared header/footer copied across every page. */
.elementor-screen-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ---------- Design tokens ----------
   One system for every page (audit/design2/site-critique.md, section 4): navy type on white and
   stone, one green for actions, large left-aligned sentence-case headings, photos with soft corners.
   The older token names are kept and point at the new values, so rules written against them follow. */
:root {
  /* motion (audit/design2/motion-designer.md 2.2) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  /* colour: three greens + one tint, two navies, two grounds */
  --color-primary: #6D943B;        /* brand green, decoration only: bars, icons, ticks (3.5:1 on white, too light for text) */
  --color-primary-text: #4F751F;   /* links and buttons on white (5.4:1). Only 4.3:1 on stone: use --color-primary-dark there */
  --color-primary-dark: #34511A;   /* hover; green text on stone (7.2:1) */
  --color-btn: #4F751F;            /* button fill (white text 5.4:1) */
  --color-btn-hover: #34511A;
  --color-sage: #CFE3B4;           /* links and focus rings on navy (7.9:1) */
  --color-secondary: #323F46;      /* navy: headings, body text, dark sections */
  --color-secondary-deep: #232D33; /* footer, scrims, map placeholder */
  --color-secondary-alt: #323F46;  /* old body-copy name (was grey-blue #3D5159): body copy is navy */
  --color-ink-soft: #4A565E;       /* secondary text only: captions, hints (7.6:1 on white, 6:1 on stone) */
  --color-stone: #E8E6E1;          /* the one tinted ground */
  --color-grey-bg: #E8E6E1;        /* old name for the tinted ground (was #ECECEC) */
  --color-line: #C9CDC4;           /* form fields and tables only */
  --color-border: #DEE2E5;         /* the header's bottom edge */
  --color-error: #B23B3B;          /* form errors: 5.9:1 on white, 4.7:1 on stone */
  --color-white: #FFFFFF;
  --color-black: #000000;

  /* type: one typeface site-wide (owner brief 2026-10-01), Hanken Grotesk from Google Fonts.
     Content uses 400 / 500 / 600 only; the header and cookie banner keep their 700. */
  --font-primary: "Hanken Grotesk", system-ui, sans-serif;    /* headings */
  --font-secondary: "Hanken Grotesk", system-ui, sans-serif;  /* secondary/display */
  --font-accent: "Hanken Grotesk", system-ui, sans-serif;     /* buttons, nav, small labels */
  --fs-display: clamp(44px, 5.3vw, 76px);  /* page H1; line-height 1.02; tracking -0.03em */
  --fs-h2: clamp(32px, 4vw, 52px);         /* section headings; 1.08; -0.02em */
  --fs-h2-sub: clamp(26px, 2.8vw, 36px);   /* headings inside running text (About, Finance, Services); 1.12 */
  --fs-h3: clamp(22px, 2vw, 28px);         /* 1.2; -0.01em */
  --fs-lead: clamp(19px, 1.5vw, 21px);     /* intro paragraphs; 1.55 */
  --fs-body: 18px;                         /* 16px under 768px (set where it is used); 1.65 */
  --fs-small: 15px;                        /* captions, labels, footer; never below 14px */
  --measure: 36em;                         /* longest line of running text: about 75 characters in Hanken Grotesk (68ch came out near 86) */

  /* space: 8px base */
  --space-section: 96px;      /* 64px under 768px */
  --space-section-tight: 56px; /* 40px under 768px */
  --space-section-lg: 128px;  /* closing section; 80px under 768px */
  --space-head: 48px;         /* heading block to content; 32px under 768px */
  --space-gap: 32px;          /* grid gaps; 20px under 768px */

  /* one container: 1160px of content with 20px gutters, so the logo, the page and the footer share an edge */
  --container-max: 1200px;
  --container-max-wide: 1200px;
  --gutter: 20px;

  /* shape: two radii */
  --radius-sm: 8px;    /* buttons, fields */
  --radius-md: 12px;   /* photos, cards, panels */

  --bp-tablet: 1024px;
  --bp-mobile: 767px;
}
@media (max-width: 767px) {
  :root { --fs-body: 16px; --space-section: 64px; --space-section-tight: 40px; --space-section-lg: 80px; --space-head: 32px; --space-gap: 20px; }
}

/* ---------- Reset (minimal) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 400;
  color: var(--color-secondary-alt);
  background: var(--color-white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary-text); text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
/* headings: navy, 600, tight lines (they used to inherit the body's 1.6 and wrap double-spaced) */
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; font-family: var(--font-primary); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--color-secondary); text-wrap: balance; }
p { margin: 0 0 1em; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--color-white); color: var(--color-secondary);
  padding: 12px 20px;
}
.skip-link:focus { left: 10px; top: 10px; }

.container,
.container-wide {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons: one shape ----------
   Primary: green fill, white text, 17px / 500, sentence case, 52px tall, 8px radius, no icon, no shadow.
   Secondary (.btn--outline): 1.5px green outline, green text. On navy or a photo: .btn--light (white
   fill, navy text) first, .btn--outline-light (white outline) second. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  background-color: var(--color-btn);
  color: var(--color-white) !important;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn:hover, .btn:focus-visible { background-color: var(--color-btn-hover); color: var(--color-white); }
.btn-lg { padding-inline: 30px; }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn .icon-chevron { display: none; } /* the old chevron in front of the label */
.btn.btn--outline { background-color: transparent; color: var(--color-btn) !important; box-shadow: inset 0 0 0 1.5px var(--color-btn); }
.btn.btn--outline:hover, .btn.btn--outline:focus-visible { background-color: var(--color-btn); color: var(--color-white) !important; }
.btn.btn--light { background-color: var(--color-white); color: var(--color-secondary) !important; }
.btn.btn--light:hover, .btn.btn--light:focus-visible { background-color: var(--color-sage); }
.btn.btn--outline-light { background-color: transparent; color: var(--color-white) !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.8); }
.btn.btn--outline-light:hover, .btn.btn--outline-light:focus-visible { background-color: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1.5px var(--color-white); }

/* ==========================================================================
   Site header (2026-10-14 redesign, markup from scripts/apply-header.py)
   Desktop (1025px+): slim navy strip + one white bar with logo, menu and
   actions, sticky on inner pages. Phones/tablets: one white bar (logo,
   call button, menu button) and a full-screen menu drawer.
   ========================================================================== */
.site-header { position: relative; z-index: 950; background: var(--color-white); }
@media (min-width: 1025px) { .hdr-sticky .site-header { position: sticky; top: 0; } html.hdr-sticky { scroll-padding-top: 128px; } }
/* phones/tablets (inner pages): compact sticky bar that hides while scrolling down and returns on scroll up (main.js) */
@media (max-width: 1024px) {
  .hdr-sticky .site-header { position: sticky; top: 0; transition: transform 0.25s ease, box-shadow 0.2s ease; }
  .hdr-sticky .site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
  html.hdr-sticky { scroll-padding-top: 80px; }
}
@media (max-width: 1024px) and (prefers-reduced-motion: reduce) { .hdr-sticky .site-header { transition: none; } }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(50, 63, 70, 0.35); }

/* slim strip */
.hdr-strip { background: var(--color-secondary); color: rgba(255, 255, 255, 0.86); font-size: 13px; }
.hdr-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 36px; }
.hdr-strip p { margin: 0; }
.hdr-strip__trust { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--color-white); }
.hdr-stars { color: var(--color-sage); letter-spacing: 1px; font-size: 12px; }
.hdr-strip__phone { color: var(--color-white); font-weight: 600; }
.hdr-strip__phone:hover, .hdr-strip__phone:focus-visible { color: var(--color-sage); }

/* main bar */
.hdr-main { border-bottom: 1px solid var(--color-border); }
.hdr-main__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.hdr-logo { flex: none; display: block; line-height: 0; }
.hdr-logo img { width: 200px; height: auto; }
.main-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 6px;
  color: var(--color-secondary);
  font-family: var(--font-accent); font-size: 15px; font-weight: 600; white-space: nowrap;
  padding: 10px 11px; border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-menu > li > a:hover, .nav-menu > li > a:focus-visible { color: var(--color-btn); background: #F1F5EA; }
.nav-menu > li > a.active { color: var(--color-btn); box-shadow: inset 0 -2px 0 var(--color-primary); border-radius: 6px 6px 0 0; }
.nav-menu .nav-caret { flex: none; display: block; }
/* drawer only: the caret button that opens the Home submenu (the "Home" link itself just goes home) */
.nav-menu .nav-sub-toggle { display: none; }
.nav-menu .sub-menu {
  display: none; position: absolute; left: 0; top: calc(100% + 6px);
  min-width: 180px; padding: 8px; background: var(--color-white);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  box-shadow: 0 18px 40px -18px rgba(50, 63, 70, 0.45); z-index: 60;
}
.nav-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav-menu .has-dropdown:hover .sub-menu,
.nav-menu .has-dropdown:focus-within .sub-menu { display: block; }
.nav-menu .sub-menu a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--color-secondary); font-weight: 500; font-size: 15px; }
.nav-menu .sub-menu a:hover, .nav-menu .sub-menu a:focus-visible { background: #F1F5EA; color: var(--color-btn); }
.nav-drawer__extra { display: none; }

.hdr-actions { flex: none; display: flex; align-items: center; gap: 14px; }
.hdr-call { display: inline-flex; align-items: center; gap: 8px; color: var(--color-secondary); font-weight: 700; font-size: 15px; white-space: nowrap; }
.hdr-call svg { flex: none; color: var(--color-btn); }
.hdr-call:hover, .hdr-call:focus-visible { color: var(--color-btn); }
/* the header's own button: 44px tall; size and weight unchanged from the 2026-10-14 header */
.hdr-cta.btn { white-space: nowrap; min-height: 0; font-size: 14px; font-weight: 700; line-height: 1.6; border-radius: var(--radius-sm); padding: 11px 18px; }
/* desktop: the slim strip above already carries the phone number */
@media (min-width: 1025px) { .hdr-call { display: none; } }

.nav-toggle { display: none; }

/* desktop widths where everything won't fit on one row */
@media (max-width: 1279px) and (min-width: 1025px) {
  .hdr-main__inner { gap: 14px; }
  .hdr-logo img { width: 176px; }
  .nav-menu > li > a { padding: 10px 9px; font-size: 14.5px; }
}
@media (max-width: 1139px) and (min-width: 1025px) {
  .hdr-cta { display: none; }
}

/* phones and tablets: logo, call button, menu button; menu becomes a drawer */
@media (max-width: 1024px) {
  .hdr-strip { display: none; }
  .hdr-main__inner { min-height: 64px; gap: 12px; justify-content: space-between; }
  .hdr-logo img { width: 172px; }
  .hdr-cta, .hdr-call__num { display: none; }
  .hdr-call {
    width: 44px; height: 44px; justify-content: center;
    border-radius: 50%; background: #F1F5EA; border: 1px solid #DCE6CC;
  }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
    background: var(--color-secondary); color: var(--color-white); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform 220ms var(--ease-out), opacity 160ms ease-out;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-open .nav-toggle__bars { background: transparent; }
  .nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  /* the drawer: everything below the bar */
  .main-nav {
    position: fixed; left: 0; right: 0; top: 64px; bottom: 0; z-index: 1000;
    display: none; flex-direction: column; justify-content: flex-start;
    overflow-y: auto; overscroll-behavior: contain;
    padding: 12px 20px calc(28px + env(safe-area-inset-bottom));
    background: var(--color-white);
  }
  .nav-open .main-nav { display: flex; }
  .nav-open body { overflow: hidden; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu > li { border-bottom: 1px solid var(--color-border); }
  .nav-menu > li > a { justify-content: space-between; padding: 16px 4px; font-size: 20px; border-radius: 0; }
  .nav-menu > li > a.active { box-shadow: inset 3px 0 0 var(--color-primary); padding-left: 14px; }
  .nav-menu .nav-caret { width: 14px; height: 14px; transition: transform 0.2s ease; }
  .nav-menu .has-dropdown.is-open .nav-caret { transform: rotate(180deg); }
  .nav-menu > li.has-dropdown { display: flex; flex-wrap: wrap; align-items: center; }
  .nav-menu > li.has-dropdown > a { flex: 1 1 auto; }
  .nav-menu > li.has-dropdown > a .nav-caret { display: none; }
  .nav-menu .nav-sub-toggle {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 48px; height: 48px; margin-right: -4px; padding: 0; border: 0; border-radius: 8px;
    background: transparent; color: var(--color-secondary); cursor: pointer;
  }
  .nav-menu .nav-sub-toggle:hover, .nav-menu .nav-sub-toggle:focus-visible { background: #F1F5EA; color: var(--color-btn); }
  .nav-menu > li.has-dropdown > .sub-menu { flex: 1 1 100%; }
  .nav-menu .sub-menu { position: static; display: none; padding: 0 0 10px; border: 0; box-shadow: none; }
  .nav-menu .has-dropdown:hover .sub-menu, .nav-menu .has-dropdown:focus-within .sub-menu { display: none; }
  .nav-menu .has-dropdown.is-open .sub-menu { display: block; }
  .nav-menu .sub-menu a { padding: 10px 16px; font-size: 17px; }
  .nav-drawer__extra { display: grid; gap: 10px; margin-top: 22px; }
  .nav-drawer__btn.btn { justify-content: center; min-height: 0; font-size: 16px; font-weight: 700; line-height: 1.6; padding: 15px 20px; border-radius: var(--radius-sm); }
  .main-nav .nav-drawer__btn--ghost.btn { background: transparent; color: var(--color-secondary) !important; border: 1.5px solid var(--color-secondary); }
  .main-nav .nav-drawer__btn--ghost.btn:hover { background: var(--color-secondary); color: var(--color-white) !important; }
  .nav-drawer__contact { margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: var(--color-ink-soft); }
  .nav-drawer__contact a { display: inline-block; padding-block: 10px; margin-block: -10px; font-weight: 700; font-size: 18px; color: var(--color-secondary); }
  .nav-open .site-header { position: fixed; top: 0; left: 0; right: 0; }
  .nav-open .ggr-mbar, .nav-open .cookie-banner { display: none !important; }
}
@media (max-width: 380px) {
  .hdr-logo img { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { transition: none; }
}

/* ==========================================================================
   Hero (homepage)
   ========================================================================== */
.hero {
  position: relative;
  background: var(--color-black);
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__video-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero__video-wrap iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw; height: 56.25vw; /* 16:9 */
  min-height: 100%; min-width: 177.77vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: var(--color-black);
  opacity: 0.3;
}
.hero .container-wide {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-block: 60px;
}
.hero__content { padding-left: 40px; }
.hero__title {
  color: var(--color-white);
  font-size: 44px;
  line-height: 1.14;
  font-weight: 600;
  text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
  margin-bottom: 20px;
}
.hero__subtitle {
  color: var(--color-white);
  font-size: 20px;
  font-weight: 600;
  text-shadow: 2px 2px 3px rgba(0,0,0,0.53);
  margin-bottom: 25px;
}

@media (max-width: 1024px) {
  .hero__title { font-size: 34px; }
}

@media (max-width: 767px) {
  .hero .container-wide { grid-template-columns: 1fr; padding-block: 30px 40px; }
  .hero__content { padding-left: 0; text-align: center; }
  .hero__title { font-size: 30px; }
  .hero .btn { display: none; } /* button hidden on mobile/tablet on the live site */
}

/* ---------- Enquiry form: one style (Contact, Finance; the brochure form matches it in brochure.css) ----------
   Stone card, white fields 52px tall with a 1px line and 8px radius, 15px / 500 sentence-case labels in
   navy, the standard primary button full width. Error red #B23B3B is 4.7:1 on the stone card.
   The homepage quote card sets its own colours on top of this in assets/home/home-tour.css. */
:root {
  --ggr-bg: #ffffff;
  --ggr-surface: #ffffff;           /* fields */
  --ggr-surface-2: #E8E6E1;         /* the card: stone */
  --ggr-ink: #323F46;
  --ggr-muted: #4A565E;             /* 6:1 on the stone card */
  --ggr-accent: #4F751F;
  --ggr-accent-soft: rgba(79, 117, 31, 0.22);
  --ggr-line: #C9CDC4;
  --ggr-focus: #4F751F;
}
/* The site has one (light) theme: no partial dark styling, and native controls stay light too. */
:root { color-scheme: light; }
.ggr-enquiry * { box-sizing: border-box; }
.ggr-enquiry {
  background: var(--ggr-surface-2);
  color: var(--ggr-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  width: 100%;
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.ggr-enquiry .head { position: relative; padding: 28px 28px 0; color: var(--ggr-ink); }
.ggr-enquiry .eyebrow { display: none; }
.ggr-enquiry .head h1, .ggr-enquiry .head h2, .ggr-enquiry .head h3 {
  font-family: inherit; font-weight: 600; letter-spacing: -0.01em;
  font-size: 26px; line-height: 1.2; margin: 0; color: var(--ggr-ink);
}
.ggr-enquiry .head p { max-width: none; color: var(--ggr-ink); font-size: 16px; margin: 10px 0 0; }
.ggr-enquiry .body { padding: 16px 28px 28px; }
.ggr-enquiry .form-sub { color: var(--ggr-muted); font-size: 15px; margin: 0 0 20px; }
.ggr-enquiry form { display: flex; flex-direction: column; gap: 16px; }
.ggr-enquiry .field { display: flex; flex-direction: column; gap: 6px; }
.ggr-enquiry .field label {
  font-size: 15px; font-weight: 500; letter-spacing: 0;
  text-transform: none; color: var(--ggr-ink);
}
.ggr-enquiry .field .hint { text-transform: none; letter-spacing: normal; font-weight: 400; color: var(--ggr-muted); }
/* 16px text: anything smaller makes iPhones zoom the page when a field is tapped. 52px tall for easy tapping. */
.ggr-enquiry input[type="text"], .ggr-enquiry input[type="tel"], .ggr-enquiry input[type="email"], .ggr-enquiry select, .ggr-enquiry textarea {
  appearance: none; width: 100%; min-height: 52px; background: var(--ggr-surface);
  border: 1px solid var(--ggr-line); border-radius: var(--radius-sm); padding: 13px 14px;
  font: inherit; font-size: 16px; line-height: 1.4; color: var(--ggr-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ggr-enquiry textarea { min-height: 112px; resize: vertical; }
.ggr-enquiry select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234A565E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.ggr-enquiry input::placeholder, .ggr-enquiry textarea::placeholder { color: var(--ggr-muted); opacity: 0.75; }
.ggr-enquiry input:focus-visible, .ggr-enquiry select:focus-visible, .ggr-enquiry textarea:focus-visible { outline: 2px solid var(--ggr-focus); outline-offset: 1px; border-color: var(--ggr-focus); box-shadow: 0 0 0 3px var(--ggr-accent-soft); }
/* (0,2,1) so it beats the field rule above: the red edge never showed with the old, weaker selector */
.ggr-enquiry :is(input, select, textarea)[aria-invalid="true"] { border-color: var(--color-error); }
.ggr-enquiry .field-error { max-width: none; margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--color-error); }
/* empty errors stay rendered (zero size, out of the flex flow so they add no gap) so their aria-live region is
   already in the accessibility tree when main.js writes a message into it */
.ggr-enquiry .field-error:empty { position: absolute; margin: 0; }
.ggr-enquiry .field--check { flex-direction: row; }
/* the label wraps the checkbox and fills the 44px row, so every point of the row toggles it */
.ggr-enquiry .field--check label { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; font-size: 16px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ggr-ink); cursor: pointer; }
.ggr-enquiry .field--check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ggr-accent); cursor: pointer; }
.ggr-enquiry .form-note { max-width: none; margin: 0; font-size: 15px; color: var(--ggr-muted); }
.ggr-enquiry .form-note a { color: var(--color-primary-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
/* submit: the standard primary button, full width */
.ggr-enquiry button[type="submit"] {
  margin-top: 4px; appearance: none; border: none; border-radius: var(--radius-sm); padding: 14px 28px; min-height: 52px;
  font: inherit; font-weight: 500; font-size: 17px; line-height: 1.2; letter-spacing: 0; color: var(--color-white);
  background: var(--color-btn);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.ggr-enquiry button[type="submit"]:hover { background: var(--color-btn-hover); }
.ggr-enquiry button[type="submit"]:disabled { opacity: 0.7; cursor: not-allowed; }
.ggr-enquiry button[type="submit"]:focus-visible { outline: 2px solid var(--ggr-focus); outline-offset: 2px; }
.ggr-enquiry .form-error { display: none; max-width: none; font-size: 15px; font-weight: 600; color: var(--color-error); margin: 0; }
.ggr-enquiry .form-error.show { display: block; }
.ggr-enquiry .success { display: none; text-align: center; padding: 12px 4px 4px; }
.ggr-enquiry .success.show { display: block; }
.ggr-enquiry .success svg { color: var(--ggr-accent); width: 34px; height: 34px; margin-bottom: 10px; }
.ggr-enquiry .success h2 { font-family: inherit; font-size: 22px; font-weight: 600; line-height: 1.2; margin: 0 0 6px; color: var(--ggr-ink); }
.ggr-enquiry .success p { max-width: none; font-size: 16px; color: var(--ggr-ink); margin: 0; }
@media (max-width: 767px) {
  .ggr-enquiry .head { padding: 22px 20px 0; }
  .ggr-enquiry .head h1, .ggr-enquiry .head h2, .ggr-enquiry .head h3 { font-size: 24px; }
  .ggr-enquiry .body { padding: 14px 20px 22px; }
}

.hero__form-col {
  background: rgba(50,63,70,0.85);
  border-radius: var(--radius-md);
  padding: 30px 40px;
}
.hero__form-heading { color: var(--color-white); text-align: center; font-size: 26px; margin-bottom: 4px; }
.hero__form-call { text-align: center; margin-bottom: 15px; }
.hero__form-call a { color: var(--color-sage); font-family: var(--font-accent); font-weight: 700; font-size: 16px; text-decoration: underline; }
.hero__form-call span { display: block; color: var(--color-white); font-family: var(--font-accent); font-size: 16px; }

@media (max-width: 1024px) {
  .hero__form-col { padding: 15px; }
}
@media (max-width: 767px) {
  .hero__form-col { margin: 0; }
}

/* ==========================================================================
   General content sections
   ========================================================================== */
.section { padding-block: var(--space-section); font-size: var(--fs-body); line-height: 1.65; color: var(--color-secondary); }
.section--tight { padding-block: var(--space-section-tight); }
.section--grey { background: var(--color-stone); }
/* green text on stone needs the darker green (4.3:1 with the button green) */
.section--grey a:not(.btn) { color: var(--color-primary-dark); }

/* running text: never wider than a comfortable line. Zero specificity, so any component can opt out. */
:where(.section, .page-header) :where(p, li, dd) { max-width: var(--measure); }

/* section headings: large, navy, left-aligned, sentence case */
.section-title {
  max-width: 18em;
  margin-bottom: 24px;
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: none;
  text-align: left;
  text-wrap: balance;
  color: var(--color-secondary);
}
.section-title--white { color: var(--color-white); }
.section-title--center { margin-inline: auto; text-align: center; }
/* headings inside running text (About, Finance, Services) */
:where(.section) h2 { max-width: 24em; margin-bottom: 0.6em; font-size: var(--fs-h2-sub); line-height: 1.12; letter-spacing: -0.02em; }
:where(.section) h3 { margin-bottom: 0.4em; font-size: var(--fs-h3); line-height: 1.2; }
:where(.section) :where(p, ul, ol, dl, table, figure, img) + h2 { margin-top: 1.5em; }
:where(.section) :where(p, ul, ol, dl, table, figure, img) + h3 { margin-top: 1.4em; }

/* a section that holds only its heading belongs to the section after it */
.section:has(> .container > .section-title:only-child) { padding-bottom: 0; }
.section:has(> .container > .section-title:only-child) + .section { padding-top: 8px; }
/* a section that holds one picture follows on from the text above it; the picture is a 3:2 feature */
.section--tight + .section:has(> .container > img:only-child) { padding-top: 0; }
.section > .container > img:only-child { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-md); }

/* Dark closing band. Legacy pages end on a centred heading and a button (About, Services, Gallery,
   FAQ); town pages end on .section--primary. Both are set as one navy band here until every page
   carries the shared .site-close block (below). Full-width green bands are retired. */
.section--primary,
main > .section:last-child:is([style*="text-align:center"], :has(> .container > .section-title + .btn)) {
  padding-block: var(--space-section-lg);
  background: var(--color-secondary);
  color: var(--color-white);
  text-align: center;
}
.section--primary h2,
main > .section:last-child:is([style*="text-align:center"], :has(> .container > .section-title + .btn)) .section-title {
  max-width: 20ch;
  margin: 0 auto 36px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--color-white);
}
.section--primary p,
main > .section:last-child:is([style*="text-align:center"], :has(> .container > .section-title + .btn)) p { margin-inline: auto; color: rgba(255, 255, 255, 0.92); }
.section--primary .btn,
main > .section:last-child:is([style*="text-align:center"], :has(> .container > .section-title + .btn)) .btn { background-color: var(--color-white); color: var(--color-secondary) !important; }
.section--primary .btn:hover, .section--primary .btn:focus-visible,
main > .section:last-child:is([style*="text-align:center"], :has(> .container > .section-title + .btn)) .btn:hover,
main > .section:last-child:is([style*="text-align:center"], :has(> .container > .section-title + .btn)) .btn:focus-visible { background-color: var(--color-sage); }
.section--primary a:not(.btn),
main > .section:last-child:is([style*="text-align:center"], :has(> .container > .section-title + .btn)) a:not(.btn) { color: var(--color-sage); }
.section--primary a:not(.btn):hover,
main > .section:last-child:is([style*="text-align:center"], :has(> .container > .section-title + .btn)) a:not(.btn):hover { color: var(--color-white); }
.section--primary :focus-visible,
main > .section:last-child:is([style*="text-align:center"], :has(> .container > .section-title + .btn)) :focus-visible { outline: 3px solid var(--color-sage); outline-offset: 3px; }

/* Services: "No treating / No painting / Usually no planning permission needed" were three stacked
   centred headings. Until the page carries the three-column .statement-row markup they are set as a
   two-column text row with the green bar. */
.section > .container:has(> .section-title + .section-title) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  text-align: left;
}
.section > .container:has(> .section-title + .section-title) > .section-title {
  position: relative;
  max-width: none;
  margin: 0;
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: left;
}
.section > .container:has(> .section-title + .section-title) > p { margin: 10px 0 0; text-align: left; }
.section > .container:has(> .section-title + .section-title) > :nth-child(1) { grid-area: 1 / 1; }
.section > .container:has(> .section-title + .section-title) > :nth-child(2) { grid-area: 2 / 1; }
.section > .container:has(> .section-title + .section-title) > :nth-child(3) { grid-area: 3 / 1; }
.section > .container:has(> .section-title + .section-title) > :nth-child(4) { grid-area: 1 / 2 / 3 / 2; }
.section > .container:has(> .section-title + .section-title) > :nth-child(5) { grid-area: 3 / 2; }
.section > .container:has(> .section-title + .section-title) > :is(:nth-child(1), :nth-child(4)),
.statement-row > * { position: relative; padding-top: 28px; border-top: 1px solid rgba(50, 63, 70, 0.16); }
.section > .container:has(> .section-title + .section-title) > :is(:nth-child(1), :nth-child(4))::before,
.statement-row > *::before { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 3px; background: var(--color-primary); }
/* the markup this row is waiting for: <ul class="statement-row"><li><h3>No treating</h3><p>...</p></li> x3</ul> */
.statement-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin: 0; padding: 0; list-style: none; }
.statement-row h3 { margin: 0 0 10px; font-size: var(--fs-h3); line-height: 1.2; }
.statement-row p { margin: 0; }
@media (max-width: 767px) {
  .section > .container:has(> .section-title + .section-title) { grid-template-columns: minmax(0, 1fr); }
  .section > .container:has(> .section-title + .section-title) > :nth-child(n) { grid-area: auto; }
  .section > .container:has(> .section-title + .section-title) > :nth-child(4) { margin-top: 36px; }
  .statement-row { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* Three-photo feature row */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.feature-row a { display: block; overflow: hidden; }
.feature-row img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.feature-row a:hover img { transform: scale(1.05); }
@media (max-width: 767px) {
  .feature-row { grid-template-columns: 1fr; }
}

/* Welcome / two-column intro with video */
.intro-split {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 40px;
  align-items: center;
}
.intro-split h2 { font-size: 45px; }
.intro-split__video { position: relative; padding-top: 56.25%; }
.intro-split__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-split__video lite-youtube { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; border-radius: var(--radius-md); }
@media (max-width: 767px) {
  .intro-split { grid-template-columns: 1fr; text-align: center; }
}

/* Icon-box feature grid (About Us "Why choose" tiles) */
/* the homepage "Why choose" row (.hm-feature) on a light ground: green bar, heading, sentence */
.icon-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px 48px;
  text-align: left;
}
.icon-feature { position: relative; padding-top: 28px; border-top: 1px solid rgba(50, 63, 70, 0.16); }
.icon-feature::before { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 3px; background: var(--color-primary); }
.icon-feature h3 { margin-bottom: 12px; font-size: 24px; font-weight: 600; line-height: 1.2; color: var(--color-secondary); }
.icon-feature p { margin: 0; font-size: 17px; color: var(--color-secondary); }
/* six tiles sit three by three, not four and two */
@media (min-width: 1024px) {
  .icon-features:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .icon-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
}
@media (max-width: 599px) {
  .icon-features { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .icon-feature h3 { font-size: 22px; }
  .icon-feature p { font-size: 16px; }
}

/* Testimonials */
.testimonials { background: var(--color-primary-text); }
.testimonial-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 320px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 24px;
}
.testimonial-card__stars { color: var(--color-black); letter-spacing: 2px; margin-bottom: 6px; }
.testimonial-card__name { font-weight: 600; font-size: 20px; color: #000; display: block; }
.testimonial-card__source { font-size: 14px; color: #000; display: block; margin-bottom: 10px; }
.testimonial-card__text { font-size: 15px; color: #000; }

/* CTA band */
.cta-band {
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
}
.cta-band__overlay { position: absolute; inset: 0; background: #000; opacity: 0.7; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--color-white); font-size: 40px; line-height: 1.2; margin-bottom: 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */
/* Deep navy, so the footer steps down from the navy closing section above it. Its content sits on
   the same edge as the header and the page. Three columns today; a fourth (logo, address, socials
   first: .footer-col--brand) drops in when the markup has it. */
.site-footer { background: var(--color-secondary-deep); color: var(--color-white); }
.footer-top { padding: 72px 0 56px; }
.footer-top .container-wide {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer-top .container-wide:has(> .footer-col:nth-child(4)) { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer-col h2 { margin-bottom: 14px; color: var(--color-white); font-family: var(--font-accent); font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.footer-col p { margin-bottom: 10px; font-family: var(--font-accent); font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }
.footer-col a { color: var(--color-sage); }
.footer-col p a:hover { color: var(--color-white); }
.footer-col ul li { margin-block: 7px; font-family: var(--font-accent); font-size: 16px; }
.footer-col ul li a { color: rgba(255, 255, 255, 0.85); display: inline-flex; align-items: center; gap: 8px; }
.footer-col ul li a:hover { color: var(--color-white); }
.footer-col a:focus-visible, .footer-social a:focus-visible { outline: 2px solid var(--color-sage); outline-offset: 3px; }
.footer-logo { display: block; width: 200px; height: auto; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
}
.footer-social a:hover { background: var(--color-white); color: var(--color-secondary); }
/* Inline SVG social icons: paths from Simple Icons v16.33.0 (CC0, https://simpleicons.org),
   slugs x, facebook, instagram. No icon font, no runtime requests. */
.footer-social .icon--social { width: 20px; height: 20px; display: block; flex: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding: 20px 0 24px;
}
.footer-bottom .container-wide { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.footer-bottom h3, .footer-bottom .footer-copy { color: rgba(255, 255, 255, 0.85); font-family: var(--font-accent); font-size: 14px; font-weight: 400; line-height: 1.5; letter-spacing: 0; margin: 0; }
.footer-bottom .footer-legal { width: 100%; color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.5; margin: 0; }

@media (max-width: 1023px) {
  .footer-top .container-wide:has(> .footer-col:nth-child(4)) { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .footer-top { padding: 56px 0 40px; }
  .footer-top .container-wide, .footer-top .container-wide:has(> .footer-col:nth-child(4)) { grid-template-columns: 1fr; gap: 36px; text-align: left; }
  .footer-bottom .container-wide { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ==========================================================================
   FAQ accordion (reused by /faq/ and anywhere else)
   ========================================================================== */
/* an open list of stone rows: navy question, green plus that turns to a minus, answer at body size */
.faq-list { max-width: 820px; margin-inline: 0; }
.faq-item { margin-bottom: 8px; border: 0; border-radius: var(--radius-md); background: var(--color-stone); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  background: none;
  color: var(--color-secondary);
  border: none;
  border-radius: var(--radius-md);
  text-align: left;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  padding: 22px 24px;
  cursor: pointer;
}
.faq-q:focus-visible { outline: 3px solid var(--color-primary-text); outline-offset: 2px; }
/* plus / minus drawn in CSS (the chevron in the markup is hidden). #4F751F is 4.3:1 on stone: fine for an icon. */
.faq-q .faq-icon { position: relative; flex: none; display: block; width: 18px; height: 18px; color: var(--color-primary-text); }
.faq-q .faq-icon svg { display: none; }
.faq-q .faq-icon::before, .faq-q .faq-icon::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 2.5px; margin-top: -1.25px;
  border-radius: 2px; background: currentColor; transition: transform 200ms var(--ease-out);
}
.faq-q .faq-icon::after { transform: rotate(90deg); }
.faq-item.open .faq-q .faq-icon::after { transform: rotate(0deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  background: none;
  transition: max-height 280ms var(--ease-out);
}
.faq-a__inner { padding: 0 24px 24px; font-size: var(--fs-body); color: var(--color-secondary); }
.faq-a__inner > :last-child { margin-bottom: 0; }
.faq-a__inner a:not(.btn) { color: var(--color-primary-dark); }
/* optional two-column layout once the markup has it: list left, sticky contact card right */
.faq-layout { display: grid; grid-template-columns: minmax(0, 820px) minmax(260px, 1fr); gap: 64px; align-items: start; }
.faq-aside { position: sticky; top: 152px; padding: 32px; border-radius: var(--radius-md); background: var(--color-stone); }
.faq-aside h2 { margin-bottom: 12px; font-size: var(--fs-h3); line-height: 1.2; }
@media (max-width: 1199px) { .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; } .faq-aside { position: static; } }
@media (max-width: 767px) {
  .faq-q { padding: 18px 18px; font-size: 18px; gap: 14px; }
  .faq-a__inner { padding: 0 18px 20px; }
}

/* ==========================================================================
   Gallery grid + lightbox
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery-grid a { display: block; overflow: hidden; border-radius: var(--radius-md); }
.gallery-grid a:focus-visible { outline: 3px solid var(--color-btn); outline-offset: 3px; }
p + .gallery-grid { margin-top: 28px; }
/* opt-in: add .gallery-grid--feature to a grid and its first photo becomes a 2 x 2 feature tile
   (three-column layout only; a feature tile counts as four cells, so pick a count that fills the last row) */
@media (min-width: 768px) {
  .gallery-grid--feature > :first-child { grid-column: span 2; grid-row: span 2; }
  .gallery-grid--feature > :first-child:is(a), .gallery-grid--feature > :first-child a { height: 100%; }
  .gallery-grid--feature > :first-child img { aspect-ratio: auto; }
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gallery-grid a:hover img { transform: scale(1.04); } }
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lightbox { touch-action: pinch-zoom; overscroll-behavior: contain; } /* one-finger swipes are ours (main.js), pinch still zooms */
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; padding: 0;
  background: rgba(35, 45, 51, 0.78);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 24px; line-height: 1;
  cursor: pointer;
}
.lightbox__close { top: 14px; right: 14px; font-size: 30px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(35, 45, 51, 0.95); }
.lightbox__close:focus-visible, .lightbox__prev:focus-visible, .lightbox__next:focus-visible { outline: 3px solid var(--color-sage); outline-offset: 2px; }
.lightbox__count { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); margin: 0; padding: 4px 12px; border-radius: 999px; background: rgba(35, 45, 51, 0.78); color: #fff; font-size: 14px; font-weight: 600; }
@media (max-width: 767px) {
  .lightbox { padding: 16px; }
  .lightbox img { max-width: 100%; max-height: 78vh; max-height: 78dvh; } /* dvh: the iPhone toolbar slides, vh does not follow it */
  /* arrows and close sit low, in thumb reach */
  .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; }
  .lightbox__count { bottom: 26px; }
}

/* ==========================================================================
   Simple page header (used by inner pages)
   ========================================================================== */
/* Plain opening (areas hub and town pages until they carry the photo banner): crumbs and a navy
   display H1 on the page edge, the text half of the split intro on Our Garden Rooms. */
.page-header { max-width: var(--container-max); margin-inline: auto; padding: 56px var(--gutter) 0; text-align: left; }
.page-header h1 { max-width: 14em; margin: 0; color: var(--color-secondary); font-size: var(--fs-display); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; }
@media (max-width: 767px) { .page-header { padding-top: 32px; } }

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 560px;
  margin-inline: auto;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: none;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 9998;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; font-size: 14px; flex: 1 1 260px; }
.cookie-banner p a { color: var(--color-white); text-decoration: underline; text-underline-offset: 3px; } /* green on the navy banner is only 2:1 */
.cookie-banner button {
  background: var(--color-btn);
  color: var(--color-white);
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-accent);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-banner button:hover { background: var(--color-btn-hover); }
.cookie-banner__actions { display: flex; gap: 10px; flex: 0 0 auto; }
/* Decline: quiet white-outline button, same size as Accept (inset outline adds no height) */
.cookie-banner .cookie-banner__decline {
  background: transparent;
  color: var(--color-white);
  box-shadow: inset 0 0 0 2px var(--color-white);
}
.cookie-banner .cookie-banner__decline:hover,
.cookie-banner .cookie-banner__decline:focus-visible { background: rgba(255,255,255,0.12); }
/* Phones: a compact full-width bar on the bottom edge; text on top, Decline + Accept side by side below */
@media (max-width: 767px) {
  .cookie-banner {
    left: 0; right: 0; bottom: 0;
    max-width: none;
    margin: 0;
    border-radius: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    gap: 12px;
    flex-wrap: wrap;
    row-gap: 8px;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
  }
  .cookie-banner p { flex: 1 1 100%; min-width: 0; font-size: 14px; line-height: 1.4; }
  .cookie-banner__actions { flex: 1 1 100%; }
  .cookie-banner button { flex: 1 1 0; padding: 8px 16px; }
}

/* ==========================================================================
   404 page
   ========================================================================== */
.error-404 { text-align: center; padding: 100px 20px; }
.error-404 h1 { font-size: clamp(72px, 10vw, 120px); line-height: 1; letter-spacing: -0.03em; color: var(--color-secondary); margin-bottom: 12px; }
.error-404 p { max-width: 34em; margin: 0 auto 32px; font-size: var(--fs-body); color: var(--color-secondary); }

/* ==========================================================================
   /our-garden-rooms/ — "Space" room card grid (page-specific, additive)
   Reuses .gallery-grid on the wrapping element so main.js's lightbox
   auto-wiring picks up each card's <a>; .room-grid overrides the layout.
   ========================================================================== */
.room-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 30px; }
.room-card { text-align: center; }
.room-card a { display: block; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: auto; }
.room-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.3s ease; }
.room-card a:hover img { transform: scale(1.04); }
.room-card__title { font-weight: 600; color: var(--color-secondary); margin: 14px 0 4px; font-size: 18px; }
.room-card__sizes { font-size: 14px; color: var(--color-secondary-alt); margin: 0; }
@media (max-width: 767px) {
  .room-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .room-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   /contact-us/ — two-column layout (enquiry form + contact details/map),
   /our-gallery/ — video grid, /blog/ — post list + article body typography
   (page-specific, additive)
   ========================================================================== */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.two-col > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }
@media (max-width: 1023px) { .two-col { gap: 40px; } }
@media (max-width: 767px) { .two-col { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Contact, once recomposed: form column wider than the details column, details as a short list */
.two-col--form { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 767px) { .two-col--form { grid-template-columns: minmax(0, 1fr); } }
.contact-list { margin: 0 0 32px; }
.contact-list dt { font-size: var(--fs-small); font-weight: 500; color: var(--color-ink-soft); }
.contact-list dd { margin: 2px 0 18px; font-size: var(--fs-body); }
.contact-list dd.contact-list__phone { font-size: 24px; font-weight: 600; line-height: 1.2; }
.contact-list dd.contact-list__phone a { color: var(--color-secondary); }
.contact-details p { margin: 0 0 10px; }
.contact-details a { color: var(--color-primary-text); }

.map-embed { margin-top: 32px; border-radius: var(--radius-md); overflow: hidden; }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }
.gallery-grid + .map-embed { margin-top: var(--space-section-tight); }

.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-gap); }
@media (max-width: 767px) { .video-grid { grid-template-columns: 1fr; } }

.blog-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px var(--space-gap); }
@media (max-width: 1023px) { .blog-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .blog-list { grid-template-columns: 1fr; } }
.blog-card { display: block; }
.blog-card__img { display: block; overflow: hidden; border-radius: var(--radius-md); margin-bottom: 20px; background: var(--color-stone); }
.blog-card__img img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .blog-card:hover .blog-card__img img { transform: scale(1.04); } }
.blog-card__title { font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--color-secondary); margin: 0; transition: color 0.2s ease; }
.blog-card:hover .blog-card__title { color: var(--color-primary-text); }
.blog-card:focus-visible { outline: 3px solid var(--color-btn); outline-offset: 6px; border-radius: var(--radius-md); }

/* Posts and legal pages: one reading column on the page edge (it used to float in the middle of the
   page, 200px in from the logo). Everything in the column shares one width. */
.post-body { --post-col: 660px; }
.post-body > * { max-width: min(100%, var(--post-col)); }
.post-body h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.015em; color: var(--color-secondary); margin: 1.7em 0 0.55em; }
.post-body h3 { font-size: 22px; line-height: 1.25; color: var(--color-secondary); margin: 1.5em 0 0.5em; }
.post-body > :is(h2, h3):first-child, .post-body > .post-dates + :is(h2, h3) { margin-top: 0; }
.post-body p { margin-bottom: 1.2em; }
.post-body ul, .post-body ol { list-style: revert; padding-left: 1.4em; margin: 0 0 1.2em; }
.post-body li { margin-bottom: 0.5em; }
.post-body img { border-radius: var(--radius-md); margin: 1.8em 0; }
.post-body figure { margin: 1.8em 0; }
.post-body figure img { margin: 0; }
.post-body figcaption { font-size: 15px; color: var(--color-ink-soft); margin-top: 10px; }
.post-body a { text-decoration: underline; }
.post-meta-nav {
  margin: 56px 0 0; padding-top: 32px;
  border-top: 1px solid var(--color-line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}

.post-meta-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }

/* blog post dates line (under the page header) */
.post-dates { font-size: 15px; color: var(--color-ink-soft); margin: 0 0 28px; }

/* Sticky mobile call / quote bar (added by main.js on phones, upright or sideways) */
.ggr-mbar { display: none; }
@media (max-width: 767px), (max-height: 500px) and (pointer: coarse) {
  .ggr-mbar {
    display: flex; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    background: rgb(50, 63, 70);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease;
  }
  .ggr-mbar.is-waiting { transform: translateY(110%); }
  /* out of the way while the visitor is typing, so it never covers a field or the Send button */
  .is-typing .ggr-mbar { transform: translateY(110%); visibility: hidden; transition: transform 0.2s ease, visibility 0s linear 0.2s; }
  .cookie-banner.is-visible ~ .ggr-mbar { display: none; }
  .ggr-mbar__btn {
    flex: 1 1 0; display: flex; align-items: center; justify-content: center;
    min-height: 46px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 15px; text-decoration: none; text-align: center;
  }
  .ggr-mbar__btn--call { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.7); background: rgb(50, 63, 70); }
  .ggr-mbar__btn--quote { color: #fff; background: var(--color-btn); }
  .ggr-mbar__btn:focus-visible { outline: 3px solid var(--color-sage); outline-offset: 2px; }
  body.has-mbar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  html:has(body.has-mbar) { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-height: 500px) and (pointer: coarse) and (min-width: 768px) {
  /* sideways phone: a slim bar */
  .ggr-mbar { padding-top: 5px; padding-bottom: calc(5px + env(safe-area-inset-bottom)); }
  .ggr-mbar__btn { min-height: 44px; max-width: 320px; }
  .ggr-mbar { justify-content: center; }
  body.has-mbar { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ==========================================================================
   Inner-page banner (scripts/apply-page-heroes.py)
   ========================================================================== */
.page-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 340px; overflow: hidden; background: var(--color-secondary); color: var(--color-white); }
.page-hero__media, .page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero__media img { object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(28, 36, 40, 0.15) 0%, rgba(28, 36, 40, 0.35) 45%, rgba(28, 36, 40, 0.82) 100%);
}
.page-hero__inner { position: relative; z-index: 1; width: 100%; padding-top: 48px; padding-bottom: 40px; }
.page-hero h1 { margin: 0; max-width: 22em; color: var(--color-white); font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
.page-hero__crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.page-hero__crumbs li { display: flex; align-items: center; gap: 6px; max-width: 100%; }
.page-hero__crumbs li + li::before { content: "/"; opacity: 0.6; }
.page-hero__crumbs li[aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.page-hero__crumbs a { color: var(--color-white); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 3px; }
.page-hero__crumbs a:hover, .page-hero__crumbs a:focus-visible { text-decoration-color: currentColor; }
/* third-level pages (posts): the trail shows the parents only; the long current title sits right
   below as the H1 and used to be cut mid-word here. Still read out by screen readers. */
.page-hero__crumbs ol:has(> li:nth-child(3)) li[aria-current] { position: absolute; width: 1px; height: 1px; max-width: none; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.page-hero--plain { min-height: 0; }
.page-hero--plain::after { display: none; }
.page-hero--plain .page-hero__inner { padding-top: 40px; padding-bottom: 36px; }
/* town pages, once they carry the photo banner: a taller picture */
.page-hero--area { min-height: 420px; }
@media (max-width: 767px) {
  .page-hero { min-height: 250px; }
  .page-hero--area { min-height: 280px; }
  .page-hero__inner { padding-top: 32px; padding-bottom: 26px; }
  .page-hero__crumbs ol { font-size: 15px; margin-bottom: 10px; }
  .page-hero__crumbs li[aria-current] { max-width: 22ch; }
}

/* Gentle reveal as sections scroll into view. The hidden starting state is only ever added by
   main.js (never by CSS alone), so content stays visible without JS, for search engines and in print. */
.js-reveal .reveal { opacity: 0; transform: translateY(12px); transition: opacity 500ms ease-out, transform 600ms var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-reveal .reveal { opacity: 1; transform: none; transition: none; } }
@media print { .js-reveal .reveal { opacity: 1 !important; transform: none !important; } }

/* Spam honeypot field (_gotcha) on Formspree forms: kept off screen, never shown to people */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Inline links in body copy: underlined so they don't rely on colour alone (WCAG 1.4.1).
   Only unclassed links inside paragraphs/answers in <main>; nav, footer, buttons and cards are untouched. */
main p a:not([class]),
main .faq-a__inner a:not([class]),
main .post-body a:not([class]),
main .areas-text li a:not([class]) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
main p a:not([class]):hover,
main .faq-a__inner a:not([class]):hover,
main .post-body a:not([class]):hover { text-decoration-thickness: 2px; }

/* ------------------------------------------------------------------
   Legal pages (/terms-of-use/, /privacy-policy/, /complaints-procedure/)
   ------------------------------------------------------------------ */
.legal ol.clauses { padding-left: 1.4em; }
.legal ol.clauses > li { margin-bottom: 0.7em; }
.legal ol.clauses ul { margin: 0.5em 0 0.5em; }
.legal table { border-collapse: collapse; width: 100%; max-width: min(100%, 920px); margin: 0 0 1.6em; font-size: 16px; line-height: 1.5; }
.legal th, .legal td { border: 1px solid var(--color-line); padding: 0.65em 0.75em; text-align: left; vertical-align: top; }
.legal th { background: var(--color-stone); color: var(--color-secondary); font-weight: 600; }
.legal code { font-size: 0.92em; overflow-wrap: anywhere; }
.legal .form-box { border: 1px dashed var(--color-ink-soft); border-radius: var(--radius-sm); padding: 1em 1.2em; margin: 1em 0 1.6em; }
.legal .form-box p { margin-bottom: 0.6em; }
@media (max-width: 767px) {
  /* stack table rows into cards on phones; each cell is labelled by its column header (data-label) */
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .legal tr { border: 1px solid var(--color-line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
  .legal td { border: 0; border-top: 1px solid var(--color-line); }
  .legal tr td:first-child { border-top: 0; background: var(--color-stone); font-weight: 600; }
  .legal td[data-label]::before { content: attr(data-label); display: block; font-size: 14px; font-weight: 500; color: var(--color-ink-soft); margin-bottom: 2px; }
  .legal tr td:first-child[data-label]::before { display: none; }
}

/* Footer "Cookie settings" (a button styled like the footer links; re-opens the cookie banner) */
.footer-col ul li .footer-cookie-settings {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font: inherit; color: rgba(255, 255, 255, 0.85); text-align: left;
}
.footer-col ul li .footer-cookie-settings:hover { color: var(--color-white); }
.footer-col ul li .footer-cookie-settings:focus-visible { outline: 2px solid var(--color-sage); outline-offset: 3px; }

/* Google Maps click-to-load placeholder (contact, showroom, gallery). The iframe is only inserted
   by main.js after "Show map" is clicked. */
.map-consent {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; width: 100%; height: 360px; padding: 24px; text-align: center; color: var(--color-white);
  border-radius: var(--radius-md);
  background: var(--color-secondary-deep);
}
.map-consent__pin { width: 34px; height: 34px; color: var(--color-sage); }
.map-consent__address { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; }
.map-consent__note { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.85); max-width: 34em; }
/* on the dark panel the button is the light one */
.map-consent .map-consent__btn { min-height: 48px; background-color: var(--color-white); color: var(--color-secondary) !important; }
.map-consent .map-consent__btn:hover, .map-consent .map-consent__btn:focus-visible { background-color: var(--color-sage); }
.map-consent :focus-visible { outline: 3px solid var(--color-sage); outline-offset: 3px; }
/* after "Show map": the Google Maps link moves below the map (main.js) */
.map-open-link { margin: 8px 0 0; font-size: 15px; }
.map-open-link a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.map-consent a.map-consent__link { color: var(--color-white); text-decoration: underline; text-underline-offset: 3px; }
.ggr-sr-map .map-consent { height: 100%; min-height: 420px; border-radius: 0; }
@media (max-width: 767px) {
  .ggr-sr-map .map-consent { min-height: 320px; }
}

/* "Free quote" links land on the form with a little room above it */
#ggr-form { scroll-margin-top: 24px; }

/* ---------- Tap targets: at least 44px tall (user testing, 2026-10-22) ---------- */
.hdr-logo { display: flex; align-items: center; min-height: 44px; }
.page-hero__crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.page-hero__crumbs ol { margin-bottom: 4px; row-gap: 0; }
.footer-col ul li { margin-block: 0; }
.footer-col ul li a, .footer-col ul li .footer-cookie-settings { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.footer-col p a { display: inline-block; padding-block: 9px; margin-block: -9px; }
.cookie-banner button { min-height: 44px; font-size: 15px; }
.ggr-sr-links a, .map-consent a.map-consent__link { display: inline-flex; align-items: center; min-height: 44px; }

/* Tablets (768-1024px): show the phone number beside the call icon, not just the icon */
@media (min-width: 768px) and (max-width: 1024px) {
  .hdr-call { width: auto; padding: 0 16px 0 12px; border-radius: 999px; }
  .hdr-actions .hdr-call__num { display: inline; }
}

/* nothing from the page shows through the photo viewer */
body:has(.lightbox.is-open) .ggr-mbar, body:has(.lightbox.is-open) .cookie-banner { display: none !important; }

/* phones held sideways: a compact one-row cookie bar that leaves the page visible */
@media (max-height: 500px) and (min-width: 600px) {
  .cookie-banner { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 0; padding: 8px max(16px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); gap: 12px; flex-wrap: nowrap; align-items: center; }
  .cookie-banner p { font-size: 12.5px; line-height: 1.35; flex: 1 1 auto; }
  .cookie-banner__actions { flex: 0 0 auto; }
  .cookie-banner button { min-height: 44px; padding: 8px 18px; }
}

/* ---------- Cookie banner: never covers what the visitor is using (2026-10-27) ----------
   main.js measures the banner (ResizeObserver) and, while it shows, sets html.cookie-open and
   --ggr-cookie-bar-h (the strip of viewport it covers, from its top edge to the bottom of the screen).
   The page gets that much room at the end, and focused fields/links scroll clear of it. */
html.cookie-open,
html.cookie-open:has(body.has-mbar) { scroll-padding-bottom: calc(var(--ggr-cookie-bar-h, 0px) + 12px); }
html.cookie-open body,
html.cookie-open body.has-mbar { padding-bottom: var(--ggr-cookie-bar-h, 0px); }

/* ---------- Touch ---------- */
html { -webkit-tap-highlight-color: rgba(79, 117, 31, 0.15); }
a, button, summary, label, input, select, textarea, [role="button"] { touch-action: manipulation; }

/* ---------- More tap targets at least 44px (Web Interface Guidelines review, 2026-10-27) ----------
   padding + equal negative margin: a bigger hit area with no change to the layout */
.ggr-quote__call a, .ggr-call-line a, .contact-details a {
  display: inline-block; padding-block: 12px; margin-block: -12px; overflow-wrap: anywhere;
}

/* ---------- Reduced motion: no smooth scrolling, zooms or slides ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq-a, .faq-q .faq-icon, .faq-q .faq-icon::before, .faq-q .faq-icon::after { transition: none; }
  .feature-row img, .gallery-grid img, .room-card img, .blog-card__img img { transition: none; }
  .feature-row a:hover img, .gallery-grid a:hover img, .room-card a:hover img, .blog-card:hover .blog-card__img img { transform: none; }
  .ggr-mbar, .is-typing .ggr-mbar { transition: none; }
  .btn, .nav-menu > li > a, .nav-menu .nav-caret, .ggr-enquiry input, .ggr-enquiry select, .ggr-enquiry textarea, .ggr-enquiry button[type="submit"] { transition: none; }
}

/* read by screen readers, not shown (e.g. a section heading that keeps the outline in order) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- Phone numbers never break across lines ---------- */
a[href^="tel:"] { white-space: nowrap; }

/* Contact: the line under "Visit our showroom" carries an inline text-align:center from the old
   centred layout; it follows its left-aligned heading now. */
.section-title + p[style*="text-align:center"] { text-align: left !important; }

/* ==========================================================================
   Shared closing section (.site-close): one ending for every page.
   Takes effect once pages carry this markup:
     <section class="site-close" aria-labelledby="close-title">
       <div class="site-close__bg" aria-hidden="true"><img src="..." alt="" loading="lazy"></div>
       <div class="container-wide site-close__inner">
         <h2 id="close-title">...</h2>
         <p class="site-close__line">...</p>
         <div class="site-close__actions">
           <a class="btn btn--light" href="...">...</a>
           <a class="btn btn--outline-light" href="tel:01615099077">Call 0161 509 9077</a>
         </div>
         <p class="site-close__more">...</p>
       </div>
     </section>
   The photo is optional: without .site-close__bg the block is plain navy.
   ========================================================================== */
.site-close {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--space-section-lg);
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: var(--fs-body);
  line-height: 1.65;
  text-align: center;
}
.site-close__bg { position: absolute; inset: 0; z-index: -2; }
.site-close__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
/* white text needs 4.5:1 on the lightest part of the photo, so the scrim is a little heavier than a caption scrim */
.site-close:has(.site-close__bg)::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(35, 45, 51, 0.62), rgba(35, 45, 51, 0.78));
}
.site-close h2 {
  max-width: 20ch;
  margin: 0 auto;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--color-white);
}
.site-close__line { max-width: 36em; margin: 28px auto 0; font-size: clamp(18px, 1.6vw, 20px); color: rgba(255, 255, 255, 0.92); }
.site-close__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; max-width: 46em; margin: 28px auto 0; padding: 0; list-style: none; font-size: clamp(17px, 1.5vw, 19px); font-weight: 500; }
.site-close__list li + li::before { content: "\00B7"; margin-inline: 12px; color: var(--color-sage); }
.site-close__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
.site-close__more { margin: 24px 0 0; font-size: 17px; }
.site-close a:not(.btn) { display: inline-block; padding-block: 8px; margin-block: -8px; color: var(--color-white); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.site-close a:not(.btn):hover { color: var(--color-sage); }
.site-close :focus-visible { outline: 3px solid var(--color-sage); outline-offset: 3px; }
@media (max-width: 767px) {
  .site-close__actions { flex-direction: column; align-items: stretch; margin-top: 32px; }
  .site-close h2 br { display: none; }
}

/* ==========================================================================
   /design-your-garden-room/ : out of scope for the 2026-11 design pass.
   The 3D designer has its own stylesheets, written against the old base values, so the base
   changes above (navy body copy, tight heading lines, section rhythm and text size) are undone
   inside its <main>. Zero or element-level specificity: designer.css and design-page.css still win.
   Remove this block when the designer page is moved onto the system.
   ========================================================================== */
:where(main:has(> .dgr-intro)) { color: #3D5159; }
:where(main:has(> .dgr-intro)) :is(h1, h2, h3, h4, h5, h6) { max-width: none; line-height: inherit; letter-spacing: inherit; color: var(--color-primary-text); }
:where(main:has(> .dgr-intro)) .section { padding-block: 70px; font-size: inherit; line-height: inherit; color: inherit; }
:where(main:has(> .dgr-intro)) :where(p, li, dd) { max-width: none; }
:where(main:has(> .dgr-intro)) .btn { justify-content: normal; line-height: inherit; }
@media (max-width: 767px) { :where(main:has(> .dgr-intro)) .section { padding-block: 40px; } }

/* Gallery captions and groups (SEO pass 2026-11-13)
   /our-gallery/ tiles are <figure class="gallery-item">: the caption is a strip along the bottom of the tile.
   Every rule is scoped to .gallery-item, so grids without figures (/our-showroom/) are untouched.
   The scrim is at least 66% navy-black under the text: white on it is 5.6:1 or better, whatever the photo. */
.gallery-grid .gallery-item { position: relative; margin: 0; }
.gallery-grid .gallery-item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 22px 10px 8px;
  font-size: 13px; line-height: 1.3; color: var(--color-white);
  background: linear-gradient(to top, rgba(20, 26, 29, 0.84), rgba(20, 26, 29, 0.66) calc(100% - 20px), rgba(20, 26, 29, 0));
  pointer-events: none;
}

/* First visit, before the cookie banner is up (html.cookie-pending, set by analytics.js before first paint):
   keep the phone call bar hidden, as it is while the banner shows, so it doesn't flash in and out. */
html.cookie-pending .ggr-mbar { display: none; }

/* Gallery captions (SEO pass 2026-11-13), continued: the grid gained rounded tiles while this pass was
   under way, so the caption strip takes the tile link's bottom corners (.gallery-grid a). Belongs with the
   "Gallery captions and groups" block above. */
.gallery-grid .gallery-item figcaption { border-radius: 0 0 var(--radius-md) var(--radius-md); }

/* FAQ questions are headings (SEO pass 2026-11-13): each .faq-q button sits inside <h2 class="faq-h">,
   which adds no styling of its own (the button keeps every rule above). */
.faq-h { margin: 0; text-wrap: wrap; }

/* Text beside a photo, each filling half the page width (Services, About). --flip puts the photo first. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--flip .split__media { order: -1; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); display: block; }
.split__text > :last-child { margin-bottom: 0; }
.split__text .btn { margin-top: 8px; }
.company-line { max-width: none; font-size: var(--fs-small); color: var(--color-ink-soft); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}

/* ==========================================================================
   Final design pass (2026-11-13): shared footer and closing section markup
   ========================================================================== */
/* footer: brand column (logo, address, socials), two link lists, hours and contact */
.footer-logo-link { display: inline-flex; align-items: center; min-height: 44px; margin: -8px 0 12px; } /* 44px tap target; the margins keep the logo where it was */
.footer-logo-link .footer-logo { margin-bottom: 0; }
.footer-logo-link:focus-visible { outline: 2px solid var(--color-sage); outline-offset: 4px; }
.footer-col .footer-address { max-width: 17em; }
.footer-col--contact p { margin-bottom: 6px; }
.footer-col--contact p:nth-of-type(2) { margin-bottom: 14px; }
@media (min-width: 1024px) { .footer-top .container-wide:has(> .footer-col:nth-child(4)) { grid-template-columns: 1.25fr 0.9fr 0.9fr 1.25fr; } }

/* closing section: the photo is a <picture> (a taller crop on phones) */
.site-close__bg picture { display: block; width: 100%; height: 100%; }
.site-close--plain { padding-block: var(--space-section); }
.site-close__list + .site-close__line { margin-top: 20px; }
.site-close__more:has(> a[hidden]:only-child) { display: none; }
.site-close__more + .site-close__more { margin-top: 10px; }
.site-close__line a:not(.btn) { color: var(--color-white); }
@media (max-width: 767px) { .site-close__actions .btn { width: 100%; justify-content: center; } }

/* ---- page pieces added in the final pass ---- */
.section-title + .icon-features { margin-top: 40px; }
.icon-features__after { margin-top: 32px; }
.section-lead { max-width: 36em; margin: -8px 0 32px; font-size: var(--fs-lead); line-height: 1.55; }
.post-subtitle { margin: 0 0 0.55em; font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; color: var(--color-secondary); text-wrap: balance; }
.legal--scroll { overflow-x: auto; }
.legal--scroll .cmp-col { width: 24%; }
.legal--scroll .cmp-key { font-weight: 600; }

/* a row of three photos (Contact: the showroom) */
.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-gap); margin: 0; padding: 0; list-style: none; }
.photo-row li { max-width: none; }
.photo-row img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md); }
@media (max-width: 767px) { .photo-row { gap: 10px; } }

/* Contact: details as a list, a showroom photo, then the map */
.contact-list dd.contact-list__phone { margin-bottom: 2px; }
.contact-list dd.contact-list__note { font-size: var(--fs-small); color: var(--color-ink-soft); }
.contact-cover { margin: 0 0 28px; }
.contact-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-md); margin: 0 0 20px; }
.two-col .map-consent { height: 300px; }

/* questions and answers as an even two-column grid (Garden Offices) */
.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px clamp(32px, 5vw, 72px); }
.qa-grid > div { position: relative; padding-top: 28px; border-top: 1px solid rgba(50, 63, 70, 0.16); }
.qa-grid > div::before { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 3px; background: var(--color-primary); }
.qa-grid h2 { margin-bottom: 0.55em; }
.qa-grid p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .qa-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* Blog index: the two newest guides lead as a pair of wide cards, the rest sit three to a row */
@media (min-width: 1024px) {
  .blog-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .blog-list .blog-card { grid-column: span 2; }
  .blog-list .blog-card--feature { grid-column: span 3; }
  .blog-card--feature .blog-card__title { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.02em; }
}
.blog-card__date { display: block; margin-top: 10px; font-size: var(--fs-small); color: var(--color-ink-soft); }

/* FAQ: contact card beside the list */
.faq-layout .faq-list { max-width: none; margin: 0; }
.faq-aside p { margin: 0 0 20px; font-size: 17px; }
.faq-aside p:last-child { margin-bottom: 0; }
.faq-aside .btn { width: 100%; justify-content: center; }
.faq-aside a:not(.btn) { color: var(--color-primary-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.faq-aside__more a { display: inline-block; padding-block: 10px; margin-block: -10px; font-weight: 500; }

/* Thank you: three photo links in a row */
.next-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-gap); margin: 0; padding: 0; list-style: none; }
.next-tiles li { max-width: none; }
.next-tile { display: block; color: var(--color-secondary); }
.next-tile__img { display: block; overflow: hidden; border-radius: var(--radius-md); margin-bottom: 20px; background: var(--color-white); }
.next-tile__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.next-tile__title { display: block; font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.next-tile__line { display: block; margin-top: 6px; font-size: 17px; line-height: 1.5; color: var(--color-secondary); text-decoration: underline; text-decoration-color: var(--color-primary-dark); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.next-tile:focus-visible { outline: 3px solid var(--color-btn); outline-offset: 6px; border-radius: var(--radius-md); }
@media (max-width: 767px) { .next-tiles { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Gallery: a group of eight sits four to a row */
@media (min-width: 1024px) { .gallery-grid.gallery-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* the closing section holds its own type inside page wrappers that set heading and paragraph
   styles (.ggr-ogr on Our Garden Rooms, Showroom, Brochure, Thank you) */
main .site-close h2 { max-width: 20ch; margin: 0 auto; font-size: clamp(34px, 5vw, 64px); font-weight: 600; line-height: 1.06; letter-spacing: -0.03em; color: var(--color-white); text-wrap: balance; }
main .site-close .site-close__line { max-width: 36em; margin: 28px auto 0; }
main .site-close .site-close__list + .site-close__line { margin-top: 20px; }
main .site-close .site-close__more { max-width: none; margin: 24px 0 0; }
main .site-close .site-close__more + .site-close__more { margin-top: 10px; }
main .site-close .btn { min-height: 52px; padding: 0 28px; font-size: 17px; font-weight: 500; border: 0; }

/* ==========================================================================
   Motion (audit/design2/motion-designer.md 2.2: M1, M2, M3, M5, M7 to M10)
   ========================================================================== */
/* M1: every button answers the press */
.btn, .nav-toggle, .hdr-call, .ggr-mbar__btn, .cookie-banner button, .lightbox__close, .lightbox__prev, .lightbox__next,
.ggr-enquiry button[type="submit"], .map-consent__btn {
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out);
}
.btn:active, .nav-toggle:active, .hdr-call:active, .ggr-mbar__btn:active, .cookie-banner button:active, .lightbox__close:active,
.ggr-enquiry button[type="submit"]:active, .map-consent__btn:active { transform: scale(0.97); }
.lightbox__prev:active, .lightbox__next:active { transform: translateY(-50%) scale(0.95); }
@media (max-width: 767px) { .lightbox__prev:active, .lightbox__next:active { transform: scale(0.95); } }

/* M2: FAQ answers fade in as they open (main.js keeps the tapped question still) */
.faq-a__inner { opacity: 0; transition: opacity 120ms ease-out; }
.faq-item.open .faq-a__inner { opacity: 1; transition: opacity 200ms ease-out 60ms; }

/* M3: the phone menu fades and drops in; out is quicker than in */
@media (max-width: 1024px) {
  .main-nav { display: flex; visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity 160ms ease-out, transform 160ms ease-out, visibility 0s linear 160ms; }
  .nav-open .main-nav { visibility: visible; opacity: 1; transform: none;
    transition: opacity 220ms ease-out, transform 300ms var(--ease-drawer), visibility 0s; }
  .nav-open .nav-menu > li, .nav-open .nav-drawer__extra { animation: nav-item-in 320ms var(--ease-out) backwards; }
  .nav-open .nav-menu > li:nth-child(1) { animation-delay: 40ms; }
  .nav-open .nav-menu > li:nth-child(2) { animation-delay: 75ms; }
  .nav-open .nav-menu > li:nth-child(3) { animation-delay: 110ms; }
  .nav-open .nav-menu > li:nth-child(4) { animation-delay: 145ms; }
  .nav-open .nav-menu > li:nth-child(5) { animation-delay: 180ms; }
  .nav-open .nav-menu > li:nth-child(6) { animation-delay: 215ms; }
  .nav-open .nav-menu > li:nth-child(7) { animation-delay: 250ms; }
  .nav-open .nav-drawer__extra { animation-delay: 300ms; }
}
@keyframes nav-item-in { from { opacity: 0; transform: translateY(8px); } }

/* M5: the photo viewer fades in and photos cross-fade (no finger tracking) */
.lightbox { display: flex; visibility: hidden; opacity: 0; transition: opacity 160ms ease-out, visibility 0s linear 160ms; }
.lightbox.is-open { visibility: visible; opacity: 1; transition: opacity 220ms ease-out, visibility 0s; }
.lightbox img { transform: scale(0.96); transition: transform 280ms var(--ease-out), opacity 160ms ease-out; }
.lightbox.is-open img { transform: none; }
.lightbox img.is-swapping { opacity: 0; }

/* M8: inner-page banner settles in. CSS only; the photo only scales, so it is still the first large paint */
@media (prefers-reduced-motion: no-preference) {
  .page-hero__media img { animation: hero-settle 1400ms var(--ease-out) both; }
  .page-hero__crumbs, .page-hero h1 { animation: hero-rise 600ms var(--ease-out) both; }
  .page-hero h1 { animation-delay: 80ms; }
}
@keyframes hero-settle { from { transform: scale(1.05); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } }

/* M10: the cookie banner fades up after a short pause; the form's "sent" block fades up.
   Older browsers without @starting-style / allow-discrete show both at once, as before. */
.cookie-banner { opacity: 0; transform: translateY(8px);
  transition: opacity 160ms ease-out, transform 160ms ease-out, display 160ms allow-discrete; }
.cookie-banner.is-visible { opacity: 1; transform: none;
  transition: opacity 320ms var(--ease-out) 300ms, transform 320ms var(--ease-out) 300ms; }
@starting-style { .cookie-banner.is-visible { opacity: 0; transform: translateY(8px); } }
.ggr-enquiry .success.show { animation: success-in 280ms var(--ease-out) both; }
@keyframes success-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  .btn, .nav-toggle, .hdr-call, .ggr-mbar__btn, .cookie-banner button, .lightbox__close, .lightbox__prev, .lightbox__next,
  .ggr-enquiry button[type="submit"], .map-consent__btn { transition: none; }
  .faq-a__inner, .faq-item.open .faq-a__inner { transition: none; }
  .main-nav, .nav-open .main-nav { transform: none; transition: opacity 150ms ease, visibility 0s; }
  .nav-open .nav-menu > li, .nav-open .nav-drawer__extra { animation: none; }
  .lightbox img, .lightbox.is-open img { transform: none; transition: opacity 150ms ease; }
  .cookie-banner, .cookie-banner.is-visible { transform: none; transition: opacity 150ms ease; }
  .ggr-enquiry .success.show { animation: none; }
  .next-tile__img img { transition: none; }
}

/* Posts and legal pages: the reading column with a contact card beside it (no empty half on desktop) */
.post-layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(260px, 320px); justify-content: space-between; gap: 64px; align-items: start; }
.post-layout .post-body { --post-col: 720px; min-width: 0; }
@media (max-width: 1099px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .post-aside { position: static; max-width: 720px; }
}
@media (max-width: 767px) {
  /* closing list: one item per line on phones (no stray middots at line starts) */
  .site-close__list { flex-direction: column; align-items: center; gap: 2px; }
  .site-close__list li + li::before { display: none; }
}

/* Homepage on desktop: the header slides away while scrolling down the tour and returns on scroll up (main.js) */
@media (min-width: 1025px) {
  .hdr-autohide .site-header { transition: transform 0.25s var(--ease-out, ease), box-shadow 0.2s ease; }
  .hdr-autohide .site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
  .hdr-autohide .site-header.is-scrolled:not(.is-hidden) { box-shadow: 0 6px 24px rgba(20, 28, 32, 0.18); }
}
@media (min-width: 1025px) and (prefers-reduced-motion: reduce) { .hdr-autohide .site-header { transition: none; } }

/* ---------- Phone pass (2026-11-17): type never under 15px, a few more 44px hit areas, no stuck hover zoom ---------- */
@media (max-width: 767px) {
  .footer-bottom .footer-copy, .footer-bottom .footer-legal { font-size: 15px; }
  .legal code, .legal td[data-label]::before { font-size: 15px; }
  .ggr-enquiry .field-error, .testimonial-card__source, .room-card__sizes, .map-consent__note, small { font-size: 15px; }
  .gallery-grid .gallery-item figcaption { font-size: 15px; }
  .form-note a { display: inline-block; padding-block: 12px; margin-block: -12px; overflow-wrap: anywhere; }
}
/* a tap leaves :hover on in iOS Safari, which would leave a photo zoomed after you come back to the page */
@media (hover: none) {
  .feature-row a:hover img, .room-card a:hover img, .blog-card:hover .blog-card__img img { transform: none; }
}

/* "Design your garden room" slide-in card (added by main.js). Fixed, so it never shifts the page. */
.ggr-dcard {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  width: 360px; max-width: calc(100vw - 24px);
  background: var(--color-white); color: var(--color-secondary);
  border: 1px solid rgba(50, 63, 70, 0.12); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: 0 12px 40px rgba(50, 63, 70, 0.22), 0 2px 6px rgba(50, 63, 70, 0.12);
  opacity: 0; transform: translateY(16px);
  transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out);
}
.ggr-dcard.is-in { opacity: 1; transform: none; }
.ggr-dcard__img { display: block; width: 100%; height: 120px; object-fit: cover; }
.ggr-dcard__body { padding: 16px 18px 18px; }
.ggr-dcard__title { margin: 0 0 6px; font-size: 19px; font-weight: 700; line-height: 1.25; }
.ggr-dcard__text { margin: 0 0 14px; font-size: 15px; line-height: 1.45; color: var(--color-ink-soft); }
.ggr-dcard__row { display: flex; gap: 10px; }
.ggr-dcard__btn {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center; white-space: nowrap;
  min-height: 46px; padding: 0 8px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; text-decoration: none; text-align: center;
}
.ggr-dcard__btn--primary { background: var(--color-btn); color: #fff; }
.ggr-dcard__btn--primary:hover { background: var(--color-btn-hover); }
.ggr-dcard__btn--secondary { background: var(--color-white); color: var(--color-secondary); border: 1.5px solid var(--color-secondary); }
.ggr-dcard__btn--secondary:hover { background: rgba(50, 63, 70, 0.06); }
.ggr-dcard__btn:focus-visible, .ggr-dcard__x:focus-visible { outline: 3px solid var(--color-btn); outline-offset: 2px; }
.ggr-dcard__x {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--color-secondary); cursor: pointer;
}
.ggr-dcard__x:hover { background: #fff; }
html.cookie-pending .ggr-dcard, html.cookie-open .ggr-dcard, .nav-open .ggr-dcard,
body:has(.lightbox.is-open) .ggr-dcard { display: none !important; }
@media (max-width: 600px) {
  .ggr-dcard { left: 12px; right: 12px; width: auto; max-width: none; }
  .ggr-dcard__img, .ggr-dcard__text { display: none; }
  .ggr-dcard__body { padding: 12px 16px 14px; }
  .ggr-dcard__title { font-size: 17px; margin: 0 52px 10px 0; min-height: 22px; }
  .ggr-dcard__x { top: 0; right: 4px; background: transparent; }
}
@media (max-width: 767px), (max-height: 500px) and (pointer: coarse) {
  .is-typing .ggr-dcard { display: none; }
}
@media (max-height: 500px) { .ggr-dcard { display: none; } }
@media (prefers-reduced-motion: reduce) { .ggr-dcard { transition: none; transform: none; } }

/* footer build credit */
.footer-bottom .footer-credit { margin-top: 6px; }
.footer-bottom .footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom .footer-credit a:hover { color: #fff; }
@media (max-width: 767px) { .footer-bottom .footer-credit a { display: inline-block; padding: 12px 0; } }
