/* Home: the shop's own wall, then the work. This file owns the whole home
   composition (loaded last). Order follows the hero buttons: the rack and its
   sample, the supplies spread, the project guide, the floor, Fun Builds, the
   visit and the closing band. Cool paper is the only light ground; brand navy
   carries the solid blocks. Type comes from the shared scale in tokens.css. */

.creative-home main { overflow: clip; }
/* Short intros balance their lines so none ends on a stray word or two. */
.creative-home :is(.floor__intro, .materials__head, .oddjob__copy) > .t-body { text-wrap: balance; }
.creative-home main :is(h2, h3) { color: var(--ink); }
/* Full-bleed blocks keep their text on the content column past 1760px. */
.creative-home { --edge-in: max(var(--gutter), calc((100vw - var(--page)) / 2 + var(--gutter))); }

/* --- 1. the door: the rack photo fills the screen, the headline runs across it */

.creative-home .door {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  background: var(--paper);
  color: var(--ink);
  isolation: isolate;
}
/* min-height, not height: on short screens the copy grows the row and the
   photo stretches with it instead of the headline running off its top. */
.creative-home .door__visual {
  grid-area: 1 / 1;
  position: relative;
  min-width: 0;
  min-height: clamp(30rem, min(calc(100svh - 72px - 5.25rem), 72vw), 54rem);
  background: var(--navy-deep);
}
.creative-home .door__shot {
  position: absolute;
  inset: 0;
  height: auto;
  min-height: 0;
  max-height: none;
  background: var(--navy-deep);
}
.creative-home .door__shot img { object-position: 50% 58%; }
/* Navy multiplied over the photo: deepest under the copy (white text holds AA),
   lightest top right, where the orange and blue sheets keep their own colour. */
.creative-home .door__shot::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgb(24 40 88 / 0.92) 25%, rgb(24 40 88 / 0.72) 55%, rgb(24 40 88 / 0.38));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.creative-home .door__copy {
  grid-area: 1 / 1;
  z-index: 2;
  position: relative;
  align-self: end;
  justify-self: stretch;
  padding: 0;
  color: #fff;
}
.creative-home .door__copy > .wrap {
  padding-block: clamp(1.5rem, 6svh, 4rem) clamp(1.5rem, 5svh, 3.5rem);
}
/* Width and height both cap the headline, so the operating rail below stays
   on the first screen of a short laptop. */
.creative-home .door__title {
  margin: 0 0 clamp(1.25rem, 2vw, 2rem);
  color: #fff;
  font-size: clamp(3.5rem, min(11.6vw, 18svh), 13rem);
  font-weight: var(--w-medium);
  line-height: 0.88;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.creative-home .door__title span { display: block; }
.creative-home .door__lead {
  max-width: 40ch;
  margin-bottom: 1.5rem;
  color: rgb(255 255 255 / 0.88);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
}
.creative-home .door .hero__actions { gap: 0.75rem; margin: 0; }
.creative-home .door .btn--primary { background: #fff; border-color: #fff; color: var(--navy); }
.creative-home .door .btn--primary:hover { background: #e8ecf5; border-color: #e8ecf5; }
.creative-home .door .btn--ghost { background: transparent; border-color: rgb(255 255 255 / 0.7); color: #fff; }
.creative-home .door .btn--ghost:hover { background: rgb(255 255 255 / 0.1); border-color: #fff; }
.creative-home .door__copy :focus-visible { outline-color: #fff; }
.door__call { margin-top: 1rem; color: rgb(255 255 255 / 0.8); font-size: 0.95rem; }
.door__call .tlink { min-height: 44px; color: #fff; }

/* The operating rail: where, when, and the quote. */
.creative-home .door__base {
  grid-area: 2 / 1;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem clamp(2rem, 5vw, 5rem);
  padding-block: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--ink);
}
.door__fact { display: grid; gap: 0.3rem; margin: 0; }
.door__fact .spec { color: var(--ink-3); }
.door__fact a { text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.door__clock { margin-left: 0.6em; padding-left: 0.6em; border-left: 1px solid var(--rule-strong); color: var(--ink); }
.door__fact--quote { justify-self: end; }
.door__fact--quote .tlink { min-height: 44px; white-space: nowrap; }

/* --- 2. proof: one real review and the record ------------------------------ */

.proof { padding-block: var(--section-compact); background: var(--paper); }
.proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.25rem var(--layout-gap);
}
.proof__quote { margin: 0; }
.creative-home :is(.proof__quote, .review) blockquote {
  margin: 0;
  max-width: 44ch;
  color: var(--ink);
  font-size: var(--type-sub);
  font-weight: var(--w-light);
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
  hanging-punctuation: first;
}
/* The opening quote mark hangs, so the words share the column's left edge. */
@supports not (hanging-punctuation: first) {
  .creative-home :is(.proof__quote, .review) blockquote { text-indent: -0.42em; }
}
.creative-home :is(.proof__quote, .review) figcaption { margin-top: 0.85rem; }
/* The record as two figures at statement scale, ruled like the rack labels. */
.proof__record { display: flex; gap: clamp(1.5rem, 4vw, 4rem); margin: 0; color: var(--ink); }
.proof__stat { display: grid; gap: 0.5rem; min-width: 9rem; padding-top: 0.9rem; border-top: 3px solid var(--accent); }
.proof__stat b {
  color: var(--accent);
  font-size: var(--type-statement);
  font-weight: var(--w-medium);
  line-height: 0.9;
  letter-spacing: -0.045em;
}
.proof__stat .spec { color: var(--ink-2); }

/* --- 3. materials: the rack index beside the sample ------------------------- */

.materials {
  --bay-frame: var(--paper-raised);
  --bay-slot: #262e40;
  padding-block: var(--section-y);
  background: var(--paper);
}
.materials__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 1rem var(--layout-gap);
  margin-bottom: var(--content-gap);
}
.materials__head .t-body { max-width: 50ch; }
.materials__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--layout-gap);
}

/* The shop wall: white uprights, dark bays, a navy label under each one. */
.rack-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  margin: 0;
  list-style: none;
  background: var(--bay-frame);
  border-radius: var(--radius-panel);
  /* Beside the sample the rack takes the sample's height, so both end on one line. */
  align-self: stretch;
  grid-auto-rows: 1fr;
}
.bay { min-width: 0; }
.bay__link {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
  height: 100%;
  border-radius: var(--radius-small);
  color: #fff;
  text-decoration: none;
}
.bay__link:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.bay__slot {
  position: relative;
  display: block;
  min-height: clamp(4.5rem, 6vw, 6.5rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--bay-slot);
  border-radius: var(--radius-small) var(--radius-small) 2px 2px;
}
/* Two sheets standing in the bay: the cut edge reads along the top of each. */
.bay__sheet {
  position: absolute;
  left: 16%;
  right: 18%;
  bottom: 0;
  height: 70%;
  background: var(--c);
  box-shadow: inset 0 5px 0 var(--edge), inset 0 0 0 1px rgb(255 255 255 / 0.16);
  border-radius: 2px 2px 0 0;
}
.bay__sheet::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 14%;
  right: -16%;
  bottom: 0;
  height: 128%;
  background: color-mix(in srgb, var(--c) 72%, var(--edge));
  box-shadow: inset 0 5px 0 var(--edge), inset 0 0 0 1px rgb(255 255 255 / 0.12);
  border-radius: 2px 2px 0 0;
}
.bay__link:is(:hover, :focus-visible, .is-live) .bay__sheet { transform: translateY(-14%); }
@media (prefers-reduced-motion: no-preference) {
  .bay__sheet { transition: transform 260ms var(--ease); }
}
/* The label is screwed to the white rail under its bay, narrower than the bay, as on the wall. */
.bay__plate { justify-self: center; min-width: 84%; max-width: 100%; min-height: 3.2rem; font-size: clamp(0.88rem, 1vw, 1rem); padding-inline: 0.6em; }
.bay__plate .plate__name { text-wrap: balance; }
.bay__plate .plate__spec { font-size: 0.72rem; }

.materials__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
  margin-top: var(--content-gap);
  font-size: 1rem;
}
.materials__more .tlink { min-height: 44px; }
.materials__more .tlink:last-child { font-weight: var(--w-light); color: var(--ink-2); }

/* The sample: one dark panel, the coupon above its controls. */
.creative-home .counter.sample {
  --ink: #e9ecf3;
  --ink-2: #c8d1e2;
  --ink-3: #a8b6ce;
  --focus: #fff;
  position: sticky;
  top: 92px;
  display: grid;
  padding: 0;
  overflow: hidden;
  background: #14203a;
  color: var(--ink);
  border: 0;
  border-radius: var(--radius-panel);
  scroll-margin-top: 92px;
}
.creative-home .sample__stage {
  height: clamp(15rem, 20vw, 19rem);
  min-height: 0;
  border-radius: 0;
  background: #14203a;
}
.creative-home .sample__stage-note {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1.25rem;
  margin: 0;
  color: var(--ink-3);
  font-size: 0.8rem;
  pointer-events: none;
}
.creative-home .sample__ticket {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1.25rem 1.4rem 1.4rem;
  border-top: 1px solid #2c3a5a;
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.creative-home .sample__ticket > * { grid-column: 1 / -1; margin: 0; }
.creative-home .sample__title { color: #fff; font-size: 1.15rem; font-weight: var(--w-medium); letter-spacing: -0.015em; }
.sample__readout { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.creative-home .sample__ticket [data-sheet-name] {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: var(--w-medium);
  letter-spacing: -0.025em;
  text-transform: none;
  color: #fff;
}
.creative-home .sample__ticket [data-sheet-thick] { color: var(--ink-2); }
.creative-home .sample__control-label { color: var(--ink-3); margin-top: 0.25rem; }
.sample__control-label:has(+ .sheet3d-thicks[hidden]) { display: none; }
.creative-home .sheet3d-thicks:not([hidden]) { grid-column: 1; }
/* Swatches get their own row: beside the thicknesses they wrapped at most widths. */
.creative-home .sheet3d-swatches:not([hidden]) { grid-column: 1 / -1; justify-self: start; }
.creative-home .sheet3d-thicks { gap: 6px; }
.creative-home .sheet3d-thicks button { min-width: 52px; border-color: #6c7c98; background: transparent; font-size: 0.85rem; }
.creative-home .sheet3d-thicks button[aria-pressed='true'] { background: #fff; color: #14203a; border-color: #fff; }
.creative-home .sheet3d-swatches { gap: 6px; }
.creative-home .sheet3d-swatches button { border-color: rgb(255 255 255 / 0.3); }
.creative-home .sheet3d-swatches button[aria-pressed='true'] { outline: 2px solid #fff; outline-offset: 2px; }
.creative-home .sample__note { color: var(--ink-2); font: 0.85rem/1.5 var(--sans); }
.creative-home .sample__quote {
  justify-self: start;
  width: auto;
  padding: 0.85rem 1.4rem;
  background: #fff;
  border: 1px solid #fff;
  border-bottom: 1px solid #fff;
  color: #284080;
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
}
.creative-home .sample__quote:hover { background: #e8ecf5; color: #284080; }

/* --- 4. the stockroom spread: photo off the left, navy off the right -------- */

.creative-home .stockroom { padding: 0; background: var(--paper); }
.stockroom__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.creative-home .stockroom .aisle__shot { position: relative; min-height: 32rem; height: auto; overflow: hidden; }
.creative-home .stockroom .aisle__shot picture { position: absolute; inset: 0; }
.creative-home .stockroom .aisle__shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.creative-home .stockroom .aisle__shot::after { display: none; }
/* The caption is a navy tab cut into the photo, like the door panel. */
.creative-home .stockroom .aisle__shot figcaption {
  position: absolute;
  inset: auto auto 0 0;
  z-index: 1;
  display: grid;
  gap: 0.3rem;
  max-width: min(26rem, 85%);
  padding: 1.1rem 1.5rem 1.2rem var(--edge-in);
  background: #284080;
  color: #fff;
  border-top-right-radius: var(--radius-panel);
}
.creative-home .stockroom .aisle__shot figcaption b { font-size: var(--type-sub); font-weight: var(--w-medium); letter-spacing: -0.03em; line-height: 1.05; text-align: left; }
.creative-home .stockroom .aisle__shot figcaption span { font: 0.9rem/1.5 var(--sans); letter-spacing: 0; text-transform: none; color: #e0e6f5; }
.stockroom__supplies {
  --focus: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: var(--section-y) var(--edge-in) var(--section-y) var(--layout-gap);
  background: #284080;
  color: #fff;
}
.creative-home .stockroom__supplies .t-h2 { color: #fff; }
.creative-home .stockroom__supplies .t-body { max-width: 40ch; color: #d9e1f5; }
.stockroom__supplies .shop-supplies__links { margin-top: 0.5rem; }
.stockroom__supplies .shop-supplies__links li { border-color: rgb(255 255 255 / 0.3); }
.stockroom__supplies .shop-supplies__links li:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.3); }
.stockroom__supplies .shop-supplies__links li:first-child { border-top: 1px solid rgb(255 255 255 / 0.3); }
.stockroom__supplies .shop-supplies__links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 54px;
  padding-block: 0.75rem;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
}
.stockroom__supplies .shop-supplies__links a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.stockroom__supplies .shop-supplies__links svg { width: 18px; height: 18px; flex: none; }

/* --- 5. the project guide --------------------------------------------------- */

.creative-home .project-guide { padding-block: var(--section-y); background: var(--paper); border: 0; }
.creative-home .project-guide .oddjob__copy h2 { max-width: 14ch; }
.creative-home .project-guide__intro { color: var(--ink-2); }
.creative-home .project-choice[open] { background: var(--paper-raised); }
.creative-home .project-guide .oddjob__media { border: 0; }
.creative-home .project-guide .oddjob__media::after { display: none; }
.creative-home .project-guide .oddjob__media.project-stage { grid-template-rows: minmax(0, 1fr) 4.75rem; background: transparent; border-radius: 0; }
.creative-home .project-guide .project-stage .project-stage__viewport { border-radius: var(--radius-photo); background: var(--paper-sunk); }
.creative-home .project-guide .oddjob__media.project-stage figcaption { justify-content: start; gap: 0.3rem; padding: 0.9rem 0 0; background: none; border: 0; border-radius: 0; }
.creative-home .project-guide .oddjob__media.project-stage figcaption span { font-size: 0.72rem; }
.creative-home .project-choice__contact { min-height: 48px; font-size: 0.95rem; font-weight: var(--w-medium); }

/* --- 6. fabrication: the CNC opening, then what gets made ------------------- */

/* Solid navy with the statement off the left, the machine untinted on the
   right: the stockroom spread mirrored, so only the door is a full-photo moment. */
.creative-home .floor { background: var(--paper); }
.creative-home .floor__opening {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  background: #284080;
}
.creative-home .floor__opening .floor__shot { grid-area: 1 / 2; height: clamp(24rem, 36vw, 34rem); }
.creative-home .floor__opening .floor__shot::after { display: none; }
.creative-home .floor__opening .floor__shot img { width: 100%; height: 100%; object-position: 55% 60%; }
.creative-home .floor__statement {
  grid-area: 1 / 1;
  position: relative;
  inset: auto;
  width: auto;
  max-width: none;
  margin: 0;
  padding: var(--section-y) clamp(1.5rem, 3vw, 3rem) var(--section-y) var(--edge-in);
}
.creative-home .floor__opening figcaption {
  z-index: 4;
  inset: auto auto 0 0;
  display: grid;
  gap: 0.3rem;
  max-width: min(24rem, 85%);
  padding: 1.1rem 1.5rem 1.2rem;
  background: #284080;
  border-top-right-radius: var(--radius-panel);
}
.creative-home .floor__opening figcaption b { font-size: var(--type-sub); font-weight: var(--w-medium); letter-spacing: -0.03em; line-height: 1.05; text-align: left; }
.creative-home .floor__opening figcaption span { font: 0.9rem/1.5 var(--sans); letter-spacing: 0; text-transform: none; color: #e0e6f5; }
.creative-home .floor__statement h2 {
  max-width: 12ch;
  color: #fff;
  font-size: var(--type-statement);
  font-weight: var(--w-medium);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.creative-home .floor__board {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: var(--layout-gap);
  padding-block: var(--section-y);
}
.creative-home .floor__promise {
  max-width: 30ch;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: var(--type-sub);
  font-weight: var(--w-medium);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.creative-home .floor__intro .t-body { max-width: 40ch; }
.floor__links { margin-top: 0.75rem; }
.floor__links .tlink { min-height: 44px; }
.creative-home .floor__specialty {
  max-width: 42ch;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}
.capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--layout-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.capability {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  padding-block: 1.1rem 0.6rem;
  border-top: 1px solid var(--rule-strong);
}
.creative-home .capability h3 { font-size: var(--type-sub); font-weight: var(--w-medium); letter-spacing: -0.03em; line-height: 1.1; }
.capability p { max-width: 40ch; color: var(--ink-2); line-height: 1.55; }
.capability .tlink { min-height: 44px; color: var(--ink); text-decoration-color: var(--rule-strong); text-underline-offset: 0.18em; }
.capability .tlink:hover { text-decoration-color: currentColor; }
.capability .tlink svg { width: 0.8em; height: 0.8em; }

/* --- 7. Fun Builds: one heading, one straight strip of real builds ----------- */

.builds { padding-top: var(--section-y); background: #284080; color: #fff; }
.builds__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 1.25rem var(--layout-gap);
  padding-bottom: var(--section-compact);
}
.creative-home .builds h2 {
  color: #fff;
  font-size: var(--type-statement);
  font-weight: var(--w-medium);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.builds__copy { display: grid; justify-items: start; gap: 1.25rem; }
.builds__copy p { max-width: 42ch; text-wrap: balance; color: #e0e6f5; font-size: 1.05rem; line-height: 1.6; }
/* Each tile grows by its photo's own ratio, so one row shares one height and
   nothing is cropped. */
.builds__strip { display: flex; gap: 8px; margin: 0; padding: 0 0 8px; list-style: none; }
.builds__strip li { flex: var(--ratio) 1 0; min-width: 0; aspect-ratio: var(--ratio); }
.builds__strip a { display: block; height: 100%; border-radius: var(--radius-small); }
.builds__strip a:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.builds__strip picture, .builds__strip img { display: block; width: 100%; height: 100%; }
.builds__strip img { object-fit: cover; border-radius: var(--radius-small); background: #1d306a; }
.builds__strip li:first-child a, .builds__strip li:first-child img { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.builds__strip li:last-child a, .builds__strip li:last-child img { border-top-right-radius: 0; border-bottom-right-radius: 0; }

/* --- 8. visit: the counter, the people who came in, the way there ----------- */

.home-visit { background: var(--paper); }
.visit__top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--layout-gap);
  align-items: start;
}
.visit__intro h2 { margin-bottom: 1rem; }
.visit__intro .t-body { max-width: 52ch; }
.visit__scraps { max-width: 52ch; margin-top: 1rem; color: var(--ink-2); line-height: 1.6; }
.visit__scraps b { color: var(--ink); font-weight: var(--w-medium); }
.visit__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--content-gap);
  margin: 0;
}
.visit__facts > div { display: grid; gap: 0.3rem; align-content: start; padding-block: 0.9rem; border-top: 1px solid var(--rule-strong); }
.visit__facts dt { color: var(--ink-3); }
.visit__facts dd { margin: 0; font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.visit__facts .tlink { display: inline; font-weight: var(--w-light); }
.visit__clock { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.02em; color: var(--ink-2); }
.visit__route { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 1rem; }
/* Show map sits beside Get directions; its cookie note takes the next line. */
.visit__mapslot { display: contents; }
.visit__mapslot[hidden] { display: none; }
.visit__mapnote { flex-basis: 100%; color: var(--ink-3); font-size: 0.8rem; }
.visit__mapslot:has(iframe) { display: block; flex-basis: 100%; overflow: hidden; border-radius: var(--radius-panel); }
.visit__mapslot iframe { display: block; width: 100%; height: 22rem; border: 0; }

.visit__counter {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: stretch;
  margin-top: var(--layout-gap);
}
.visit__photo { position: relative; min-height: 26rem; margin: 0; overflow: hidden; border-radius: 0 var(--radius-photo) var(--radius-photo) 0; background: var(--paper-sunk); }
.visit__photo picture { position: absolute; inset: 0; }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.visit__reviews {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--layout-gap);
  padding: var(--section-compact) var(--edge-in) var(--section-compact) var(--layout-gap);
}
.review { margin: 0; }

/* --- 9. the closing band ----------------------------------------------------- */

.finale { padding-block: var(--section-y); background: #284080; color: #fff; }
.finale__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem var(--layout-gap);
}
.creative-home .finale h2 { max-width: 16ch; color: #fff; text-wrap: balance; }
.finale__copy p { max-width: 42ch; margin-top: 0.85rem; color: #e0e6f5; font-size: 1.05rem; }
.finale__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.finale__actions .tlink { min-height: 44px; color: #fff; }

/* --- responsive -------------------------------------------------------------- */

/* Beside the intro the facts column is too narrow for two columns and the email address. */
@media (min-width: 981px) and (max-width: 1320px) {
  .visit__facts { grid-template-columns: minmax(0, 1fr); }
}
/* Beside the sample, four bays get too narrow for "Sheet / rod / tube" on one line. */
@media (min-width: 981px) and (max-width: 1320px) {
  .rack-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  /* Tablet and phone: the copy still sits on the photo; a band of rack shows
     above the headline and the photo grows with the copy below it. */
  .creative-home .door__visual { min-height: 0; }
  .creative-home .door__shot::after { background: linear-gradient(to top, rgb(24 40 88 / 0.92) 55%, rgb(24 40 88 / 0.5)); }
  .creative-home .door__copy { padding-top: clamp(8rem, 34vw, 14rem); }
  .creative-home .door__copy > .wrap { padding-block: 0 2rem; }
  .creative-home .door__title { font-size: clamp(3.5rem, 18vw, 7.5rem); }

  .materials__grid { grid-template-columns: minmax(0, 1fr); }
  .creative-home .counter.sample { position: relative; top: auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .creative-home .sample__stage { height: auto; min-height: 20rem; }
  .creative-home .sample__ticket { border-top: 0; border-left: 1px solid #2c3a5a; }

  .creative-home .floor__board { grid-template-columns: minmax(0, 1fr); }
  .creative-home .floor__intro .t-body, .creative-home .floor__promise { max-width: 30ch; }

  .visit__top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  /* Two rows of builds: the portrait and one landscape, then two landscapes. */
  .builds__strip { flex-wrap: wrap; }
  .builds__strip li { flex: 0 0 calc((100% - 8px) * 0.36); }
  .builds__strip li:nth-child(2) { flex-basis: calc((100% - 8px) * 0.64); }
  .builds__strip li:nth-child(n + 3) { flex-basis: calc((100% - 8px) / 2); }
  .builds__strip li:nth-child(2) a, .builds__strip li:nth-child(2) img { border-top-right-radius: 0; border-bottom-right-radius: 0; }
  .builds__strip li:nth-child(3) a, .builds__strip li:nth-child(3) img { border-top-left-radius: 0; border-bottom-left-radius: 0; }
  .builds__head { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 820px) {
  .creative-home .floor__opening { grid-template-columns: minmax(0, 1fr); }
  .creative-home .floor__opening .floor__shot { grid-area: 2 / 1; height: clamp(18rem, 60vw, 26rem); }
  .creative-home .floor__statement { padding: 2.5rem var(--gutter) 2rem; }
  .stockroom__grid { grid-template-columns: minmax(0, 1fr); }
  .creative-home .stockroom .aisle__shot { min-height: 0; height: clamp(18rem, 64vw, 26rem); }
  .stockroom__supplies { padding: var(--section-y) var(--gutter); }

  .materials__head { grid-template-columns: minmax(0, 1fr); }
  .visit__counter { grid-template-columns: minmax(0, 1fr); }
  .visit__photo { min-height: 0; aspect-ratio: 16 / 9; border-radius: 0; }
  .visit__photo img { object-position: 50% 12%; }
  .visit__reviews { padding: var(--section-y) var(--gutter) 0; }
  .finale__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

@media (max-width: 700px) {
  .creative-home .door__base { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; padding-block: 1rem 0.75rem; font-size: 0.95rem; }
  .door__fact { gap: 0.15rem; }
  .door__fact a:not(.tlink) { display: inline-block; padding-block: 0.7rem 0.6rem; margin-block: -0.45rem; }
  .door__fact--quote { justify-self: start; }
  .creative-home .door .hero__actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 26rem; }
  .creative-home .door .hero__actions .btn { justify-content: space-between; }

  .proof__grid { grid-template-columns: minmax(0, 1fr); }
  .materials__more { display: grid; justify-items: start; gap: 0.5rem; }
  /* The long stock link wraps; its arrow follows the last word instead of the far edge. */
  .materials__more .tlink:first-child { display: inline; min-height: 0; padding-block: 0.6rem; line-height: 1.7; }
  .materials__more .tlink:first-child svg { display: inline-block; margin-left: 0.4em; vertical-align: -0.2em; }
  .proof__stat { min-width: 0; flex: 1; }

  .rack-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px; }
  .bay__link { gap: 6px; }
  .bay__plate { min-width: 90%; }
  .bay__slot { min-height: 2.9rem; }
  .bay__plate { min-height: 3rem; font-size: 0.95rem; }

  .creative-home .counter.sample { grid-template-columns: minmax(0, 1fr); }
  .creative-home .sample__stage { min-height: 0; height: 15rem; }
  .creative-home .sample__ticket { border-left: 0; border-top: 1px solid #2c3a5a; padding: 1.1rem var(--gutter) 1.25rem; }
  .creative-home .sheet3d-swatches:not([hidden]) { display: grid; grid-template-columns: repeat(6, minmax(44px, 1fr)); width: 100%; }
  .creative-home .sheet3d-swatches button { width: 100%; }
  .creative-home .sample__quote { justify-self: stretch; justify-content: space-between; }

  .capabilities { grid-template-columns: minmax(0, 1fr); }
  .capability { padding-block: 0.9rem 0.4rem; }
  .creative-home .floor__opening .floor__shot { height: 19rem; }

  .visit__facts { grid-template-columns: minmax(0, 1fr); }
  .visit__facts > div { padding-block: 0.7rem; }
  .visit__route { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .visit__mapslot { display: contents; }
  .visit__mapslot[hidden] { display: none; }
  .visit__mapnote { grid-column: 1 / -1; order: 3; }
  .visit__mapslot:has(iframe) { display: block; grid-column: 1 / -1; }
  .finale__actions { display: grid; justify-items: start; width: 100%; }
  .finale__actions .btn { width: 100%; justify-content: space-between; }
}

@media (prefers-color-scheme: dark) {
  .materials { --bay-slot: #070b15; }
}
