/* M&D Building and Interiors. Tokens first: Chiltern materials palette, one spacing scale. */
/* Fonts, self-hosted (SIL Open Font License, licences in /assets/fonts): Archivo and Source Serif 4. */
@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo.woff2') format('woff2'); font-weight: 400 700; font-stretch: 100% 115%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('/assets/fonts/source-serif-4.woff2') format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('/assets/fonts/source-serif-4-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
:root {
  --flint: #2B3034;
  --chalk: #F2F2ED;
  --lime: #DCD6C8;
  --brick: #8F3A28;
  --brick-dk: #7A2F20;
  --beech: #4F5D3F;
  --slate: #5E666C;
  --white: #FFFFFF;
  --line: #C9C2B2;
  --flint-2: #353B40;
  --on-dark-2: #C9CCC6;

  /* Spacing scale: 4, 8, 12, 16, 24, 32, 48, 64, 96, 120 */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 120px;
  --gutter: 24px;
  --max: 1200px;
  --sec: clamp(64px, 9vw, 120px);
  --sec-tight: clamp(48px, 6vw, 96px);

  --f-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-text: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --wide: 115%;
  --dock-h: 0px;
  --hdr-h: 72px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-lay: cubic-bezier(.25, 1.3, .5, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --hdr-h: 80px; } }
@media (max-width: 899px) { :root { --dock-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--chalk);
  color: var(--flint);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  font-optical-sizing: auto;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
  overflow-wrap: break-word;
}
@media (min-width: 768px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brick); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-stretch: var(--wide); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 var(--s4); max-width: 68ch; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
a, button, summary, label, input, textarea { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }

:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; border-radius: 2px; }
.sec--dark :focus-visible, .cta :focus-visible, .ftr :focus-visible, .pbar :focus-visible { outline-color: var(--chalk); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 100; background: var(--flint); color: var(--chalk); padding: var(--s3) var(--s4); font-family: var(--f-display); }
.skip:focus { top: var(--s4); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow { max-width: 820px; }

/* Preview bar */
.pbar { background: var(--beech); color: var(--chalk); font-family: var(--f-display); font-size: 14px; line-height: 1.4; }
.pbar__in { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); padding-block: var(--s3); }
.pbar strong { font-weight: 700; }
.pbar__more { display: none; }
@media (min-width: 768px) { .pbar__more { display: inline; } }
.pbar ~ main { --pbar-h: 44px; }

/* Unconfirmed content marker (preview only) */
.tbc { background: rgba(183, 121, 31, 0.16); box-shadow: inset 0 -2px 0 #B7791F; border-radius: 2px; padding: 0 var(--s1); }
.tbc__tag { display: inline-block; margin-left: var(--s2); font-family: var(--f-display); font-stretch: 100%; font-size: 11px; font-weight: 600; line-height: 1.6; color: #6B4510; background: #F3E3C3; border-radius: 2px; padding: 0 var(--s2); vertical-align: 2px; white-space: nowrap; letter-spacing: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: var(--s3) var(--s5);
  font-family: var(--f-display); font-stretch: 105%; font-size: 16px; font-weight: 600; line-height: 1.2;
  text-decoration: none; border-radius: 2px; border: 1.5px solid transparent;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, scale 120ms ease;
  cursor: pointer; text-align: center;
}
.btn--primary { background: var(--brick); color: var(--white); }
.btn--ghost { background: transparent; color: var(--flint); border-color: var(--flint); }
.btn--light { background: var(--chalk); color: var(--flint); }
.btn:active { scale: 0.955; }
@media (hover: hover) {
  .btn--primary:hover { background: var(--brick-dk); }
  .btn--ghost:hover { background: var(--flint); color: var(--chalk); }
  .btn--light:hover { background: var(--white); }
}
a:not(.btn):active { opacity: 0.5; }
.link { font-family: var(--f-display); font-stretch: 105%; font-weight: 600; font-size: 16px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--chalk); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: var(--s5); min-height: var(--hdr-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--flint); flex: none; border-radius: 50%; }
/* The badge on its own, as Matt asked: no wordmark beside it */
.brand__logo { display: block; flex: none; width: 63px; height: 54px; }
@media (min-width: 1024px) { .brand__logo { width: 75px; height: 64px; } }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: var(--s5); list-style: none; }
.nav a { font-family: var(--f-display); font-size: 16px; font-weight: 500; color: var(--flint); text-decoration: none; padding-block: var(--s2); background: linear-gradient(var(--flint), var(--flint)) left bottom / 0 2px no-repeat; transition: background-size 220ms var(--ease-out); }
.nav a[aria-current="page"] { background-image: linear-gradient(var(--brick), var(--brick)); background-size: 100% 2px; }
@media (hover: hover) { .nav a:hover { background-size: 100% 2px; } }
.hdr__act { display: flex; align-items: center; gap: var(--s3); margin-left: auto; }
.hdr__cta { display: none; }
.callmenu { position: relative; display: none; }
.callmenu__btn { list-style: none; font-family: var(--f-display); font-weight: 600; font-size: 16px; min-height: 48px; display: inline-flex; align-items: center; padding: 0 var(--s4); border: 1.5px solid var(--flint); border-radius: 2px; transition: scale 120ms ease; }
.callmenu__btn:active { scale: 0.955; }
.callmenu__pop { position: absolute; right: 0; top: calc(100% + var(--s2)); background: var(--white); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 12px 32px rgba(43, 48, 52, 0.16); min-width: 260px; padding: var(--s2); }
.call__row { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 48px; padding: var(--s3) var(--s4); text-decoration: none; color: var(--flint); border-radius: 4px; font-family: var(--f-display); }
.call__name { font-weight: 600; }
.call__num { color: var(--slate); white-space: nowrap; font-variant-numeric: tabular-nums; }
.call__row:active { background: var(--lime); opacity: 1; }
@media (hover: hover) { .call__row:hover { background: var(--chalk); } }

.menubtn { display: inline-flex; align-items: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s3); background: none; border: 1.5px solid var(--flint); border-radius: 2px; font-family: var(--f-display); font-weight: 600; font-size: 16px; cursor: pointer; transition: scale 120ms ease; }
.menubtn:active { scale: 0.955; }
.menubtn__bars { position: relative; width: 18px; height: 2px; background: var(--flint); transition: background-color 120ms ease; }
.menubtn__bars::before, .menubtn__bars::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--flint); transition: top 200ms var(--ease-out), rotate 240ms var(--ease-out); }
.menubtn__bars::before { top: -6px; }
.menubtn__bars::after { top: 6px; }
.menubtn[aria-expanded="true"] .menubtn__bars { background: transparent; }
.menubtn[aria-expanded="true"] .menubtn__bars::before { top: 0; rotate: 45deg; }
.menubtn[aria-expanded="true"] .menubtn__bars::after { top: 0; rotate: -45deg; }
.sheet {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 2;
  max-height: calc(100dvh - var(--sheet-top, 72px)); overflow-y: auto; overscroll-behavior: contain;
  border-top: 1px solid var(--line); background: var(--chalk); padding-bottom: var(--s5);
  box-shadow: 0 24px 48px rgba(43, 48, 52, 0.18);
  opacity: 0; translate: 0 -12px;
  transition: opacity 180ms ease-in, translate 180ms ease-in;
}
.menu-open .sheet { opacity: 1; translate: 0 0; transition: opacity 280ms var(--ease-out), translate 280ms var(--ease-out); }
.menu-open .sheet__list li, .menu-open .sheet__calls { animation: row-rise 320ms var(--ease-out) backwards; }
.menu-open .sheet__list li:nth-child(1) { animation-delay: 40ms; }
.menu-open .sheet__list li:nth-child(2) { animation-delay: 70ms; }
.menu-open .sheet__list li:nth-child(3) { animation-delay: 100ms; }
.menu-open .sheet__list li:nth-child(4) { animation-delay: 130ms; }
.menu-open .sheet__list li:nth-child(5) { animation-delay: 160ms; }
.menu-open .sheet__list li:nth-child(6) { animation-delay: 190ms; }
.menu-open .sheet__list li:nth-child(7) { animation-delay: 220ms; }
.menu-open .sheet__list li:nth-child(8) { animation-delay: 250ms; }
.menu-open .sheet__calls { animation-delay: 280ms; }
.scrim { position: fixed; inset: 0; z-index: 45; background: rgba(43, 48, 52, 0.42); opacity: 0; transition: opacity 180ms ease-in; }
.menu-open .scrim { opacity: 1; transition: opacity 260ms ease-out; }
html.menu-open { overflow: hidden; }
.sheet__list { list-style: none; margin: var(--s4) var(--gutter) 0; background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.sheet__list li + li { border-top: 1px solid var(--lime); }
.sheet__list a { display: flex; align-items: center; min-height: 56px; padding: 0 var(--s4); font-family: var(--f-display); font-size: 18px; font-weight: 500; color: var(--flint); text-decoration: none; }
.sheet__list a:active { background: var(--lime); opacity: 1; }
.sheet__calls { margin: var(--s4) var(--gutter) 0; background: var(--white); border-radius: 12px; border: 1px solid var(--line); padding: var(--s1); }

@media (min-width: 1024px) {
  .nav { display: block; }
  .hdr__act { margin-left: var(--s5); }
  .hdr__cta { display: inline-flex; }
  .callmenu { display: block; }
  .menubtn { display: none; }
  .sheet { display: none !important; }
}
@media (max-width: 1023px) {
  .hdr__act { margin-left: auto; }
}

/* Mobile dock */
.dock { transition: translate 260ms var(--ease-out); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 2fr; gap: var(--s3); padding: var(--s3) var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom, 0px)); background: rgba(242, 242, 237, 0.96); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dock__btn { display: flex; align-items: center; justify-content: center; min-height: 52px; font-family: var(--f-display); font-weight: 600; font-size: 16px; text-decoration: none; border-radius: 2px; transition: scale 120ms ease; list-style: none; }
.dock__btn:active { scale: 0.955; opacity: 1; }
.dock__btn--primary { background: var(--brick); color: var(--white); }
.dock__btn--ghost { border: 1.5px solid var(--flint); color: var(--flint); }
.dock__call { position: relative; }
.dock__pop { position: absolute; left: 0; bottom: calc(100% + var(--s3)); width: min(320px, calc(100vw - 2 * var(--gutter))); background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 -8px 32px rgba(43, 48, 52, 0.18); padding: var(--s1); }
@media (min-width: 900px) { .dock { display: none; } }
.is-contact .dock { grid-template-columns: 1fr; }
.is-contact .dock__btn--primary { display: none; }

/* Title block: the signature device */
.tb { display: grid; border: 1.5px solid var(--flint); background: var(--chalk); font-family: var(--f-display); }
.tb__row { display: grid; grid-template-columns: 7.5em 1fr; align-items: baseline; gap: var(--s3); padding: var(--s3) var(--s4); }
.tb__row + .tb__row { border-top: 1px solid var(--line); }
.tb__k { font-size: 13px; font-weight: 500; color: var(--slate); }
.tb__v { font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.tb__v a { color: inherit; }
.tb--inline { margin-top: var(--s6); max-width: 560px; }

/* Hero: three project sheets. The photo is the drawing; the title block is the corner of the sheet. */
.hero {
  --stage-h: clamp(420px, calc(100svh - var(--hdr-h) - var(--pbar-h, 0px) - var(--dock-h) - 40px), 680px);
  --ctl-h: 52px;
  padding-bottom: var(--s8);
  overflow-x: clip;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "body"; }
.hero__head {
  grid-area: stage; align-self: start; z-index: 3;
  height: var(--stage-h); display: flex; align-items: flex-end;
  padding: 0 var(--gutter) var(--s6);
  pointer-events: none;
}
.hero__h { font-size: clamp(34px, 9.2vw, 60px); line-height: 1.03; letter-spacing: -0.015em; max-width: 14ch; color: var(--chalk); }
.hero__body { grid-area: body; padding: var(--s6) var(--gutter) 0; }
.hero__lead { font-size: clamp(18px, 1.8vw, 20px); color: var(--flint); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero__call { margin: var(--s5) 0 0; font-family: var(--f-display); font-size: 16px; color: var(--slate); }
.hero__call a { color: var(--flint); font-weight: 600; white-space: nowrap; }
@media (max-width: 599px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

.sheets { grid-area: stage; display: grid; grid-template-areas: "slides" "ctl"; min-width: 0; }
.sheets__slides { grid-area: slides; display: grid; }
.psheet { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 700ms ease, visibility 0s linear 700ms; }
.psheet.is-on { z-index: 1; opacity: 1; visibility: visible; transition: opacity 700ms ease; }
.psheet__img { position: relative; height: var(--stage-h); overflow: hidden; background: var(--flint); }
.psheet__img img { width: 100%; height: 100%; object-fit: cover; }
.psheet__img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(43, 48, 52, 0.92) 0%, rgba(43, 48, 52, 0.74) 36%, rgba(43, 48, 52, 0.34) 56%, rgba(43, 48, 52, 0) 74%);
}
.psheet__cap .tb { border-width: 0 0 1px; border-bottom-color: var(--line); }
.psheet__cap .tb__row { padding-inline: var(--gutter); grid-template-columns: 6.5em 1fr; }

.sheets__ctl { grid-area: ctl; position: relative; display: flex; align-items: stretch; min-height: var(--ctl-h); background: var(--chalk); border-bottom: 1px solid var(--line); font-family: var(--f-display); }
.sheets__count { flex: 1; display: grid; grid-template-columns: 6.5em auto; align-items: center; gap: var(--s3); margin: 0; padding: 0 var(--gutter); white-space: nowrap; }
.sheets__k { font-size: 13px; font-weight: 500; color: var(--slate); }
.sheets__v { font-size: 15px; font-weight: 600; }
.sheets__btn { display: grid; place-items: center; flex: none; width: var(--ctl-h); min-height: var(--ctl-h); padding: 0; background: transparent; border: 0; border-left: 1px solid var(--line); color: var(--flint); cursor: pointer; transition: background-color 160ms ease; }
.sheets__btn:focus-visible { outline-offset: -4px; }
.sheets__btn:active { background: var(--lime); }
.sheets__play .ico--play, .sheets__play.is-paused .ico--pause { display: none; }
.sheets__play.is-paused .ico--play { display: block; }
.sheets__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; opacity: 0; transition: opacity 300ms ease; }
.sheets.is-playing .sheets__bar { opacity: 1; }
.sheets__fill { display: block; height: 100%; background: var(--brick); transform-origin: left center; transform: scaleX(0); }
@media (hover: hover) {
  .sheets__btn:hover { background: var(--white); }
}

/* Laptop and up: text on the site grid, photo full height to the right edge of the screen */
@media (min-width: 1000px) {
  .hero { padding-bottom: 0; }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) clamp(420px, 46vw, 860px);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: ". stage" "head stage" "body stage" ". stage";
    column-gap: var(--s9);
    min-height: clamp(560px, calc(100svh - var(--hdr-h) - var(--pbar-h, 0px)), 900px);
    padding-left: max(var(--gutter), calc((100% - var(--max)) / 2));
  }
  .hero__head { grid-area: head; height: auto; display: block; padding: var(--s7) 0 0; pointer-events: auto; container-type: inline-size; }
  .hero__h { color: var(--flint); font-size: clamp(40px, 9.2cqi, 76px); max-width: none; }
  .hero__body { grid-area: body; padding: var(--s6) 0 var(--s7); }
  .sheets { display: block; position: relative; }
  .sheets__slides { position: absolute; inset: 0; grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); }
  .psheet__img { height: 100%; }
  .psheet__img::after { display: none; }
  .psheet__cap { position: absolute; z-index: 2; left: calc(-1 * var(--s9) + var(--s4)); bottom: calc(var(--s6) + var(--ctl-h)); width: 372px; }
  .psheet__cap .tb { border: 1.5px solid var(--flint); border-bottom: 0; box-shadow: 0 16px 40px rgba(43, 48, 52, 0.18); }
  .psheet__cap .tb__row { padding-inline: var(--s4); }
  .sheets__ctl { position: absolute; z-index: 3; left: calc(-1 * var(--s9) + var(--s4)); bottom: var(--s6); width: 372px; height: var(--ctl-h); min-height: 0; border: 1.5px solid var(--flint); border-top: 1px solid var(--line); box-shadow: 0 16px 40px rgba(43, 48, 52, 0.18); }
  .sheets__count { padding: 0 var(--s4); }
  .sheets__btn { min-height: 0; width: 48px; }
  .sheets__bar { left: 0; right: 0; bottom: 0; }
}

/* One orchestrated moment: the first photo uncovers upwards like a plotter drawing the sheet, then the title block draws in */
@media (prefers-reduced-motion: no-preference) {
  .psheet:first-child .psheet__img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--chalk); transform-origin: top center; animation: uncover 1000ms cubic-bezier(.65, 0, .15, 1) 120ms both; }
  .psheet.is-on .psheet__img img { animation: settle 1600ms cubic-bezier(.2, .7, .2, 1) both; }
  .psheet:first-child .tb--hero { animation: tb-in 700ms cubic-bezier(.2, .7, .2, 1) 700ms both; }
  .psheet:first-child .tb--hero .tb__row { animation: row-in 500ms ease both; }
  .psheet:first-child .tb--hero .tb__row:nth-child(1) { animation-delay: 850ms; }
  .psheet:first-child .tb--hero .tb__row:nth-child(2) { animation-delay: 950ms; }
  .psheet:first-child .tb--hero .tb__row:nth-child(3) { animation-delay: 1050ms; }
  .sheets__ctl { animation: row-in 500ms ease 1100ms both; }
}
@media (prefers-reduced-motion: reduce) {
  .psheet, .psheet.is-on { transition: none; }
}
@keyframes uncover { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@keyframes settle { from { scale: 1.045; } to { scale: 1; } }
@keyframes tb-in { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes row-in { from { opacity: 0; } to { opacity: 1; } }

/* Proof strip */
.proof { border-block: 1px solid var(--line); background: var(--white); }
.proof__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s5); }
.proof__list li:nth-child(2) { border-top: 0; }
.proof__list li { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s5) 0; font-family: var(--f-display); }
.proof__list li + li { border-top: 1px solid var(--lime); }
.proof__list strong { font-stretch: var(--wide); font-weight: 600; font-size: 18px; }
.proof__list span { font-size: 15px; color: var(--slate); }
.proof__list a { color: var(--brick); }
@media (min-width: 1000px) {
  .proof__list { grid-template-columns: repeat(4, 1fr); }
  .proof__list li { border-top: 0; padding-block: var(--s6); }
  .proof__list li + li { border-top: 0; border-left: 1px solid var(--lime); padding-left: var(--s6); }
}

/* Sections */
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: var(--sec-tight); }
.sec--panel { background: var(--lime); }
.sec--dark { background: var(--flint); color: var(--chalk); }
.sec--dark a:not(.btn) { color: var(--chalk); }
.sec__head { margin-bottom: var(--s7); max-width: 720px; }
.sec__head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s5); }
.sec__head--split > div { max-width: 640px; }
.sec__h { font-size: clamp(28px, 4vw, 44px); max-width: 20ch; }
.sec__h--sm { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: var(--s5); }
.sec__p { margin-top: var(--s4); font-size: clamp(17px, 1.6vw, 19px); }
.sec--dark .sec__p { color: var(--on-dark-2); }
.sec__h + .btn, .sec__p + .btn { margin-top: var(--s5); }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
.split .sec__h + .sec__p { margin-bottom: var(--s5); }
.split__b > .sec__h { margin-bottom: var(--s5); }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: var(--s9); align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .split__a { position: sticky; top: 112px; }
}

/* Services list on home */
.svcs { list-style: none; border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc__link { display: grid; grid-template-columns: 96px 1fr; gap: var(--s4); align-items: center; padding-block: var(--s5); text-decoration: none; color: var(--flint); transition: scale 140ms ease; }
.svc__link:active { scale: 0.982; opacity: 1; }
.svc__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--lime); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 400ms ease; }
.svc__h { font-size: clamp(20px, 2.4vw, 30px); }
.svc__p { margin: var(--s2) 0 0; color: var(--slate); font-size: 16px; }
.svc__more { display: inline-block; margin-top: var(--s3); font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--brick); }
@media (min-width: 700px) {
  .svc__link { grid-template-columns: 160px 1fr; gap: var(--s6); }
}
@media (min-width: 1000px) {
  .svc__link { grid-template-columns: 200px 1fr; gap: var(--s7); }
  .svc__p { font-size: 18px; }
}
@media (hover: hover) {
  .svc__link:hover .svc__img img { scale: 1.04; }
  .svc__link:hover .svc__h { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
}
.svcs__also { margin-top: var(--s6); font-family: var(--f-display); font-size: 16px; color: var(--slate); }
.svcs__also a { font-weight: 600; }

/* Project cards */
.pgrid { display: grid; gap: var(--s7) var(--s6); }
@media (min-width: 700px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pgrid { grid-template-columns: repeat(3, 1fr); } .pgrid--2 { grid-template-columns: 1fr 1fr; } }
.pcard { display: flex; flex-direction: column; }
.pcard__link { display: block; text-decoration: none; color: inherit; transition: scale 140ms ease; }
.pcard__link:active { scale: 0.982; opacity: 1; }
.pcard__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--flint-2); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 500ms ease; }
.pcard__h { margin-top: var(--s4); font-size: 22px; }
.pcard .tb { margin-top: var(--s3); }
@media (hover: hover) { .pcard__link:hover .pcard__img img { scale: 1.04; } .pcard__link:hover .pcard__h { text-decoration: underline; text-underline-offset: 5px; } }
.sec--dark .tb { background: transparent; border-color: rgba(242, 242, 237, 0.55); color: var(--chalk); }
.sec--dark .tb__row + .tb__row { border-top-color: rgba(242, 242, 237, 0.2); }
.sec--dark .tb__k { color: var(--on-dark-2); }
.sec--dark .tbc__tag { color: #6B4510; }

/* Reviews */
.rgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
@media (min-width: 1000px) { .rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); align-items: stretch; } }
.rgrid .review > figcaption { margin-top: auto; padding-top: var(--s2); }
.review { background: var(--white); border: 1px solid var(--line); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s4); }
@media (min-width: 768px) { .review { padding: var(--s6); } }
.review__pull { margin: 0; }
.review__pull p { font-family: var(--f-text); font-style: italic; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.35; max-width: 36ch; margin: 0; }
.review__more summary { font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--brick); min-height: 44px; display: inline-flex; align-items: center; }
.review__more[open] summary { margin-bottom: var(--s3); }
.review__body p { font-size: 16px; color: var(--flint); }
.review__by { margin: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); font-family: var(--f-display); font-size: 15px; }
.review__who { font-weight: 600; }
.review__src { color: var(--slate); }
.review--solo { max-width: 820px; }
.rlist { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .rlist { grid-template-columns: 1fr 1fr; align-items: start; } .rlist > :first-child { grid-row: span 2; } }

/* Process steps: a real sequence, so numbered. Laid as one straight course of bricks with mortar between. */
.steps { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.steps__item { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "n h" "n p"; column-gap: var(--s3); align-content: start; padding: var(--s5); background: var(--brick); color: var(--white); border-radius: 2px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.steps__item:nth-child(2) { background: #9A4430; }
.steps__item:nth-child(3) { background: #84331F; }
.steps__item:nth-child(4) { background: #94402B; }
.steps__item:nth-child(5) { background: #8A3726; }
.steps__n { grid-area: n; font-family: var(--f-display); font-stretch: var(--wide); font-weight: 700; font-size: 40px; line-height: 0.9; color: rgba(255, 255, 255, 0.45); font-variant-numeric: tabular-nums; }
.steps__h { grid-area: h; font-size: 20px; color: var(--white); margin-bottom: var(--s2); }
.steps__item p { grid-area: p; margin: 0; font-size: 16px; line-height: 1.55; color: var(--on-brick-2); }
@media (min-width: 1000px) {
  .steps__item { grid-template-columns: minmax(0, 1fr); grid-template-areas: "n" "h" "p"; padding: var(--s6) var(--s5) var(--s7); min-height: 320px; }
  .steps__n { font-size: 64px; margin-bottom: var(--s7); }
}

/* Towns */
.towns { list-style: none; margin-top: var(--s5); border-top: 1px solid var(--line); }
.towns li { border-bottom: 1px solid var(--line); }
.towns a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s1) var(--s4); min-height: 52px; padding-block: var(--s3); text-decoration: none; color: var(--flint); font-family: var(--f-display); }
.towns__t { font-weight: 600; font-size: 18px; }
.towns__c { color: var(--slate); font-size: 14px; }
@media (hover: hover) { .towns a:hover .towns__t { color: var(--brick); } }

.duo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.duo img { width: 100%; height: 100%; object-fit: cover; }

/* Closing call to action */
.cta { background: var(--flint); color: var(--chalk); padding-block: var(--sec); }
.cta__h { font-size: clamp(30px, 5vw, 56px); max-width: 22ch; }
.cta__p { margin-top: var(--s4); font-size: clamp(18px, 1.8vw, 20px); color: var(--on-dark-2); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s6); margin-top: var(--s6); }
.cta__tel { font-family: var(--f-display); font-weight: 600; font-size: 18px; color: var(--chalk); text-decoration: none; border-bottom: 1px solid rgba(242, 242, 237, 0.5); padding-block: var(--s2); white-space: nowrap; }
@media (max-width: 599px) { .cta__actions .btn { flex: 1 1 100%; } }

/* Footer */
.ftr { background-color: #23272A; color: var(--on-dark-2); padding-block: var(--s8) var(--s6); font-family: var(--f-display); font-size: 15px; }
.ftr a { color: var(--chalk); text-decoration: none; }
@media (hover: hover) { .ftr a:hover { text-decoration: underline; } }
.ftr__grid { display: grid; gap: var(--s7) var(--s6); }
@media (min-width: 700px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.ftr__logo { display: block; width: 112px; height: 96px; margin-bottom: var(--s5); }
.ftr__name { font-stretch: var(--wide); font-weight: 600; font-size: 20px; color: var(--chalk); margin-bottom: var(--s4); }
.ftr__addr, .ftr__contact { line-height: 1.7; }
.ftr__mail { overflow-wrap: anywhere; }
.ftr__h { font-size: 14px; font-weight: 600; color: var(--chalk); font-stretch: 100%; margin-bottom: var(--s4); }
.ftr__list { list-style: none; display: grid; gap: var(--s1); }
.ftr__list a { display: inline-flex; align-items: center; min-height: 36px; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s6); margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid rgba(242, 242, 237, 0.15); font-size: 14px; }
.ftr__base p { margin: 0; }

/* Page heads */
.phead { padding-block: var(--s7) var(--s8); border-bottom: 1px solid var(--line); }
.phead__h { font-size: clamp(34px, 6vw, 60px); line-height: 1.05; max-width: 18ch; }
.phead__lead { margin-top: var(--s5); font-size: clamp(18px, 1.8vw, 21px); max-width: 60ch; }
.phead__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
@media (max-width: 599px) { .phead__actions .btn { flex: 1 1 100%; } }
.phead__grid { display: grid; gap: var(--s7); }
@media (min-width: 1000px) { .phead__grid { grid-template-columns: 7fr 5fr; gap: var(--s8); align-items: end; } .phead { padding-top: var(--s8); } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); font-family: var(--f-display); font-size: 14px; color: var(--slate); }
.crumbs li + li::before { content: '/'; margin-right: var(--s2); color: var(--line); }
.crumbs a { color: var(--slate); }

.sgal { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.sgal__i { aspect-ratio: 3 / 4; overflow: hidden; background: var(--lime); }
.sgal__i img { width: 100%; height: 100%; object-fit: cover; }
.sgal__i--0 { grid-row: span 2; aspect-ratio: auto; }
.sgal__i--1, .sgal__i--2 { aspect-ratio: 4 / 3; }

.about__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--lime); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__cap { margin-top: var(--s3); font-family: var(--f-display); font-size: 14px; color: var(--slate); }
@media (min-width: 1000px) { .phead__grid--about { align-items: center; } .about__fig { max-width: 420px; justify-self: end; width: 100%; } }
.tb--about { margin-block: var(--s6); }
.about__cap { font-weight: 500; }
/* Our story: the founders' own words from the old site, set large as the page's focal point */
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s8); }
.story__txt .sec__h { margin-bottom: var(--s5); }
.story__big { font-family: var(--f-display); font-stretch: var(--wide); font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.18; letter-spacing: -0.01em; max-width: 26ch; margin-bottom: var(--s6); color: var(--flint); }
.story__txt p:not(.story__big) { max-width: 62ch; margin-bottom: var(--s4); font-size: 18px; }
.story__people { display: grid; gap: var(--s5); align-content: start; }
.person { margin: 0; }
.person__h { font-family: var(--f-display); font-stretch: var(--wide); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); margin-bottom: var(--s3); display: flex; align-items: center; gap: var(--s3); }
.person__h::before { content: ""; flex: none; width: 28px; height: 12px; background: var(--brick); border-radius: 1px; }
.tb--person .tb__row { grid-template-columns: 7em 1fr; }
.tb--person .tb__v a { font-variant-numeric: tabular-nums; }
@media (min-width: 1000px) {
  .story__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s9); align-items: start; }
  .story__people { padding-top: var(--s9); }
}

/* Article layout with side panel */
.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s8); }
@media (min-width: 1000px) {
  .article { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s9); align-items: start; }
  .article__side { position: sticky; top: 112px; }
}
.prose h2 { font-size: clamp(24px, 2.8vw, 32px); margin-top: var(--s8); margin-bottom: var(--s4); max-width: 22ch; }
.prose > h2:first-child { margin-top: 0; }
.prose p { margin-bottom: var(--s4); }
.prose ul.ticks, .ticks { list-style: none; display: grid; gap: var(--s3); margin-bottom: var(--s5); }
.ticks li { position: relative; padding-left: 32px; max-width: 64ch; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px; border-left: 2px solid var(--beech); border-bottom: 2px solid var(--beech); rotate: -45deg; }
.src { font-family: var(--f-display); font-size: 14px; color: var(--slate); }
/* Town pages: one photo with its own caption inside the article */
.tfig { margin: var(--s7) 0; }
.tfig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.tfig figcaption { margin-top: var(--s3); font-family: var(--f-display); font-size: 15px; line-height: 1.5; color: var(--slate); max-width: 60ch; }
.srcs { margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line); font-family: var(--f-display); font-size: 14px; color: var(--slate); }
.srcs__h { font-size: 16px !important; margin: 0 0 var(--s3) !important; font-stretch: 100%; }
.srcs ul { list-style: none; display: grid; gap: var(--s2); margin-bottom: var(--s4); }
.srcs a { color: var(--slate); overflow-wrap: anywhere; }

.panel { background: var(--white); border: 1.5px solid var(--flint); padding: var(--s5); }
@media (min-width: 768px) { .panel { padding: var(--s6); } }
.panel__h { font-size: 22px; max-width: 20ch; }
.panel__p { margin-top: var(--s3); font-size: 16px; color: var(--slate); }
.panel__actions { margin-top: var(--s5); }
.panel__actions .btn { width: 100%; }
.panel__calls { margin-top: var(--s4); border-top: 1px solid var(--lime); padding-top: var(--s2); display: grid; gap: var(--s1); }
.panel__calls .call__row { padding-inline: 0; }

.faq { border-top: 1px solid var(--line); margin-bottom: var(--s5); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 56px; padding-block: var(--s3); font-family: var(--f-display); font-weight: 600; font-size: 18px; }
.faq__q::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--flint); border-bottom: 2px solid var(--flint); rotate: 45deg; translate: 0 -3px; transition: rotate 160ms ease; }
.faq__item[open] .faq__q::after { rotate: -135deg; translate: 0 3px; }
.faq__a { padding-bottom: var(--s4); }

/* Project page */
.sheet-head { display: grid; gap: var(--s7); }
@media (min-width: 1000px) { .sheet-head { grid-template-columns: 7fr 5fr; gap: var(--s8); align-items: end; } }
.tb--sheet .tb__row { grid-template-columns: 6.5em 1fr; }
.gal { list-style: none; columns: 1; column-gap: var(--s5); }
@media (min-width: 700px) { .gal { columns: 2; } }
@media (min-width: 1100px) { .gal { columns: 3; } }
.gal__i { break-inside: avoid; margin-bottom: var(--s5); background: var(--lime); }
.gal__i img { width: 100%; }

/* Indexes */
.sidxs { list-style: none; display: grid; gap: var(--s7) var(--s6); }
@media (min-width: 800px) { .sidxs { grid-template-columns: 1fr 1fr; } }
.sidx__link { display: block; text-decoration: none; color: var(--flint); transition: scale 140ms ease; }
.sidx__link:active { scale: 0.982; opacity: 1; }
.sidx__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--lime); }
.sidx__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 500ms ease; }
.sidx__h { margin-top: var(--s5); font-size: clamp(22px, 2.6vw, 30px); }
.sidx__p { margin-top: var(--s2); color: var(--slate); }
@media (hover: hover) { .sidx__link:hover .sidx__img img { scale: 1.04; } .sidx__link:hover .sidx__h { text-decoration: underline; text-underline-offset: 6px; } }

.aidxs { list-style: none; border-top: 1px solid var(--line); }
.aidx { border-bottom: 1px solid var(--line); }
.aidx__link { display: grid; grid-template-columns: 1fr; gap: var(--s1); padding-block: var(--s5); text-decoration: none; color: var(--flint); font-family: var(--f-display); transition: scale 140ms ease; }
.aidx__link:active { scale: 0.982; opacity: 1; }
.aidx__t { font-stretch: var(--wide); font-weight: 600; font-size: clamp(22px, 3vw, 30px); }
.aidx__c { color: var(--slate); font-size: 15px; }
.aidx__n { color: var(--beech); font-size: 15px; font-weight: 600; }
@media (min-width: 800px) { .aidx__link { grid-template-columns: 2fr 2fr 1fr; align-items: baseline; gap: var(--s5); } .aidx__n { text-align: right; } }
@media (hover: hover) { .aidx__link:hover .aidx__t { color: var(--brick); } }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s3); }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4); border: 1px solid var(--flint); border-radius: 999px; font-family: var(--f-display); font-weight: 500; font-size: 15px; color: var(--flint); text-decoration: none; transition: scale 120ms ease; }
.chips a:active { scale: 0.955; opacity: 1; }
@media (hover: hover) { .chips a:hover { background: var(--flint); color: var(--chalk); } }
.chips--lg { margin-top: var(--s6); }
.phead--404 { border-bottom: 0; padding-block: var(--s9); }

/* Costs table */
.tablewrap { overflow-x: auto; margin-bottom: var(--s5); border: 1px solid var(--line); background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-family: var(--f-display); font-size: 15px; min-width: 560px; }
.table th, .table td { text-align: left; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--lime); vertical-align: top; }
.table thead th { font-weight: 600; font-size: 14px; color: var(--slate); background: var(--chalk); }
.table tbody th { font-weight: 600; }
.table td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.table a { color: var(--flint); }
@media (max-width: 599px) {
  .tablewrap { overflow: visible; border: 0; background: none; }
  .table { min-width: 0; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table tr { background: var(--white); border: 1px solid var(--line); margin-bottom: var(--s3); padding: var(--s3) var(--s4); }
  .table th, .table td { padding: var(--s1) 0; border: 0; }
  .table td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 500; color: var(--slate); }
  .table td:nth-child(2) { white-space: normal; }
}

/* Contact */
.callbar { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: var(--s6); max-width: 720px; }
.callbar > :last-child { grid-column: 1 / -1; }
.callbar .call__row { border: 1px solid var(--line); background: var(--white); flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--s1); padding: var(--s3) var(--s4); }
.callbar .call__num { white-space: nowrap; }
@media (min-width: 800px) { .callbar { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 840px; } .callbar > :last-child { grid-column: auto; } }
.enq { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
@media (min-width: 1000px) { .enq { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s9); align-items: start; } .enq__sheet { position: sticky; top: 112px; } }
.enq__form { background: var(--white); border: 1px solid var(--line); padding: var(--s5); }
@media (min-width: 768px) { .enq__form { padding: var(--s7); } }
.enq__progress { margin-bottom: var(--s6); }
.enq__bar { height: 4px; background: var(--lime); }
.enq__fill { display: block; height: 100%; width: 20%; background: var(--brick); transition: width 300ms ease; }
.enq__count { margin: var(--s3) 0 0; font-family: var(--f-display); font-size: 14px; color: var(--slate); }
.step { border: 0; margin: 0 0 var(--s6); padding: 0; min-width: 0; }
.step__h { font-family: var(--f-display); font-stretch: var(--wide); font-weight: 600; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.15; padding: 0; margin-bottom: var(--s5); }
.step__hint { margin-top: calc(-1 * var(--s3)); color: var(--slate); font-size: 16px; }
.js .step { display: none; }
.js .step.is-on { display: block; }
.tiles { display: grid; gap: var(--s3); }
@media (min-width: 600px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tiles--row { grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tile__l { display: flex; align-items: center; min-height: 56px; padding: var(--s3) var(--s4); border: 1.5px solid var(--line); border-radius: 4px; font-family: var(--f-display); font-weight: 500; font-size: 16px; line-height: 1.3; background: var(--chalk); transition: border-color 140ms ease, background-color 140ms ease, scale 120ms ease; }
.tiles--row .tile__l { justify-content: center; text-align: center; }
.tile input:checked + .tile__l { border-color: var(--brick); background: #F6ECE8; box-shadow: inset 0 0 0 1px var(--brick); }
.tile input:focus-visible + .tile__l { outline: 3px solid var(--brick); outline-offset: 2px; }
.tile:active .tile__l { scale: 0.982; }
@media (hover: hover) { .tile:hover .tile__l { border-color: var(--flint); } }
.field { margin-bottom: var(--s5); }
.field__l { display: block; margin-bottom: var(--s2); font-family: var(--f-display); font-weight: 600; font-size: 16px; }
.field__opt { font-weight: 400; color: var(--slate); margin-left: var(--s2); }
.field__i { display: block; width: 100%; min-height: 52px; padding: var(--s3) var(--s4); font-size: 17px; font-family: var(--f-display); background: var(--chalk); border: 1.5px solid var(--slate); border-radius: 4px; }
.field__i--area { min-height: 120px; resize: vertical; line-height: 1.5; }
.field__i:focus-visible { outline: 3px solid var(--brick); outline-offset: 1px; border-color: var(--flint); }
.field__i[aria-invalid="true"] { border-color: var(--brick); }
.field__err { margin: var(--s2) 0 0; color: var(--brick); font-family: var(--f-display); font-weight: 600; font-size: 15px; }
.field__note { font-size: 15px; color: var(--slate); }
.enq__nav { display: flex; gap: var(--s3); justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--lime); padding-top: var(--s5); }
.enq__nav .btn { min-width: 140px; }
.enq__next, .enq__send { margin-left: auto; }
@media (max-width: 599px) { .enq__nav .btn { flex: 1 1 0; min-width: 0; } }
/* Sending: the spam check sits above the buttons and only shows if it needs a click; errors sit under it */
.ts-box:not(:empty) { margin-bottom: var(--s4); }
.enq__err { margin: 0 0 var(--s4); padding: var(--s3) var(--s4); border-left: 3px solid var(--brick); background: var(--white); font-size: 16px; line-height: 1.5; }
.enq__err:focus { outline: none; }
.enq__err a { color: var(--flint); font-weight: 600; }
/* A field only bots fill in */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* The ?count=off and ?count=on note */
.count-note { position: fixed; left: 50%; bottom: calc(var(--s5) + var(--dock-h)); translate: -50% 0; z-index: 90; margin: 0; max-width: calc(100vw - 48px); padding: var(--s3) var(--s4); background: var(--flint); color: var(--chalk); font-family: var(--f-display); font-size: 15px; border-radius: 2px; }
.enq__done { padding-top: var(--s2); }
.enq__done:focus { outline: none; }
.enq__done-h { font-size: clamp(24px, 3vw, 32px); margin-bottom: var(--s4); max-width: 22ch; }
.enq__preview { margin-top: var(--s5); padding: var(--s3) var(--s4); background: #F3E3C3; color: #6B4510; font-family: var(--f-display); font-size: 15px; border-radius: 2px; }
.enq__sheet-h { font-family: var(--f-display); font-weight: 600; font-size: 16px; margin-bottom: var(--s3); }
.enq__sheet-p { margin-top: var(--s4); font-size: 15px; color: var(--slate); }
.tb--live .tb__v { transition: background-color 600ms ease; }
.tb--live .tb__v.is-new { background: #F6ECE8; }
.addr { font-family: var(--f-display); font-size: 15px; color: var(--slate); }

/* Brick motif, taken from the logo: line-drawn stretcher bond */
/* Runs to the right edge of the screen, so the bond never stops short of it */
.wall { position: absolute; top: 0; bottom: 0; right: 0; width: calc(min(70%, 720px) + max(var(--gutter), calc((100% - var(--max)) / 2))); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='44'%3E%3Cpath d='M0 .75H120M0 22.75H120M.75 0V22M60.75 0V22M30.75 22V44M90.75 22V44' fill='none' stroke='%23F2F2ED' stroke-opacity='.16' stroke-width='1.5'/%3E%3C/svg%3E") right bottom / 120px 44px repeat;
  -webkit-mask-image: linear-gradient(to top left, #000 18%, transparent 72%); mask-image: linear-gradient(to top left, #000 18%, transparent 72%); }
.cta { position: relative; overflow: hidden; }
.cta__in { position: relative; z-index: 1; }
.wall__b { --r: 0px; --c: 0; --w: 60px; --d: 0ms; position: absolute; right: calc(var(--r) + 2px); bottom: calc(var(--c) * 22px + 2px); width: calc(var(--w) - 4px); height: 18px; background: var(--brick); border-radius: 1px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.wall__b:nth-child(1) { --r: 150px; --c: 0; --d: 0ms; }
.wall__b:nth-child(2) { --r: 90px; --c: 0; --d: 90ms; background: #9A4430; }
.wall__b:nth-child(3) { --r: 30px; --c: 0; --d: 180ms; background: #7E3020; }
.wall__b:nth-child(4) { --r: 0px; --c: 0; --w: 30px; --d: 270ms; }
.wall__b:nth-child(5) { --r: 120px; --c: 1; --d: 380ms; background: #7E3020; }
.wall__b:nth-child(6) { --r: 60px; --c: 1; --d: 470ms; }
.wall__b:nth-child(7) { --r: 0px; --c: 1; --d: 560ms; background: #9A4430; }
.wall__b:nth-child(8) { --r: 30px; --c: 2; --d: 670ms; background: #9A4430; }
.wall__b:nth-child(9) { --r: 0px; --c: 2; --w: 30px; --d: 760ms; background: #7E3020; }
.wall__b:nth-child(10) { --r: 0px; --c: 3; --d: 870ms; }
@media (max-width: 767px) {
  .cta { padding-bottom: calc(var(--sec) + 72px); }
  .wall { width: 100%; }
}
/* Footer starts with a coping course of brick */
.ftr { padding-top: calc(44px + var(--s7)); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='44'%3E%3Cpath d='M0 .75H120M0 22.75H120M.75 0V22M60.75 0V22M30.75 22V44M90.75 22V44' fill='none' stroke='%23F2F2ED' stroke-opacity='.1' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-position: left top; }
/* The homepage already ends on the brick wall, so its footer skips the coping course to avoid two bonds that don't line up */
.is-home .ftr { background-image: none; padding-top: var(--s8); }
::selection { background: var(--brick); color: var(--white); }

/* Motion. Gentle, and only in answer to what the visitor does or as content scrolls into view. */
/* Call popovers grow from their button and shrink back into it */
details[open] > .callmenu__pop { transform-origin: top right; animation: pop-in 200ms var(--ease-out); }
details[open] > .dock__pop { transform-origin: bottom left; animation: pop-in 220ms var(--ease-out); }
.is-closing > .callmenu__pop, .is-closing > .dock__pop { animation: pop-out 140ms ease-in forwards; }
.menu-open .dock { translate: 0 110%; }
/* Content further down the page: added by script only for things below the first screen */
.rv { transition: opacity 480ms var(--ease-out) var(--rv-d, 0ms), translate 560ms var(--ease-out) var(--rv-d, 0ms); }
.rv:not(.is-in) { opacity: 0; translate: 0 14px; }
.rv--photo:not(.is-in) { opacity: 1; translate: none; }
.rv--photo img { transition: clip-path 820ms cubic-bezier(.65, 0, .15, 1) var(--rv-d, 0ms); }
.rv--photo:not(.is-in) img { clip-path: inset(100% 0 0 0); }
.rv--photo.is-in img { clip-path: inset(0 0 0 0); animation: settle 1300ms var(--ease-out) var(--rv-d, 0ms) backwards; }
.rv--tb:not(.is-in), .rv--wall:not(.is-in) { opacity: 1; translate: none; }
.rv--tb .tb__row { transition: opacity 380ms ease calc(var(--rv-d, 0ms) + var(--row-d, 0ms)); }
.rv--tb .tb__row:nth-child(2) { --row-d: 90ms; }
.rv--tb .tb__row:nth-child(3) { --row-d: 180ms; }
.rv--tb .tb__row:nth-child(4) { --row-d: 270ms; }
.rv--tb .tb__row:nth-child(5) { --row-d: 360ms; }
.rv--tb:not(.is-in) .tb__row { opacity: 0; }
/* Each step is laid like a brick, one after another */
.rv--brick { transition: opacity 300ms ease var(--rv-d, 0ms), translate 560ms var(--ease-lay) var(--rv-d, 0ms); }
.rv--brick:not(.is-in) { opacity: 0; translate: 0 -18px; }
.wall__b { transition: opacity 240ms ease var(--d), translate 420ms var(--ease-lay) var(--d); }
.rv--wall:not(.is-in) .wall__b { opacity: 0; translate: 0 -12px; }
/* Booking form: each step comes in from the direction of travel */
.enq__form { overflow-x: clip; }
.step.enter-fwd { animation: step-fwd 280ms var(--ease-out); }
.step.enter-back { animation: step-back 280ms var(--ease-out); }
.enq__done:not([hidden]) { animation: row-rise 420ms var(--ease-out); }
/* FAQs and full reviews open smoothly where the browser can animate to auto height */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__item::details-content, .review__more::details-content { block-size: 0; overflow-y: clip; opacity: 0; transition: block-size 320ms var(--ease-out), opacity 260ms ease, content-visibility 320ms allow-discrete; }
  .faq__item[open]::details-content, .review__more[open]::details-content { block-size: auto; opacity: 1; }
}
/* Page to page: a soft crossfade where supported */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; animation-timing-function: ease; }
}
@keyframes row-rise { from { opacity: 0; translate: 0 8px; } }
@keyframes pop-in { from { opacity: 0; scale: 0.94; } }
@keyframes pop-out { to { opacity: 0; scale: 0.96; } }
@keyframes step-fwd { from { opacity: 0; translate: 16px 0; } }
@keyframes step-back { from { opacity: 0; translate: -16px 0; } }
@media print { .rv, .rv * { opacity: 1 !important; translate: none !important; clip-path: none !important; } .wall, .scrim, .dock { display: none !important; } }

/* Reduced motion: still versions, no press scaling */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .btn:active, .callmenu__btn:active, .menubtn:active, .dock__btn:active, .svc__link:active, .pcard__link:active, .sidx__link:active, .aidx__link:active, .chips a:active, .tile:active .tile__l { scale: none; }
}

/* Touch devices: no hover effects left behind after a tap */
@media (hover: none) {
  .svc__link:hover .svc__img img, .pcard__link:hover .pcard__img img, .sidx__link:hover .sidx__img img { scale: none; }
}

/* Livelier pass: brick as a surface, bigger photography, one hands-on build section and a drawn area map */
:root { --on-brick-2: #F3D9D1; }
.sec__h { font-size: clamp(32px, 5.2vw, 60px); line-height: 1.04; max-width: 18ch; }
.sec__h--sm { font-size: clamp(22px, 2.6vw, 28px); }

/* Proof strip becomes a brick course under the hero */
.proof { background: var(--brick); color: var(--white); border: 0; }
.proof__list li + li { border-top-color: rgba(255, 255, 255, 0.22); }
.proof__list strong { font-size: clamp(19px, 1.8vw, 22px); }
.proof__list span { color: var(--on-brick-2); }
.proof__list a { color: var(--white); }
.proof :focus-visible, .sec--brick :focus-visible { outline-color: var(--chalk); }
@media (min-width: 1000px) { .proof__list li + li { border-left-color: rgba(255, 255, 255, 0.22); } }

/* What we build: four photo tiles with the service set on the photo */
.svts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s3); }
@media (min-width: 700px) { .svts { gap: var(--s6) var(--s5); } }
@media (min-width: 1000px) { .svts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.svt__link { display: block; text-decoration: none; color: var(--flint); transition: scale 140ms ease; }
.svt__link:active { scale: 0.982; opacity: 1; }
.svt__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--flint-2); }
.svt__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 700ms var(--ease-out); }
.svt__img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(35, 39, 42, 0.86) 0%, rgba(35, 39, 42, 0.5) 30%, rgba(35, 39, 42, 0) 58%); }
.svt__h { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: var(--s4) var(--s3) var(--s3); color: var(--white); font-size: clamp(17px, 2vw, 24px); line-height: 1.12; background: linear-gradient(var(--brick), var(--brick)) var(--s3) calc(100% - 4px) / 0 4px no-repeat; transition: background-size 360ms var(--ease-out); }
@media (min-width: 700px) { .svt__h { padding: var(--s5) var(--s4) var(--s4); background-position: var(--s4) calc(100% - 6px); } }
.svt__p { margin: var(--s3) 0 0; font-size: 15px; line-height: 1.5; color: var(--slate); }
@media (min-width: 1000px) { .svt__p { font-size: 16px; } }
@media (hover: hover) {
  .svt__link:hover .svt__img img { scale: 1.06; }
  .svt__link:hover .svt__h { background-size: 48px 4px; }
}

/* From footings to finished */
.build__grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage"; gap: var(--s7); }
@media (min-width: 1000px) { .build__grid { grid-template-columns: 480px minmax(0, 1fr); grid-template-areas: "stage head"; gap: var(--s9); align-items: center; } }
.build__head { grid-area: head; }
.build__stage { grid-area: stage; min-width: 0; }
.build__hint { margin-top: var(--s5); font-family: var(--f-display); font-size: 15px; color: var(--on-dark-2); }
.build__more { margin-top: var(--s5); }
.build__frames { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: var(--s3); }
.build__f { scroll-snap-align: start; min-width: 0; }
.build__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--flint-2); }
.build__img img { width: 100%; height: 100%; object-fit: cover; }
.build__cap { display: grid; gap: var(--s1); padding-top: var(--s4); font-family: var(--f-display); }
.build__k { font-size: 13px; color: var(--on-dark-2); }
.build__name { font-stretch: var(--wide); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; color: var(--chalk); }
.build__d { font-family: var(--f-text); font-size: 17px; color: var(--on-dark-2); }
/* With script: one stage at a time, moved by the course of bricks */
.build__stage.is-live .build__frames { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-auto-columns: auto; overflow: visible; padding-bottom: 0; }
.build__stage.is-live .build__f { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 420ms ease, visibility 0s linear 420ms; }
.build__stage.is-live .build__f.is-on { opacity: 1; visibility: visible; transition: opacity 420ms ease; }
.build__stage.is-live .build__f.is-on .build__img img { animation: settle 1100ms var(--ease-out); }
.build__ctl { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s5); }
.build__step { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; border: 1.5px solid rgba(242, 242, 237, 0.5); border-radius: 2px; color: var(--chalk); cursor: pointer; transition: background-color 160ms ease, scale 120ms ease; }
.build__step:active { scale: 0.94; }
.build__step:disabled { opacity: 0.35; cursor: default; }
.build__course { flex: 1; min-width: 0; display: flex; gap: 4px; touch-action: pan-y; cursor: pointer; }
.build__brick { position: relative; isolation: isolate; flex: 1 1 0; min-width: 0; height: 44px; padding: 0; display: grid; place-items: center; background: none; border: 0; color: var(--on-dark-2); font-family: var(--f-display); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; cursor: pointer; transition: color 200ms ease, translate 300ms var(--ease-lay); }
.build__brick::before { content: ""; position: absolute; inset: 9px 0; z-index: -1; border: 1.5px solid rgba(242, 242, 237, 0.42); border-radius: 2px; transition: background-color 200ms ease, border-color 200ms ease; }
.build__brick.is-laid { color: var(--white); }
.build__brick.is-laid::before { background: var(--brick); border-color: var(--brick); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.build__brick.is-laid:nth-child(even)::before { background: #9A4430; border-color: #9A4430; }
.build__brick.is-now { translate: 0 -5px; }
@media (min-width: 1000px) {
  .build__ctl { margin-top: var(--s6); }
  .build__step { width: 52px; height: 52px; }
  .build__brick { height: 52px; font-size: 16px; }
  .build__brick::before { inset: 10px 0; }
}
.build__brick.is-now::before { border-color: var(--chalk); }
@media (hover: hover) {
  .build__step:hover:not(:disabled) { background: rgba(242, 242, 237, 0.1); }
  .build__brick:not(.is-laid):hover::before { border-color: var(--chalk); }
}

/* Recent projects: one large job beside two smaller ones */
.pcard__img--3x4 { aspect-ratio: 3 / 4; }
.pcard__img--4x3 { aspect-ratio: 4 / 3; }
.pcard__img--4x5 { aspect-ratio: 4 / 5; }
.pgrid--lead { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) {
  .pgrid--lead { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .pgrid--lead .pcard--lead { grid-row: span 2; }
}
.pcard--lead .pcard__h { font-size: clamp(24px, 2.6vw, 32px); }

/* Reviews on brick, led by one large quote */
.sec--brick { background: var(--brick); color: var(--white); }
.sec--brick a:not(.btn) { color: var(--white); }
.sec--brick .review { background: transparent; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.3); padding: var(--s5) 0 0; }
.sec--brick .review__pull p { color: var(--white); }
.sec--brick .review__more summary { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.sec--brick .review__body p { color: #F7E9E4; }
.sec--brick .review__src { color: var(--on-brick-2); }
.sec--brick .review--lead { border-top: 0; padding: 0; margin-bottom: var(--s8); }
.review--lead .review__pull p { font-size: clamp(27px, 4vw, 50px); line-height: 1.16; max-width: 26ch; }
.review--lead .review__by { font-size: 16px; }
.rgrid--2 { gap: var(--s6); }
@media (min-width: 1000px) { .rgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s8); } }

/* Cost range beside the process */

/* Where we work: the area drawn like a site plan */
.where__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
@media (min-width: 1000px) { .where__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s9); align-items: center; } }
.amap { margin: 0; min-width: 0; }
.amap__svg { display: block; width: 100%; height: auto; background: #F4F2EB; }
.amap__frame { fill: none; stroke: var(--flint); stroke-width: 1.5; }
.amap__north path { fill: var(--flint); }
.amap__north text, .amap__scale text { font-family: var(--f-display); font-weight: 600; font-size: 13px; fill: var(--flint); }
.amap__scale rect { fill: #F4F2EB; fill-opacity: 0.85; }
.amap__scale path { fill: none; stroke: var(--flint); stroke-width: 2; }
/* Neighbouring towns, for orientation */
.amap__ctx circle { fill: var(--slate); }
.amap__ctx text { font-family: var(--f-display); font-weight: 500; font-size: 12px; fill: var(--slate); paint-order: stroke; stroke: #F4F2EB; stroke-width: 3.5px; stroke-linejoin: round; }
/* County names and the Chilterns, in the italic a printed map would use */
.amap__w { font-family: var(--f-text); font-style: italic; font-size: 13px; letter-spacing: 0.02em; paint-order: stroke; stroke: #F4F2EB; stroke-width: 3px; stroke-linejoin: round; }
.amap__w--county { fill: #6E767B; }
.amap__w--aonb { fill: #56663F; }
/* Road numbers */
.amap__rd rect { stroke-width: 1; }
.amap__rd text { font-family: var(--f-display); font-weight: 700; font-size: 10.5px; letter-spacing: 0.02em; }
.amap__rd--m rect { fill: var(--flint); stroke: var(--flint); }
.amap__rd--m text { fill: var(--white); }
.amap__rd--a rect { fill: var(--white); stroke: #A75C46; }
.amap__rd--a text { fill: #8A4533; }
/* The towns we cover */
.amap__town { cursor: pointer; }
.amap__dot, .amap__base { transform-box: fill-box; transform-origin: center; transition: scale 220ms var(--ease-lay), fill 160ms ease; }
.amap__dot { fill: var(--flint); stroke: var(--white); stroke-width: 2; }
.amap__base { fill: var(--brick); stroke: var(--white); stroke-width: 2; }
.amap__here { fill: rgba(143, 58, 40, 0.16); stroke: var(--brick); stroke-width: 2; }
.amap__lab { font-family: var(--f-display); font-stretch: 105%; font-weight: 700; font-size: 17px; fill: var(--flint); paint-order: stroke; stroke: #F4F2EB; stroke-width: 4.5px; stroke-linejoin: round; transition: fill 160ms ease; }
.is-base .amap__lab, .is-here .amap__lab { fill: var(--brick); }
.is-here .amap__dot { fill: var(--brick); }
.amap__town.is-hot .amap__dot, .amap__town.is-hot .amap__base { scale: 1.4; fill: var(--brick); }
.amap__town.is-hot .amap__lab { fill: var(--brick); }
.amap__cap { margin-top: var(--s3); font-family: var(--f-display); font-size: 14px; color: var(--slate); }
.amap__cap a { color: inherit; }
/* On a phone the map is about 340px wide: keep the towns we cover, drop the small print */
@media (max-width: 599px) {
  .amap__ctx text, .amap__w, .amap__rd--a { display: none; }
  .amap__lab { font-size: 19px; }
}
.towns a.is-hot .towns__t, .aidx__link.is-hot .aidx__t { color: var(--brick); }
.phead__grid--map .amap { width: 100%; }
@media (min-width: 1000px) { .phead__grid--map { align-items: center; } }
/* The map draws itself once: the towns we cover appear, nearest to Tring first */
.rv--map:not(.is-in) { opacity: 1; translate: none; }
.rv--map .amap__town { transition: opacity 420ms ease calc(var(--rv-d, 0ms) + var(--td, 0ms)); }
.rv--map:not(.is-in) .amap__town { opacity: 0; }
.amap__town--2 { --td: 260ms; } .amap__town--3 { --td: 360ms; } .amap__town--4 { --td: 460ms; } .amap__town--5 { --td: 560ms; } .amap__town--6 { --td: 660ms; } .amap__town--7 { --td: 760ms; }
.amap__town--1 { --td: 160ms; }

/* A wall of finished work in stretcher bond, running past the edges of the screen */
.pwall { position: relative; overflow: hidden; overflow: clip; display: grid; gap: 6px; padding-block: 6px; background: var(--flint); }
.pwall__row { display: flex; gap: 6px; width: max-content; }
.pwall__row--a { margin-left: -60px; }
.pwall__row--b { margin-left: -138px; }
.pwall__i { flex: none; width: 150px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--flint-2); }
.pwall__i img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) {
  .pwall__i { width: 240px; }
  .pwall__row--a { margin-left: -90px; }
  .pwall__row--b { margin-left: -213px; }
}
.pwall__cta { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; background: radial-gradient(ellipse at center, rgba(35, 39, 42, 0.55) 0%, rgba(35, 39, 42, 0) 60%); }
.pwall__cta .btn { pointer-events: auto; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pwall__row--a { animation: drift-l linear both; animation-timeline: view(); animation-range: cover; }
    .pwall__row--b { animation: drift-r linear both; animation-timeline: view(); animation-range: cover; }
  }
}
@keyframes drift-l { from { translate: 0 0; } to { translate: -160px 0; } }
@keyframes drift-r { from { translate: -160px 0; } to { translate: 0 0; } }

/* Google rating: five stars drawn in brick, always with the rating in words beside them */
.stars { flex: none; display: block; width: 88px; height: 16px; fill: var(--brick); }
.grating { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); max-width: none; margin: var(--s4) 0 0; font-family: var(--f-display); font-size: 15px; line-height: 1.4; color: var(--flint); }
.grating__t { font-weight: 600; }
.grating__a { color: inherit; }
.grating--hero { margin: 0 0 var(--s4); }
.grating--on-brick, .grating--on-brick .grating__a { color: var(--white); }
.grating--on-brick .stars, .proof .stars { fill: var(--white); }
.stars--proof { width: 77px; height: 14px; margin-bottom: var(--s2); }

/* Cookie table: the middle column is a description, not a price */
.table--cookies td:nth-child(2) { white-space: normal; font-weight: 400; }
.table--cookies tbody th { font-variant-numeric: normal; white-space: nowrap; }

/* Preview only: screenshot review page at /_preview */
.shots { display: grid; gap: var(--s6); margin-top: var(--s6); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.shot__cap { font-weight: 600; margin-bottom: var(--s3); }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line, #d9d4cc); }
