/* Hallmark · shape: Bento Grid (drawn; the bento holds the paperwork and two photographs, the room rail and the word come first because a builder is hired on finished rooms) · genre: editorial · theme: Ink (deal 2/3, seed quinten-woods-ltd-farnham-a9cb·61b8b959·2026-12-03·r0) · job: hire · draw: 8bd22d
 * hero: Stage (swapped from Ledge: the one strong photograph is square and its depth needs height, so the head sits on paper and the house bleeds off the right edge) · nav: edge-aligned bar, wordmark, four links, the office number as the action (swapped from search-led: a builder has nothing to search) · footer: mast · imagery: photographs, all Quinten Woods’ own, in true colour · signature: the red house from their logo, chimney and all, used as the window every room is seen through as the rail pans · ink: paper
 * scrollcraft: hero in three planes cut from their own photograph (sky and tree, the house, the brick kerb) drifting at three rates on scroll and under the pointer; the rooms rail pinned and panned sideways · no generated imagery · engine js only, its device rules restated below
 * axes: light/grotesk-sans/warm-red · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: P, a builder’s page argues little; it lets the rooms, the reviews and the paperwork carry it instead of promises */
/* Hallmark · waive 22 · ink and greys at zero chroma · their logo is a grey Q and a red house, printed plain */
/* Hallmark · waive 83 · eight pictures, four of them the room windows · a builder is hired on finished rooms, and the windows are the signature act */
/* Hallmark · answered F4 · the WhatsApp button lives only inside the afford dialog, its own sheet with one filled action */
/* Notes: Ink’s teal is retuned to the red of the Quinten Woods logo, and Ink’s muted photographs run in true colour because a builder is hired on how the finished rooms look. The red marks the one action, the house outline and the focus ring; it never fills a section. */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --concept-h: 52px;
  --bar-h: 72px;
  --chrome: calc(var(--concept-h) + var(--bar-h));
  --color-red: oklch(53% 0.205 27);
  --color-red-2: oklch(46% 0.185 27);
  --color-red-ink: oklch(99.5% 0.003 100);
  --color-accent: var(--color-red);
  --color-accent-ink: var(--color-red-ink);
  --color-accent-soft: oklch(94% 0.035 27);
  --color-accent-soft-ink: oklch(32% 0.12 27);
  --color-focus: var(--color-red);
  --color-sky: oklch(93% 0.02 240);
  --color-band: oklch(16% 0 0);
  --color-band-ink: oklch(97% 0.003 100);
  --color-band-muted: oklch(78% 0 0);
  --color-band-2: oklch(26% 0 0);
  --color-dj: oklch(19% 0.022 266);
  --color-dj-ink: oklch(94% 0.006 90);
  --color-dj-2: oklch(29% 0.022 266);
  --color-dj-pay: oklch(88% 0.12 95);
  --color-dj-pay-ink: oklch(19% 0.022 266);
  --color-wa: oklch(62% 0.16 150);
  --color-wa-ink: oklch(19% 0.022 266);
  --color-scrim: oklch(16% 0 0 / 0.72);
}

/* their photographs, in true colour */
[data-slot] > img { filter: none; }

.skip { position: absolute; left: var(--space-md); top: -100px; z-index: var(--z-modal); background: var(--color-ink); color: var(--color-paper); padding: var(--space-xs) var(--space-md); }
.skip:focus-visible { top: var(--space-md); }

/* controls: Ink’s pair, flat, 10px corners */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-hair) solid transparent; border-radius: 10px; font: 600 var(--text-md)/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:active { opacity: 0.85; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--primary { background: var(--color-red); color: var(--color-red-ink); }
.btn--primary:hover { background: var(--color-red-2); }
.btn--secondary { background: var(--color-paper-2); border-color: var(--color-rule); color: var(--color-ink); }
.btn--secondary:hover { border-color: var(--color-ink); }
.btn--ink { background: var(--color-ink); color: var(--color-paper); }
.btn--ink:hover { background: var(--color-ink-2); }
.btn--line { background: none; border-color: currentColor; color: var(--color-ink); }
.btn--line:hover { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.btn--wa { background: var(--color-wa); color: var(--color-wa-ink); }
.btn--wa:hover { background: color-mix(in oklab, var(--color-wa) 85%, var(--color-paper)); }

/* the Djenius concept bar */
.concept { background: var(--color-dj); color: var(--color-dj-ink); font-size: var(--text-sm); }
.concept .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: var(--concept-h); padding-block: var(--space-2xs); }
.concept b { font-weight: 600; }
.concept__acts { display: flex; gap: var(--space-xs); flex: none; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: 10px; font: 600 var(--text-sm)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; color: var(--color-dj-ink); background: var(--color-dj-2); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.pill:hover { background: var(--color-dj-ink); color: var(--color-dj); }
.pill:active { opacity: 0.85; }
.pill:focus-visible { outline: 2px solid var(--color-dj-pay); outline-offset: 2px; }
.pill--pay { background: var(--color-dj-pay); color: var(--color-dj-pay-ink); }
.pill--pay:hover { background: var(--color-paper); color: var(--color-ink); }
.short { display: none; }

/* the bar */
.bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.bar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--bar-h); }
.mark { display: inline-flex; align-items: center; gap: var(--space-sm); color: var(--color-ink); text-decoration: none; }
.mark__house { width: 30px; height: 33px; flex: none; color: var(--color-red); }
.mark__word { font: 700 var(--text-lg)/1 var(--font-display); letter-spacing: -0.03em; }
.mark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.bar nav ul { display: flex; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; font: 600 var(--text-sm)/1 var(--font-body); color: var(--color-ink); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.bar nav a:hover { color: var(--color-red); }
.bar nav a:focus-visible, .bar__tel:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.bar__tel { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: 10px; background: var(--color-ink); color: var(--color-paper); font: 600 var(--text-md)/1 var(--font-body); text-decoration: none; font-variant-numeric: tabular-nums; transition: background-color var(--dur-short) var(--ease-out); }
.bar__tel:hover { background: var(--color-red); }

/* hero: the head in ink on paper, their house bleeding off the right edge */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(50%, 940px)); min-height: calc(100svh - var(--chrome)); padding-left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
.hero__text { display: grid; align-content: center; gap: var(--space-lg); padding-block: var(--space-2xl); padding-right: var(--space-3xl); }
.hero h1 { max-width: 12ch; font-size: clamp(3.25rem, 5.2vw + 0.25rem, 6rem); line-height: 0.96; letter-spacing: -0.045em; }
.hero .lead { max-width: 32ch; color: var(--color-ink-2); }
.hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-top: var(--space-xs); }

/* hero depth: three planes cut from the one photograph; aligned at rest, they are the photograph.
   Each plane is a square that covers the field, and each image carries a margin of sky above and ground below */
.depth { position: relative; margin: 0; overflow: clip; background: var(--color-sky); container-type: size; min-height: 32rem; }
.depth__sq { position: absolute; left: 50%; top: 50%; width: max(100cqw, 100cqh); aspect-ratio: 1; translate: -50% -50%; }
.depth__plane { position: absolute; inset: 0; will-change: transform; }
.depth__plane img { position: absolute; left: 0; top: -7.5%; width: 100%; height: 120%; max-width: none; }

/* scrollcraft devices, restated: the pinned stage sticks under the bar, the rail is a row */
.sc-act--pinned { position: relative; }
.rooms--pin .rooms__stage { position: sticky; top: var(--bar-h); height: calc(100vh - var(--bar-h)); height: calc(100svh - var(--bar-h)); overflow: clip; }
[data-sc-pan] { display: flex; will-change: transform; }
@media (prefers-reduced-motion: reduce) { [data-sc-pan], .depth__plane { transform: none !important; } }

/* the rooms: every room seen through the house from their logo */
.rooms { padding-block: var(--section-gap); }
.rooms__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: var(--space-3xl); align-items: end; margin-bottom: var(--space-2xl); }
.rooms__head .lead { color: var(--color-ink-2); max-width: 40ch; }
.rail { margin: 0 auto; max-width: var(--container); padding: 0 var(--gutter); list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.room { display: grid; gap: var(--space-xs); align-content: start; }
.room h3 { margin-top: var(--space-sm); font-size: var(--text-xl); letter-spacing: -0.03em; }
.room p { color: var(--color-ink-2); max-width: 34ch; }
.win { position: relative; aspect-ratio: 4 / 5; background: var(--color-paper-3); clip-path: polygon(0 100%, 0 42%, 50% 0, 70% 16.8%, 70% 4.8%, 80% 4.8%, 80% 25.2%, 100% 42%, 100% 100%); }
.win img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.win svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--color-red); stroke-linejoin: miter; }
.win path { stroke-width: 8px; vector-effect: non-scaling-stroke; }

.rooms--pin { padding-block: 0; }
.rooms--pin .rooms__stage { display: grid; grid-template-rows: auto minmax(0, 1fr); align-content: center; padding-block: var(--space-2xl) var(--space-xl); }
.rooms--pin .rooms__head { margin-bottom: var(--space-xl); }
.rooms--pin .rail { max-width: none; margin: 0; display: flex; gap: var(--space-2xl); padding-left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); padding-right: var(--gutter); align-items: start; min-height: 0; }
.rooms--pin .room { flex: none; width: min(26vw, calc((100svh - var(--bar-h) - 22rem) * 0.8), 420px); }

/* the word: one sentence hung from column four, three more beneath */
.reviews { padding-block: var(--section-gap); background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }
.reviews .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); }
.statement { grid-column: 3 / -1; margin: 0; display: grid; gap: var(--space-lg); }
.statement blockquote { margin: 0; }
.statement blockquote p { max-width: 28ch; font: 700 clamp(2.125rem, 3.2vw + 0.5rem, 4rem)/1.04 var(--font-display); letter-spacing: -0.035em; color: var(--color-ink); text-wrap: balance; }
figcaption { font: 400 var(--text-sm)/1.4 var(--font-body); color: var(--color-muted); }
.quotes { grid-column: 3 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-2xl); border-top: var(--rule-hair) solid var(--color-ink); padding-top: var(--space-lg); }
.quotes figure { margin: 0; display: grid; gap: var(--space-sm); align-content: start; }
.quotes blockquote { margin: 0; }
.quotes blockquote p { font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink); max-width: 32ch; }
.reviews .btn--line { grid-column: 3 / -1; justify-self: start; }

/* local: the bento */
.local { padding-block: var(--section-gap); }
.local h2 { margin-bottom: var(--space-2xl); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(15rem, auto); gap: var(--gap-columns); }
.tile { margin: 0; display: grid; align-content: end; gap: var(--space-sm); padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }
.tile h3 { font-size: var(--text-xl); letter-spacing: -0.03em; }
.tile p { color: var(--color-ink-2); max-width: 46ch; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile--pic { position: relative; padding: 0; overflow: clip; background: var(--color-paper-3); }
.tile--pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--fig .big { font: 700 clamp(3.5rem, 4vw + 1rem, 5.5rem)/0.9 var(--font-display); letter-spacing: -0.05em; color: var(--color-red); }
.tile--towns { grid-column: span 2; }
.tile--towns p { font: 700 var(--text-xl)/1.3 var(--font-display); letter-spacing: -0.025em; color: var(--color-ink); max-width: 30ch; }

/* the close: the one ink band */
.close { background: var(--color-band); color: var(--color-band-ink); padding-block: var(--section-gap); --color-focus: var(--color-band-ink); }
.close__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--space-3xl); row-gap: var(--space-2xl); align-items: end; }
.close__main { display: grid; gap: var(--space-lg); }
.close h2 { font-size: clamp(2.75rem, 4.4vw + 0.5rem, 5.25rem); line-height: 0.98; letter-spacing: -0.045em; max-width: 12ch; }
.close .lead { color: var(--color-band-muted); max-width: 34ch; }
.close__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-top: var(--space-xs); }
.close .btn--line { color: var(--color-band-ink); }
.close .btn--line:hover { background: var(--color-band-ink); border-color: var(--color-band-ink); color: var(--color-band); }
.close .btn:focus-visible { outline-color: var(--color-band-ink); }
.close__lines { margin: 0; border-top: var(--rule-hair) solid var(--color-band-ink); }
.close__lines div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-md); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-band-2); }
.close__lines dt { color: var(--color-band-muted); }
.close__lines dd { margin: 0; font-weight: 600; min-width: 0; }
.close__lines a { color: var(--color-band-ink); text-decoration: none; font: 700 var(--text-xl)/1.1 var(--font-display); letter-spacing: -0.02em; transition: color var(--dur-short) var(--ease-out); }
.close__lines a:hover { text-decoration: underline var(--rule-hair); text-underline-offset: 0.2em; }
.close__lines a:focus-visible { outline: 2px solid var(--color-band-ink); outline-offset: 2px; }

/* footer: the mast */
.mast { padding-block: var(--space-3xl) var(--space-2xl); background: var(--color-paper); }
.mast .container { display: grid; gap: var(--space-xl); }
.mast__word { display: flex; align-items: center; gap: 0.2em; font: 700 clamp(3rem, 8vw, 8.5rem)/0.9 var(--font-display); letter-spacing: -0.055em; color: var(--color-ink); max-width: none; }
.mast__house { width: 0.62em; height: 0.68em; flex: none; color: var(--color-red); }
.mast__links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); margin: 0; padding: 0; list-style: none; }
.mast__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.mast__links a:hover { color: var(--color-red); }
.mast__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.mast__legal { font-size: var(--text-sm); color: var(--color-muted); max-width: 70ch; }

/* dialogs: flat sheets */
dialog { margin: auto; padding: 0; border: 0; border-radius: var(--radius-card); width: min(480px, calc(100% - var(--space-xl))); background: var(--color-paper); color: var(--color-ink); box-shadow: var(--shadow-card); }
dialog::backdrop { background: var(--color-scrim); }
.dlg { position: relative; padding: var(--space-xl); display: grid; gap: var(--space-md); }
.dlg h2 { font-size: var(--text-2xl); max-width: 16ch; padding-right: var(--space-xl); }
.dlg p { color: var(--color-ink-2); }
.dlg__acts { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xs); }
.x { position: absolute; top: var(--space-sm); right: var(--space-sm); width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: var(--color-ink); cursor: pointer; transition: color var(--dur-short) var(--ease-out); }
.x svg { width: 22px; height: 22px; }
.x:hover { color: var(--color-red); }
.x:active { opacity: 0.85; }
.x:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 0; }

@media (max-width: 75rem) {
  .bar nav ul { gap: var(--space-lg); }
}
@media (max-width: 60rem) {
  .bar nav { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-left: 0; }
  .hero__text { padding: var(--space-2xl) var(--gutter) var(--space-xl); }
  .depth { min-height: 0; aspect-ratio: 4 / 5; }
  .rooms__head, .close__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); }
  .reviews .container { grid-template-columns: minmax(0, 1fr); }
  .statement, .quotes, .reviews .btn--line { grid-column: 1; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--tall { grid-row: span 1; }
}
@media (max-width: 40rem) {
  .long { display: none; }
  .short { display: inline; }
  .concept .container { padding-inline: var(--space-sm); }
  .pill { padding: 0 var(--space-sm); font-size: var(--text-xs); }
  .bar__tel { font-size: var(--text-sm); padding: 0 var(--space-sm); }
  .mark__word { font-size: var(--text-md); }
  .rail { gap: var(--space-xl) var(--space-md); }
  .room h3 { font-size: var(--text-lg); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .tile--wide, .tile--towns { grid-column: span 1; }
  .tile--pic { aspect-ratio: 4 / 3; }
  .tile--tall { aspect-ratio: 4 / 5; }
  .tile { padding: var(--space-lg); }
  .close__lines div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
}
@media (max-width: 26rem) {
  .concept .container { flex-wrap: wrap; justify-content: center; padding-block: var(--space-xs); row-gap: var(--space-2xs); }
  .concept__text { flex-basis: 100%; text-align: center; }
  .concept__acts { flex: 1; }
  .concept__acts .pill { flex: 1; justify-content: center; }
  .bar__tel { font-size: var(--text-xs); }
  .mark__house { width: 24px; height: 26px; }
}
