/* Redworth Building Services — style.css
   Materials palette: brick / mortar / soot. Type: Bricolage Grotesque (display), Hanken Grotesk (text),
   Martian Mono (labels, measurements). Sections are "courses": they stack with mortar-joint rules between them. */

:root {
  --brick: #A63A2E;
  --brick-deep: #7B2A21;
  --brick-light: #C5573F;
  --burnt: #5A211C;
  --mortar: #E8E5DE;
  --render: #F5F3EF;
  --soot: #1B1917;
  --ink: #221E1C;
  --ash: #6B665F;
  --dust: #A9A39A;
  --line: #CFCBC3;
  --concrete: #B9B6AF;
  --hivis: #F2B705;

  --font-display: "Bricolage Grotesque", "Segoe UI", Arial, sans-serif;
  --font-text: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-ui: 180ms;
  --dur-reveal: 900ms;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --sec-pad: clamp(72px, 10vw, 136px);

  --bg: var(--mortar);
  --fg: var(--ink);
  --muted: var(--ash);
  --rule: var(--line);
  --accent: var(--brick);
  --surface: var(--render);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--mortar);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
::selection { background: var(--brick); color: var(--render); }

/* ---------- type scale ---------- */
.h-xl { font-size: clamp(3.6rem, 9.4vw, 8.4rem); line-height: 0.92; letter-spacing: -0.04em; }
.h-l { font-size: clamp(2.3rem, 4.8vw, 4.4rem); line-height: 0.98; letter-spacing: -0.03em; }
.h-m { font-size: clamp(1.55rem, 2.5vw, 2.1rem); line-height: 1.08; letter-spacing: -0.02em; }
.h-s { font-size: 1.2rem; line-height: 1.2; letter-spacing: -0.01em; font-weight: 700; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.45; color: var(--muted); max-width: 36em; text-wrap: pretty; }
.body { max-width: 62ch; text-wrap: pretty; }
.body + .body { margin-top: 1em; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin: 0 0 1.4rem;
}
.eyebrow::before { content: ""; width: 1.4em; height: 0.6em; background: var(--accent); flex: none; }
.sec-head { max-width: 900px; }
.sec-head .lede { margin-top: 1.4rem; }

/* ---------- sections as courses ---------- */
.sec { background: var(--bg); color: var(--fg); position: relative; padding: var(--sec-pad) 0; }
.sec + .sec { border-top: 2px solid var(--rule); }
.sec[data-theme="render"] { --bg: var(--render); --surface: #fff; }
.sec[data-theme="red"] {
  --bg: var(--brick); --fg: var(--render); --muted: #EBD3CB; --rule: rgba(255, 255, 255, 0.24);
  --accent: var(--render); --surface: var(--brick-deep);
}
.sec[data-theme="dark"] {
  --bg: var(--soot); --fg: var(--render); --muted: var(--dust); --rule: rgba(255, 255, 255, 0.14);
  --accent: var(--brick-light); --surface: #26221F;
}
.sec[data-theme="red"] ::selection { background: var(--soot); }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.45em;
  font: 600 0.95rem/1 var(--font-text);
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur-ui) var(--ease-out), color var(--dur-ui) ease, border-color var(--dur-ui) ease, background-color var(--dur-ui) ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--btn-hover);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 240ms var(--ease-out);
  z-index: -1;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--brick); color: var(--render); --btn-hover: var(--brick-deep); }
.btn--ghost { border-color: currentColor; --btn-hover: rgba(0, 0, 0, 0.07); }
.sec[data-theme="red"] .btn--primary { background: var(--soot); --btn-hover: #000; }
.sec[data-theme="red"] .btn--ghost, .sec[data-theme="dark"] .btn--ghost { --btn-hover: rgba(255, 255, 255, 0.12); }
.btn__arrow { transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: scaleY(1); }
  .btn:hover .btn__arrow { transform: translateX(4px); }
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 240ms ease, box-shadow 240ms ease;
}
.site-header.is-scrolled { background: rgba(232, 229, 222, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 32px; height: 32px; flex: none; transition: transform 320ms var(--ease-out); }
.brand__mark-svg { width: 100%; height: 100%; }
.brand__text { line-height: 1; }
.brand__word { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.015em; display: block; }
.brand__sub { display: block; font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ash); margin-top: 4px; }
@media (hover: hover) and (pointer: fine) { .brand:hover .brand__mark { transform: translateY(-2px); } }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { text-decoration: none; font-weight: 500; font-size: 0.95rem; position: relative; padding: 4px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brick);
  transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out);
}
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav__link:hover::after { transform: scaleX(1); } }
.nav-toggle {
  display: none; z-index: 70; background: none; border: 1.5px solid var(--ink); border-radius: 3px; padding: 9px 14px;
  font: 600 0.85rem/1 var(--font-text); color: var(--ink); cursor: pointer; letter-spacing: 0.02em;
}
.nav__close-hint { display: none; }
@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: 60; background: var(--soot); color: var(--render);
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 0 var(--gutter);
    transform: translateY(-102%); transition: transform 460ms var(--ease-in-out); visibility: hidden;
  }
  body.menu-open .nav { transform: none; visibility: visible; }
  body.menu-open .nav-toggle { color: var(--render); border-color: var(--render); }
  body.menu-open { overflow: hidden; }
  .nav__link { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; letter-spacing: -0.03em; }
  .nav__link::after { display: none; }
  .nav .btn { margin-top: 18px; font-size: 1.05rem; }
  .nav__close-hint { display: block; position: absolute; left: var(--gutter); bottom: 32px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dust); }
}

/* ---------- hero ---------- */
.hero { padding: calc(var(--header-h) + 7vh) 0 0; min-height: 100svh; display: flex; flex-direction: column; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  flex: 1;
  padding-bottom: 6vh;
}
.hero__title { margin: 0.3em 0 0.35em; }
.hline { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hline__in { display: block; }
html.js:not(.static) .hline__in { transform: translateY(110%); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2.2rem; }
.hero__wall { position: relative; justify-self: end; width: min(100%, 560px); }
.hero__wall .gable { width: 100%; height: auto; }
html.js:not(.static) .hero .gable .bk { opacity: 0; }
.hero__caption { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash); margin-top: 14px; display: flex; gap: 0.8em; align-items: center; }
.hero__caption::before { content: ""; width: 1.4em; height: 0.6em; background: var(--brick); flex: none; }
.hoarding { background: var(--brick); color: var(--render); overflow: hidden; border-top: 3px solid var(--brick-deep); }
.hoarding__track { display: flex; align-items: center; width: max-content; animation: marquee 34s linear infinite; }
.hoarding__track span { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 15px 0; white-space: nowrap; }
.hoarding__track i { display: block; width: 16px; height: 8px; background: var(--render); margin: 0 30px; opacity: 0.9; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- what we do ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); margin-top: 56px; list-style: none; padding: 0; }
.svc { background: var(--render); padding: 26px; display: flex; flex-direction: column; gap: 18px; transition: transform 320ms var(--ease-out); position: relative; }
@media (hover: hover) and (pointer: fine) { .svc:hover { transform: translateY(-4px); } }
.svc__art { background: var(--mortar); padding: 10px 12px 6px; border-radius: 2px; overflow: hidden; }
.scene { width: 100%; height: auto; }
.svc .eyebrow { margin: 4px 0 0; }
.svc__title { margin-top: -4px; }
.svc__text { color: var(--ash); text-wrap: pretty; }
.svc__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.svc__list li, .lists li, .checklist li { padding-left: 1.6em; position: relative; }
.svc__list li::before, .lists li::before, .checklist li::before, .subnav a::before, .foot__brick::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 1em; height: 0.45em; background: var(--brick);
}
.svc__list li { color: var(--ash); font-size: 0.95rem; }
.svc__more { margin-top: auto; padding-top: 8px; font-weight: 600; text-decoration: none; display: inline-flex; gap: 0.5em; align-items: center; align-self: flex-start; }
.svc__more .btn__arrow { transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .svc__more:hover { color: var(--brick); } .svc__more:hover .btn__arrow { transform: translateX(4px); } }

/* ---------- about (red) ---------- */
.about { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='78' height='28'%3E%3Cg fill='rgba(0,0,0,0.13)'%3E%3Crect x='36' y='0' width='3' height='14'/%3E%3Crect x='75' y='0' width='3' height='14'/%3E%3Crect x='0' y='11' width='78' height='3'/%3E%3Crect x='16.5' y='14' width='3' height='14'/%3E%3Crect x='55.5' y='14' width='3' height='14'/%3E%3Crect x='0' y='25' width='78' height='3'/%3E%3C/g%3E%3C/svg%3E"); background-size: 78px 28px; }
.about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about .lede { color: var(--render); }
.about .body { color: var(--muted); margin-top: 1.6rem; }
.about .body strong { color: var(--render); }
.principles { list-style: none; padding: 0; margin: 2.6rem 0 0; border-top: 1px solid var(--rule); }
.principles li { padding: 18px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 2.4em 1fr; gap: 14px; }
.principles li span:first-child { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--muted); padding-top: 0.45em; }
.principles strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 4px; color: var(--render); }
.principles p { color: var(--muted); font-size: 0.95rem; }
.facts { margin: 0; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.02em; border-top: 1px solid var(--rule); background: rgba(0, 0, 0, 0.12); padding: 0 22px; }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.64rem; padding-top: 0.3em; }
.facts dd { margin: 0; line-height: 1.5; }
.facts__title { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding: 16px 0 12px; display: flex; justify-content: space-between; gap: 12px; }

/* ---------- process: stretcher bond ---------- */
.bond { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin: 56px 0 0; list-style: none; padding: 0; counter-reset: stage; }
.bond__b { background: var(--brick); color: var(--render); padding: 22px 24px 24px; min-height: 196px; display: flex; flex-direction: column; gap: 10px; border-radius: 2px; position: relative; overflow: hidden; }
.bond__b:nth-child(1) { grid-column: 1 / span 4; grid-row: 2; }
.bond__b:nth-child(2) { grid-column: 3 / span 4; grid-row: 1; }
.bond__b:nth-child(3) { grid-column: 5 / span 4; grid-row: 2; }
.bond__b:nth-child(4) { grid-column: 7 / span 4; grid-row: 1; }
.bond__b:nth-child(5) { grid-column: 9 / span 4; grid-row: 2; }
.bond__half { background: var(--concrete); border-radius: 2px; opacity: 0.45; min-height: 0; }
.bond__half:nth-child(6) { grid-column: 1 / span 2; grid-row: 1; }
.bond__half:nth-child(7) { grid-column: 11 / span 2; grid-row: 1; }
.bond__n { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: #EBD3CB; }
.bond__n::before { counter-increment: stage; content: "Stage " counter(stage); }
.bond__b h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.015em; }
.bond__b p { font-size: 0.93rem; color: #F3E0DA; text-wrap: pretty; }
.bond__b::after { content: ""; position: absolute; right: -10px; bottom: -14px; width: 46px; height: 22px; background: rgba(0, 0, 0, 0.14); border-radius: 2px; }

/* ---------- where we work (dark) ---------- */
.areas__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.boroughs { columns: 2; column-gap: 32px; list-style: none; padding: 0; margin: 2rem 0 0; font-size: 0.95rem; color: var(--muted); }
.boroughs li { padding: 7px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }
.areas__note { margin-top: 1.4rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dust); }
.london { width: 100%; height: auto; }

/* ---------- cta ---------- */
.cta__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta__phone { font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 700; text-decoration: none; letter-spacing: -0.02em; line-height: 1; }
.cta__phone small { display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); margin-bottom: 8px; font-weight: 400; }
@media (hover: hover) and (pointer: fine) { .cta__phone:hover { color: var(--brick); } }

/* ---------- footer: the foundation ---------- */
.site-footer { background: var(--soot); color: var(--render); overflow: hidden; position: relative; border-top: 6px solid var(--brick); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding: 72px 0 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.foot__brand .brand { color: var(--render); }
.foot__brand .brand__sub { color: var(--dust); }
.foot__brand p { color: var(--dust); font-size: 0.92rem; margin-top: 18px; max-width: 30em; }
.foot h4 { font-family: var(--font-mono); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dust); margin-bottom: 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; color: var(--render); opacity: 0.85; transition: opacity var(--dur-ui) ease; }
.foot address { font-style: normal; color: var(--render); opacity: 0.85; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; } }
.legal { font-size: 0.8rem; color: var(--dust); padding: 24px 0 0; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; line-height: 1.6; }
.legal p { max-width: 70ch; }
.foundation {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 17.8vw, 15.6rem); line-height: 0.78; letter-spacing: -0.045em;
  color: var(--brick); opacity: 0.55; margin: 34px 0 -0.3em; user-select: none; white-space: nowrap; pointer-events: none;
}

/* ---------- storey rod (scroll gauge, desktop) ---------- */
.rod { display: none; }
@media (min-width: 1180px) {
  html.js:not(.static) .rod { display: block; position: fixed; left: 26px; top: 50%; transform: translateY(-50%); height: 50vh; width: 24px; z-index: 40; pointer-events: none; --p: 0; }
  .rod__bar { position: absolute; left: 9px; top: 0; bottom: 0; width: 3px; background: rgba(128, 124, 118, 0.35); }
  .rod__ticks { position: absolute; left: 12px; top: 0; bottom: 0; width: 7px; background-image: repeating-linear-gradient(to top, rgba(128, 124, 118, 0.75) 0 1px, transparent 1px 14px); }
  .rod__fill { position: absolute; left: 9px; bottom: 0; width: 3px; height: 100%; background: var(--brick); transform: scaleY(var(--p)); transform-origin: bottom; }
  .rod__head { position: absolute; left: 5px; width: 11px; height: 6px; background: var(--hivis); bottom: calc(var(--p) * 100% - 3px); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18); }
  .rod__label { position: absolute; right: calc(100% - 4px); bottom: 0; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ash); white-space: nowrap; }
}

/* ---------- brick veil (page transition) ---------- */
.veil { position: fixed; inset: 0; z-index: 100; pointer-events: none; visibility: hidden; overflow: hidden; }
.veil.is-on, html.veil-in .veil { visibility: visible; }
html.veil-in .veil:empty { background: var(--brick); }
.veil__row { display: flex; height: var(--th); }
.veil__row:nth-child(even) { margin-left: calc(var(--tw) * -0.5); }
.veil__t { flex: none; width: var(--tw); height: 100%; background: var(--brick); box-shadow: inset 0 0 0 1.5px var(--brick-deep); transform: scaleY(0); transform-origin: bottom; }
.veil__t[data-t="1"] { background: var(--brick-deep); }
.veil__t[data-t="2"] { background: var(--brick-light); }
.veil__t[data-t="3"] { background: var(--burnt); }

/* ---------- reveal system ---------- */
html.js:not(.static) .rv { opacity: 0; transform: translateY(22px); }
html.js:not(.static) .rv.is-in { opacity: 1; transform: none; transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
html.js:not(.static) .rv-clip { clip-path: inset(100% 0 0 0); }
html.js:not(.static) .rv-clip.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-out); }
html.js:not(.static) .rv-lines .hline__in { transform: translateY(110%); }
html.js:not(.static) .rv-lines.is-in .hline__in { transform: none; transition: transform 1s var(--ease-out); }
html.js:not(.static) .rv-lines.is-in .hline:nth-child(2) .hline__in { transition-delay: 0.1s; }
html.js:not(.static) .rv-lines.is-in .hline:nth-child(3) .hline__in { transition-delay: 0.2s; }

/* ---------- inner pages ---------- */
.page-hero { padding: calc(var(--header-h) + 9vh) 0 7vh; }
.page-hero .lede { margin-top: 1.6rem; }
.page-hero .sec-head { max-width: none; }
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(232, 229, 222, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 15px 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; position: relative; padding-left: 1.7em; color: var(--ash); transition: color var(--dur-ui) ease; }
.subnav a::before { top: 0.5em; opacity: 0.35; transition: opacity var(--dur-ui) ease; }
.subnav a.is-active, .subnav a:hover { color: var(--ink); }
.subnav a.is-active::before, .subnav a:hover::before { opacity: 1; }
.svc-sec { padding: clamp(64px, 9vw, 128px) 0; border-bottom: 2px solid var(--line); scroll-margin-top: calc(var(--header-h) + 52px); }
.svc-sec:last-of-type { border-bottom: 0; }
.svc-sec__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.svc-sec--flip .svc-sec__art { order: -1; }
.svc-sec__copy .lede { margin-top: 1.4rem; color: var(--ink); }
.svc-sec__copy .body { margin-top: 1.4rem; color: var(--ash); }
.drawing-panel { background: var(--render); border: 2px solid var(--line); padding: 16px; position: sticky; top: calc(var(--header-h) + 76px); }
.drawing { width: 100%; height: auto; }
.drawing-panel figcaption { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 2.2rem; }
.lists h3, .checklist h3 { font-family: var(--font-mono); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); margin-bottom: 10px; }
.lists ul, .checklist ul { list-style: none; padding: 0; margin: 0; }
.lists li { padding-top: 9px; padding-bottom: 9px; border-bottom: 1px solid var(--line); font-size: 0.95rem; text-wrap: pretty; }
.lists--notes li::before { background: var(--concrete); }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); margin-top: 56px; list-style: none; padding: 0; }
.quote-grid li { background: var(--render); padding: 28px 26px 30px; }
.quote-grid h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.015em; margin: 10px 0 12px; }
.quote-grid p { color: var(--ash); font-size: 0.95rem; text-wrap: pretty; }
.honest { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; padding: 28px 0 0; border-top: 2px solid var(--brick); }
.honest h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.015em; }
.honest p { color: var(--ash); text-wrap: pretty; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.ccards { display: grid; gap: 2px; background: var(--line); border: 2px solid var(--line); list-style: none; padding: 0; margin: 0; }
.ccard { background: var(--render); padding: 22px 24px 24px; }
.ccard .eyebrow { margin-bottom: 6px; }
.ccard a, .ccard address { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.45rem); letter-spacing: -0.015em; text-decoration: none; display: inline-block; overflow-wrap: anywhere; font-style: normal; line-height: 1.15; }
.ccard p { color: var(--ash); font-size: 0.92rem; margin-top: 8px; }
@media (hover: hover) and (pointer: fine) { .ccard a:hover { color: var(--brick); } }
.checklist { margin-top: 36px; }
.checklist li { padding-top: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; background: var(--render); border: 2px solid var(--line); padding: clamp(22px, 3vw, 36px); }
.form__head { grid-column: 1 / -1; }
.form__head h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.form__head p { color: var(--ash); margin-top: 6px; font-size: 0.95rem; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid var(--line); background: var(--mortar); border-radius: 3px; color: var(--ink); width: 100%;
  transition: border-color var(--dur-ui) ease, background-color var(--dur-ui) ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brick); background: #fff; outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.form__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__note { font-size: 0.85rem; color: var(--ash); max-width: 40ch; }
.form__sent { grid-column: 1 / -1; display: none; padding: 14px 16px; background: var(--mortar); border-left: 3px solid var(--brick); font-size: 0.95rem; }
.form[data-sent] .form__sent { display: block; }
.map-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.map-panel { background: var(--render); border: 2px solid var(--line); padding: 16px; }
.haymarket { width: 100%; height: auto; }
.map-grid address { font-style: normal; margin-top: 1.6rem; line-height: 1.6; }
.map-grid address strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: left; padding: calc(var(--header-h) + 40px) 0 80px; }
.nf__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.nf .hero__ctas { margin-top: 2rem; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero__grid, .about__grid, .areas__grid, .cta__grid, .svc-sec__grid, .contact-grid, .map-grid, .nf__grid { grid-template-columns: 1fr; }
  .hero__grid { align-items: start; }
  .hero__wall { justify-self: start; width: min(100%, 460px); }
  .svc-grid, .quote-grid { grid-template-columns: 1fr; }
  .svc-sec--flip .svc-sec__art { order: 0; }
  .drawing-panel { position: static; }
  .cta__actions { align-items: flex-start; }
  .honest { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 820px) {
  .bond { grid-template-columns: 1fr; gap: 6px; }
  .bond__b:nth-child(n) { grid-column: auto; grid-row: auto; min-height: 0; }
  .bond__half { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .h-xl { font-size: clamp(3.1rem, 17vw, 4.6rem); }
  .lists, .form { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .boroughs { columns: 2; column-gap: 20px; font-size: 0.9rem; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .foot__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
  .legal { flex-direction: column; gap: 10px; }
  .hero { padding-top: calc(var(--header-h) + 3vh); }
  .hero__grid { padding-bottom: 32px; }
  .foundation { margin-top: 24px; }
}

/* ---------- motion preferences / QA static mode ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.static) .rv, html:not(.static) .rv-clip, html:not(.static) .hline__in, html:not(.static) .hero .gable .bk { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .hoarding__track { animation: none; }
  .btn, .btn::before, .svc, .nav { transition: none; }
  .veil { display: none; }
  .rod { display: none !important; }
}
html.static .hoarding__track { animation: none; }
html.static .veil { display: none; }
