/* round-2/base.css — the polish round of 30 Oct 2026, shared by options A, B and C.
   Fonts, reset, tokens, the sheet-and-board stage, the house drawing's motion, the phone call bar.
   Each option's style.css does the rest. Layout breakpoints are container queries on .page (the page's own
   width), so the same file renders correctly on the live site and inside a fixed-width design artboard. */

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", "Helvetica Neue", Arial, sans-serif;
  /* ink on paper: black, white and greys only — colour lives in the photographs */
  --ink: #111110;
  --ink-2: #4a4946;
  --ink-3: #6c6b67;
  --hair: #e1e0de;
  --hair-2: #ecebe9;
  --sheet: #fbfbfa;
  --paper: #e7e6e4;
  --card: #ffffff;
  --black: #0b0b0b;
  --chalk: #f2f2f0;
  --chalk-2: #b4b3ad;
  --chalk-hair: rgba(255, 255, 255, .13);
  /* one radius scale, one shadow scale */
  --r-sheet: 20px;
  --r-card: 10px;
  --r-photo: 8px;
  --shadow-sheet: 0 70px 120px -60px rgba(22, 20, 16, .42), 0 24px 48px -30px rgba(22, 20, 16, .22), 0 0 0 1px rgba(0, 0, 0, .035);
  --shadow-card: 0 1px 0 rgba(0, 0, 0, .03), 0 2px 6px -2px rgba(22, 20, 16, .06), 0 28px 56px -32px rgba(22, 20, 16, .28);
  --shadow-photo: 0 36px 64px -40px rgba(22, 20, 16, .5);
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* the sheet's inner margins; options override at their breakpoints */
  --gutter: clamp(16px, 8.3vw, 120px);
  --top: clamp(12px, 3.9vw, 56px);
  --pad-l: clamp(20px, 5.7vw, 68px);
  --pad-r: clamp(20px, 4.4vw, 52px);
  /* the design pass (3 Nov 2026): one type scale and one spacing scale for every page */
  --fs-display: clamp(44px, 5.2cqw, 64px);
  --fs-1: clamp(33px, 3.65cqw, 44px);
  --fs-2: clamp(26px, 2.65cqw, 32px);
  --s-2: clamp(40px, 4.5cqw, 56px);
  --s-3: clamp(48px, 6cqw, 72px);
  --s-4: clamp(64px, 8cqw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); font-size: 16px; color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "kern" 1; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus, var(--ink)); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { --focus: #fff; position: absolute; left: 16px; top: -60px; z-index: 50; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; background: var(--ink); color: #fff; font: 600 14.5px var(--display); text-decoration: none; }
.skip:focus { top: 16px; }

/* ---------- the stage: a sheet of paper on a drawing board */
.page { container-type: inline-size; container-name: page; }
.board { position: fixed; inset: 0; z-index: -1; background: var(--paper); }
.board::before { content: ""; position: absolute; inset: 0; background: url("assets/svg/board-ink.svg") center top / 2400px auto repeat-y; opacity: .5; }
.board::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 30%, transparent 50%, rgba(36, 32, 26, .11) 100%); }
.sheet {
  position: relative; isolation: isolate; container-type: inline-size;
  width: min(1200px, calc(100% - 2 * var(--gutter)));
  margin: var(--top) auto calc(var(--top) * 1.6);
  background: var(--sheet); border-radius: var(--r-sheet); overflow: clip;
  box-shadow: var(--shadow-sheet);
  --header-h: 92px;
  --logo-w: clamp(168px, 22.5cqw, 272px);
}

/* ---------- shared type roles */
.eyebrow { font: 600 11.5px/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.rule { display: block; width: 160px; height: 2px; background: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap; flex-shrink: 0; font: 600 13px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); transition: color .25s; }
.more span { display: inline-block; transition: transform .35s var(--ease); }
@media (hover: hover) { .more:hover { color: var(--ink); } }
@media (hover: hover) { .more:hover span { transform: translateX(4px); } }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 14.5px/1 var(--display); white-space: nowrap; letter-spacing: .02em; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); --focus: var(--ink); }
@media (hover: hover) { .button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .6); } }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px 0 16px; border: 1px solid currentColor; border-radius: 999px; font: 600 14.5px/1 var(--display); letter-spacing: .02em; text-decoration: none; transition: background .3s, color .3s; }
.pill svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
@media (hover: hover) { .pill:hover { background: var(--ink); color: #fff; border-color: var(--ink); } }
.link-line { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
@media (hover: hover) { .link-line:hover { background-size: 100% 1px; } }

/* ---------- header, hero and footer: the mock-up's top and bottom, shared by the three options */
.site-header { position: relative; z-index: 4; display: flex; align-items: center; min-height: var(--header-h); padding: 0 var(--pad-r) 0 var(--pad-l); border-bottom: 1px solid var(--hair); }
.nav { display: flex; gap: clamp(28px, 5.6cqw, 72px); font: 500 14.5px/1 var(--display); letter-spacing: .01em; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; color: var(--ink-2); text-decoration: none; transition: color .25s; }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
@media (hover: hover) { .nav a:hover { color: var(--ink); } }
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); } }
.site-header .pill { margin-left: auto; background: var(--sheet); color: var(--ink); }
.menu { background: var(--sheet); }
.menu a { border-bottom: 1px solid var(--hair); }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--logo-w) minmax(0, 1fr); column-gap: 2cqw; align-items: center; min-height: clamp(300px, 31.5cqw, 380px); padding: 3cqw var(--pad-l) 4.2cqw var(--pad-l); }
.hero-copy, .hero-logo { position: relative; z-index: 2; }
.hero h1 { font: 700 clamp(33px, 3.65cqw, 44px)/1.06 var(--display); letter-spacing: -.026em; white-space: nowrap; }
.hero .rule { margin: 30px 0 22px; }
.lede { max-width: 33ch; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.hero-logo img { width: 100%; }
.hero-drawing { position: absolute; z-index: 1; pointer-events: none; width: 52cqw; left: calc(50% + var(--logo-w) / 2 + 1.4cqw); top: calc(var(--header-h) + 6px - 12.5cqw); }
.hero-drawing .house { width: 100%; height: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%); mask-image: linear-gradient(90deg, transparent 0, #000 8%); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 var(--pad-r) 0 var(--pad-l); margin-bottom: 28px; }
.section-head h2 { font: 600 var(--fs-2)/1.15 var(--display); letter-spacing: -.018em; }

.site-footer { display: flex; align-items: center; gap: 20px; padding: 26px var(--pad-r) 30px var(--pad-l); border-top: 1px solid var(--hair); font-size: 13px; color: var(--ink-3); }
.footer-mark { width: 34px; height: 34px; }
.motto { color: var(--ink-2); font: 500 13px/1.4 var(--display); letter-spacing: .01em; }
.legal { margin-left: auto; }

@container page (max-width: 1100px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 3cqw; align-items: center; min-height: 0; padding: 32px var(--pad-r) 24px var(--pad-l); }
  .hero-logo { order: -1; grid-column: 1 / -1; justify-self: center; width: 230px; margin: 0 0 28px; }
  .hero-copy { grid-column: 1; }
  .hero h1 { font-size: clamp(30px, 4.4cqw, 40px); white-space: normal; }
  .hero-drawing { position: relative; left: auto; top: auto; grid-column: 2; align-self: center; width: 112%; margin: 0 0 0 -6%; }
  .hero-drawing .house { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%), linear-gradient(180deg, transparent 0, #000 16%); mask-image: linear-gradient(90deg, transparent 0, #000 8%), linear-gradient(180deg, transparent 0, #000 16%); -webkit-mask-composite: source-in; mask-composite: intersect; }
}
@container page (max-width: 680px) {
  .hero { display: flex; flex-direction: column; align-items: flex-start; padding-top: 28px; }
  .hero-logo { order: -1; align-self: center; width: 184px; margin: 0 0 30px; }
  .hero h1 { font-size: clamp(26px, 8.5cqw, 34px); }
  .hero .rule { width: 120px; margin: 22px 0 16px; }
  .lede { font-size: 16px; }
  .hero-drawing { width: 118%; margin: 6px 0 -10px -4%; }
  .section-head { display: grid; gap: 12px; }
  .site-footer { flex-wrap: wrap; gap: 12px 16px; }
  .legal { margin-left: 0; width: 100%; }
}

/* ---------- the house drawing — line classes from tools/draw-linework.py; colour comes from `color` on .house */
.house { overflow: visible; color: var(--ink); }
.house .p, .house .s, .house .c { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.house .p { stroke-width: 2.1; }
.house .s { stroke-width: 1.05; }
.house .c { stroke-width: .7; opacity: .5; }
.house .h { fill: url(#hatch); opacity: .85; }
.house .hl { stroke: currentColor; stroke-width: .9; }
.house .d { fill: currentColor; opacity: .7; }
.house .t { fill: currentColor; opacity: .55; font: 500 10px/1 var(--text); letter-spacing: .08em; }
.house .tl { fill: currentColor; opacity: .8; font: 600 20px/1 var(--display); letter-spacing: .12em; }  /* the inner pages' room and part names (3 Nov 2026) */

/* the draw-on: every stroked element carries pathLength="1"; site.js adds .is-drawing once fonts are ready */
.js .house .p, .js .house .s, .js .house .c { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .house .h, .js .house .d, .js .house .t, .js .house .tl { opacity: 0; }
.js .house.is-drawing .c { animation: draw 1.4s var(--ease) forwards; }
.js .house.is-drawing .p { animation: draw 1.8s var(--ease) .35s forwards; }
.js .house.is-drawing .s { animation: draw 1.6s var(--ease) .9s forwards; }
.js .house.is-drawing .h { --to: .85; animation: fade .9s ease 2.1s forwards; }
.js .house.is-drawing .d { --to: .7; animation: fade .8s ease 1.6s forwards; }
.js .house.is-drawing .t { --to: .55; animation: fade .8s ease 1.6s forwards; }
.js .house.is-drawing .tl { --to: .8; animation: fade .8s ease 1.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: var(--to, 1); } }

/* gentle reveal for blocks below the fold — visible by default; only hidden once script runs */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
/* the cascade (3 Nov 2026): the boxes, values and steps arrive one after another */
.js .box:nth-child(2), .js .value:nth-child(2), .js .step:nth-child(2) { transition-delay: .1s; }
.js .box:nth-child(3), .js .value:nth-child(3), .js .step:nth-child(3) { transition-delay: .2s; }
.js .box:nth-child(4), .js .step:nth-child(4) { transition-delay: .3s; }
.js .box:nth-child(5) { transition-delay: .4s; }
.js .box:nth-child(6) { transition-delay: .5s; }
.js-safe .reveal { opacity: 1 !important; transform: none !important; }
.js .reveal:focus-within { opacity: 1; transform: none; transition: none; }
.js-safe .house .p, .js-safe .house .s, .js-safe .house .c { stroke-dashoffset: 0 !important; }
.js-safe .house .h { opacity: .85 !important; } .js-safe .house .d { opacity: .7 !important; } .js-safe .house .t { opacity: .55 !important; } .js-safe .house .tl { opacity: .8 !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .house .p, .js .house .s, .js .house .c { stroke-dasharray: none; stroke-dashoffset: 0; animation: none !important; }
  .js .house .h { opacity: .85; } .js .house .d { opacity: .7; } .js .house .t { opacity: .55; } .js .house .tl { opacity: .8; }
  .js .house .h, .js .house .d, .js .house .t, .js .house .tl { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .more span, .button, .pill, .link-line, .project img, .project-card img, .box a, .box a::after { transition: none; }
  .project:hover img, .project-card a:hover img { transform: none; }
}

/* ---------- phones: the menu button and the call bar, one thumb away */
.menu-btn, .menu { display: none; }
@media (max-width: 680px) {
  html.menu-open, html.menu-open body { overflow: hidden; }  /* 3 Nov 2026: the lock the round-2 container rule could not apply */
  html { scroll-padding-bottom: 88px; }  /* a focused control never hides behind the call bar */
}
html.menu-open .dark { z-index: 3; }  /* the open menu above the card across the edge */
.callbar { display: none; }
@media (max-width: 680px) {
  body { padding-bottom: 76px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(252, 252, 250, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--hair); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font: 600 14.5px/1 var(--display); text-decoration: none; }
  .callbar a:first-child { border: 1px solid var(--ink); color: var(--ink); }
  .callbar a:last-child { background: var(--ink); color: #fff; --focus: var(--ink); }
  .callbar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
}
@media (max-width: 680px) { :root { --gutter: 8px; --top: 8px; --pad-l: 22px; --pad-r: 22px; } }  /* 3 Nov 2026: the phone gutter the round-2 rule intended (its container query could not style its own container) */
@container page (max-width: 680px) {
  .sheet { border-radius: 16px; --header-h: 64px; }
  .js .sheet .nav { display: none; }
  .sheet .nav { flex-wrap: wrap; gap: 14px 22px; }
  .js .menu-btn { display: inline-flex; align-items: center; gap: 10px; order: -1; min-height: 44px; padding: 0 2px; border: 0; background: none; font: 600 14.5px/1 var(--display); cursor: pointer; }
  .menu-btn span, .menu-btn span::before { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .3s; }
  .menu-btn span { position: relative; }
  .menu-btn span::before { content: ""; position: absolute; top: 6px; }
  .menu-btn[aria-expanded="true"] span { transform: translateY(3px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span::before { transform: translateY(-6px) rotate(-90deg); }
  .menu { display: grid; align-content: start; position: absolute; z-index: 5; left: 0; right: 0; top: var(--header-h); min-height: calc(100svh - var(--header-h)); padding: 10px 22px 26px; font: 600 22px/1 var(--display); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
  .menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .menu a { padding: 16px 0; text-decoration: none; }
  .pill { min-height: 44px; padding: 0 16px 0 13px; }
}


/* ---------- option B's own rules (round 2), carried into the master */
/* Option B — Black & White, polished (round 2, 30 Oct 2026): the same layout on Miguel's black page.
   A black top with the house and plans in white line; his business card as the service card, straddling the
   deliberate edge where black turns to white, with a drafting sheet behind it; a tight statement; three
   borderless projects; About; a black footer carrying the contact details. Sizes inside the sheet use cqw. */

/* the black top */
.dark { position: relative; z-index: 1; background: var(--black); color: var(--chalk); padding-bottom: 164px; --focus: #fff; }
.dark::before { /* chalk plans across the black, as in Miguel's black page */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("assets/svg/board-chalk.svg") -560px -150px / 2400px auto no-repeat; opacity: .085;
}
.dark::after { /* the rafters on the diagonal, low on the left of the black */
  content: ""; position: absolute; z-index: 0; left: -40px; bottom: -20px; width: 420px; height: 300px; pointer-events: none;
  background: url("assets/svg/fragment-chalk.svg") 0 0 / contain no-repeat; opacity: .14; transform: rotate(-45deg);
}
.dark > .site-header, .dark > .hero { position: relative; z-index: 1; }
.dark .site-header { border-bottom-color: var(--chalk-hair); }
.dark .nav a { color: var(--chalk-2); }
.dark .nav a[aria-current="page"] { color: var(--chalk); } @media (hover: hover) { .dark .nav a:hover { color: var(--chalk); } }
.dark .site-header .pill { background: transparent; color: var(--chalk); }
@media (hover: hover) { .dark .site-header .pill:hover { background: var(--chalk); color: var(--black); border-color: var(--chalk); } }
.dark .menu-btn { color: var(--chalk); }
.menu { background: var(--black); color: var(--chalk); }
.menu a { border-bottom: 1px solid var(--chalk-hair); }
.dark .rule { background: var(--chalk); }
.dark .lede { color: var(--chalk-2); }
.dark .house { color: var(--chalk); }
.dark .house .c { opacity: .42; }

/* the service card: his business card, across the edge where black becomes white */
.services { position: relative; z-index: 2; padding: 0 var(--pad-r) 0 var(--pad-l); }
.service-stack { position: relative; margin-top: -148px; }
.service-stack::before { /* the drafting sheet behind, offset like the second card in his black page */
  content: ""; position: absolute; z-index: 0; inset: 26px -22px -26px 22px; border-radius: var(--r-card);
  background: #f6f5f1 url("assets/svg/fragment-ink.svg") right -40px bottom -30px / 440px auto no-repeat;
  border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .5);
}
.service-card { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); min-height: 440px; background: var(--card); border-radius: var(--r-card); overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, .08), 0 48px 90px -44px rgba(0, 0, 0, .65); }
.service-list { display: flex; flex-direction: column; justify-content: center; padding: 44px 44px 40px; }
.service-list .eyebrow { margin-bottom: 20px; }
.service-list ul { font: 600 clamp(22px, 2.35cqw, 29px)/1.32 var(--display); letter-spacing: -.012em; white-space: nowrap; }
.service-list .rule { width: 32px; margin: 28px 0 16px; }
.tagline { font: 500 14.5px/1.4 var(--display); color: var(--ink-2); letter-spacing: .01em; }
.service-photo { position: relative; margin: 0; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 45%; }
.service-photo figcaption { position: absolute; left: 18px; bottom: 18px; padding: 7px 12px; border-radius: 999px; background: rgba(10, 10, 10, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font: 600 11.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }

/* the statement: one line, one paragraph, tight */
.statement { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5cqw, 64px); align-items: end; margin: 0 var(--pad-r) 0 var(--pad-l); padding: clamp(48px, 6cqw, 72px) 0 clamp(40px, 4.5cqw, 56px); border-bottom: 1px solid var(--hair); }
.statement-line { font: 600 clamp(26px, 2.65cqw, 32px)/1.15 var(--display); letter-spacing: -.018em; }
.statement-body { max-width: 42ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

/* projects: three borderless photographs with their names beneath, the third set lower */
.projects { padding: clamp(48px, 6cqw, 72px) 0 clamp(64px, 8cqw, 96px); }
.boxes + .projects { margin-top: clamp(24px, 3cqw, 40px); border-top: 1px solid var(--hair); }
.row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; padding: 0 var(--pad-r) 0 var(--pad-l); }
.project img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; border-radius: var(--r-photo); box-shadow: var(--shadow-card); }
.project--low { margin-top: 0; }
.row .project:nth-child(2) { margin-top: 44px; }  /* the design pass: one project card on Home and Projects */
.project h3 { margin-top: 18px; font: 600 20px/1.25 var(--display); letter-spacing: -.012em; }
.project p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

/* about: the heading left, the words right */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6cqw, 88px); padding: clamp(8px, 2cqw, 24px) var(--pad-r) clamp(64px, 8cqw, 96px) var(--pad-l); border-top: 1px solid var(--hair); }
.about-head { padding-top: clamp(40px, 4cqw, 56px); }
.about h2 { margin-top: 0; font: 600 var(--fs-2)/1.15 var(--display); letter-spacing: -.018em; }
.about .rule { width: 48px; margin: 24px 0 0; }
.about-copy { padding-top: clamp(40px, 4cqw, 56px); }
.about-copy p { max-width: 58ch; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.about-copy p + p { margin-top: 14px; }

/* the black footer: brand, the contact invitation, the details; the small print beneath */
.site-footer { position: relative; display: block; padding: clamp(48px, 5cqw, 64px) var(--pad-r) 28px var(--pad-l); border-top: 0; background: var(--black); color: var(--chalk); --focus: #fff; }
.site-footer::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("assets/svg/board-chalk.svg") -1100px -500px / 2400px auto no-repeat; opacity: .07; }
.site-footer > * { position: relative; }
.footer-top { display: grid; grid-template-columns: .9fr 1.3fr .9fr; gap: clamp(28px, 4cqw, 56px); align-items: start; }
.footer-brand img { width: 52px; height: 52px; }
.footer-brand .motto { margin-top: 22px; color: var(--chalk-2); font: 500 14.5px/1.5 var(--display); }
.footer-contact .eyebrow { color: var(--chalk-2); }
.contact-h { margin: 14px 0 12px; font: 600 22px/1.2 var(--display); letter-spacing: -.014em; }
.footer-contact > p:not(.eyebrow) { max-width: 40ch; font-size: 16px; line-height: 1.6; color: var(--chalk-2); }
.footer-contact .button { margin-top: 24px; background: var(--chalk); color: var(--black); --focus: #fff; }
@media (hover: hover) { .footer-contact .button:hover { box-shadow: 0 16px 32px -14px rgba(255, 255, 255, .25); } }
.footer-details { padding-top: 34px; font: 500 16px/1.4 var(--display); }
.footer-details li + li { margin-top: 0; }
.footer-details a { display: inline-block; padding: 11px 0; }
.footer-details .area { padding: 10px 0; }
.footer-details .phone { font: 600 24px/1.2 var(--display); font-variant-numeric: tabular-nums; }
.footer-details .area { color: var(--chalk-2); }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(40px, 4cqw, 56px); padding-top: 22px; border-top: 1px solid var(--chalk-hair); font-size: 13px; color: var(--chalk-2); }
.footer-base nav { display: flex; gap: 22px; font: 500 13px/1 var(--display); }
.footer-base a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; text-decoration: none; color: var(--chalk-2); transition: color .25s; }
@media (hover: hover) { .footer-base a:hover { color: var(--chalk); } }

/* ---------- tablet */
@container page (max-width: 1100px) {
  .dark { padding-bottom: 140px; }
  .service-stack { margin-top: -120px; }
  .service-card { grid-template-columns: 1.25fr 1fr; min-height: 0; }
  .service-list { padding: 36px 32px; }
  .service-list ul { font-size: clamp(19px, 2.9cqw, 26px); }
  .statement { grid-template-columns: 1fr; align-items: start; }
  .row { grid-template-columns: 1fr 1fr; }
  .project--low { grid-column: 1 / -1; margin-top: 0; }
  .row .project:nth-child(2) { margin-top: 0; }
  .project--low img { aspect-ratio: 2 / 1; }
  .about { grid-template-columns: 1fr; }
  .about-copy { padding-top: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- phone */
@container page (max-width: 680px) {
  .dark { padding-bottom: 80px; }
  .dark::after { display: none; }
  .service-stack { margin-top: -64px; }
  .service-stack::before { display: none; }
  .service-card { grid-template-columns: 1fr; }
  .service-list { padding: 28px 24px 26px; }
  .service-list .eyebrow { margin-bottom: 14px; }
  .service-list ul { font-size: clamp(19px, 5.6cqw, 22px); line-height: 1.38; }
  .service-list .rule { margin: 22px 0 14px; }
  .service-photo img { aspect-ratio: 4 / 3; height: auto; }
  .statement-line { font-size: 28px; }
  .statement { padding-top: 52px; }
  .row { grid-template-columns: 1fr; gap: 28px; }
  .project--low img { aspect-ratio: 4 / 5; }
  .about-head { padding-top: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-details { padding-top: 0; }
  .footer-base { flex-wrap: wrap; }
}


/* ======================================================================== the master (3 Nov 2026): the homepage's two changes
   Miguel's voicenote: six white boxes in A's style instead of the list; the one picture a slideshow, two seconds a picture. */
.service-card { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); min-height: 0; }
.service-intro { display: flex; flex-direction: column; justify-content: center; padding: 44px 44px; }
.service-intro .eyebrow { margin-bottom: 18px; }
.service-intro h2 { font: 600 clamp(28px, 3cqw, 36px)/1.12 var(--display); letter-spacing: -.022em; max-width: 12ch; }
.service-intro .rule { width: 32px; margin: 28px 0 0; }
.service-intro .intro-body { margin-top: 18px; max-width: 34ch; font-size: 16px; line-height: 1.65; color: var(--ink-2); }

/* the slideshow: image 11 is the base and the resting frame; the others fade in and out above it; no controls */
.slideshow { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--black); }
.slideshow .frame { position: absolute; inset: 0; margin: 0; opacity: 0; }
.slideshow .frame:first-child { opacity: 1; }
.slideshow img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform-origin: 50% 50%; }
.slideshow figcaption { position: absolute; left: 18px; bottom: 18px; padding: 7px 12px; border-radius: 999px; background: rgba(10, 10, 10, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font: 600 11.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
/* five frames: each held 2 s with a .7 s crossfade, so one turn of the loop is 13.5 s; frames 2 to 5 start 2.7 s apart */
.slideshow .frame:nth-child(n + 2) { animation: slide 13.5s linear infinite; }
.slideshow .frame:nth-child(2) { animation-delay: 2s; }
.slideshow .frame:nth-child(3) { animation-delay: 4.7s; }
.slideshow .frame:nth-child(4) { animation-delay: 7.4s; }
.slideshow .frame:nth-child(5) { animation-delay: 10.1s; }
@keyframes slide { 0% { opacity: 0; } 5.2% { opacity: 1; } 25.2% { opacity: 1; } 25.3% { opacity: 0; } 100% { opacity: 0; } }
@keyframes slide-last { 0% { opacity: 0; } 5.2% { opacity: 1; } 20% { opacity: 1; } 25.2% { opacity: 0; } 100% { opacity: 0; } }
.slideshow .frame:nth-child(5) { animation-name: slide-last; }
/* the drift (3 Nov 2026): each picture grows by six per cent while it is on screen, so the card is never still; the resting frame breathes */
.slideshow .frame:first-child img { animation: breathe 27s ease-in-out infinite alternate; }
.slideshow .frame:nth-child(n + 2) img { animation: drift 13.5s linear infinite; }
.slideshow .frame:nth-child(2) img { animation-delay: 2s; }
.slideshow .frame:nth-child(3) img { animation-delay: 4.7s; }
.slideshow .frame:nth-child(4) img { animation-delay: 7.4s; }
.slideshow .frame:nth-child(5) img { animation-delay: 10.1s; }
@keyframes drift { 0% { transform: scale(1); } 25.3% { transform: scale(1.06); } 25.31% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .slideshow .frame:nth-child(n + 2) { animation: none; } .slideshow img { animation: none !important; } }

/* the six boxes: A's cards, three by two, each a link to its service */
.boxes { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.box a { position: relative; display: block; height: 100%; padding: 26px 24px 30px; background: var(--card); border: 1px solid var(--hair-2); border-radius: var(--r-card); box-shadow: var(--shadow-card); text-decoration: none; color: inherit; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
@media (hover: hover) { .box a:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(0, 0, 0, .03), 0 2px 6px -2px rgba(22, 20, 16, .08), 0 34px 60px -32px rgba(22, 20, 16, .36); } }
.box a::after { content: "\2192"; position: absolute; right: 22px; top: 24px; font: 500 18px/1 var(--text); color: var(--ink); opacity: 0; transform: translateX(-8px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.box a:focus-visible::after { opacity: 1; transform: none; } @media (hover: hover) { .box a:hover::after { opacity: 1; transform: none; } }
.box .icon { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.box h3 { margin-top: 22px; font: 600 18px/1.25 var(--display); letter-spacing: -.012em; }
.box .rule { width: 28px; margin: 12px 0 12px; }
.box p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
/* Home's six service boxes in black with white writing (16 Nov 2026, Miguel's ask of 14 Nov through Mark; approved on the
   mock-up). Home only: the Services page's boxes (.boxes--lead) sit across its black top and keep their white. */
.boxes:not(.boxes--lead) .box a { background: var(--black); border-color: var(--black); color: var(--chalk); }
.boxes:not(.boxes--lead) .box .icon { stroke: var(--chalk); }
.boxes:not(.boxes--lead) .box .rule { background: var(--chalk); }
.boxes:not(.boxes--lead) .box p { color: rgba(242, 242, 240, .78); }
.boxes:not(.boxes--lead) .box a::after { color: var(--chalk); }
.project h3 a { text-decoration: none; color: inherit; }
.project h3 a::after { content: ""; position: absolute; inset: 0; }
.project { position: relative; }
@media (hover: hover) { .project:hover img { box-shadow: var(--shadow-photo); transform: scale(1.02); } }
.project img { transition: box-shadow .5s var(--ease), transform .9s var(--ease); }

@container page (max-width: 1100px) {
  .service-card { grid-template-columns: 1fr 1fr; }
  .service-intro { padding: 36px 32px; }
  .boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .box a { min-height: 0; }
}
@container page (max-width: 680px) {
  .service-card { grid-template-columns: 1fr; }
  .slideshow { order: -1; aspect-ratio: 4 / 3; }
  .slideshow img { object-position: 50% 40%; }
  .service-intro { padding: 28px 24px 26px; }
  .service-intro .rule { margin: 22px 0 14px; }
  .boxes { grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
  .box a { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding: 18px; }
  .box .icon { grid-row: span 3; width: 28px; height: 28px; }
  .box h3 { margin-top: 2px; font-size: 17px; }
  .box .rule { margin: 10px 0; }
}

/* ======================================================================== the inner pages (3 Nov 2026) — one chrome, each page with its own drawing
   The brand mark in the header, the inner hero (headline left, the page's drawing right), the card across the black-to-white edge,
   then each page's own blocks: the project grid, the rooms and the work, the pager, the services, the steps, the values, the enquiry card. */
.site-header .brand { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-right: clamp(22px, 3.2cqw, 44px); --focus: #fff; }
.site-header .brand img { width: 38px; height: 38px; }
.hero--inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); column-gap: 3cqw; min-height: clamp(320px, 33cqw, 430px); padding: 3.2cqw var(--pad-r) 4.4cqw var(--pad-l); }
.hero--inner h1 { font: 700 var(--fs-1)/1.08 var(--display); letter-spacing: -.024em; white-space: normal; }
.hero--project h1 { font-size: var(--fs-display); line-height: 1; letter-spacing: -.03em; }
.hero--inner .eyebrow { margin-bottom: 18px; color: var(--chalk-2); }
.hero--inner .lede { max-width: 42ch; }
.hero--inner .hero-drawing { position: relative; left: auto; top: auto; width: 100%; align-self: center; }
.hero--inner .hero-drawing .house { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%); mask-image: linear-gradient(90deg, transparent 0, #000 6%); }

@container page (min-width: 1101px) {
  .hero--inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}

/* the card across the edge */
.lead { position: relative; z-index: 2; padding: 0 var(--pad-r) 0 var(--pad-l); }
.lead-stack { position: relative; margin-top: -148px; }
.lead-stack::before { content: ""; position: absolute; z-index: 0; inset: 26px -22px -26px 22px; border-radius: var(--r-card); background: #f6f5f1 url("assets/svg/fragment-ink.svg") right -40px bottom -30px / 440px auto no-repeat; border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .5); }
.lead-card { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); background: var(--card); border-radius: var(--r-card); overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, .08), 0 48px 90px -44px rgba(0, 0, 0, .65); }
.lead-intro { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 44px 44px; }
.lead-card--project .lead-intro { justify-content: flex-start; padding: 44px 44px 40px; }
.lead-card--project .lead-intro > .more:last-child { margin-top: auto; }
.lead-intro h2 { margin-top: 14px; font: 600 var(--fs-2)/1.12 var(--display); letter-spacing: -.02em; }
.lead-intro .rooms { margin-top: 14px; font: 500 13px/1.6 var(--display); letter-spacing: .02em; color: var(--ink-3); }
.lead-intro .rule { width: 32px; margin: 24px 0 18px; }
.lead-photo { margin: 0; min-height: 420px; max-height: 600px; }
.lead-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.lead-card--project .lead-photo--landscape img { aspect-ratio: 3 / 2; height: auto; }
.room-index { width: 100%; margin: 14px 0 26px; }
.room-index li { border-top: 1px solid var(--hair); }
.room-index li:last-child { border-bottom: 1px solid var(--hair); }
.room-index a { display: flex; align-items: center; gap: 14px; padding: 9px 2px; font: 600 16px/1.2 var(--display); letter-spacing: -.005em; text-decoration: none; color: var(--ink); transition: padding-left .3s var(--ease), color .25s; }
.room-index .room-n { width: 30px; height: 30px; font-size: 10.5px; }
@media (hover: hover) { .room-index a:hover { padding-left: 8px; } }
.lead-card--project .lead-photo { max-height: 600px; }
.lead-card--short .lead-photo { max-height: 540px; }
.card-details { position: relative; isolation: isolate; }
.card-details::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/svg/fragment-ink.svg") right -50px bottom -40px / 380px auto no-repeat; opacity: .14; pointer-events: none; }
/* the plan clears his details: under the last line in two columns, right of the email when stacked (4 Nov 2026) */
@container page (min-width: 1101px) { .card-details::before { background-position: right -50px bottom -112px; } }
@container page (max-width: 1100px) { .card-details::before { background-position: max(250px, calc(100% + 50px)) calc(100% + 40px); } }

/* projects: the grid of named homes */
.projects-index { padding: clamp(48px, 6cqw, 72px) var(--pad-r) clamp(64px, 8cqw, 96px) var(--pad-l); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; align-items: start; }
.project-card a { display: block; text-decoration: none; color: inherit; }
.project-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-photo); box-shadow: var(--shadow-card); transition: box-shadow .5s var(--ease), transform .9s var(--ease); }
@media (hover: hover) { .project-card a:hover img { box-shadow: var(--shadow-photo); transform: scale(1.02); } }
.project-card h3 { margin-top: 18px; font: 600 20px/1.25 var(--display); letter-spacing: -.012em; }
.project-card .rooms { margin-top: 6px; font: 500 13px/1.5 var(--display); letter-spacing: .02em; color: var(--ink-3); }
.project-card p:not(.rooms) { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.project-card--low { margin-top: 44px; }

/* a project: the rooms, the work, the pager */
.room, .work { padding: clamp(48px, 6cqw, 72px) var(--pad-r) 0 var(--pad-l); }
.room-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
/* the reference bubble (3 Nov 2026): every number on the site is drawn the way the plan draws its grid references */
.room-n, .step-n { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--ink-2); border-radius: 50%; font: 500 12px/1 var(--display); letter-spacing: .08em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.room-head h2 { font: 600 var(--fs-2)/1.15 var(--display); letter-spacing: -.018em; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 20px; align-items: start; }
.gallery--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery--two .shot--landscape { grid-column: auto; }
.gallery--three .shot--landscape img { aspect-ratio: 5 / 3; }
.room--single { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 24px; align-items: center; }
.room--single .room-head { margin-bottom: 0; flex-direction: column; align-items: flex-start; gap: 26px; }
.room--single .room-n { width: 72px; height: 72px; font-size: 16px; }
.gallery--single .shot img { max-height: 680px; }
.room--single-left .room-head { order: 2; }
.room--single-left .gallery { order: 1; }
.room--single-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.gallery--single { grid-template-columns: 1fr; }
.gallery--single .shot--landscape { grid-column: auto; }
.shot { margin: 0; }
.shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-photo); box-shadow: var(--shadow-card); }
.shot--landscape { grid-column: span 2; }
.shot--landscape img { aspect-ratio: 3 / 2; }
.nowrap { white-space: nowrap; }
.work-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.work-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-photo); border: 1px solid var(--hair-2); }
.work-item p { margin-top: 10px; font: 500 13px/1.5 var(--display); color: var(--ink-2); }
.work-label { display: inline-block; margin-right: 8px; padding: 4px 8px; border: 1px solid var(--hair); border-radius: 999px; font: 600 11.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin: clamp(48px, 6cqw, 72px) var(--pad-r) clamp(64px, 8cqw, 96px) var(--pad-l); padding-top: 28px; border-top: 1px solid var(--hair); }
.pager a { display: grid; gap: 6px; text-decoration: none; color: inherit; }
.pager-next { text-align: right; justify-items: end; }
.pager-name { font: 600 22px/1.2 var(--display); letter-spacing: -.012em; }
.pager-all { display: inline-flex; align-items: center; min-height: 44px; font: 600 13px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
@media (hover: hover) { .pager a:hover .pager-name, .pager-all:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; } }

/* services: the six boxes across the edge, six sections, the four steps */
.lead--boxes .boxes, .lead--values .values { margin-top: -120px; }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5cqw, 72px); align-items: center; margin: 0 var(--pad-r) 0 var(--pad-l); padding: var(--s-3) 0; border-top: 1px solid var(--hair); }
.lead--boxes + .svc { border-top: 0; }
.svc--flip .svc-photo { order: 2; }
.svc-photo { margin: 0; }
.svc-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-photo); box-shadow: var(--shadow-photo); }
.svc-line { margin-top: 8px; font: 500 18px/1.5 var(--display); letter-spacing: -.005em; }
.svc-text > p:not(.svc-line) { margin-top: 14px; max-width: 56ch; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.svc-list { columns: 2; column-gap: 20px; margin-top: 22px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.svc-list li { break-inside: avoid; padding-bottom: 8px; }
.svc-list li { position: relative; padding-left: 18px; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--ink); }
.steps-band { margin: 0 var(--pad-r) 0 var(--pad-l); padding: var(--s-3) 0 var(--s-4); border-top: 1px solid var(--hair); }
.steps-band .section-head { padding: 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.values { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value { padding: 24px 22px 26px; background: var(--card); border: 1px solid var(--hair-2); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
/* a step is a station on a drawn grid line: the line runs behind the bubbles (3 Nov 2026) */
.step { position: relative; padding: 0 28px 0 0; }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--ink-2); }
.step .step-n { position: relative; background: var(--sheet); }
.step h3 { margin-top: 24px; font: 600 20px/1.25 var(--display); letter-spacing: -.014em; }
.value h3 { margin-top: 20px; font: 600 18px/1.25 var(--display); letter-spacing: -.012em; }
.step .rule { display: none; }
.value .rule { width: 28px; margin: 12px 0; }
.step p { margin-top: 10px; max-width: 24ch; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.value p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

/* about: the values across the edge, the words, the band and the sign-off */
.about--page { border-top: 0; padding-top: clamp(48px, 6cqw, 72px); padding-bottom: clamp(40px, 4.5cqw, 56px); }
.about--page .about-head, .about--page .about-copy { padding-top: 0; }
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5cqw, 72px); align-items: end; padding: 0 var(--pad-r) clamp(64px, 8cqw, 96px) var(--pad-l); }
.band-photo { margin: 0; }
.band-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-photo); box-shadow: var(--shadow-photo); }
.signoff { padding-bottom: 8px; font: 500 clamp(28px, 3cqw, 36px)/1.15 var(--display); letter-spacing: -.022em; }

/* contact: the enquiry form and his card */
.lead-card--contact { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.lead--contact { padding-bottom: clamp(64px, 8cqw, 96px); }
.site-footer--slim .footer-top { grid-template-columns: .9fr 1fr; }
.site-footer--slim .footer-details { padding-top: 0; }
.enquiry { display: grid; gap: 18px; padding: 48px 44px; }
.form-line { max-width: 52ch; margin-bottom: 4px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font: 600 11.5px/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #8f8e8a; border-radius: 8px; background: var(--sheet); font: 400 16px/1.4 var(--text); color: var(--ink); -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.form-foot { display: flex; align-items: center; gap: 18px; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--ink-3); }
.card-details { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 44px 40px; border-left: 1px solid var(--hair); background: #f6f5f1; }
.card-details dl { display: grid; gap: 22px; margin-top: 26px; }
.card-details dt { font: 600 11.5px/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.card-details dd { margin-top: 2px; font: 500 16px/1.4 var(--display); }
.card-details dd a { display: inline-block; padding: 11px 0; }
.card-details .area { padding: 11px 0; }
.card-details .phone { font-size: 28px; font-variant-numeric: tabular-nums; }
.card-mark { position: absolute; right: 36px; top: 36px; width: 40px; height: 40px; }

@container page (max-width: 1100px) {
  .hero--inner .hero-drawing { width: 100%; margin: 24px 0 -2cqw; }
  .hero--inner h1 { font-size: clamp(28px, 3.9cqw, 38px); }
  .hero--inner h1 br { display: none; }
  .lead-stack { margin-top: -120px; }
  .lead-card, .lead-card--contact { grid-template-columns: 1fr; }
  .lead-photo { order: -1; min-height: 0; }
  .lead-photo img { aspect-ratio: 3 / 2; height: auto; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card--low { margin-top: 0; }
  .gallery, .gallery--two, .gallery--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--three .shot--landscape { grid-column: span 2; }
  .room--single, .room--single-left { grid-template-columns: 1fr; }
  .room--single .room-head { margin-bottom: 22px; order: 0; flex-direction: row; align-items: center; gap: 18px; }
  .room--single .room-n { width: 44px; height: 44px; font-size: 12px; }
  .lead-intro { justify-content: flex-start; }
  .steps { row-gap: 40px; }
  .room--single-left .gallery { order: 0; }
  .site-footer--slim .footer-top { grid-template-columns: 1fr 1fr; }
  .work-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc, .svc--flip { grid-template-columns: 1fr; }
  .svc--flip .svc-photo { order: 0; }
  .svc-photo img, .svc-photo--landscape img { aspect-ratio: 3 / 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: 1fr; }
  .lead--values .values { margin-top: -100px; }
  .band { grid-template-columns: 1fr; }
  .card-details { border-left: 0; border-top: 1px solid var(--hair); }
}
@container page (max-width: 760px) {
  .hero--inner { display: flex; flex-direction: column; align-items: flex-start; }
  .hero--inner .hero-drawing { width: 100%; margin: 16px 0 -8px; }
}
@container page (max-width: 680px) {
  .site-header .brand { order: -2; margin-right: 14px; }
  .site-header .brand img { width: 32px; height: 32px; }
  .hero--inner { padding-top: 28px; }
  .hero--inner h1 { font-size: clamp(26px, 8.5cqw, 34px); }
  .hero--inner .hero-drawing { width: 118%; margin: 10px 0 -10px -4%; }
  .lead-stack { margin-top: -64px; }
  .lead-stack::before { display: none; }
  .lead-intro, .enquiry, .card-details { padding: 28px 24px 26px; }
  .project-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery, .gallery--two, .gallery--three { grid-template-columns: 1fr; }
  .shot--landscape { grid-column: auto; }
  .work-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .lead--boxes .boxes { margin-top: -40px; padding: 0; }
  .svc-list { columns: 1; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding: 0; }
  .step::before { left: 22px; right: auto; top: 44px; bottom: -28px; width: 1px; height: auto; }
  .step:last-child::before { display: none; }
  .step h3 { grid-column: 2; margin-top: 10px; }
  .step p { grid-column: 2; max-width: none; }
  .hero--project h1 { font-size: clamp(38px, 11cqw, 44px); }
  .field-row { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: flex-start; }
  .card-mark { position: static; width: 36px; height: 36px; margin-bottom: 18px; order: -1; }
  .card-details::before { display: none; }
  .hero--inner h1 br { display: none; }
  .more, .pager-all, .footer-base a, .room-index a { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-details li { padding: 6px 0; }
  .site-header .brand img, .footer-brand img { width: 44px; height: 44px; }
  .pill { min-height: 44px; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager-all { grid-column: 1 / -1; }
  .pager-next { text-align: right; justify-items: end; }
  .boxes { padding: 0; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-base nav { flex-wrap: wrap; gap: 14px 18px; }
  .footer-base nav a { min-width: 44px; }
  .site-footer--slim .footer-top { grid-template-columns: 1fr; }
  .footer-details a, .card-details dd a { display: inline-block; padding: 12px 0; }
  .footer-details li { padding: 0; }
  .footer-details .area, .card-details .area { padding: 12px 0; }
}

/* touch screens (3 Nov 2026, the October web link's rule carried into the site): a tap answers at once, and a hover effect applies only where a pointer can hover */
a, button { touch-action: manipulation; }
