/* Vector Homes, vectorhomes.co.uk. "The Drawing Set". Candidate A. */

/* ---------- 1. Tokens ---------- */
:root {
  --lemon: #e8fc94; --teal: #072429; --forest: #053b40; --powder: #c9e3f0; --offwhite: #fafcff;
  --teal-90: #293435; --teal-70: #586162; --teal-50: #888e8e;
  --forest-90: #2d4749; --forest-70: #5c7071; --forest-50: #8a9a99;
  --teal-rgb: 7 36 41; --offwhite-rgb: 250 252 255;

  --bg: var(--offwhite); --fg: var(--teal); --fg-2: var(--teal-70); --fg-3: var(--teal-50);
  --rule: rgb(var(--teal-rgb) / 0.18); --rule-strong: rgb(var(--teal-rgb) / 0.60);
  --tick: var(--forest-50); --eyebrow: var(--fg-2); --link: var(--teal); --focus: var(--teal);
  --cell-bg: transparent; --plate: var(--powder);
  --btn-bg: var(--teal); --btn-fg: var(--offwhite); --btn-hover: var(--forest);
  --btn2-border: var(--teal); --btn2-hover: var(--powder); --chip-border: var(--rule-strong);
  --hl-bg: var(--lemon); --hl-fg: var(--teal); --dot: var(--lemon); --dot-ring: var(--teal);
  --pattern: var(--powder); --marque: rgb(var(--teal-rgb) / 0.10); --field-input: var(--rule-strong);
  --accent: var(--lemon); --fill: rgb(var(--teal-rgb) / 0.08);

  --font: "TT Hoves Pro", "Geist", system-ui, sans-serif;
  --fs-display: clamp(2.5rem, 1.2rem + 4.6vw, 5.5rem);
  --fs-h2: clamp(2rem, 1.25rem + 2.4vw, 3.5rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --fs-h4: 1.125rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --fs-body: 1.0625rem; --fs-small: 0.875rem; --fs-label: 0.75rem;
  --fs-figure: clamp(2.5rem, 1.6rem + 3vw, 4.5rem);
  --fs-nav: 0.9375rem;
  --lh-display: 1.02; --lh-h2: 1.08; --lh-h3: 1.25; --lh-h4: 1.3; --lh-lead: 1.45; --lh-body: 1.6; --lh-small: 1.5; --lh-label: 1;
  --ls-label: 0.08em;
  --measure-lead: 34rem; --measure-body: 38rem; --measure-small: 44rem;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-6: 24px; --s-8: 32px; --s-12: 48px; --s-16: 64px; --s-24: 96px; --s-32: 128px; --s-40: 160px;

  --container: 1320px; --gutter: clamp(16px, 2vw, 32px); --margin: clamp(16px, 5vw, 80px);
  --nav-h: 72px; --section-y: clamp(80px, 10vw, 160px); --head-gap: 64px; --row-gap: 48px; --cell-pad: 24px;
  --radius: 2px; --hairline: 1px; --shadow: none;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1); --t-fast: 150ms; --t-base: 300ms; --t-reveal: 500ms; --t-draw: 700ms; --stagger: 60ms;
}
[data-field="powder"] {
  --bg: var(--powder); --fg-2: var(--teal-90); --rule: rgb(var(--teal-rgb) / 0.22); --rule-strong: rgb(var(--teal-rgb) / 0.60);
  --cell-bg: var(--offwhite); --plate: var(--offwhite); --btn2-hover: var(--offwhite); --pattern: var(--offwhite); --marque: rgb(var(--teal-rgb) / 0.10);
}
[data-field="teal"] {
  --bg: var(--teal); --fg: var(--offwhite); --fg-2: rgb(var(--offwhite-rgb) / 0.72); --fg-3: rgb(var(--offwhite-rgb) / 0.40);
  --rule: rgb(var(--offwhite-rgb) / 0.18); --rule-strong: rgb(var(--offwhite-rgb) / 0.60); --tick: rgb(var(--offwhite-rgb) / 0.40);
  --eyebrow: var(--powder); --link: var(--powder); --focus: var(--lemon); --cell-bg: transparent; --plate: var(--forest-90);
  --btn-bg: var(--lemon); --btn-fg: var(--teal); --btn-hover: var(--lemon);
  --btn2-border: rgb(var(--offwhite-rgb) / 0.40); --btn2-hover: rgb(var(--offwhite-rgb) / 0.06); --chip-border: var(--rule-strong);
  --dot-ring: var(--teal); --pattern: var(--forest); --marque: var(--forest); --field-input: var(--rule-strong);
  --fill: rgb(var(--offwhite-rgb) / 0.10);
}
[data-field="forest"] {
  --bg: var(--forest); --fg: var(--offwhite); --fg-2: rgb(var(--offwhite-rgb) / 0.72); --rule: rgb(var(--offwhite-rgb) / 0.18); --rule-strong: rgb(var(--offwhite-rgb) / 0.60);
  --eyebrow: var(--powder); --link: var(--powder); --focus: var(--lemon); --btn-bg: var(--lemon); --btn-fg: var(--teal); --btn-hover: var(--lemon);
  --btn2-border: rgb(var(--offwhite-rgb) / 0.40); --pattern: var(--teal); --marque: var(--teal);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--offwhite); color-scheme: light; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh-body); font-feature-settings: "kern", "liga", "calt"; font-variant-numeric: tabular-nums lining-nums; counter-reset: sheet 0; overflow-x: clip; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--rule-strong); transition: text-decoration-color var(--t-fast) var(--ease); }
a:hover { text-decoration-thickness: 2px; text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
p + p { margin-top: 1em; }
strong, b { font-weight: 500; }
s.not { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: var(--fg); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; top: -100px; left: 16px; z-index: 100; background: var(--teal); color: var(--offwhite); padding: 12px 16px; text-decoration: none; }
.skip:focus { top: 16px; }

/* ---------- 3. Type roles ---------- */
.display { font-size: var(--fs-display); font-weight: 300; line-height: var(--lh-display); letter-spacing: 0; max-width: 12ch; text-wrap: balance; }
.h2 { font-size: var(--fs-h2); font-weight: 300; line-height: var(--lh-h2); letter-spacing: 0; max-width: 22ch; text-wrap: balance; }
.h3 { font-size: var(--fs-h3); font-weight: 400; line-height: var(--lh-h3); max-width: 28ch; }
.h4 { font-size: var(--fs-h4); font-weight: 500; line-height: var(--lh-h4); max-width: 36ch; }
.lead { font-size: var(--fs-lead); font-weight: 300; line-height: var(--lh-lead); max-width: var(--measure-lead); }
.body { max-width: var(--measure-body); }
.small { font-size: var(--fs-small); line-height: var(--lh-small); max-width: var(--measure-small); }
.label { font-size: var(--fs-label); font-weight: 500; line-height: var(--lh-label); letter-spacing: var(--ls-label); text-transform: uppercase; }
.figure { font-size: var(--fs-figure); font-weight: 300; line-height: 1; letter-spacing: 0; }
.figure .unit { font-size: 0.55em; font-weight: 400; vertical-align: 0.28em; }
.fg2 { color: var(--fg-2); }
.lemon { color: var(--lemon); }
.mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); } .mt-6 { margin-top: var(--s-6); } .mt-8 { margin-top: var(--s-8); } .mt-12 { margin-top: var(--s-12); } .mt-16 { margin-top: var(--s-16); }

/* ---------- 4. Layout ---------- */
.container { max-width: calc(var(--container) + 2 * var(--margin)); margin-inline: auto; padding-inline: var(--margin); width: 100%; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.c1-4 { grid-column: 1 / 5; } .c1-5 { grid-column: 1 / 6; } .c1-6 { grid-column: 1 / 7; } .c1-7 { grid-column: 1 / 8; } .c1-8 { grid-column: 1 / 9; } .c1-12 { grid-column: 1 / 13; }
.c5-12 { grid-column: 5 / 13; } .c6-12 { grid-column: 6 / 13; } .c7-12 { grid-column: 7 / 13; } .c8-12 { grid-column: 8 / 13; } .c9-12 { grid-column: 9 / 13; }
.row { margin-top: var(--row-gap); }
.content { margin-top: var(--head-gap); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Sheets */
.sheet { background: var(--bg); color: var(--fg); position: relative; overflow: hidden; padding-block: var(--section-y); counter-increment: sheet; scroll-margin-top: 80px; }
.sheet > .container { position: relative; z-index: 1; }
.sheet__head { display: flex; align-items: baseline; gap: 16px; border-top: 1px solid var(--rule); padding-top: 16px; color: var(--eyebrow); }
.sheet__no::before { content: counter(sheet, decimal-leading-zero); }
.sheet__ref { margin-left: auto; color: var(--fg-2); }
.sheet__ref::before { content: "Sheet " counter(sheet, decimal-leading-zero) " / 12"; }
.sheet__ref--extra { margin-left: 0; }
.sheet__h2 { margin-top: 32px; }
.sheet__lead { margin-top: 24px; }
.sheet__body { margin-top: 24px; }
.wm { position: absolute; top: 24px; right: var(--margin); font-size: var(--fs-display); font-weight: 300; line-height: 1; color: var(--rule); z-index: 0; pointer-events: none; user-select: none; }

/* Pattern and marque */
.pattern { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-color: var(--pattern);
  -webkit-mask-image: url(assets/brand/pattern-tile.svg), var(--feather); mask-image: url(assets/brand/pattern-tile.svg), var(--feather);
  -webkit-mask-size: 51px 98px, 100% 100%; mask-size: 51px 98px, 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat;
  -webkit-mask-composite: source-in; mask-composite: intersect; }
@supports not ((mask-composite: intersect) or (-webkit-mask-composite: source-in)) { .pattern { display: none; } }
.pattern--hero { left: 45%; --feather: linear-gradient(270deg, var(--teal) 0%, transparent 42%); -webkit-mask-size: 71px 137px, 100% 100%; mask-size: 71px 137px, 100% 100%; }
.pattern--sw { --feather: linear-gradient(45deg, var(--teal) 0%, transparent 38%); opacity: 0.6; }
.pattern--sprint { --feather: linear-gradient(35deg, var(--teal) 0%, transparent 36%); }
.pattern--ne { --feather: radial-gradient(50% 50% at 100% 0%, var(--teal) 0%, transparent 100%); }
.pattern--foot { --feather: linear-gradient(0deg, var(--teal) 0%, transparent 55%); }
.marque { position: absolute; z-index: 0; pointer-events: none; height: auto; }
.marque--light { opacity: 0.10; }

/* Cells */
.cells { display: grid; gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.cells > * { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--cell-bg); padding: var(--cell-pad); min-width: 0; }
.cells--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cells--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cells--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cells--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cell { border: 1px solid var(--rule); background: var(--cell-bg); padding: var(--cell-pad); }
.cell__ref { color: var(--fg-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: var(--radius); border: 1px solid transparent; font: 500 0.9375rem/1 var(--font); letter-spacing: 0; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.btn svg { width: 12px; height: 12px; flex: none; transition: transform var(--t-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--down:hover svg { transform: translateY(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.btn--primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn--secondary { background: transparent; color: var(--fg); border-color: var(--btn2-border); }
.btn--secondary:hover { background: var(--btn2-hover); border-color: var(--fg); }
[data-field="teal"] .btn--secondary:hover { border-color: var(--offwhite); }
.btn--submit { font-weight: 600; }
.btn:disabled { opacity: 0.4; pointer-events: none; }
.tlink { display: inline-flex; align-items: center; gap: 8px; color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--rule-strong); font-size: var(--fs-body); }
.tlink svg { width: 12px; height: 12px; transition: transform var(--t-fast) var(--ease); }
.tlink:hover svg { transform: translateX(3px); }
.tlink--down:hover svg { transform: translateY(3px); }

/* Chips, badges, glyphs */
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border: 1px solid var(--chip-border); border-radius: var(--radius); white-space: nowrap; font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--ls-label); text-transform: uppercase; line-height: 1; }
.chip--hl { background: var(--hl-bg); color: var(--hl-fg); border-color: transparent; }
.badge { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--rule-strong); flex: none; font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.02em; line-height: 1; }
.badge--s { width: 16px; height: 16px; font-size: 11px; letter-spacing: 0; }
.hl { background: var(--hl-bg); color: var(--hl-fg); padding: 2px 6px; border-radius: var(--radius); }
.sq { display: inline-block; width: 10px; height: 10px; border: 1px solid var(--fg); vertical-align: middle; }
.sq--solid { background: var(--fg); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 1px var(--dot-ring); }

/* Hairline lists and schedules */
.hlist > li { display: grid; grid-template-columns: 40px 1fr; gap: 0 8px; padding: 12px 0; border-top: 1px solid var(--rule); }
.hlist > li:last-child { border-bottom: 1px solid var(--rule); }
.hlist .idx { color: var(--fg-2); padding-top: 0.25em; }
.hlist--tight > li { grid-template-columns: 1fr; padding: 10px 0; }
.sched > li { display: grid; grid-template-columns: 32px 1fr; padding: 16px 0; border-top: 1px solid var(--rule); align-items: start; }
.sched > li:last-child { border-bottom: 1px solid var(--rule); }
.sched .sq { margin-top: 0.45em; }
.sched--badge > li { grid-template-columns: 44px 1fr; padding: 16px 0; }

/* Tables */
table { border-collapse: collapse; width: 100%; }
caption { text-align: left; color: var(--fg-2); padding-bottom: 16px; }
th { text-align: left; font-weight: 500; border-bottom: 1px solid var(--rule-strong); padding: 0 16px 12px 0; vertical-align: bottom; }
td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th.num, td.num { text-align: right; }
td.fee { font-weight: 500; white-space: nowrap; }
.tbl--rules th + th, .tbl--rules td + td { padding-left: 16px; }
.tbl--rules th:not(:last-child), .tbl--rules td:not(:last-child) { border-right: 1px solid var(--rule); }
.tbl--rules th:last-child, .tbl--rules td:last-child { padding-right: 0; }
.bar { display: block; width: 56px; height: 8px; margin-bottom: 8px; }

/* Figures, frames, drawings */
figcaption { color: var(--fg-2); margin-top: 12px; }
.frame { border: 1px solid var(--rule); padding: 12px; background: var(--cell-bg); }
.frame img { width: 100%; height: auto; }
.dwg { color: var(--fg); }
.dwg svg { width: 100%; height: auto; font-family: var(--font); }
.dwg text { font-family: var(--font); }
.figlabel { margin-bottom: 12px; }

/* Reveals and line-draw */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); transition-delay: calc(min(var(--i, 0), 5) * var(--stagger)); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-draw] { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); transition: stroke-dashoffset var(--t-draw) var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
.js .is-in [data-draw], .js [data-draw].is-in { stroke-dashoffset: 0; }

/* ---------- 5. Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgb(var(--offwhite-rgb) / 0.96); border-bottom: 1px solid var(--rule); transition: height var(--t-base) var(--ease); }
.nav.is-scrolled { height: 60px; }
.nav > .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__logo { display: block; margin-right: auto; }
.nav__logo img { width: 106px; height: 34px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--fg); font-size: var(--fs-nav); line-height: 1; text-decoration: none; padding: 6px 0; text-underline-offset: 6px; text-decoration-thickness: 1px; text-decoration-color: var(--fg); white-space: nowrap; }
.nav__links a:hover, .nav__links a.is-active { text-decoration-line: underline; }
.nav__cta { height: 40px; }
.nav__cta .short { display: none; }
.nav__menu { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; padding: 0; cursor: pointer; color: var(--fg); margin-right: -12px; }
.nav__menu svg { width: 20px; height: 20px; }
.menu { position: fixed; inset: 0; z-index: 60; background: var(--teal); color: var(--offwhite); overflow: auto; transform: translateX(100%); visibility: hidden; transition: transform 250ms var(--ease), visibility 0s 250ms; }
.menu.is-open { transform: none; visibility: visible; transition: transform 250ms var(--ease), visibility 0s; }
.menu .container { position: relative; z-index: 1; min-height: 100%; display: flex; flex-direction: column; padding-bottom: 32px; }
.menu__bar { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.menu__bar img { width: 100px; height: 32px; }
.menu__close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: none; border: 0; color: inherit; cursor: pointer; margin-right: -12px; }
.menu__close svg { width: 20px; height: 20px; }
.menu__links { margin-top: 24px; border-top: 1px solid var(--rule); }
.menu__links a { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--offwhite); text-decoration: none; font-size: var(--fs-h3); font-weight: 300; }
.menu__links .label { color: var(--fg-2); }
.menu__foot { margin-top: auto; padding-top: 32px; }
.menu__foot .btn { width: 100%; }
.menu .marque { right: -20%; bottom: -10%; width: 70vh; max-width: 90vw; }

/* ---------- 6. Hero ---------- */
.hero { padding-block: 0; min-height: min(calc(100svh - var(--nav-h)), 920px); display: flex; }
.hero > .container { display: flex; flex-direction: column; }
.hero__main { flex: 1; padding-top: 96px; padding-bottom: 48px; align-items: center; }
.hero__text { grid-column: 1 / 6; }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--eyebrow); }
.kicker::before { content: ""; width: 24px; height: 1px; background: var(--fg); flex: none; }
.hero .display { margin-top: 32px; }
.hero .lead { margin-top: 32px; color: var(--fg-2); }
.hero .cta-row { margin-top: 40px; }
.hero__tert { margin-top: 20px; }
.hero__figwrap { grid-column: 6 / 13; justify-self: end; display: flex; flex-direction: column; align-items: flex-end; max-width: 100%; }
.axo-fig { position: relative; height: min(76vh, 760px); aspect-ratio: 755 / 1380; }
.axo-fig__plate, .axo-fig__leaders { position: absolute; inset: 0; width: 100%; height: 100%; }
.axo-fig__leaders { overflow: visible; }
.axo-fig__pic { position: absolute; left: 11.9%; top: 0; width: 66.9%; }
.axo-fig__pic img { width: 100%; height: auto; }
.axo-fig__lbl { position: absolute; right: calc(100% + 12px); transform: translateY(-50%); white-space: nowrap; color: var(--fg); }
.axo-fig__key { position: absolute; transform: translate(-50%, -50%); display: none; }
.hero__strip { border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 16px; text-align: right; color: var(--fg-2); width: 100%; }
.hero__strip p + p { margin-top: 6px; }
.hero__keylist { display: none; width: 100%; margin-top: 16px; }
.hero__keylist li { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--rule); }
.hero__keylist li:last-child { border-bottom: 1px solid var(--rule); }
.tblock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); margin-top: auto; padding-bottom: 32px; }
.tblock > div { padding: 12px 24px 12px 24px; border-left: 1px solid var(--rule); }
.tblock > div:first-child { border-left: 0; padding-left: 0; }
.tblock .val { margin-top: 8px; font-size: 1.0625rem; line-height: 1.3; }
.hero-anim > * { animation: rise var(--t-reveal) var(--ease) both; }
.hero-anim > :nth-child(2) { animation-delay: 80ms; } .hero-anim > :nth-child(3) { animation-delay: 160ms; } .hero-anim > :nth-child(4) { animation-delay: 240ms; } .hero-anim > :nth-child(5) { animation-delay: 320ms; }
.axo-fig { animation: fade 600ms var(--ease) both; }
.axo-fig__lbl { animation: fade 300ms var(--ease) both; animation-delay: calc(950ms + var(--i, 0) * 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 7. Sheet specifics ---------- */
/* 02 status schedule */
.status { padding: var(--cell-pad); }
.status li { display: grid; grid-template-columns: 40px 1fr; padding: 12px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.status li:last-child { border-bottom: 1px solid var(--rule); }
.status .ref { color: var(--fg-2); }
.status .sq { width: 10px; height: 10px; }
.pull { border-left: 1px solid var(--fg); padding-left: 24px; }

/* 03 who we work with */
.siteplan { padding: var(--cell-pad); }
.siteplan__stack { display: none; }
.siteplan__stack .dwg + .dwg { margin-top: 16px; }
.typo { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.typo svg { width: 100%; height: auto; }
.typo figcaption { margin-top: 12px; color: var(--fg); }

/* 04 services */
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 0; height: 176px; align-items: end; }
.shelf > div { padding-left: var(--cell-pad); }
.shelf img { height: 160px; width: auto; }
.svc .chiprow { height: 24px; margin-top: 16px; }
.svc .h3 { margin-top: 16px; }
.svc .lead { margin-top: 16px; }
.svc .label.eb { margin-top: 24px; margin-bottom: 8px; color: var(--eyebrow); }
.svc .hlist--tight { font-size: var(--fs-small); line-height: var(--lh-small); }
.svc .ideal { margin-top: 8px; color: var(--fg-2); }
.svc .tlink { margin-top: 16px; }

/* 05 sprint */
.offer { display: grid; grid-template-columns: 1fr 1fr 2fr; border-top: 1px solid var(--rule); margin-top: 48px; }
.offer > div { padding: 16px 16px 16px 0; }
.offer .figure { margin-top: 12px; white-space: nowrap; font-size: clamp(2.25rem, 1.4rem + 2.2vw, 3.25rem); }
.offer + .hlist { margin-top: 24px; }
.sprint__right { display: flex; flex-direction: column; gap: 48px; }
.cover-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
.cover svg { width: 200px; height: auto; }
.cover figcaption { max-width: 200px; }
.small-print { margin-top: 48px; }

/* 06 how we work */
.timeline--v { display: none; }
.steps-wrap { display: block; }
.steps > div .stepno { font-size: var(--fs-h3); font-weight: 300; line-height: 1; }
.steps > div .chip { margin-top: 16px; }
.steps > div .h3 { margin-top: 16px; }
.steps > div .body { margin-top: 12px; color: var(--fg-2); }
.steps > div.is-active { box-shadow: inset 0 2px 0 var(--fg); }
.tl-bracket { transition: stroke-width var(--t-fast) var(--ease); }
.tl-bracket.is-active { stroke-width: 2.4; }

/* 07 mmc */
.frame-svg svg { width: 100%; max-width: 620px; height: auto; }
.spec-strip { display: flex; flex-wrap: wrap; border: 1px solid var(--rule); }
.spec-strip li { padding: 8px 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: -1px; }

/* 08 library */
.lib > div .top { display: flex; justify-content: space-between; align-items: center; height: 24px; }
.lib .box { position: relative; aspect-ratio: 3 / 4; margin-top: 16px; border-bottom: 1px solid var(--rule); }
.lib .box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.lib .sched-row { margin-top: 12px; color: var(--fg-2); }
.lib .sched-row .long { display: inline; }
.studies figure { min-width: 0; }
.studies img { width: 100%; height: auto; }

/* 09 fees */
.fees__marque { position: absolute; top: 0; left: 0; right: 0; height: 480px; overflow: hidden; z-index: 0; pointer-events: none; }
.fees__marque img { position: absolute; width: 900px; left: -30%; top: -10%; opacity: 0.10; }
.fee-notes li { display: grid; grid-template-columns: 24px 1fr; padding: 6px 0; }
.est { padding: 32px; }
.est label.lbl { display: block; color: var(--fg-2); }
.est__inputs { display: grid; grid-template-columns: 1fr 72px; gap: 16px; align-items: center; margin-top: 12px; }
.est input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; margin: 0; }
.est input[type="range"]::-webkit-slider-runnable-track { height: 1px; background: var(--rule-strong); }
.est input[type="range"]::-moz-range-track { height: 1px; background: var(--rule-strong); }
.est input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; background: var(--fg); border: 0; border-radius: 0; margin-top: -8px; cursor: pointer; }
.est input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; background: var(--fg); border: 0; border-radius: 0; cursor: pointer; }
.est input[type="number"] { height: 44px; width: 72px; border: 0; border-bottom: 1px solid var(--field-input); border-radius: 0; background: transparent; font: inherit; color: var(--fg); padding: 0 8px; text-align: right; }
.est input[type="number"]:focus { border-bottom: 2px solid var(--focus); outline: none; }
.est__prints { margin-top: 20px; }
.est__prints svg { width: 100%; height: auto; max-width: 240px; }
.est__rows { margin-top: 24px; }
.est__rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
.est__rows li:last-child { border-bottom: 1px solid var(--rule); }
.est__rows .out { font-weight: 500; font-variant-numeric: tabular-nums; }
.est__rows .total .out { font-size: var(--fs-h3); font-weight: 300; }
.est__min { margin-top: 12px; color: var(--fg-2); opacity: 0; transition: opacity var(--t-fast) var(--ease); }
.est__min.is-on { opacity: 1; }
.est .small { margin-top: 16px; }

/* 10 proof */
.proof .figure { line-height: 1; white-space: nowrap; }
.proof .figure svg { display: inline-block; width: 0.5em; height: 1em; vertical-align: -0.1em; margin: 0 0.05em; }
.proof .kw { font-size: var(--fs-h3); font-weight: 300; line-height: 1.25; }
.proof .h4 { margin-top: 16px; }
.proof .small { margin-top: 8px; color: var(--fg-2); }

/* 11 practice */
.photo { border: 1px solid var(--rule); padding: 12px; }
.photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
.team > li { display: grid; grid-template-columns: 3fr 3fr 6fr; column-gap: var(--gutter); padding: 24px 0; border-top: 1px solid var(--rule); }
.team > li:last-child { border-bottom: 1px solid var(--rule); }
.portrait { width: 96px; height: 120px; border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; font-size: var(--fs-h3); font-weight: 300; color: var(--fg-2); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transform: scale(1.8); transform-origin: 50% 22%; }
.team .role { margin-top: 6px; color: var(--fg-2); }
.team .chip { margin-top: 12px; }

/* 12 faq */
.faq-side { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.faq { border-top: 1px solid var(--rule); }
.faq:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; display: grid; grid-template-columns: 28px 1fr 24px; gap: 16px; align-items: center; min-height: 72px; padding: 16px 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .h4 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.faq summary svg { width: 12px; height: 12px; justify-self: end; transition: transform 250ms var(--ease); }
.faq[open] summary svg { transform: rotate(45deg); }
.faq .ans { padding: 0 0 24px 44px; color: var(--fg-2); max-width: var(--measure-body); overflow: hidden; }

/* 13 contact */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--gutter); }
.form .full { grid-column: 1 / -1; }
.field label, .field .lbl { display: block; color: var(--fg-2); margin-bottom: 8px; }
.field .req { color: var(--fg-2); margin-left: 8px; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--field-input); border-radius: 0; padding: 12px 0; min-height: 48px; font: inherit; font-size: var(--fs-body); color: var(--fg); }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom: 2px solid var(--focus); outline: 2px solid transparent; outline-offset: 4px; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23fafcff' stroke-width='1'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; background-size: 12px 12px; }
.field select option { color: var(--teal); background: var(--offwhite); }
.field .help { margin-top: 8px; color: var(--fg-2); }
.field .err { display: none; margin-top: 8px; color: var(--powder); }
.field .err::before { content: ""; display: inline-block; width: 10px; height: 10px; border: 1px solid currentColor; margin-right: 8px; vertical-align: -1px; }
.field.is-invalid .err { display: block; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom: 2px solid var(--offwhite); }
.radios { display: grid; gap: 8px; margin-top: 4px; }
.radios label, .check label { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; color: var(--fg); margin: 0; cursor: pointer; }
.radios input, .check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 3px 0 0; border: 1px solid var(--rule-strong); border-radius: 0; background: transparent; flex: none; cursor: pointer; }
.radios input:checked { background: var(--focus); box-shadow: inset 0 0 0 4px var(--teal); }
.check input:checked { background: var(--lemon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9l3.5 3.5L14 6' fill='none' stroke='%23072429' stroke-width='2'/%3E%3C/svg%3E") center / 18px 18px no-repeat; }
.check label { color: var(--fg-2); font-size: var(--fs-small); line-height: var(--lh-small); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.5em; margin-top: 8px; }
.sent { display: flex; align-items: center; gap: 12px; }
.sent::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); flex: none; }
.sent .leader { width: 24px; height: 1px; background: var(--fg); flex: none; margin-left: -12px; }
.contact-block dt { color: var(--fg-2); }
.contact-block dd { margin: 8px 0 0; }
.contact-block div { padding: 12px 0; border-top: 1px solid var(--rule); }
.contact-block div:last-child { border-bottom: 1px solid var(--rule); }
.map svg { width: 240px; height: auto; }
.prg .prg-short { display: none; }
.prg-key { display: none; }

/* 14 footer */
.foot { border-top: 1px solid var(--rule); padding: 96px 0 48px; }
.foot__cols > div { min-width: 0; }
.fc1 { grid-column: 1 / 4; } .fc2 { grid-column: 4 / 7; } .fc3 { grid-column: 7 / 10; } .fc4 { grid-column: 10 / 13; }
.foot__cols img { width: 100px; height: 32px; }
.foot .label { color: var(--fg-2); }
.foot ul.plain li + li { margin-top: 6px; }
.foot a { color: var(--fg); }
.foot .hlist li { grid-template-columns: 1fr; padding: 8px 0; }
.foot .hlist a { text-decoration: none; }
.foot .hlist a:hover { text-decoration: underline; }
.tblk { margin-top: 64px; border: 1px solid var(--rule); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tblk > div { padding: 12px 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); min-width: 0; }
.tblk > div:nth-child(4n) { border-right: 0; }
.tblk > div:nth-last-child(-n+4) { border-bottom: 0; }
.tblk .val { margin-top: 6px; overflow-wrap: anywhere; }
.foot__legal { margin-top: 32px; border-top: 1px solid var(--rule); padding-top: 16px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--fg-2); max-width: none; }
.foot__legal p:first-child { max-width: var(--measure-small); }
.foot__legal a { color: var(--fg-2); }
.foot__legal .right { white-space: nowrap; }

/* Standalone pages */
.page-head { padding-block: 96px 80px; }
.page-head .display { margin-top: 32px; max-width: 16ch; }
.page-head .lead { margin-top: 24px; color: var(--fg-2); }
.page-head .cta-row { margin-top: 40px; }
.page-head .marque { right: -18%; top: -10%; width: 900px; }
.page-head__axo { grid-column: 8 / 13; justify-self: end; align-self: end; }
.page-head__axo img { height: min(60vh, 560px); width: auto; }
.prose { max-width: var(--measure-body); }
.prose h2 { margin-top: 48px; }
.prose h2 + p { margin-top: 16px; }
.legal .prose p + p { margin-top: 1em; }
.section { padding-block: 64px; border-top: 1px solid var(--rule); }
.section .label.eb { color: var(--eyebrow); margin-bottom: 24px; }
.close-cta .h2 { color: var(--fg); }


/* SVG label role and standalone panes */
.svgl { font-family: var(--font); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.svgl--22 { font-size: 22px; }
.pane { background: var(--bg); color: var(--fg); position: relative; overflow: hidden; }
.pane > .container { position: relative; z-index: 1; }
.qa + .qa { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--rule); }
.sprint-steps { margin-top: 0; }
.apt-fig { align-self: end; }
.wall-fig { align-self: start; }
.legal .prose .h3 { margin-top: 48px; }
.legal .prose p { margin-top: 16px; }
@media (max-width: 1023px) { .apt-fig, .wall-fig { margin-top: 32px; } .studies figure { grid-column: span 6 !important; } .sprint-steps { margin-top: 32px; } }

/* ---------- 8. Responsive ---------- */
@media (max-width: 1279px) {
  .hero__text { grid-column: 1 / 7; }
  .hero__figwrap { grid-column: 7 / 13; }
  .axo-fig { height: min(70vh, 700px); }
  .axo-fig__leaders, .axo-fig__lbl { display: none; }
  .axo-fig__key { display: flex; }
  .hero__keylist { display: block; }
  .fees__table { grid-column: 1 / 13; }
  .fees__est { grid-column: 1 / 9; margin-top: 48px; }
  .practice__photo { grid-column: 1 / 13; margin-top: 48px; }
  .practice__text { grid-column: 1 / 8; }
  .faq-side { position: static; }
  .shelf { display: none; }
}
@media (max-width: 1199px) {
  .nav__links { display: none; }
  .nav__menu { display: flex; }
  .nav__cta { height: 36px; padding: 0 16px; }
  .nav__cta .long { display: none; }
  .nav__cta .short { display: inline; }
}
@media (max-width: 1023px) {
  :root { --head-gap: 48px; }
  .sheet__ref { display: none; }
  .sheet__ref--extra { display: block; }
  .hero__main { padding-top: 64px; }
  .hero__text { grid-column: 1 / 13; }
  .hero__figwrap { grid-column: 1 / 13; justify-self: stretch; align-items: center; margin-top: 48px; width: 100%; }
  .axo-fig { height: auto; width: 56%; }
  .hero__keylist { max-width: 34rem; }
  .timeline--h text[font-size="9"], .timeline--h text[font-size="8.5"] { display: none; }
  .axo-fig__leaders, .axo-fig__lbl { display: none; }
  .axo-fig__key { display: flex; }
  .hero__keylist { display: block; }
  .hero__strip { text-align: left; }
  .hero .marque { display: none; }
  .status-col, .who__text { grid-column: 1 / 13; }
  .status-col { margin-top: 48px; }
  .siteplan { grid-column: 1 / 13; }
  .siteplan__wide { display: none; }
  .siteplan__stack { display: block; }
  .who__scheds { grid-column: 1 / 13; margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px var(--gutter); }
  .typo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cells--3, .cells--4, .cells--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cells--3 > :last-child:nth-child(odd), .cells--5 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .shelf { display: none; }
  .sprint__left, .sprint__right { grid-column: 1 / 13; }
  .sprint__right { margin-top: 48px; }
  .mmc__dwg, .mmc__frame { grid-column: 1 / 13; }
  .mmc__frame { margin-top: 48px; }
  .frame-svg svg { max-width: none; }
  .lib { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lib > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .fees__est { grid-column: 1 / 13; }
  .faq__side, .faq__list { grid-column: 1 / 13; }
  .faq__list { margin-top: 48px; }
  .contact__form, .contact__side { grid-column: 1 / 13; }
  .contact__side { margin-top: 64px; }
  .foot__cols > .fc1, .foot__cols > .fc3 { grid-column: 1 / 7; }
  .foot__cols > .fc2, .foot__cols > .fc4 { grid-column: 7 / 13; }
  .foot__cols > div:nth-child(n+3) { margin-top: 48px; }
  .tblk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tblk > div:nth-child(4n) { border-right: 1px solid var(--rule); }
  .tblk > div:nth-child(2n) { border-right: 0; }
  .tblk > div:nth-last-child(-n+4) { border-bottom: 1px solid var(--rule); }
  .tblk > div:nth-last-child(-n+2) { border-bottom: 0; }
  .page-head__axo { display: none; }
  .page-head__text { grid-column: 1 / 13; }
}
@media (max-width: 767px) {
  :root { --nav-h: 56px; }
  .nav { height: 56px; }
  .nav.is-scrolled { height: 56px; }
  .grid > * { grid-column: 1 / -1; }
  .axo-fig { width: 62%; }
  .hero .cta-row .btn { width: 100%; }
  .tblock { grid-template-columns: 1fr 1fr; }
  .tblock > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .tblock > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .tblock > div { padding-left: 16px; }
  .cells--2, .cells--3, .cells--4, .cells--5, .lib { grid-template-columns: 1fr; }
  .cells--3 > :last-child:nth-child(odd), .cells--5 > :last-child:nth-child(odd), .lib > :last-child:nth-child(odd) { grid-column: auto; }
  .typo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who__scheds { grid-template-columns: 1fr; }
  .siteplan { padding: 12px; }
  .siteplan__stack text { font-size: 12px; }
  .offer > div .figure { font-size: 40px; }
  .small-print { margin-top: 32px; }
  .cover-row { grid-template-columns: 1fr; }
  .timeline--h { display: none; }
  .timeline--v { display: block; }
  .steps-wrap { display: grid; grid-template-columns: 108px 1fr; gap: 16px; align-items: start; }
  .prg { aspect-ratio: 560 / 270; }
  .prg .prg-leaders { display: none; }
  .prg .prg-title { transform: translateY(-54px); }
  .prg-key { display: block; margin-top: 16px; }
  .lib { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lib .sched-row .long { display: none; }
  .fee-table thead { display: none; }
  .fee-table tr { display: grid; grid-template-columns: 1fr auto; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .fee-table td { border: 0; padding: 0; }
  .fee-table td.ref { grid-column: 1; grid-row: 1; }
  .fee-table td.fee { grid-column: 2; grid-row: 1; text-align: right; white-space: normal; }
  .fee-table td.scope { grid-column: 1 / -1; grid-row: 2; padding-top: 8px; }
  .fee-table td.stages { grid-column: 1 / -1; grid-row: 3; padding-top: 12px; }
  .fee-table.tbl--rules td:not(:last-child) { border-right: 0; }
  .fee-table.tbl--rules td + td { padding-left: 0; }
  .prg .prg-long { display: none; }
  .prg .prg-short { display: block; }
  .prg .svgl { font-size: 15px; }
  .fee-table td::before { content: attr(data-label); display: block; font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--fg-2); margin-bottom: 6px; }
  .fee-table td.ref::before, .fee-table td.scope::before { display: none; }
  .bar { width: 72px; height: 10px; }
  .team > li { grid-template-columns: 1fr; row-gap: 16px; }
  .photo img { aspect-ratio: 3 / 2; }
  .form { grid-template-columns: 1fr; }
  .contact .cta-row .btn { width: 100%; }
  .foot__cols > .fc1, .foot__cols > .fc2, .foot__cols > .fc3, .foot__cols > .fc4 { grid-column: 1 / -1; }
  .foot__cols > div:nth-child(n+2) { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--rule); }
  .foot__legal .right { white-space: normal; }
  .spec-strip li { flex: 1 1 auto; }
  .page-head { padding-block: 64px 56px; }
  .page-head .cta-row .btn { width: 100%; }
  .studies { grid-template-columns: 1fr !important; }
}
@media (max-width: 479px) {
  :root { --fs-body: 1rem; --fs-label: 0.6875rem; }
  .tblock { grid-template-columns: 1fr; }
  .tblock > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .tblock > div:first-child { border-top: 0; }
  .lib { grid-template-columns: 1fr; }
  .lib .box { aspect-ratio: 4 / 5; max-height: 300px; }
  .lib .sched-row .long { display: inline; }
  .hero .pattern, .hero .marque { display: none; }
  .offer > div { padding-right: 8px; }
  .offer > div .label { min-height: 2em; }
  .offer > div .figure { font-size: 30px; }
  .cta-row .btn { width: 100%; }
  .est { padding: 24px; }
  .wm { font-size: 2.5rem; }
}
@media (min-width: 1600px) { :root { --margin: 80px; } }

/* ---------- 9. Preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-delay: 0ms !important; transition-delay: 0ms !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-draw] { stroke-dasharray: none; stroke-dashoffset: 0; }
  .hero-anim > *, .axo-fig, .axo-fig__lbl { animation: none; }
}
@media (prefers-contrast: more) { :root, [data-field] { --rule: var(--rule-strong); } }
@media (forced-colors: active) {
  .btn, .chip, .badge, .cell, .cells > *, .frame, .photo { border: 1px solid CanvasText; }
  :focus-visible { outline-color: Highlight; }
  .pattern, .marque, .wm { display: none; }
}
@media print {
  .nav, .btn, .pattern, .marque, .wm, .est, .form, .menu, .skip, .cta-row { display: none !important; }
  .cells > *, .cell, table, figure { break-inside: avoid; }
}

/* Key contacts: four portraits in a row, no biographies */
.team--grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; border-top: 1px solid var(--rule); padding-top: 32px; }
.team--grid > li { display: block; padding: 0; border: 0; }
.team--grid > li:last-child { border-bottom: 0; }
.team--grid .portrait { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; margin-bottom: 16px; font-size: var(--fs-h2); }
.team--grid .portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transform: scale(1.2); transform-origin: 50% 25%; }
.team--grid .role { margin-top: 4px; }
.team--grid .chip { display: inline-flex; margin-top: 10px; }
@media (max-width: 1023px) { .team--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Five site typologies: the odd last cell spans the row below desktop */
@media (max-width: 1023px) { .typo > :last-child:nth-child(odd) { grid-column: 1 / -1; } .typo > :last-child:nth-child(odd) svg { max-width: 48%; } }
/* Fee estimator: average per home beneath the Stages 1 to 4 line */
.est__rows li.sub { border-top: 0; padding-top: 0; margin-top: -6px; }
.est__rows li.sub .label { color: var(--fg-2); }
.est__rows li.sub .out { font-weight: 400; font-size: var(--fs-small); }
