/* =========================================================================
   The Five's Contractors: design system
   Concept: a drawing set, not a brochure. Strict grid, hairline rules,
   numbered sheets and steps, a title block footer. Navy is the voice;
   orange only where a builder would mark something up.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette */
  --ink: #14233A;          /* body text, headings */
  --navy: #1C3A60;         /* logo navy: large headings, statement band */
  --paper: #F7F5F0;        /* page background */
  --paper-2: #EFEBE3;      /* quiet bands, footer title block */
  --white: #FFFFFF;        /* form fields */
  --accent: #B4521E;       /* logo orange, deepened (4.6:1 on paper) */
  --accent-dark: #933F14;  /* hover */
  --muted: #5C6573;        /* captions, hints, dates */
  --line: #D9D4CA;         /* hairlines */
  --field: #8A8478;        /* form field borders (3:1 on white) */
  --on-navy: #F7F5F0;
  --on-navy-muted: #C3CCD8;

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --narrow: 87.5%;         /* Archivo semi-condensed */

  --fs-xs: 0.875rem;                                  /* 14 captions */
  --fs-sm: 1rem;                                      /* 16 UI, hints */
  --fs-body: 1.125rem;                                /* 18 body */
  --fs-lede: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem); /* 19-22 */
  --fs-h4: 1.25rem;                                   /* 20 */
  --fs-h3: clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem); /* 22-28 */
  --fs-h2: clamp(2rem, 1.45rem + 2.2vw, 3rem);        /* 32-48 */
  --fs-h1: clamp(2.375rem, 1.5rem + 3.6vw, 4.25rem);  /* 38-68 */
  --fs-statement: clamp(1.75rem, 1.1rem + 2.7vw, 3.25rem);
  --fs-numeral: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);

  --lh-tight: 1.05;
  --lh-head: 1.15;
  --lh-body: 1.6;
  --measure: 68ch;

  /* Space: 8 px base */
  --s1: 0.5rem;   /* 8 */
  --s2: 1rem;     /* 16 */
  --s3: 1.5rem;   /* 24 */
  --s4: 2rem;     /* 32 */
  --s5: 3rem;     /* 48 */
  --s6: 4rem;     /* 64 */
  --s7: 6rem;     /* 96 */
  --s8: 8rem;     /* 128 */
  --section: clamp(4rem, 2.4rem + 5.4vw, 8rem); /* 64 phone, 128 desktop */

  /* Layout */
  --max: 75rem;   /* 1200 */
  --gutter: clamp(1.25rem, 0.8rem + 2.2vw, 2.5rem);
  --gap: clamp(1.25rem, 0.9rem + 1.4vw, 2.5rem);
  --header-h: 4.5rem;
  --tick: 24px;
}

@media (max-width: 47.99rem) {
  :root { --header-h: 4rem; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
/* No smooth scrolling: it left the page part-scrolled on load and the
   sticky header sitting over the hero. */

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clip, not hidden: keeps position: sticky working */
}
body.menu-open { overflow: hidden; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: var(--narrow);
  font-weight: 700;
  line-height: var(--lh-head);
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 var(--s2);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); color: var(--ink); }
h4 { font-size: var(--fs-h4); color: var(--ink); font-stretch: 100%; font-weight: 600; }

p { margin: 0 0 var(--s2); max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 var(--s2); padding-left: 1.25em; }
li { margin-bottom: 0.35em; }

a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-dark); text-decoration-thickness: 2px; }

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

strong { font-weight: 600; }

.visually-hidden {
  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;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -100px;
  z-index: 100;
  background: var(--navy); color: var(--on-navy);
  padding: 0.75rem 1rem;
  font-family: var(--font-display); font-weight: 600;
}
.skip-link:focus { top: 0.5rem; color: var(--on-navy); }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.66); }
.section--paper-2 { background: var(--paper-2); }
/* Two plain sections in a row share one gap. After a coloured band (or any
   band) the next section keeps its full top padding: 64 phone, 96+ desktop. */
.section:not([class*="section--"]) + .section:not([class*="section--"]) { padding-top: 0; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}

.measure { max-width: var(--measure); }
.lede { font-size: var(--fs-lede); line-height: 1.5; }
.muted { color: var(--muted); }

/* Section head: hairline rule with an orange tick where it meets the heading */
.ruled {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: var(--s4);
}
.ruled::before {
  content: "";
  position: absolute;
  left: 0; top: -2px;
  width: var(--tick); height: 3px;
  background: var(--accent);
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: var(--s2);
  align-items: end;
  margin-bottom: var(--s5);
}
.section-head > h2 { grid-column: 1 / span 6; margin: 0; }
.section-head > .section-head__aside { grid-column: 8 / -1; margin: 0; }
@media (max-width: 59.99rem) {
  .section-head > h2,
  .section-head > .section-head__aside { grid-column: 1 / -1; }
}

/* Photo with a drawing-note caption */
.figure { margin: 0; }
.figure img { width: 100%; height: 100%; object-fit: cover; background: var(--paper-2); }
.caption {
  margin-top: var(--s1);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-stretch: var(--narrow);
  color: var(--muted);
  line-height: 1.4;
}
.caption::before {
  content: "";
  display: inline-block;
  width: 12px; height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 0.5rem;
}

/* ---------- 4. Header and menu ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--s3);
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; }
.brand img { height: 44px; width: auto; }
@media (max-width: 47.99rem) {
  .brand img { height: 34px; }
  .site-header__inner { gap: var(--s2); }
}
@media (max-width: 24rem) {
  .brand img { height: 30px; }
}

.site-nav { margin-left: auto; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: clamp(0.75rem, 0.2rem + 1.2vw, 1.75rem);
}
.site-nav li { margin: 0; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-top: 2px;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--navy); border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 600; border-bottom-color: var(--accent); }

.header-cta { flex-shrink: 0; }
.nav-toggle { display: none; }

/* Phone and tablet menu: full screen */
@media (max-width: 68.74rem) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: 44px; height: 44px; padding: 0;
    background: transparent; border: 1px solid var(--line); border-radius: 0;
    color: var(--ink); cursor: pointer;
  }
  .nav-toggle__bars { position: relative; display: block; width: 20px; height: 2px; background: currentColor; }
  .nav-toggle__bars::before, .nav-toggle__bars::after {
    content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor;
  }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

  .header-cta { margin-left: auto; }

  .js .site-nav {
    display: none;
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--header-h);
    background: var(--paper);
    overflow-y: auto;
    padding: var(--s3) var(--gutter) var(--s6);
    margin: 0;
    border-top: 1px solid var(--line);
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav li { border-bottom: 1px solid var(--line); }
  .js .site-nav a {
    display: flex; min-height: 64px; width: 100%;
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
    font-weight: 600; font-stretch: var(--narrow);
    border-bottom: 0; padding: 0;
  }
  .js .site-nav a[aria-current="page"] { color: var(--accent); }

  /* Without the script, the menu simply wraps under the logo */
  html:not(.js) .site-header__inner { height: auto; flex-wrap: wrap; padding-block: var(--s1); }
  html:not(.js) .site-nav { order: 3; width: 100%; margin: 0; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; column-gap: var(--s3); row-gap: 0; }
}
@media (max-width: 22.5rem) {
  .header-cta.btn { padding-inline: 0.75rem; font-size: 0.9375rem; }
}

/* ---------- 5. Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0.6rem 1.5rem;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--accent);
  color: var(--paper);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--paper); }
.btn--small { min-height: 44px; padding: 0.5rem 1.125rem; }
@media (max-width: 47.99rem) {
  .btn--small { padding-inline: 0.875rem; font-size: 0.9375rem; }
}
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.btn--on-navy { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.btn--on-navy:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s4); }

/* A plain text link with an arrow, for "read more" moves */
/* Inline-block, not flex: when the label wraps, the arrow stays with the last word */
.link-more {
  display: inline-block;
  padding-block: 0.625rem;  /* 16 px x 1.5 + 20 = 44 px tap height */
  line-height: 1.5;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.link-more::after { content: "\00a0\2192"; display: inline; }
.link-more:hover { color: var(--accent-dark); }

/* Quiet rating line, e.g. under the hero button */
.rating-line {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.6rem;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  color: var(--ink);
  text-decoration: none;
}
.rating-line strong { font-weight: 700; }
.rating-line span:last-child { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 0.25em; }
.rating-line:hover span:last-child { text-decoration-color: var(--accent); }

/* Proof line: the rating with short plain facts beside it */
.proof-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s3); }
.proof-line__item {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  color: var(--ink);
}
.proof-line__item::before { content: ""; width: 1px; height: 1.1em; background: var(--line); }
@media (max-width: 37.5rem) {
  .proof-line__item::before { display: none; }
}

.stars { color: var(--ink); letter-spacing: 0.12em; font-size: 0.875rem; line-height: 1; }

/* ---------- 6. Section patterns ---------- */

/* 6a. Split: photo 7 columns, text 5. Add --reverse to swap.
       On phones the photo always comes first. */
.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: var(--s4);
  align-items: center;
}
.split__media { grid-column: 1 / span 7; grid-row: 1; }
.split__text  { grid-column: 9 / -1; grid-row: 1; }
.split--reverse .split__media { grid-column: 6 / -1; }
.split--reverse .split__text  { grid-column: 1 / span 5; }
.split--top { align-items: start; }
.split__media .figure img { aspect-ratio: 4 / 3; }
.split__media--tall .figure img { aspect-ratio: 4 / 5; }
/* Photo beside a long list: on a computer the photo runs the full height
   of the text column, so both columns end together. */
@media (min-width: 60rem) {
  .split.split--sticky .split__media,
  .split.split--fill .split__media {
    position: static;
    align-self: stretch;
    display: flex; flex-direction: column;
  }
  .split.split--sticky .split__media .figure,
  .split.split--fill .split__media .figure {
    flex: 1; display: flex; flex-direction: column; min-height: 0;
  }
  .split.split--sticky .split__media .figure img,
  .split.split--fill .split__media .figure img {
    /* height 0 + flex-grow: the text column sets the row height, the photo fills it */
    flex: 1 1 0; height: 0; min-height: 28rem; aspect-ratio: auto;
  }
}
@media (max-width: 59.99rem) {
  .split__media, .split__text,
  .split--reverse .split__media, .split--reverse .split__text { grid-column: 1 / -1; grid-row: auto; }
  .split__media--tall .figure img { aspect-ratio: 4 / 3; }
}

/* 6b. Hero (home) and page opening (inner pages) */
.hero { padding-block: var(--s5) var(--section); }
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: var(--s4);
  align-items: end;
}
.hero__text { grid-column: 1 / span 6; grid-row: 1; padding-bottom: var(--s2); }
.hero__media { grid-column: 7 / -1; grid-row: 1; }
.hero__media .figure img { height: clamp(26rem, 74vh, 46rem); }
.hero h1 { font-size: clamp(2.25rem, 1.45rem + 2.9vw, 3.75rem); margin-bottom: var(--s3); }
.hero .lede { max-width: 34em; }
.hero .rating-line, .hero .proof-line { margin-top: var(--s3); }
.hero .proof-line .rating-line { margin-top: 0; }
@media (max-width: 59.99rem) {
  .hero { padding-top: 0; }
  .hero__grid { margin-inline: calc(var(--gutter) * -1); }
  .hero__media { grid-column: 1 / -1; grid-row: 1; }
  .hero__media .figure img { height: auto; aspect-ratio: 4 / 3; max-height: 60vh; }
  .hero__media .caption { padding-inline: var(--gutter); }
  .hero__text { grid-column: 1 / -1; grid-row: 2; padding-inline: var(--gutter); padding-bottom: 0; }
}

/* Inner page opening: 96 px above and below on a computer. When the
   opening has a photo beside the text, both start on the same top line. */
.page-open { padding-block: var(--s7); }
.page-open h1 { margin-bottom: var(--s3); }
.page-open .split { align-items: start; }
.page-open .split__text > h1:first-child { margin-top: -0.12em; } /* cap height meets photo top */
@media (max-width: 59.99rem) {
  .page-open { padding-block: var(--s4) var(--s6); }
  .page-open .split__text > h1:first-child { margin-top: 0; }
}

/* Jump links (e.g. Retail | Restaurants) */
.jumps { display: flex; flex-wrap: wrap; gap: 0 var(--s3); margin-top: var(--s3); padding: 0; list-style: none; }
.jumps li { margin: 0; }
.jumps a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm);
  color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--accent);
}

/* 6c. Schedule: a drawing-schedule index of spaces */
.schedule { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.schedule__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: var(--s3);
  align-items: start;
  padding-block: var(--s5);
  border-top: 1px solid var(--line);
  margin: 0;
}
.schedule__no {
  grid-column: 1 / span 1;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--accent);
  padding-top: 0.45rem;
}
.schedule__body { grid-column: 2 / span 5; }
.schedule__body h3 { font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem); color: var(--navy); line-height: 1.05; margin-bottom: var(--s2); }
.schedule__body h3 a { color: inherit; text-decoration: none; }
.schedule__body h3 a:hover { color: var(--accent-dark); }
.schedule__body p { max-width: 38em; }
.schedule__body .link-more { margin-top: var(--s2); }
.schedule__media { grid-column: 7 / -1; }
.schedule__media .figure img { aspect-ratio: 16 / 9; }
.schedule__row--minor { padding-block: var(--s4); align-items: baseline; }
.schedule__row--minor .schedule__body { grid-column: 2 / span 7; }
.schedule__row--minor .schedule__body h3 { font-size: var(--fs-h3); color: var(--ink); }
.schedule__row--minor .schedule__aside { grid-column: 10 / -1; justify-self: end; }
@media (max-width: 59.99rem) {
  .schedule__row { padding-block: var(--s4); }
  .schedule__no { grid-column: 1 / -1; padding-top: 0; }
  .schedule__body, .schedule__media,
  .schedule__row--minor .schedule__body,
  .schedule__row--minor .schedule__aside { grid-column: 1 / -1; justify-self: start; }
  .schedule__media { grid-row: 2; }
}

/* 6d. Statement band: one large line, navy with paper text */
.statement { background: var(--navy); color: var(--on-navy); padding-block: var(--section); }
.statement__text {
  font-family: var(--font-display);
  font-stretch: var(--narrow);
  font-weight: 600;
  font-size: var(--fs-statement);
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 22em;
  margin: 0 0 var(--s4);
  color: var(--on-navy);
  text-wrap: balance;
}
.statement__note { color: var(--on-navy-muted); max-width: 44em; font-size: var(--fs-body); }
.statement .ruled { border-top-color: rgba(247, 245, 240, 0.28); }
/* Headings in the band (including screen-reader-only ones) are paper on navy */
.statement h2, .statement h3 { color: var(--on-navy); }
/* Light variant on paper */
.statement--paper { background: var(--paper-2); color: var(--ink); }
.statement--paper .statement__text { color: var(--navy); }
.statement--paper .statement__note { color: var(--muted); }
.statement--paper .ruled { border-top-color: var(--line); }

/* 6e. Steps: large numbered sequence. Use only for a real sequence. */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: var(--s5);
  counter-reset: step;
}
.steps > li { margin: 0; border-top: 1px solid var(--line); padding-top: var(--s3); counter-increment: step; }
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-stretch: var(--narrow);
  font-weight: 700;
  font-size: var(--fs-numeral);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--accent);
  margin-bottom: var(--s2);
}
.steps h3 { font-size: var(--fs-h4); margin-bottom: var(--s1); }
.steps p { font-size: var(--fs-body); }
@media (max-width: 59.99rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 37.49rem) {
  .steps { grid-template-columns: 1fr; row-gap: var(--s4); }
  .steps > li { display: grid; grid-template-columns: 4rem 1fr; column-gap: var(--s2); }
  .steps > li::before { grid-row: 1 / span 2; font-size: 2rem; margin: 0; }
}
/* Large sequence (How We Work): one stage per row */
.steps--large { grid-template-columns: 1fr; row-gap: 0; }
.steps--large > li {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-block: var(--s5);
}
.steps--large > li::before { grid-column: 1 / span 2; grid-row: 1 / span 3; font-size: clamp(3rem, 2rem + 3.5vw, 5rem); }
.steps--large > li > * { grid-column: 3 / span 8; }
.steps--large h3 { font-size: var(--fs-h3); }
.steps--large dl { margin: var(--s2) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2) var(--gap); }
.steps--large dt { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--navy); margin-bottom: 0.25rem; }
.steps--large dd { margin: 0; font-size: var(--fs-body); }
@media (max-width: 59.99rem) {
  .steps--large > li { grid-template-columns: 1fr; padding-block: var(--s4); }
  .steps--large > li::before, .steps--large > li > * { grid-column: 1; grid-row: auto; }
  .steps--large > li::before { font-size: 2.75rem; margin-bottom: var(--s2); }
  .steps--large dl { grid-template-columns: 1fr; }
}

/* 6f. Full-bleed photo band (once per page at most) */
.band { margin: 0; }
.band img { width: 100%; height: clamp(18rem, 46vw, 40rem); object-fit: cover; background: var(--paper-2); }
.band .caption { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* 6g. Two-column text spread ("what it involves") */
.spread {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--s6);
  row-gap: 0;
}
.spread__item { border-top: 1px solid var(--line); padding-block: var(--s3) var(--s4); }
.spread__item h3 { font-size: var(--fs-h4); margin-bottom: var(--s1); }
.spread__item p { font-size: var(--fs-body); }
@media (max-width: 47.99rem) { .spread { grid-template-columns: 1fr; } }

/* 6h. Ruled list: term on the left, line on the right (trades, checklists) */
.ruled-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.ruled-list > li {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: var(--gap);
  padding-block: var(--s3);
  border-top: 1px solid var(--line);
  margin: 0;
}
.ruled-list__term { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h4); line-height: 1.3; color: var(--ink); margin: 0; }
.ruled-list__desc { margin: 0; }
@media (max-width: 47.99rem) {
  .ruled-list > li { grid-template-columns: 1fr; row-gap: var(--s1); }
}

/* 6i. Numbered checklist ("before you start") */
.checklist { list-style: none; margin: 0; padding: 0; counter-reset: item; }
.checklist > li {
  position: relative;
  counter-increment: item;
  padding: var(--s3) 0 var(--s3) 3.5rem;
  border-top: 1px solid var(--line);
  margin: 0;
}
.checklist > li:last-child { border-bottom: 1px solid var(--line); }
.checklist > li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute; left: 0; top: var(--s3);
  font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--accent); line-height: var(--lh-body);
}
.checklist strong { font-family: var(--font-display); font-weight: 600; color: var(--ink); }

/* 6j. FAQ: two columns of questions with hairlines */
.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--s6);
  align-items: start;
}
.faq__item { border-top: 1px solid var(--line); }
.faq__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s2);
  min-height: 44px;
  padding-block: var(--s3);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h4);
  line-height: 1.3;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-weight: 400; font-size: 1.5rem; line-height: 1;
  color: var(--accent);
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--navy); }
.faq__answer { padding-bottom: var(--s3); }
.faq__answer p { font-size: var(--fs-body); }
/* An odd number of questions reads as one column, so no column is left half empty */
.faq:has(> .faq__item:last-child:nth-child(odd)) { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.faq:has(> .faq__item:last-child:nth-child(odd)) > .faq__item:nth-last-child(2) { border-bottom: 0; }
@media (max-width: 47.99rem) {
  .faq { grid-template-columns: 1fr; }
  .faq__item:nth-last-child(2) { border-bottom: 0; }
}

/* 6k. Reviews: plain quotations with a thin rule */
.reviews {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: var(--s5);
}
.reviews__lead { grid-column: 1 / span 7; }
.reviews__more { grid-column: 9 / -1; display: grid; row-gap: var(--s5); align-content: start; }
@media (max-width: 59.99rem) {
  .reviews__lead, .reviews__more { grid-column: 1 / -1; }
}
.review { margin: 0; border-top: 1px solid var(--line); padding-top: var(--s3); }
.review blockquote { margin: 0 0 var(--s3); }
.review blockquote p {
  font-family: var(--font-text);
  font-size: var(--fs-lede);
  line-height: 1.5;
  max-width: 34em;
}
.review--lead blockquote p {
  font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.125rem);
  line-height: 1.32;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.review figcaption {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
}
.review__name { font-weight: 600; color: var(--ink); }
.review__source { color: var(--muted); }

.rating-block {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem;
  font-family: var(--font-display);
}
.rating-block__score { font-size: var(--fs-h2); font-weight: 700; font-stretch: var(--narrow); color: var(--navy); line-height: 1; }

/* 6l. Enquiry band: closes every page */
.enquiry { background: var(--paper-2); padding-block: var(--section); border-top: 1px solid var(--line); }
.enquiry__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: var(--s4);
  align-items: end;
}
.enquiry__text { grid-column: 1 / span 8; }
.enquiry__text h2 { margin-bottom: var(--s2); }
.enquiry__action { grid-column: 10 / -1; justify-self: end; }
@media (max-width: 59.99rem) {
  .enquiry__text, .enquiry__action { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- 7. Forms ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--gap); }
.form__field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.form__field--full { grid-column: 1 / -1; }
@media (max-width: 47.99rem) { .form { grid-template-columns: 1fr; } }

.form label, .form legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink);
}
.form .optional { font-weight: 400; color: var(--muted); }
.form__hint { font-family: var(--font-display); font-size: var(--fs-xs); color: var(--muted); margin: 0; }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="number"],
.form input[type="date"],
.form select,
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--field);
  border-radius: 0;
}
.form textarea { min-height: 10rem; resize: vertical; }
.form select { appearance: auto; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent);
}

.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 0.4rem; }
.choices { display: flex; flex-wrap: wrap; gap: var(--s1); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--field);
  background: var(--white);
  font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 500;
  cursor: pointer;
}
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.form__note { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* Numbered "what happens next" beside the form */
.next { list-style: none; margin: 0; padding: 0; counter-reset: next; }
.next li { counter-increment: next; display: grid; grid-template-columns: 2.5rem 1fr; padding-block: var(--s2); border-top: 1px solid var(--line); margin: 0; }
.next li::before { content: counter(next, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }

/* ---------- 8. Footer: the title block ---------- */
.site-footer { background: var(--paper-2); border-top: 3px solid var(--navy); padding-block: var(--s6) var(--s4); font-family: var(--font-display); font-size: var(--fs-sm); line-height: 1.5; }
.titleblock {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.titleblock__cell {
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: var(--s3);
  min-width: 0;
}
.titleblock__id { grid-column: span 4; }
.titleblock__services { grid-column: span 3; }
.titleblock__area { grid-column: span 3; }
.titleblock__menu { grid-column: span 2; }
.titleblock__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s3); padding-block: var(--s2); color: var(--muted); }
.titleblock__label { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); margin: 0 0 var(--s1); }
.titleblock__id img { height: 48px; width: auto; margin-bottom: var(--s2); }
.titleblock__name { font-weight: 700; font-size: var(--fs-body); color: var(--navy); margin: 0 0 0.25rem; }
.titleblock p { margin: 0 0 var(--s1); }
.titleblock ul { list-style: none; margin: 0; padding: 0; }
.titleblock li { margin: 0; }
.titleblock a { color: var(--ink); text-decoration-color: var(--accent); }
.titleblock__menu a, .titleblock__area a { display: inline-flex; align-items: center; min-height: 32px; }
.titleblock__services li { padding-block: 0.15rem; }
@media (max-width: 59.99rem) {
  .titleblock__id { grid-column: 1 / -1; }
  .titleblock__services, .titleblock__area { grid-column: span 6; }
  .titleblock__menu { grid-column: 1 / -1; }
  .titleblock__menu ul { display: flex; flex-wrap: wrap; gap: 0 var(--s3); }
  .titleblock__menu a { min-height: 44px; }
}
@media (max-width: 37.49rem) {
  .titleblock__services, .titleblock__area { grid-column: 1 / -1; }
  .titleblock__area a { min-height: 44px; }
}

/* ---------- 9. Small helpers ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-s4 { margin-top: var(--s4); }
.mt-s5 { margin-top: var(--s5); }
.center-text { text-align: center; }

@media print {
  .site-header, .nav-toggle, .enquiry { display: none; }
  body { background: #fff; }
}
