/* =========================================================================
   Foxthorne: one stylesheet for the whole site.
   Order: tokens > base > layout > components > page-specific sections.
   Breakpoints (use only these): 620px (small phones), 820px (mobile/desktop
   switch), 1100px (narrow desktop). No !important anywhere.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Colour */
  --ink: #13191f;
  --paper: #ffffff;
  --warm: #f3efe8;
  --sand: #e8d8c6;
  --muted: #594c3d;           /* body copy on light backgrounds */
  --muted-dark: #aaa49a;      /* body copy on dark backgrounds */
  --fox-light: #aa6339;       /* eyebrows and labels on white (4.6:1) */
  --fox-warm: #9d5b35;        /* same role on the warm background (4.6:1) */
  --fox-dark: #bd6e40;        /* same role on ink (4.6:1) */
  --fox-on-image: #e8ad84;    /* hero eyebrow over photography */
  --script-colour: #906d4b;   /* handwritten notes (large text, 3:1+) */
  --rule-light: rgba(19, 25, 31, .18);
  --rule-dark: rgba(245, 242, 236, .18);
  --rule-accent: #906d4b;

  /* Type */
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --script: 'Segoe Script', 'Brush Script MT', cursive;
  --type-display: clamp(58px, 6.4vw, 96px);
  --type-h2: clamp(40px, 4vw, 58px);
  --type-h3: clamp(22px, 1.7vw, 28px);
  --type-script: clamp(28px, 3vw, 44px);
  --type-body: 16px;
  --type-small: 15px;
  --type-label: 11px;

  /* Layout */
  --max: 1280px;
  --gutter: clamp(22px, 4.2vw, 64px);
  --section: clamp(72px, 7vw, 108px);
  --grid-gap: clamp(16px, 2.2vw, 32px);
}
@media (max-width: 820px) {
  :root {
    --gutter: 22px;
    --section: 62px;
    --type-display: clamp(52px, 15vw, 68px);
    --type-h2: clamp(36px, 10.5vw, 48px);
  }
}

/* Section colour themes. Components read these variables, never fixed colours. */
.theme-light { --bg: var(--paper); --fg: var(--ink); --text: var(--muted); --rule: var(--rule-light); --accent-text: var(--fox-light); }
.theme-warm  { --bg: var(--warm);  --fg: var(--ink); --text: var(--muted); --rule: var(--rule-light); --accent-text: var(--fox-warm); }
.theme-sand  { --bg: var(--sand);  --fg: var(--ink); --text: var(--muted); --rule: var(--rule-light); --accent-text: #8a502f; }
.theme-dark  { --bg: var(--ink);   --fg: #fff;       --text: var(--muted-dark); --rule: var(--rule-dark); --accent-text: var(--fox-dark); }
[class*="theme-"] { background: var(--bg); color: var(--fg); }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--type-body);
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
p { margin: 0; }
/* No single word left on a line: headings balance their lines; body text avoids a lone last
   word. Browsers without support (older Safari) simply wrap as before. */
h1, h2, h3, blockquote { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }
.nw { white-space: nowrap; }
@media (max-width: 359px) { .nw { white-space: normal; } }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--paper); color: var(--ink); font-size: 14px;
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Layout ---------- */
.shell { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }

/* ---------- 4. Typography roles ---------- */
.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: var(--type-label);
  line-height: 1.25;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-text, var(--fox-light));
}
.h2, main h2 {
  font-size: var(--type-h2);
  line-height: 1.01;
  letter-spacing: -.035em;
}
.script {
  display: inline-block;
  font-family: var(--script);
  font-size: var(--type-script);
  line-height: 1.2;
  color: var(--script-colour);
  transform: rotate(-3deg);
}
.cta {
  display: inline-flex;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
  padding-bottom: 9px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: opacity .2s ease;
}
.text-cta:hover { opacity: .62; }
.text-cta span { font-size: 16px; line-height: .8; color: var(--accent-text); }
@media (max-width: 820px) {
  .text-cta { margin-top: 22px; gap: 12px; font-size: 10px; letter-spacing: .1em; }
}

/* ---------- 5. Header and navigation ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: #fff; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px var(--gutter);
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--serif); font-size: 15px; letter-spacing: .055em;
}
.brand img { width: auto; height: 34px; opacity: .96; }
.nav__links { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav__links a { font-size: 15px; letter-spacing: .055em; }
.nav__mobile { display: none; }

@media (max-width: 820px) {
  .nav { padding: 18px 22px; }
  .brand { gap: 7px; font-size: 13px; letter-spacing: .14em; }
  .brand img { height: 23px; }
  .nav__links { display: none; }
  .nav__mobile { display: block; }
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 10px 7px;
    list-style: none; cursor: pointer;
  }
  .nav__toggle::-webkit-details-marker { display: none; }
  .nav__toggle span { display: block; width: 30px; height: 1px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
  .nav__mobile[open] .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__mobile[open] .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav__mobile[open] .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__panel {
    position: absolute; top: 100%; left: 0; right: 0;
    display: flex; flex-direction: column;
    padding: 18px 22px;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
  }
  .nav__panel::after {
    content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 100vh;
    background: rgba(7, 12, 15, .72); pointer-events: none;
  }
  .nav__panel a {
    display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 16px; align-items: center;
    min-height: 72px; padding: 0 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    font-family: var(--serif); font-size: 18px; line-height: 1.15;
  }
  .nav__panel a:last-child { border-bottom: 0; }
  .nav__panel svg {
    width: 28px; height: 32px; justify-self: center;
    fill: none; stroke: #c86f32; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round;
  }
  .site-header:has(.nav__mobile[open]) { background: var(--ink); }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: 94vh; min-height: 94svh;
  padding: 130px var(--gutter) 68px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero__media, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero__media img { object-fit: cover; object-position: var(--hero-pos, 50% 50%); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .62), transparent 20%),
    linear-gradient(90deg, rgba(0, 0, 0, .68), rgba(0, 0, 0, .34) 50%, rgba(0, 0, 0, .08) 75%),
    linear-gradient(0deg, rgba(0, 0, 0, .5), transparent 60%);
}
.hero--soft::after {
  background:
    linear-gradient(180deg, rgba(8, 14, 17, .66), transparent 20%),
    linear-gradient(90deg, rgba(8, 14, 17, .80) 0%, rgba(8, 14, 17, .74) 25%, rgba(8, 14, 17, .62) 40%,
      rgba(8, 14, 17, .38) 52%, rgba(8, 14, 17, .14) 64%, rgba(8, 14, 17, 0) 78%);
}
/* Brighter photographs (white walls, sky): deeper shade behind the navigation and copy. */
.hero--soft.hero--strong::after {
  background:
    linear-gradient(180deg, rgba(8, 14, 17, .8), rgba(8, 14, 17, .45) 14%, transparent 26%),
    linear-gradient(90deg, rgba(8, 14, 17, .86) 0%, rgba(8, 14, 17, .8) 28%, rgba(8, 14, 17, .66) 42%,
      rgba(8, 14, 17, .4) 54%, rgba(8, 14, 17, .14) 66%, rgba(8, 14, 17, 0) 80%);
}
.hero__copy { position: relative; z-index: 1; width: min(720px, 100%); }
.hero .eyebrow { margin-bottom: 24px; color: var(--fox-on-image); }
.hero h1 {
  max-width: var(--hero-h1-max, none);
  margin-bottom: 24px;
  font-size: var(--type-display);
  line-height: .92;
  letter-spacing: -.04em;
}
.hero p { max-width: 540px; margin-bottom: 30px; font-size: 18px; line-height: 1.55; color: #e6dfd5; }
@media (max-width: 820px) {
  .hero { min-height: 88vh; min-height: 88svh; padding-bottom: 48px; }
  .hero__media img { object-position: var(--hero-pos-mobile, var(--hero-pos, 50% 50%)); }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 20%),
      linear-gradient(0deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .66) 45%, rgba(0, 0, 0, 0) 75%);
  }
  .hero--soft::after {
    background:
      linear-gradient(180deg, rgba(8, 14, 17, .66), transparent 20%),
      linear-gradient(0deg, rgba(8, 14, 17, .88) 0%, rgba(8, 14, 17, .8) 55%, rgba(8, 14, 17, .62) 70%, rgba(8, 14, 17, 0) 92%);
  }
  .hero--soft.hero--strong::after {
    background:
      linear-gradient(180deg, rgba(8, 14, 17, .84), rgba(8, 14, 17, .5) 10%, transparent 22%),
      linear-gradient(0deg, rgba(8, 14, 17, .88) 0%, rgba(8, 14, 17, .8) 55%, rgba(8, 14, 17, .62) 70%, rgba(8, 14, 17, 0) 92%);
  }
}

/* ---------- 7. Assurance bar ---------- */
.usp { background: var(--ink); color: #f1ece3; border-block: 1px solid #34312d; }
.usp__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 122px; }
.usp__item {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 15px; align-items: center;
  padding: 24px 34px 24px 0; margin-right: 34px;
  border-right: 1px solid #3b3833;
}
.usp__item:last-child { margin-right: 0; border-right: 0; }
.usp__item svg { width: 32px; height: 32px; fill: none; stroke: #d8cdbf; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.usp__title { margin-bottom: 3px; font-family: var(--serif); font-size: clamp(20px, 1.35vw, 24px); line-height: 1.18; letter-spacing: -.015em; }
.usp__text { max-width: 320px; font-size: clamp(15px, 1.05vw, 18px); line-height: 1.45; color: #9f998f; }
@media (max-width: 1100px) {
  .usp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usp__item { margin-right: 0; padding-right: 24px; border-right: 0; }
  .usp__item:nth-child(odd) { margin-right: 24px; border-right: 1px solid #3b3833; }
  .usp__item:nth-child(-n+2) { border-bottom: 1px solid #3b3833; }
}
@media (max-width: 820px) {
  .usp__grid { grid-template-columns: 1fr; min-height: 0; }
  .usp__item, .usp__item:nth-child(odd) { margin: 0; padding: 20px 0; border-right: 0; border-bottom: 1px solid #3b3833; }
  .usp__item:last-child { border-bottom: 0; }
}

/* ---------- 8. Section heading (eyebrow + h2 + optional intro) ---------- */
.section-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px; align-items: end;
  margin-bottom: 42px;
}
.section-head h2 { margin-top: 10px; }
.section-head > p { max-width: 440px; color: var(--text); }
.section-head--stack { display: block; }
.section-head--narrow { max-width: 900px; }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 34px; }
}

/* ---------- 9. Cards (services, door types, details) ---------- */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--grid-gap); align-items: start; }
.cards--3 { --cols: 3; }
.card { display: block; min-width: 0; }
.card__media { aspect-ratio: var(--card-ratio, 4 / 5); overflow: hidden; background: #e6e0d7; }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.cards--landscape { --card-ratio: 1.72 / 1; }
.card__title { margin: 22px 0 10px; font-size: var(--type-h3); line-height: 1.1; letter-spacing: -.035em; }
.card__text { max-width: 34ch; font-size: var(--type-small); line-height: 1.55; color: var(--text); }
.card__cta {
  display: inline-block; margin-top: 14px; padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
a.card:hover .card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (max-width: 820px) {
  .cards { --cols: 1; gap: 36px; }
  .cards--mobile-2 { --cols: 2; gap: 34px 16px; }
  .cards--mobile-2 .card__title { margin-top: 18px; font-size: clamp(21px, 5.5vw, 27px); }
  .cards--mobile-2 .card__text { font-size: 14px; }
  .cards--mobile-square { --card-ratio: 1 / 1; }
  .cards--landscape { --card-ratio: 16 / 10; gap: 18px; }
  .card__title { margin-top: 16px; font-size: clamp(24px, 7vw, 30px); }
}

/* ---------- 10. Split (image + copy) ---------- */
.split {
  display: grid;
  grid-template-columns: var(--split, minmax(0, 5fr) minmax(0, 7fr));
  min-height: 560px;
}
.split--media-wide { --split: minmax(0, 8fr) minmax(300px, 4fr); min-height: 72vh; }
.split--maker { --split: minmax(0, 7fr) minmax(0, 5fr); }
.split__copy { align-self: center; padding: 64px var(--gutter); }
.split__copy h2 { margin: 10px 0 20px; }
.split__copy p { max-width: 510px; margin-block: 16px; color: var(--text); }
.split__copy .script { margin-top: 12px; }
.split__media { position: relative; min-height: 560px; overflow: hidden; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.split--contain { height: min(660px, 86vh); height: min(660px, 86svh); min-height: 560px; }
.split--contain .split__copy { padding-block: 54px; }
.split--contain .split__media { min-height: 0; background: var(--ink); }
.split--contain .split__media img { object-fit: contain; }
@media (max-width: 820px) {
  .split, .split--contain { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .split__copy { padding: 52px 22px 56px; }
  .split__media { min-height: 0; aspect-ratio: var(--m-ratio, 4 / 3); max-height: 560px; }
  .split--contain .split__media img { object-fit: cover; }
}

/* ---------- 11. Workshop intro (homepage) ---------- */
.workshop__head {
  display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px); align-items: start;
  margin-bottom: 36px;
}
.workshop__head h2 { margin-top: 10px; }
.workshop__col { padding-top: 30px; border-top: 1px solid #c9bfb2; }
.workshop__num { display: block; margin-bottom: 16px; font-family: var(--serif); font-size: 12px; color: #8f5c2f; }
.workshop__col h3 { margin-bottom: 10px; font-size: var(--type-h3); line-height: 1.1; letter-spacing: -.035em; }
.workshop__col p { max-width: 280px; font-size: 14px; line-height: 1.55; color: var(--text); }
.workshop__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.workshop__photos figure { aspect-ratio: 4 / 3; overflow: hidden; background: #d8d0c4; }
.workshop__photos img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
@media (max-width: 820px) {
  .workshop__head { grid-template-columns: 1fr 1fr; gap: 28px 22px; }
  .workshop__head > :first-child { grid-column: 1 / -1; }
  .workshop__col { padding-top: 20px; }
  .workshop__photos { gap: 10px; }
  .workshop__photos figure { aspect-ratio: 1 / 1; }
}
@media (max-width: 620px) {
  .workshop__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 30px; }
  .workshop__col { padding-top: 16px; }
  .workshop__photos { grid-template-columns: 1fr; gap: 12px; }
  .workshop__photos figure { aspect-ratio: 4 / 3; }
}

/* ---------- 12. Reference ("Start with what you've seen") ---------- */
.reference__grid {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(58px, 6vw, 104px); align-items: center;
}
.reference__copy h2 { max-width: 610px; margin: 12px 0 28px; }
.reference__copy p { max-width: 590px; font-size: 17px; line-height: 1.65; color: var(--text); }
.reference__copy .script { display: block; margin-top: 28px; }
.gallery {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.12fr); grid-template-rows: 1fr 1fr;
  gap: 18px; height: clamp(520px, 39vw, 610px);
}
.gallery figure { min-width: 0; min-height: 0; overflow: hidden; background: #eee; }
.gallery figure:first-child { grid-row: 1 / span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
@media (max-width: 1100px) {
  .reference__grid { gap: 42px; }
  .gallery { height: 520px; }
}
@media (max-width: 820px) {
  .reference__grid { grid-template-columns: 1fr; gap: 46px; }
  .reference__copy p { font-size: 16px; }
  .gallery { height: auto; grid-template-columns: .82fr 1.18fr; grid-template-rows: 42vw 42vw; gap: 10px; }
}
@media (max-width: 620px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 78vw 42vw; }
  .gallery figure:first-child { grid-row: 1; grid-column: 1 / -1; }
  .gallery figure:first-child img { object-position: 50% 57%; }
}

/* ---------- 13. Film ---------- */
.film__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: center; }
.film__grid h2 { margin: 10px 0 23px; }
.film__grid p { max-width: 470px; color: var(--text); }
.film__grid .script { margin-top: 16px; }
.film__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #28251f; }
.film__frame video { width: 100%; height: 100%; object-fit: cover; }
.film__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(circle at 60% 35%, rgba(130, 106, 78, .25), transparent 35%);
  font-size: 10px; letter-spacing: .2em; color: #aaa095;
}
@media (max-width: 820px) { .film__grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- 14. Care in your home ---------- */
.care__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 38px; border-top: 1px solid var(--rule-accent); }
.care__item { padding: 22px 24px 0 0; margin-right: 24px; border-right: 1px solid var(--rule-accent); }
.care__item:last-child { margin-right: 0; border-right: 0; }
.care__item svg { width: 58px; height: 48px; margin-bottom: 20px; fill: none; stroke: #2a261f; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.care__item h3 { margin-bottom: 9px; font-size: 21px; line-height: 1.08; letter-spacing: -.035em; }
.care__item p { font-size: 14px; line-height: 1.6; color: var(--text); }
@media (max-width: 820px) {
  .care__grid { display: block; margin-top: 0; border-top-color: var(--rule); }
  .care__item, .care__item:last-child {
    display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; align-items: start;
    margin: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--rule);
  }
  .care__item:last-child { border-bottom: 0; }
  .care__item svg { grid-row: 1 / 3; width: 48px; height: 42px; margin: 1px 0 0; }
  .care__item h3 { margin: 0; font-size: 24px; }
  .care__item p { font-size: 15px; line-height: 1.5; }
}

/* ---------- 15. FAQ (canonical; colour comes from the theme) ---------- */
.faq__grid {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  column-gap: clamp(64px, 8vw, 140px); align-items: start;
}
.faq__intro h2 { max-width: 500px; margin-top: 18px; }
/* Slightly smaller heading here so its last two words fit the column together (approved). */
@media (min-width: 1100px) {
  .faq__intro h2 { font-size: clamp(34px, 3.2vw, 46px); }
  .faq__intro .nw-wide { white-space: nowrap; }
}
.faq__list { border-top: 1px solid var(--faq-rule); }
.faq__list details { border-bottom: 1px solid var(--faq-rule); }
.faq__list summary {
  display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 22px; align-items: center;
  padding: 22px 0;
  list-style: none; cursor: pointer;
  font-size: clamp(17px, 1.35vw, 21px); line-height: 1.3; letter-spacing: -.01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; content: "+" / ""; justify-self: end;
  font-size: 23px; font-weight: 300; line-height: 1; color: var(--accent-text);
}
.faq__list details[open] summary::after { content: "\2212"; content: "\2212" / ""; }
.faq__answer { max-width: 680px; padding: 0 42px 24px 0; font-size: 15px; line-height: 1.62; color: var(--faq-answer); }
.faq__answer p + p { margin-top: 12px; }
.faq { --faq-rule: #d8d8d2; --faq-answer: #565650; }
.faq.theme-dark { --faq-rule: rgba(255, 255, 255, .22); --faq-answer: #c9c4bb; }
@media (max-width: 820px) {
  .faq__grid { display: block; }
  .faq__intro h2 { margin-bottom: 38px; }
  .faq__list summary { padding: 20px 0; font-size: 18px; }
  .faq__answer { padding-right: 30px; }
}

/* ---------- 16. Testimonials ---------- */
.proof { --card-alt: #eee9e1; }
.proof.theme-warm { --card-alt: var(--paper); }
.proof__head h2 { margin: 21px 0 28px; }
.proof__body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .82fr); gap: 24px; align-items: stretch; }
.proof__quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote {
  display: flex; flex-direction: column;
  min-height: 220px; padding: 24px 28px 22px;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.quote:nth-child(odd) { border-right: 1px solid var(--rule); }
.quote:nth-child(n+3) { border-bottom: 0; }
.quote:nth-child(2) { background: var(--card-alt); }
.quote blockquote { max-width: 34em; margin-bottom: 24px; font-size: 15px; line-height: 1.55; color: #151b1f; }
.quote figcaption { margin-top: auto; font-size: 10px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: #8c5834; }
.quote figcaption span { margin-left: 8px; color: #5f6266; }
.proof__image { min-height: 0; overflow: hidden; }
.proof__image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .proof__head h2 { margin: 15px 0 24px; }
  .proof__body { display: block; }
  .proof__quotes { display: block; border-top: 1px solid var(--rule); }
  .quote, .quote:nth-child(n) {
    min-height: 0; padding: 26px 0 28px; background: transparent;
    border-right: 0; border-bottom: 1px solid var(--rule);
  }
  .quote blockquote { margin-bottom: 22px; }
  .proof__image { margin-top: 34px; aspect-ratio: 16 / 10; }
}

/* ---------- 17. Process ---------- */
.process { color: #f5f2ec; }
.process h2 { max-width: 760px; margin-top: 16px; }
.process__drawing { margin-top: 32px; border-bottom: 1px solid rgba(245, 242, 236, .48); }
.process__drawing img { width: 100%; height: auto; opacity: .92; }
.process__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process__step { min-height: 225px; padding: 30px 44px 8px 0; }
.process__step + .process__step { padding-left: 44px; border-left: 1px solid var(--rule-dark); }
.process__num { display: block; margin-bottom: 22px; font-size: 13px; letter-spacing: .12em; color: var(--fox-dark); }
.process__step h3 { margin-bottom: 14px; font-size: var(--type-h3); line-height: 1.08; letter-spacing: -.035em; }
.process__step p { max-width: 410px; color: rgba(245, 242, 236, .88); }
@media (max-width: 820px) {
  .process__drawing { margin-top: 26px; }
  .process__steps { grid-template-columns: 1fr; }
  .process__step, .process__step + .process__step {
    min-height: 0; padding: 26px 0 30px; border-left: 0; border-bottom: 1px solid var(--rule-dark);
  }
  .process__step:last-child { border-bottom: 0; padding-bottom: 0; }
  .process__num { margin-bottom: 12px; }
  .process__step h3 { font-size: 24px; }
}

/* ---------- 18. Enquiry ---------- */
.contact__grid {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(48px, 7vw, 112px); align-items: center;
}
.contact__copy { max-width: 520px; }
.contact__copy h2 { margin: 12px 0 28px; }
.contact__copy p { max-width: 470px; margin-bottom: 16px; line-height: 1.65; color: var(--text); }
.contact__copy .cta { margin-top: 18px; }
.contact__copy .script { display: block; margin-top: 28px; }
.contact__image { aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.contact__image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .contact__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- 19. Footer ---------- */
.site-footer { padding: 52px var(--gutter) 30px; background: var(--ink); border-top: 1px solid #34312d; color: #d8d3ca; font-size: 13px; line-height: 1.55; }
.site-footer > * { max-width: var(--max); margin-inline: auto; }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; }
.footer-nav h2 { margin-bottom: 18px; font-family: var(--sans); font-size: 12px; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer-nav ul { margin: 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-block; margin-bottom: 11px; color: #a9a49c; line-height: 1.45; transition: color .2s ease; }
.footer-nav a:hover { color: #fff; }
.footer-nav li > span { display: inline-block; margin-bottom: 11px; color: #a9a49c; line-height: 1.45; }
.footer-contact {
  display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(48px, 7vw, 110px); row-gap: 28px;
  margin-top: 28px; padding-block: 38px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.footer-contact__item { display: flex; flex-direction: column; gap: 8px; }
.footer-contact__label { font-size: 10px; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: #a39e96; }
.footer-contact address { font-style: normal; }
.footer-contact a:hover { opacity: .65; }
.footer-contact__mark { width: auto; height: 64px; margin-left: auto; opacity: .82; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 24px;
  padding-top: 20px; border-top: 1px solid #34312d;
  font-size: 11px; color: #8f8a83;
}
.footer-bottom__brand { color: #fff; letter-spacing: .16em; }
.footer-legal { display: flex; gap: 20px; margin-left: auto; }
.footer-legal a, .footer-legal button {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0;
  border: 0; background: none; font: inherit; color: #a9a49c; cursor: pointer; text-decoration: none;
}
.footer-legal a:hover, .footer-legal button:hover { color: #fff; }
@media (max-width: 820px) {
  .site-footer { padding: 42px 22px 26px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 7px; }
  .footer-bottom .footer-legal { display: flex; margin-top: 12px; }
}
@media (max-width: 620px) {
  .footer-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .footer-contact__mark { grid-column: 2; grid-row: 1 / span 3; height: 52px; }
}

/* =========================================================================
   Page-specific sections (front doors)
   ========================================================================= */

/* Door types: secondary "also made" row */
.also-made {
  display: grid; grid-template-columns: 180px minmax(0, 620px); gap: 30px; align-items: start;
  margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--rule);
}
.also-made p { font-size: var(--type-small); color: var(--text); }
.also-made strong { font-weight: 500; color: var(--fg); }
@media (max-width: 820px) { .also-made { grid-template-columns: 1fr; gap: 10px; } }

/* Pricing */
.pricing h2 { max-width: 1180px; margin-top: 30px; }
.pricing__grid {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr) minmax(0, 1fr);
  margin-top: clamp(46px, 4vw, 66px); border-top: 1px solid rgba(18, 28, 33, .42);
}
.pricing__item { min-height: 190px; padding: 34px clamp(38px, 4vw, 72px) 0 0; }
.pricing__item + .pricing__item { padding-left: clamp(38px, 4vw, 72px); border-left: 1px solid rgba(18, 28, 33, .26); }
.pricing__label { margin-bottom: 20px; font-size: 12px; letter-spacing: .17em; text-transform: uppercase; color: var(--accent-text); }
.pricing__value { font-family: var(--serif); font-size: clamp(48px, 4.4vw, 72px); line-height: .95; letter-spacing: -.035em; }
.pricing__text, .pricing__link { max-width: 480px; font-family: var(--serif); font-size: clamp(22px, 1.7vw, 28px); line-height: 1.3; }
.pricing__link { display: inline-block; margin-top: 4px; padding-bottom: 12px; border-bottom: 1px solid currentColor; letter-spacing: .11em; }
@media (max-width: 820px) {
  .pricing__grid { grid-template-columns: 1fr; margin-top: 38px; }
  .pricing__item, .pricing__item + .pricing__item {
    min-height: 0; padding: 28px 0 34px; border-left: 0;
  }
  .pricing__item + .pricing__item { border-top: 1px solid rgba(18, 28, 33, .18); }
}

/* Ironmongery suppliers */
.hardware { padding-block: 40px 42px; }
.hardware__grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(26px, 3vw, 52px); align-items: stretch; }
.hardware__intro h2 { margin: 12px 0 18px; }
.hardware__intro p { max-width: 510px; font-size: 15px; line-height: 1.5; color: #b8b1a7; }
.hardware__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-left: 1px solid rgba(245, 242, 235, .22); }
.hardware__brand { min-width: 0; padding: 5px clamp(12px, 1.65vw, 26px) 0; border-right: 1px solid rgba(245, 242, 235, .22); }
.hardware__name { display: flex; align-items: center; height: 60px; margin-bottom: 14px; font-family: var(--serif); font-size: clamp(24px, 2vw, 30px); line-height: 1.05; letter-spacing: -.02em; color: #fff; }
.hardware__brand p { max-width: 190px; font-size: 13px; line-height: 1.45; color: #b8b1a7; }
@media (max-width: 1100px) { .hardware__grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 820px) {
  .hardware { padding-block: 58px 62px; }
  .hardware__intro h2 { margin: 16px 0 24px; }
  .hardware__intro p { font-size: 16px; line-height: 1.55; }
  .hardware__list { display: block; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
  .hardware__brand {
    display: grid; grid-template-columns: 132px minmax(0, 1fr); column-gap: 18px; align-items: center;
    padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .22);
  }
  .hardware__name { height: auto; margin: 0; }
  .hardware__brand p { max-width: none; font-size: 15px; }
}

/* Detail cards sit directly under the ironmongery band as one composition */
.details { padding-block: 26px 30px; }
.details .card__title { margin-top: 18px; }
@media (max-width: 820px) { .details { padding-block: 42px 48px; } }

/* Notes: heading, intro and three short notes (timber, period styles) */
.notes__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 9vw; row-gap: 62px; }
.notes__grid h2 { margin-top: 18px; }
.notes__intro { max-width: 620px; padding-top: 34px; }
.notes__intro p { font-size: 18px; line-height: 1.65; color: #343536; }
.notes__notes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(17, 24, 32, .16); }
.notes__notes article { padding: 30px 34px 8px 0; margin-right: 34px; border-right: 1px solid rgba(17, 24, 32, .13); }
.notes__notes article:last-child { margin-right: 0; border-right: 0; }
.notes__notes h3 { margin-bottom: 12px; font-size: var(--type-h3); line-height: 1.08; letter-spacing: -.035em; }
.notes__notes p { font-size: var(--type-small); line-height: 1.65; color: var(--text); }
@media (max-width: 820px) {
  .notes__grid { grid-template-columns: 1fr; row-gap: 24px; }
  .notes__intro { padding-top: 0; }
  .notes__notes { grid-column: auto; grid-template-columns: 1fr; margin-top: 16px; }
  .notes__notes article { margin: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid rgba(17, 24, 32, .13); }
  .notes__notes article:last-child { border-bottom: 0; }
  .notes__notes h3 { font-size: 24px; }
}

/* =========================================================================
   Text pages (about intro band, privacy, 404) and consent banner
   ========================================================================= */
.page-head { padding: 190px var(--gutter) 84px; background: var(--ink); color: #fff; }
.page-head .eyebrow { color: var(--fox-on-image); }
.page-head h1 { max-width: 900px; margin-top: 18px; font-size: var(--type-h2); line-height: 1; letter-spacing: -.04em; }
.page-head p { max-width: 620px; margin-top: 24px; font-size: 18px; line-height: 1.55; color: #e6dfd5; }
@media (max-width: 820px) { .page-head { padding: 150px 22px 60px; } }

.prose { max-width: 720px; }
.prose h2 { margin: 48px 0 16px; font-size: var(--type-h3); line-height: 1.15; letter-spacing: -.03em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; color: var(--text); }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0; padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.prose .prose__updated { margin-top: 48px; font-size: 14px; color: var(--text); }
.links-list { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; padding: 0; list-style: none; }
.links-list a { display: inline-flex; min-height: 24px; align-items: center; color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.consent {
  position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  max-width: 640px; padding: 20px 22px;
  background: var(--ink); color: #e6dfd5; border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3); font-size: 14px; line-height: 1.5;
}
.consent[hidden] { display: none; }
.consent p { flex: 1 1 300px; margin: 0; }
.consent a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: 10px; }
.consent button {
  min-width: 96px; min-height: 44px; padding: 0 18px;
  border: 1px solid #fff; background: transparent; color: #fff;
  font: inherit; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; cursor: pointer;
}
.consent button:hover { background: #fff; color: var(--ink); }
.consent button:focus-visible, .footer-legal button:focus-visible { outline: 2px solid var(--fox-on-image); outline-offset: 3px; }

/* ---------- Selected work gallery ----------
   Masonry by CSS columns: each photograph keeps its own proportions (width/height set on
   the img, so no layout shift), and captions stay with their image. */
.work__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: 36px; }
.work__head h2 { font-size: var(--type-h2); line-height: 1; letter-spacing: -.04em; }
.work__more { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.work__grid { columns: 3; column-gap: 28px; }
.work__item { break-inside: avoid; margin-bottom: 28px; }
.work__item img { display: block; width: 100%; height: auto; }
.work__item figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--text); }
@media (max-width: 1100px) { .work__grid { columns: 2; } }
@media (max-width: 620px) { .work__grid { columns: 1; } .work__item { margin-bottom: 24px; } }
