/* =========================================================
   Parquet Flooring London — Floor Catalogue pages
   - hub-colour    (Browse By Colour)
   - category      (Brown Collection etc.)
   - product       (Amity — Product Page PROGRAM IT)
   Inherits all design tokens from home.css.
   ========================================================= */

/* =========================================================
   Shared: breadcrumb + small button variant
   ========================================================= */
.breadcrumb {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(14px * var(--fs, 1));
  letter-spacing: 0.06em;
  color: var(--cream-70);
  margin: 0 0 28px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: var(--cream-90); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--cream); }
.breadcrumb span[aria-hidden] { color: var(--cream-70); }
.breadcrumb [aria-current] { color: var(--cream); }

.btn--small { min-width: 177px; padding-inline: 18px; }

/* =========================================================
   HUB: Browse By Colour
   ========================================================= */
.hub-hero {
  position: relative;
  min-height: clamp(620px, 70vw, 1000px);   /* same scale as the Bespoke page hero */
  display: flex;
  overflow: hidden;
}
.hub-hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hub-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,17,12,0.75) 0%, rgba(20,17,12,0.15) 55%, rgba(20,17,12,0.28) 100%);
}
.hub-hero__inner {
  position: relative; z-index: 2;
  align-self: flex-end;
  padding-block: 80px;   /* matches the Bespoke hero's copy position */
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.hub-hero__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(12px * var(--fs, 1));
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 22px;
  color: var(--cream-90);
}
.hub-hero__title {
  font-size: calc(clamp(3rem, 9vw, 7rem) * var(--fs, 1));   /* editorial scale, per reference */
  line-height: 0.98;
  margin: 0 0 22px;
  max-width: 900px;
}
.hub-hero__subtitle {
  font-size: calc(18px * var(--fs, 1));
  color: var(--cream-90);
  max-width: 46ch;
  margin: 0 0 32px;
}

/* Select a Colour — mosaic grid */
.select-colour { padding-block: clamp(112px, 13vw, 192px); }
.select-colour__head {
  margin-bottom: clamp(64px, 8vw, 96px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.select-colour__title {
  font-size: calc(clamp(2.2rem, 3.8vw, 3.43rem) * var(--fs, 1));
  margin: 0 0 14px;
}
.select-colour__intro {
  font-size: calc(16px * var(--fs, 1));
  color: var(--cream-90);
  margin: 0;
  max-width: 867px;
}

/* Mosaic layout — matches the Figma layout positions:
   col 1-4 tall (Natural)   | col 5-12 wide-short  (Brown top, Grey mid, Black bottom-right)
   col 9-12 square (Brown)
   etc.

   At desktop we use a 12-col CSS grid (visually maps to the 14-col layout's content band).
   Cards fall back to a uniform 2-up at smaller widths. */
.select-colour__grid {
  display: grid;
  gap: var(--grid-gutter);
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(0, auto);
}
.select-colour__card {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
}
.select-colour__image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
}
.select-colour__image img,
.select-colour__placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: rgba(var(--cream-rgb), 0.06);
  transition: transform 0.9s ease;
}
.select-colour__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,17,12,0.62) 0%, rgba(20,17,12,0.05) 55%);
}
.select-colour__copy {
  position: absolute;
  inset: auto 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* "14 Floors" count above the colour name, per reference */
.select-colour__count {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(11px * var(--fs, 1));
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #dcc6b6;   /* warm blush accent, per reference */
}
.select-colour__name {
  font-size: calc(clamp(1.7rem, 2.8vw, 2.6rem) * var(--fs, 1));
  letter-spacing: -0.01em;
  color: var(--cream);   /* sits over dark photos — stays light even on the cream band */
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}
/* "Explore Brown →" micro-link — underlines on card hover, per reference */
.select-colour__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(11px * var(--fs, 1));
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}
.select-colour__card:hover .select-colour__more { border-color: var(--cream); }

/* Desktop mosaic — matches the Figma "Browse By Colour" layout:
     Row 1: [ Natural (tall L) | Brown (wide top R) ]
     Row 2: [ (Natural cont.)  | Grey  (wide mid R) ]
     Row 3: [ Pale  (sq L)     | Black (wide bot R) ]
   The category iteration order is set by sort_order in the Categories table:
     pos1=Natural, pos2=Brown, pos3=Grey, pos4=Pale, pos5=Black */
@media (min-width: 1025px) {
  /* Reference mosaic geometry (6-col): first colour large 4×2, two small tiles
     stacked beside it, two half-width tiles underneath. */
  .select-colour__grid    { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 240px; }
  .select-colour__card--pos1 { grid-column: span 4; grid-row: span 2; }  /* big feature card */
  .select-colour__card--pos2 { grid-column: span 2; grid-row: span 1; }
  .select-colour__card--pos3 { grid-column: span 2; grid-row: span 1; }
  .select-colour__card--pos4 { grid-column: span 3; grid-row: span 1; }
  .select-colour__card--pos5 { grid-column: span 3; grid-row: span 1; }
}
@media (max-width: 1024px) {
  .select-colour__card { grid-column: span 6; }
  .select-colour__image { min-height: 280px; }
}
@media (max-width: 640px) {
  .select-colour__card { grid-column: span 12; }
  .select-colour__image { min-height: 220px; }
  .select-colour__head { margin-bottom: 36px; }
}

/* Hub brand strip */
.hub-brands { padding-block: clamp(56px, 7vw, 88px); }
.hub-brands__caption {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(14px * var(--fs, 1));
  letter-spacing: 0.12em;
  color: var(--cream-70);
  text-align: center;
  margin: 0 0 36px;
}

/* =========================================================
   CATEGORY page (e.g. Brown Collection)
   ========================================================= */
.cat-hero {
  position: relative;
  min-height: clamp(460px, 64vh, 720px);   /* taller hero, per editorial reference */
  display: flex;
  overflow: hidden;
  background: var(--bg);
}
.cat-hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.cat-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,17,12,0.65) 0%, rgba(20,17,12,0.2) 60%);
}
.cat-hero__inner {
  position: relative; z-index: 2;
  align-self: flex-end;
  padding-block: 64px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.cat-hero__title {
  font-size: calc(clamp(3rem, 8vw, 6rem) * var(--fs, 1));   /* editorial scale, per reference */
  line-height: 0.98;
  margin: 0 0 18px;
}
.cat-hero__subtitle {
  font-size: calc(18px * var(--fs, 1));
  color: var(--cream-90);
  max-width: 46ch;
  margin: 0;
}

.cat-products { padding-block: clamp(112px, 13vw, 192px); }
.cat-products__heading {
  margin-bottom: clamp(48px, 6vw, 80px);
  font-family: var(--font-title);
  font-weight: 400;
  font-size: calc(clamp(2rem, 3.5vw, 3.05rem) * var(--fs, 1));
  letter-spacing: -0.01em;
  margin: 0 0 36px;
}
.cat-products__empty {
  color: var(--cream-70);
  font-size: calc(18px * var(--fs, 1));
}
/* ----- Filter pills + floor count (per editorial reference) ----- */
.floor-filterbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin-bottom: clamp(36px, 4vw, 56px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.floor-filterbar__group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.floor-filterbar__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(11px * var(--fs, 1));
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-70);
  margin-right: 8px;
}
.floor-pill {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(11px * var(--fs, 1));
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: none;
  border: 1px solid var(--rule);
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.floor-pill:hover { border-color: var(--cream-70); }
.floor-pill.is-on {
  background: var(--cream);
  color: var(--bg);
  border-color: var(--cream);
}
.floor-filterbar__count {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(12px * var(--fs, 1));
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-70);
}

.cat-products__grid {
  display: grid;
  gap: clamp(32px, 4vw, 48px) clamp(20px, 2.5vw, 32px);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) { .cat-products__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .cat-products__grid { grid-template-columns: 1fr; } }

/* ----- Rectangle product cards (per editorial reference) ----- */
.product-card {
  display: flex;
  flex-direction: column;
  color: var(--cream);
}
.product-card__image {
  position: relative;
  height: clamp(240px, 24vw, 336px);   /* fixed-height rectangle, per reference */
  overflow: hidden;
  margin-bottom: 18px;
}
.product-card__image img,
.product-card__placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: rgba(var(--cream-rgb), 0.06);
  transition: transform 0.8s ease;
}
/* name + code share a baseline row */
.product-card__nm {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.product-card__name {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: calc(clamp(1.3rem, 1.8vw, 1.6rem) * var(--fs, 1));
  letter-spacing: -0.01em;
  margin: 0;
}
.product-card__code {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(11px * var(--fs, 1));
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a68876;   /* taupe accent, per reference */
  white-space: nowrap;
  margin: 0;
}
.product-card__desc {
  font-family: var(--font-body);
  font-size: calc(14px * var(--fs, 1));
  line-height: 1.5;
  color: var(--cream-70);
  margin: 6px 0 0;
}
.product-card__view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(10.5px * var(--fs, 1));
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}
.product-card:hover .product-card__view { border-color: var(--cream); }

/* =========================================================
   PRODUCT detail (Amity)
   ========================================================= */

/* 1. Hero — two columns, left dark + right photo */
.pdp-hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  min-height: clamp(640px, 70vw, 1022px);
  display: flex;
}
/* Full-bleed product photo fills the whole hero section */
.pdp-hero__media {
  position: absolute; inset: 0;
  z-index: 0;
  background: rgba(var(--cream-rgb), 0.04);
}
.pdp-hero__media img,
.pdp-hero__placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Left-weighted gradient so the overlaid copy stays legible while the right
   side of the photo shows through. */
.pdp-hero__overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(20,17,12,0.78) 0%,
    rgba(20,17,12,0.55) 34%,
    rgba(20,17,12,0.20) 62%,
    rgba(20,17,12,0) 100%);
}
.pdp-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;   /* copy anchors low — empty space above gives the hero air */
}
.pdp-hero__copy {
  padding: clamp(160px, 18vw, 240px) var(--gutter) clamp(56px, 6vw, 84px);
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
}
/* Small uppercase line under the breadcrumb, e.g. "EUROPEAN OAK · BROWN" */
.pdp-hero__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(12px * var(--fs, 1));
  letter-spacing: 0.2em;
  color: var(--cream-70);
  margin: 12px 0 28px;
}
.pdp-hero__title {
  font-size: calc(clamp(3.5rem, 10vw, 9.5rem) * var(--fs, 1));   /* editorial scale, per reference */
  line-height: 0.95;
  margin: 0 0 34px;
  /* Soft drop shadow per updated Figma — lifts the title off the dark olive
     background and adds the premium feel the client was asking for. */
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.45);
}

/* Product code / Origin / Colour columns — small caps labels, serif values. */
/* Availability tag under the product name: IN STOCK / MADE TO ORDER.
   Same shape as the outlined hero buttons (Download Specification) so it reads
   clearly, but it's a status, not a link — no hover or pointer. */
.pdp-hero__availability {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 30px;
  border: 2px solid var(--btn);
  color: var(--btn);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(12px * var(--fs, 1));
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: -6px 0 32px;   /* sits close under the title (title has 34px bottom margin) */
}
.pdp-hero__availability::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a9bd8f;   /* soft sage = in stock */
}
.pdp-hero__availability--made-to-order::before { background: #d9a066; }   /* warm amber */

/* Availability badge (client prototype): hollow ring = made to order,
   solid dot on a filled chip = in stock. Used in the hero, the spec intro
   and the "More in …" cards (--on-light = dark ink on light backgrounds). */
.pdp-hero__eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 12px 0 28px;
}
.pdp-hero__eyebrow-row .pdp-hero__eyebrow { margin: 0; }
.pdp-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 12px;
  border: 1px solid currentColor;
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: calc(12px * var(--fs, 1));
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.pdp-badge i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.pdp-badge--mto i { border: 1.5px solid currentColor; background: transparent; }
.pdp-badge--stock i { background: currentColor; }
.pdp-badge--stock { background: var(--cream); border-color: var(--cream); color: #332e21; }
.pdp-badge--on-light { color: #332e21; }
.pdp-badge--on-light.pdp-badge--stock { background: #332e21; border-color: #332e21; color: #f5f2ee; }
.pdp-badge--sm { font-size: calc(10.5px * var(--fs, 1)); padding: 5px 10px 5px 9px; }

/* Reassurance line under the hero buttons */
.pdp-hero__reassure {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  list-style: none;
  margin: -14px 0 36px;
  padding: 0;
  font-family: var(--font-body);
  font-size: calc(14px * var(--fs, 1));
  color: var(--cream-90);
}
.pdp-hero__reassure li { display: inline-flex; align-items: center; gap: 9px; }
.pdp-hero__reassure li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #dcc6b6;   /* blush dot (prototype) */
}
.pdp-anchor-tabs__download a { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--cream-70); }

.pdp-hero__meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  justify-content: start;
  gap: clamp(24px, 3.5vw, 56px);
  margin: 0 0 30px;
  padding: 0;
}
.pdp-hero__meta-col { display: flex; flex-direction: column; gap: 8px; }
.pdp-hero__meta-col dt {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(11px * var(--fs, 1));
  letter-spacing: 0.16em;
  color: var(--cream-70);
  margin: 0;
}
.pdp-hero__meta-col dd {
  font-family: var(--font-title);   /* serif values, per reference */
  font-weight: 400;
  font-size: calc(20px * var(--fs, 1));
  color: var(--cream);
  letter-spacing: 0;
  margin: 0;
}
@media (max-width: 640px) {
  .pdp-hero__meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Keep the old single-line meta rule available for any legacy markup. */
.pdp-hero__meta {
  font-family: var(--font-body);
  font-size: calc(16px * var(--fs, 1));
  color: var(--cream-90);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.pdp-hero__meta span { color: var(--cream); }
.pdp-hero__rule { width: 177px; margin-block: 28px 28px; }
.pdp-hero__tagline {
  font-family: var(--font-title);   /* italic serif lede, per reference */
  font-style: italic;
  font-weight: 400;
  font-size: calc(clamp(1.25rem, 1.7vw, 1.45rem) * var(--fs, 1));
  line-height: 1.4;
  color: var(--cream-90);
  margin: 0 0 38px;
  max-width: 36ch;
}
.pdp-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
/* Uppercase, letter-spaced hero buttons, per reference */
.pdp-hero__buttons .btn {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: calc(12px * var(--fs, 1));
  min-width: 0;
  height: 48px;
  padding: 0 30px;
}

/* anchor tabs */
.pdp-anchor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}
.pdp-anchor-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(16px * var(--fs, 1));
  letter-spacing: -0.01em;
  color: var(--cream);
}
.pdp-anchor-tabs a span { color: var(--cream-70); font-size: calc(12px * var(--fs, 1)); }

/* 2. Description + product gallery (client prototype "Description" band).
   Stone background, brown text, taupe heading; large photo + thumbnails on
   the left, description on the right. Text colour follows --accent-rgb so the
   admin "Section style" text colour can override it. */
.pdp-desc {
  --accent-rgb: 80, 54, 41;                 /* #503629 brown text (prototype) */
  background: #d3cabe;                      /* stone (prototype) */
  color: rgb(var(--accent-rgb));
  padding-block: clamp(70px, 10vw, 150px);
}
.pdp-desc__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: center;
}
.pdp-desc--no-text .pdp-desc__grid { grid-template-columns: minmax(0, 560px); }

/* Large photo with the product-name label bottom-left */
.pdp-desc__photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #2a1e14;
  cursor: zoom-in;
}
.pdp-desc__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease;
}
.pdp-desc__tag {
  position: absolute;
  left: 16px; bottom: 16px;
  padding: 6px 12px;
  background: rgba(28, 20, 12, 0.6);
  color: #f5f0ea;
  font-family: var(--font-body);
  font-size: calc(11px * var(--fs, 1));
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Thumbnail strip: 4 visible; more scroll sideways with the arrows */
.pdp-desc__thumbs-wrap { position: relative; margin-top: 10px; }
.pdp-desc__thumbs {
  --thumb-gap: 10px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--thumb-gap)) / 4);
  gap: var(--thumb-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.pdp-desc__thumbs::-webkit-scrollbar { display: none; }
.pdp-desc__thumb {
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1.5px solid transparent;
  background: none;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  scroll-snap-align: start;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.pdp-desc__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-desc__thumb:hover { opacity: 1; }
.pdp-desc__thumb[aria-pressed="true"] { border-color: rgb(var(--accent-rgb)); opacity: 1; }
.pdp-desc__thumb:focus-visible { outline: 2px solid rgb(var(--accent-rgb)); outline-offset: 2px; }

/* Arrows sit over the strip's ends (only rendered when there are 5+ photos) */
.pdp-desc__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(245, 240, 234, 0.92);
  color: #332e21;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.2s ease;
}
.pdp-desc__arrow--prev { left: -12px; }
.pdp-desc__arrow--next { right: -12px; }
.pdp-desc__arrow:disabled { opacity: 0; pointer-events: none; }

/* Description copy */
.pdp-desc__title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: calc(clamp(20px, 1.8vw, 25px) * var(--fs, 1));
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #a68876;                           /* taupe heading (prototype) */
  margin: 0 0 28px;
}
.pdp-desc__text p {
  margin: 0 0 1.2em;
  max-width: 60ch;
  font-family: var(--font-body);
  font-size: calc(clamp(16px, 1.25vw, 18px) * var(--fs, 1));
  line-height: 1.85;
  color: rgb(var(--accent-rgb));
}
.pdp-desc__text p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .pdp-desc__grid { grid-template-columns: minmax(0, 1fr); }
  .pdp-desc__arrow--prev { left: 4px; }
  .pdp-desc__arrow--next { right: 4px; }
}

/* 4. Spec table */
/* Light tan/beige content band — per updated Figma the spec table sits on a
   warm light surface instead of the dark olive, creating a clear content
   break in the page rhythm. Inside this band, text + rules invert to dark. */
.pdp-spec {
  background: var(--surface-light);
  color: var(--surface-light-text);
  padding-block: clamp(80px, 9vw, 128px);
}
.pdp-spec .display,
.pdp-spec .eyebrow,
.pdp-spec h1, .pdp-spec h2, .pdp-spec h3, .pdp-spec h4,
.pdp-spec p, .pdp-spec dt, .pdp-spec dd { color: inherit; }
.pdp-spec .eyebrow { color: var(--surface-light-mute); }
/* Higher specificity than `.spec-row dt` below so the labels are dark (#45433f),
   not the default cream — per Figma the labels are dark on the cream band. */
.pdp-spec .spec-row dt { color: var(--surface-light-text); }
.pdp-spec .rule, .pdp-spec .spec-row { border-color: var(--surface-light-rule); }
.pdp-spec .spec-row { border-block-end: 1px solid var(--surface-light-rule); }
.pdp-spec .btn {
  border-color: var(--surface-light-text);
  color: var(--surface-light-text);
}
.pdp-spec .btn:hover {
  background: var(--surface-light-text);
  color: var(--surface-light);
}
.pdp-spec__grid {
  display: grid;
  grid-template-columns: minmax(0, 414fr) minmax(0, 768fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.pdp-spec__title {
  font-size: calc(clamp(1.8rem, 3vw, 2.5rem) * var(--fs, 1));
  line-height: 1.15;
  margin: 0 0 18px;
}
.pdp-spec__intro p {
  font-size: calc(16px * var(--fs, 1));
  color: var(--surface-light-text);   /* solid #45433f on the cream band, per Figma */
  margin: 0 0 28px;
  max-width: 374px;
}
.pdp-spec__intro .pdp-badge { margin-bottom: 22px; }
.pdp-spec__intro p a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.pdp-spec__download {
  display: block;
  width: fit-content;
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: calc(15px * var(--fs, 1));
  color: var(--surface-light-text);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #a68876;
}
/* Desktop: the intro column stays in view while the spec rows scroll (prototype) */
@media (min-width: 1025px) {
  .pdp-spec__intro { position: sticky; top: 140px; }
}

/* 5. Request a quote (client prototype) — paper band, form on the right */
.pdp-quote {
  background: #f5f2ee;
  color: #332e21;
  border-top: 1px solid rgba(51, 46, 33, 0.16);
  padding-block: clamp(70px, 9vw, 130px);
}
.pdp-quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: start;
}
.pdp-quote .eyebrow { color: #a68876; margin: 0 0 16px; }
.pdp-quote__title { font-size: calc(clamp(2.2rem, 3.8vw, 3.5rem) * var(--fs, 1)); line-height: 1.08; margin: 0; color: inherit; }
.pdp-quote__intro > p:not(.eyebrow) {
  margin: 22px 0 30px;
  max-width: 36ch;
  font-family: var(--font-body);
  font-size: calc(17px * var(--fs, 1));
  line-height: 1.7;
  color: inherit;
}
.pdp-quote__chip {
  display: flex;
  gap: 16px;
  align-items: center;
  max-width: 380px;
  padding: 14px;
  background: #ece3de;
}
.pdp-quote__chip img { width: 64px; height: 64px; object-fit: cover; flex: none; }
.pdp-quote__chip b { display: block; font-family: var(--font-title); font-weight: 400; font-size: calc(24px * var(--fs, 1)); line-height: 1.1; }
.pdp-quote__chip span { font-family: var(--font-body); font-size: calc(12px * var(--fs, 1)); letter-spacing: 0.16em; text-transform: uppercase; color: #7a6f61; }
.pdp-quote__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pdp-quote__field { display: flex; flex-direction: column; gap: 6px; }
.pdp-quote__field--full { grid-column: 1 / -1; }
.pdp-quote__field > span {
  font-family: var(--font-body);
  font-size: calc(11.5px * var(--fs, 1));
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6d6457;
}
.pdp-quote__field input,
.pdp-quote__field select,
.pdp-quote__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(51, 46, 33, 0.16);
  border-radius: 0;
  background: #fff;
  color: #332e21;
  font-family: var(--font-body);
  font-size: calc(15.5px * var(--fs, 1));
}
.pdp-quote__field input:focus,
.pdp-quote__field select:focus,
.pdp-quote__field textarea:focus { outline: none; border-color: #332e21; }
.pdp-quote__field small { color: #8a3b22; font-size: calc(12.5px * var(--fs, 1)); }
.pdp-quote__check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: calc(15px * var(--fs, 1));
  cursor: pointer;
}
.pdp-quote__check input { width: 18px; height: 18px; flex: none; accent-color: #332e21; }
.pdp-quote__send {
  min-height: 58px;
  border: 0;
  background: #332e21;
  color: #f5f2ee;
  font-family: var(--font-body);
  font-size: calc(13px * var(--fs, 1));
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.pdp-quote__send:hover { background: #503629; }
.pdp-quote__thanks { background: #ece3de; padding: 36px; }
.pdp-quote__thanks h3 { font-size: calc(clamp(1.8rem, 2.6vw, 2.4rem) * var(--fs, 1)); margin: 0 0 10px; color: inherit; }
.pdp-quote__thanks p { margin: 0; font-family: var(--font-body); color: #6d6457; }
@media (max-width: 1024px) { .pdp-quote__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px)  { .pdp-quote__form { grid-template-columns: 1fr; } }

/* 7. "More in {Colour}" — 4 product cards with availability badges */
.pdp-more { background: #f5f2ee; color: #332e21; padding-block: clamp(60px, 8vw, 110px) 0; }
.pdp-more__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}
.pdp-more__title { font-size: calc(clamp(2rem, 3.2vw, 3rem) * var(--fs, 1)); margin: 0; color: inherit; }
.pdp-more .arrow-link { color: inherit; }
.pdp-more__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pdp-more__card { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; }
.pdp-more__image { aspect-ratio: 3 / 4; overflow: hidden; background: #efe4dc; margin-bottom: 6px; }
.pdp-more__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-more__card .pdp-badge { align-self: flex-start; margin-top: 6px; }
.pdp-more__name { font-family: var(--font-title); font-weight: 400; font-size: calc(24px * var(--fs, 1)); line-height: 1.15; margin: 4px 0 0; color: inherit; }
.pdp-more__meta { font-family: var(--font-body); font-size: calc(12px * var(--fs, 1)); letter-spacing: 0.18em; text-transform: uppercase; color: #7a6f61; }
@media (max-width: 1024px) { .pdp-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pdp-spec__table {
  margin: 0;
  padding: 0;
}
.spec-row {
  display: grid;
  grid-template-columns: minmax(0, 170px) 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}
.spec-row:last-child { border-bottom: 1px solid var(--rule); }
.spec-row dt {
  font-family: var(--font-body);
  font-weight: 300;          /* Jost/Futura Light, per Figma (was 500) */
  font-size: calc(14px * var(--fs, 1));
  letter-spacing: 0.1em;
  color: var(--cream);
}
.spec-row dd { margin: 0; }
.spec-row__value {
  font-family: var(--font-title);   /* Things serif, per Figma (was sans 500) */
  font-weight: 400;
  font-size: calc(20px * var(--fs, 1));
  color: var(--cream);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.spec-row__detail {
  font-family: var(--font-body);
  font-weight: 300;          /* Light, per Figma */
  font-size: calc(16px * var(--fs, 1));
  line-height: 1.55;
  color: var(--cream-90);
  margin: 0;
  letter-spacing: -0.01em;
}

/* "View all N options" micro-link inside the spec table (cream band, dark text) */
.spec-row__more {
  display: inline-block;
  margin-top: 10px;
  padding: 0 0 2px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--surface-light-text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(11px * var(--fs, 1));
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--surface-light-text);
  cursor: pointer;
  transition: opacity 0.25s ease;
}
.spec-row__more:hover { opacity: 0.65; }

/* "Also available in" popup — same dark-panel language as the pattern popup */
.spec-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 48px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.spec-modal.is-open { opacity: 1; }
.spec-modal[hidden] { display: none; }
.spec-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 5, 0.7);
  border: 0;
  cursor: pointer;
}
.spec-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 92vw);
  max-height: min(80vh, 720px);
  overflow-y: auto;
  background: #14110c;
  color: var(--cream);
  padding: clamp(24px, 4vw, 44px);
}
.spec-modal__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.spec-modal__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(11px * var(--fs, 1));
  letter-spacing: 0.2em;
  color: var(--cream-70);
}
.spec-modal__close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(11px * var(--fs, 1));
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: opacity 0.25s ease;
}
.spec-modal__close:hover { opacity: 0.7; }
.spec-modal__title {
  font-family: var(--font-title);
  font-size: calc(clamp(1.5rem, 2.6vw, 2rem) * var(--fs, 1));
  margin: 0 0 22px;
}
.spec-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.spec-modal__list li {
  font-family: var(--font-body);
  font-size: calc(16px * var(--fs, 1));
  line-height: 1.5;
  color: var(--cream-90);
  padding: 12px 0;
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.14);
}
.spec-modal__list li:last-child { border-bottom: 0; }

/* 5. Natural Wood Grades */
/* Mid-brown content band (#a68876) with cream text, per Figma. */
.pdp-grades {
  background: #a68876;
  color: var(--cream);
  padding-block: clamp(80px, 9vw, 128px);
}
.pdp-grades__head { text-align: center; margin-bottom: 64px; }
.pdp-grades__head .eyebrow { display: inline-block; margin: 0 0 14px; color: var(--cream-70); font-weight: 300; }
.pdp-grades__title { font-size: calc(clamp(1.8rem, 3vw, 2.5rem) * var(--fs, 1)); margin: 0 0 18px; color: inherit; }
.pdp-grades__intro { font-size: calc(16px * var(--fs, 1)); color: var(--cream-90); margin: 0 auto; max-width: 600px; }
.pdp-grades .grade-card__name { color: var(--cream); }
.pdp-grades .grade-card__text { color: var(--cream-90); font-size: calc(16px * var(--fs, 1)); font-weight: 400; }
.pdp-grades__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
@media (max-width: 1024px) { .pdp-grades__grid { grid-template-columns: 1fr; gap: 40px; } }
.grade-card__image { aspect-ratio: 435 / 334; overflow: hidden; margin-bottom: 18px; }
.grade-card__image img { width: 100%; height: 100%; object-fit: cover; }
.grade-card__name {
  font-family: var(--font-title);
  font-weight: 400;   /* Things Regular, per Figma — h3 default would be bold */
  font-size: calc(clamp(1.6rem, 2.4vw, 2.2rem) * var(--fs, 1));
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.grade-card__text {
  font-size: calc(15px * var(--fs, 1));
  color: var(--cream-90);
  margin: 0;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* 6. Certification */
.pdp-cert {
  background: var(--bg);   /* solid dark, per Figma (was a faint overlay) */
  padding-block: clamp(72px, 9vw, 120px);
}
.pdp-cert__grid {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.pdp-cert__title { font-size: calc(clamp(1.8rem, 3vw, 2.5rem) * var(--fs, 1)); margin: 0; }

/* Product section titles use the Things face (per Figma), not the Elegant
   display face — matching how the homepage renders its section titles.
   (The product hero name "Amity" stays Elegant via .pdp-hero__title.) */
.pdp-spec__title,
.pdp-grades__title,
.pdp-cert__title {
  font-family: var(--font-title);
}
.pdp-cert__text {
  font-size: calc(16px * var(--fs, 1));
  line-height: 1.6;
  color: var(--cream-90);
  margin: 0;
  max-width: 620px;
  letter-spacing: -0.01em;
}
.pdp-cert__logos { display: flex; gap: 16px; align-items: center; }
/* Cream tiles so the certification marks read on the dark band
   (the FSC artwork is near-black and disappears otherwise). */
.pdp-cert__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  background: var(--cream);
  padding: 16px;
}
.pdp-cert__logo img { max-height: 72px; max-width: 72px; width: auto; height: auto; }
@media (max-width: 1024px) {
  .pdp-cert__grid { grid-template-columns: 1fr; text-align: left; }
}

/* 7. Atmosphere + Pattern + Discover links */
/* =========================================================
   Shared "discover" two-up block — used by:
     • partials/floors-discover  (.floors-discover__*)
     • product PDP atmosphere    (.pdp-atmosphere__*)
     • journal post bottom       (.journal-post-discover__*)
   Title + arrow link sit OVERLAID on the bottom-left of each
   image, no separate text block below (matches the Figma).
   ========================================================= */
.pdp-atmosphere,
.floors-discover,
.journal-post-discover {
  /* 30px breathing room above the images so content doesn't start on the exact
     line where the section background changes shade. */
  padding-top: 30px;
  padding-bottom: clamp(56px, 7vw, 88px);
}

.pdp-atmosphere__media,
.floors-discover__media,
.journal-post-discover__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gutter, 20px);
  padding-inline: var(--gutter);
}

.pdp-atmosphere__image,
.floors-discover__image,
.journal-post-discover__image {
  position: relative;
  display: block;
  aspect-ratio: 670 / 855;
  overflow: hidden;
  color: var(--cream);
}
.pdp-atmosphere__image img,
.floors-discover__image img,
.journal-post-discover__image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Bottom-bias gradient for legibility under the white title + arrow link */
.pdp-atmosphere__image::after,
.floors-discover__image::after,
.journal-post-discover__image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,17,12,0.55) 0%, rgba(20,17,12,0.18) 32%, rgba(20,17,12,0) 56%);
  pointer-events: none;
}

.pdp-atmosphere__copy,
.floors-discover__copy,
.journal-post-discover__copy {
  position: absolute;
  inset: auto 32px 32px 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}
.pdp-atmosphere__title,
.floors-discover__title,
.journal-post-discover__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(clamp(1.6rem, 2.6vw, 2.4rem) * var(--fs, 1));
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}
.pdp-atmosphere__image .arrow-link,
.floors-discover__image .arrow-link,
.journal-post-discover__image .arrow-link {
  color: var(--cream);
}

@media (max-width: 1024px) {
  .pdp-atmosphere__image,
  .floors-discover__image,
  .journal-post-discover__image { aspect-ratio: 4 / 5; }
}
@media (max-width: 640px) {
  .pdp-atmosphere__media,
  .floors-discover__media,
  .journal-post-discover__media { grid-template-columns: 1fr; }
}

/* =========================================================
   Tablet / Mobile adjustments for PDP hero
   ========================================================= */
@media (max-width: 1024px) {
  .pdp-hero { min-height: clamp(520px, 80vw, 760px); }
  /* Top padding clears the fixed header bar (~92px phone / ~124px tablet)
     so the breadcrumb never tucks under the logo. */
  .pdp-hero__copy { padding-block: clamp(150px, 20vw, 200px) clamp(56px, 8vw, 80px); max-width: none; }
  /* Same clearance for the other top-anchored heroes. */
  .journal-post-hero__copy,
  .contact-hero__inner { padding-top: clamp(150px, 20vw, 180px); }
  .samples-hero { padding-top: clamp(150px, 20vw, 180px); }
  /* copy spans wider here, so darken the photo more evenly for legibility */
  .pdp-hero__overlay {
    background: linear-gradient(90deg,
      rgba(20,17,12,0.85) 0%,
      rgba(20,17,12,0.6) 55%,
      rgba(20,17,12,0.3) 100%);
  }
  .pdp-spec__grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: minmax(0, 130px) 1fr; }
}
@media (max-width: 640px) {
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .pdp-hero__buttons .btn { width: 100%; }
  .pdp-hero__button-form { width: 100%; }   /* "Add free sample" sits in a form — let it span too */
  .pdp-anchor-tabs { gap: 18px; }
}

/* =========================================================
   BESPOKE FLOORING page
   Mirrors Figma frame "Bespoke Flooring Page - PROGRAM IT"
   - bsp-hero        — full-bleed interior photo + dark overlay copy
   - bsp-split       — text/image two-column (text left, photo right)
   - bsp-feature     — full-bleed photo with overlay copy
   - bsp-brands      — caption + 6 logos
   - bsp-patterns    — eyebrow + title + 6-card pattern mosaic
   - bsp-process     — eyebrow + 4-card process row
   ========================================================= */

/* ----- 1. Hero ----- */
.bsp-hero {
  position: relative;
  min-height: clamp(620px, 70vw, 1000px);
  display: flex;
  overflow: hidden;
}
.bsp-hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.bsp-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,17,12,0.65) 0%, rgba(20,17,12,0.25) 36%, rgba(20,17,12,0.05) 62%);
}
.bsp-hero__inner {
  position: relative; z-index: 2;
  align-self: flex-end;
  padding-block: 80px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.bsp-hero__eyebrow { margin-bottom: 22px; letter-spacing: 0.12em; }
.bsp-hero__title {
  font-size: calc(clamp(2.6rem, 5.2vw, 4.8rem) * var(--fs, 1));
  margin: 0 0 22px;
  max-width: 720px;
}
.bsp-hero__subtitle {
  font-size: calc(18px * var(--fs, 1));
  color: var(--cream-90);
  max-width: 600px;
  margin: 0 0 36px;
  line-height: 1.55;
}

/* ----- 2. Split section (text + image) ----- */
/* Per Figma this "A Collaborative Approach" section is INVERTED: a light taupe
   (#c4beb5) background with dark brown (#332e21) text and a solid dark button. */
.bsp-split {
  padding-block: clamp(64px, 8vw, 120px);
  background: #c4beb5;
  color: var(--bg);
}
.bsp-split .eyebrow { color: rgba(var(--bg-rgb), 0.72); }
.bsp-split__title { color: var(--bg); }
.bsp-split .btn {
  background: var(--bg);
  color: var(--cream);
  border-color: var(--bg);
}
.bsp-split .btn:hover {
  background: transparent;
  color: var(--bg);
  border-color: var(--bg);
}
.bsp-split__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 612fr) minmax(0, 709fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.bsp-split--image-right .bsp-split__copy  { order: 1; }
.bsp-split--image-right .bsp-split__media { order: 2; }
.bsp-split__copy .eyebrow { margin-bottom: 22px; }
.bsp-split__title {
  font-size: calc(clamp(2rem, 4vw, 3.4rem) * var(--fs, 1));
  margin: 0 0 22px;
  max-width: 570px;
}
.bsp-split__text {
  font-size: calc(17px * var(--fs, 1));
  color: rgba(var(--bg-rgb), 0.85);   /* dark text on the light taupe section */
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 571px;
}
/* When a split has stacked paragraphs, the last one hugs the button/edge. */
.bsp-split__text--last { margin-bottom: 40px; }

/* ===== About Us — "Trusted by" brand strip ===== */
.about-brands {
  padding-block: clamp(72px, 9vw, 130px);
  text-align: center;
}
.about-brands__intro {
  font-family: var(--font-title);
  font-size: calc(clamp(1.3rem, 2.2vw, 1.9rem) * var(--fs, 1));
  line-height: 1.4;
  color: var(--cream-90);
  max-width: 900px;
  margin: 0 auto clamp(48px, 6vw, 72px);
}
.about-brands__caption {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(12px * var(--fs, 1));
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-70);
  margin: 0 0 clamp(32px, 4vw, 48px);
}
/* the .brands__row (shared) lays the logos out; nudge vertical rhythm here */
.about-brands .brands__row { align-items: center; gap: 32px clamp(32px, 5vw, 72px); justify-content: center; }
.bsp-split__media {
  aspect-ratio: 709 / 615;
  overflow: hidden;
}
.bsp-split__media img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ----- 3. Colour as the Foundation — dark section with the pre-composed wood
   collage (single transparent PNG/WebP from Figma). The collage fills the
   section; the copy is overlaid in the transparent top-left negative space. ----- */
.bsp-feature {
  position: relative;
  background: #000;              /* black band, per Figma */
  overflow: hidden;
  aspect-ratio: 1500 / 1146;     /* matches the collage so it fills without crop */
}
.bsp-feature__collage-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.bsp-feature__copy {
  position: absolute;
  left: var(--gutter);
  top: clamp(40px, 5.5vw, 80px);
  z-index: 2;
  width: min(40%, 470px);
}
.bsp-feature__copy .eyebrow { margin-bottom: 22px; }
.bsp-feature__title {
  font-size: calc(clamp(2.2rem, 4.4vw, 3.8rem) * var(--fs, 1));
  margin: 0 0 22px;
}
.bsp-feature__text {
  font-size: calc(17px * var(--fs, 1));
  color: var(--cream-90);
  line-height: 1.6;
  margin: 0 0 32px;
}
.bsp-feature__text p { margin: 0 0 18px; }
.bsp-feature__text p:last-child { margin-bottom: 0; }

/* ----- 4. Brand strip ----- */
.bsp-brands { padding-block: clamp(48px, 6vw, 80px); }
.bsp-brands__caption {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(14px * var(--fs, 1));
  letter-spacing: 0.12em;
  color: var(--cream-70);
  text-align: center;
  margin: 0 0 32px;
}

/* ----- 5. Patterns gallery ----- */
/* Per Figma this section sits on a WHITE (#ffffff) background with dark text.
   The pattern cards are photos, so their overlaid labels stay cream. */
.bsp-patterns {
  padding-block: clamp(96px, 11vw, 160px) clamp(64px, 8vw, 96px);
  background: #ffffff;
}
.bsp-patterns__head .eyebrow { color: rgba(var(--bg-rgb), 0.72); }
.bsp-patterns__title { color: var(--bg); }
.bsp-patterns__head {
  margin-bottom: clamp(64px, 8vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 670fr) minmax(0, 666fr);
  column-gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.bsp-patterns__head .eyebrow {
  grid-column: 1; grid-row: 1;
  margin: 0 0 22px;
}
.bsp-patterns__title {
  grid-column: 1; grid-row: 2;
  font-size: calc(clamp(2rem, 4vw, 3.4rem) * var(--fs, 1));
  margin: 0;
  max-width: 460px;
}
/* Italic quote: right column, right-aligned, baseline-aligned with the heading. */
.bsp-patterns__quote {
  grid-column: 2; grid-row: 2;
  justify-self: end;
  align-self: end;
  text-align: right;
  font-family: var(--font-display);
  font-style: italic;
  font-size: calc(clamp(1.4rem, 2.4vw, 2rem) * var(--fs, 1));
  line-height: 1.3;
  color: var(--bg);   /* dark italic quote on the white section */
  margin: 0;
  max-width: 560px;
}
.bsp-patterns__text {
  grid-column: 1; grid-row: 3;
  font-size: calc(17px * var(--fs, 1));
  line-height: 1.65;
  color: rgba(var(--bg-rgb), 0.85);   /* dark intro text on the white section */
  margin: 26px 0 0;
  max-width: 620px;
}
.bsp-patterns__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gutter, 20px);
  padding-inline: var(--gutter);
  margin-bottom: clamp(40px, 5vw, 64px);
}
/* Card: image fills its full area, copy is overlaid bottom-left.
   - Tablet / mobile (where grid doesn't dictate height): aspect-ratio on the card
     gives it a natural square shape.
   - Desktop mosaic (≥1025px) sets explicit grid-auto-rows × span — the inner
     image stretches to fill whatever cell the grid hands it. The override
     below removes the aspect-ratio so tall cards (Plank, Chevron) fill all the
     way down instead of leaving an empty olive strip under a square image. */
.bsp-pattern-card {
  position: relative;
  display: block;
  overflow: hidden;
  transition: transform 0.25s ease;
  aspect-ratio: 473 / 465;
  background: rgba(20,17,12,0.55);
  /* button reset (cards are <button> so they open the popup) */
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.bsp-pattern-card__image {
  position: absolute; inset: 0;
  overflow: hidden;
}
.bsp-pattern-card__image img,
.bsp-pattern-card__image .pattern-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.bsp-pattern-card__image .pattern-svg { opacity: 0.85; }
.bsp-pattern-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,12,0) 50%, rgba(20,17,12,0.55) 100%);
}
.bsp-pattern-card__copy {
  position: absolute;
  inset: auto 28px 24px 28px;
  display: flex; flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.bsp-pattern-card__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(clamp(1.6rem, 2.4vw, 2.2rem) * var(--fs, 1));
  letter-spacing: -0.01em;
  color: var(--cream);
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}

/* Mosaic positions matching the Figma layout */
@media (min-width: 1025px) {
  .bsp-patterns__grid { grid-auto-rows: 232px; }
  /* Grid cell height is fixed by grid-auto-rows × span — cancel the default
     aspect-ratio so tall cards fill the cell instead of leaving empty space. */
  .bsp-pattern-card { aspect-ratio: auto; }
  /* Mosaic layout matching the Figma "Patterns that Shape the Space" (8 cards):
     Row 1:   [Plank tall L     ] [Herringbone wide R              ]
     Row 2:   [Plank cont.      ] [Mansion Weave wide R            ]
     Row 3:   [Hex Weave 4col ] [Cube tall 4col ] [Chevron tall 4col]
     Row 4:   [Basket Weave  ] [Cube cont.     ] [Chevron cont.    ]
     Row 5:   [Explore Other Patterns banner — full 12 cols           ]
     Cube + Chevron are BOTH tall (4 cols × 2 rows = same size); Hex Weave
     and Basket Weave are the two smaller stacked cards on the left. */
  .bsp-patterns__grid                   { grid-auto-flow: row dense; }
  .bsp-pattern-card--plank              { grid-column: span 4; grid-row: span 2; }
  .bsp-pattern-card--herringbone        { grid-column: span 8; grid-row: span 1; }
  .bsp-pattern-card--mansion-weave      { grid-column: span 8; grid-row: span 1; }
  .bsp-pattern-card--hex-weave          { grid-column: span 4; grid-row: span 1; }
  .bsp-pattern-card--cube               { grid-column: span 4; grid-row: span 2; }
  .bsp-pattern-card--chevron            { grid-column: span 4; grid-row: span 2; }
  .bsp-pattern-card--basket-weave       { grid-column: span 4; grid-row: span 1; }
  .bsp-pattern-card--explore-other      { grid-column: 1 / -1; grid-row: span 1; }

  /* Some patterns hidden in admin → the mosaic would leave holes, so use an
     even 3-per-row grid of square-ish cards instead (banner stays full width). */
  .bsp-patterns__grid--simple                        { grid-auto-rows: auto; grid-auto-flow: row; }
  .bsp-patterns__grid--simple .bsp-pattern-card      { grid-column: span 4; grid-row: auto; aspect-ratio: 473 / 465; }
  .bsp-patterns__grid--simple .bsp-pattern-card--explore-other { grid-column: 1 / -1; aspect-ratio: auto; height: 232px; }
}
@media (max-width: 1024px) and (min-width: 641px) {
  .bsp-patterns__grid { grid-template-columns: repeat(2, 1fr); }
  .bsp-pattern-card { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bsp-patterns__grid { grid-template-columns: 1fr; }
}
.bsp-patterns__foot { text-align: left; }
.bsp-patterns__more { font-size: calc(18px * var(--fs, 1)); }

/* ----- 5c. Closing statement caption (between the white Patterns section and
   the dark Process section). White background continues from Patterns; centred
   italic serif in dark, per Figma node 460:1426. ----- */
.bsp-statement {
  background: #d9d9d9;
  padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px);
}
.bsp-statement__text {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: var(--gutter);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: calc(clamp(1.35rem, 2.3vw, 1.95rem) * var(--fs, 1));
  line-height: 1.4;
  color: var(--bg);
}

/* ----- 6. Process ----- */
.bsp-process {
  background: rgba(var(--cream-rgb), 0.04);
  padding-block: clamp(96px, 11vw, 160px);
}
.bsp-process__head { text-align: center; margin-bottom: clamp(64px, 8vw, 96px); }
.bsp-process__head .eyebrow { display: inline-block; margin: 0 0 12px; }
.bsp-process__title {
  font-size: calc(clamp(2rem, 4vw, 3.4rem) * var(--fs, 1));
  margin: 0 0 22px;
}
.bsp-process__intro {
  font-size: calc(16px * var(--fs, 1));
  color: var(--cream-90);
  line-height: 1.6;
  margin: 0 auto 32px;
  max-width: 670px;
}
.bsp-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: clamp(32px, 4vw, 48px);
  gap: clamp(20px, 2vw, 32px);
  padding-inline: var(--gutter);
}
.bsp-process-card { display: flex; flex-direction: column; }
.bsp-process-card__image {
  aspect-ratio: 275 / 360;
  overflow: hidden;
  margin-bottom: 22px;
}
.bsp-process-card__image img {
  width: 100%; height: 100%; object-fit: cover;
}
.bsp-process-card__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: calc(clamp(1.3rem, 2vw, 1.7rem) * var(--fs, 1));
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.bsp-process-card__text {
  font-family: var(--font-body);
  font-size: calc(15px * var(--fs, 1));
  line-height: 1.55;
  color: var(--cream-90);
  margin: 0;
  letter-spacing: -0.01em;
}
@media (max-width: 1024px) { .bsp-process__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .bsp-process__grid { grid-template-columns: 1fr; } }

/* ----- Bespoke responsive tweaks ----- */
@media (max-width: 1024px) {
  .bsp-split__inner { grid-template-columns: 1fr; gap: 40px; }
  .bsp-split--image-right .bsp-split__copy  { order: 2; }
  .bsp-split--image-right .bsp-split__media { order: 1; }
  .bsp-patterns__head {
    grid-template-columns: 1fr;
    column-gap: 24px;
  }
  .bsp-patterns__quote {
    grid-column: 1; grid-row: auto;
    justify-self: start; align-self: auto;
    text-align: left;
    margin-top: 18px;
  }
  .bsp-patterns__text { grid-row: auto; }

  /* Colour as the Foundation: stack copy (on black) above the full collage */
  .bsp-feature { aspect-ratio: auto; }
  .bsp-feature__copy {
    position: static;
    width: auto;
    padding: clamp(56px, 8vw, 80px) var(--gutter) 0;
  }
  .bsp-feature__collage-img {
    position: static;
    height: auto;
    margin-top: clamp(28px, 4vw, 44px);
  }
}

/* =========================================================
   Pattern detail popup (Figma "Pattern Select")
   ========================================================= */
.pattern-modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex;
  align-items: stretch;
  opacity: 0;
  transition: opacity 0.26s ease;
}
.pattern-modal.is-open { opacity: 1; }
.pattern-modal[hidden] { display: none; }
.pattern-modal__backdrop {
  position: absolute; inset: 0;
  border: 0; padding: 0; margin: 0;
  background: rgba(10, 8, 5, 0.6);
  cursor: pointer;
}
.pattern-modal__panel {
  position: relative;
  margin: auto;
  width: min(1240px, 96vw);
  max-height: 94vh;
  overflow-y: auto;
  background: #14110c;
  color: var(--cream);
  box-shadow: 0 30px 90px rgba(0,0,0,0.5);
  transform: translateY(16px);
  transition: transform 0.26s ease;
}
.pattern-modal.is-open .pattern-modal__panel { transform: none; }
.pattern-modal__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(28px, 4vw, 56px);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; background: #14110c; z-index: 3;
}
.pattern-modal__eyebrow {
  font-family: var(--font-body); font-weight: 500;
  font-size: calc(13px * var(--fs, 1)); letter-spacing: 0.16em; color: var(--cream-70);
}
.pattern-modal__close {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 0; cursor: pointer;
  color: var(--cream); font-family: var(--font-body);
  font-size: calc(13px * var(--fs, 1)); letter-spacing: 0.12em;
  transition: color 0.2s ease;
}
.pattern-modal__close:hover { color: #fff; }
.pattern-modal__body {
  display: grid;
  grid-template-columns: minmax(0, 472fr) minmax(0, 768fr);
  gap: clamp(32px, 4vw, 64px);
  padding: clamp(32px, 4vw, 56px);
}
.pattern-modal__label {
  font-family: var(--font-body); font-weight: 500;
  font-size: calc(12px * var(--fs, 1)); letter-spacing: 0.12em; color: var(--cream-70);
  margin: 0 0 10px;
}
.pattern-modal__title { font-size: calc(clamp(2rem, 3.4vw, 3rem) * var(--fs, 1)); margin: 0 0 8px; }
.pattern-modal__material { font-size: calc(16px * var(--fs, 1)); color: var(--cream-90); margin: 0 0 26px; }
.pattern-modal__info .rule { margin: 0 0 26px; }
.pattern-modal__desc { font-size: calc(16px * var(--fs, 1)); line-height: 1.65; color: var(--cream-90); margin: 0 0 32px; }
.pattern-modal__block { margin-bottom: 30px; }
.pattern-modal__poss { display: flex; gap: 18px; flex-wrap: wrap; }
.pattern-modal__poss-item { display: flex; flex-direction: column; gap: 8px; width: 92px; }
.pattern-modal__poss-thumb { display: block; width: 92px; height: 92px; overflow: hidden; background: rgba(var(--cream-rgb),0.06); }
.pattern-modal__poss-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pattern-modal__poss-label { font-family: var(--font-body); font-size: calc(13px * var(--fs, 1)); color: var(--cream-90); line-height: 1.3; }
.pattern-modal__colours {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.pattern-modal__colour { display: flex; flex-direction: column; gap: 6px; }
.pattern-modal__colour-label { font-family: var(--font-title); font-size: calc(15px * var(--fs, 1)); color: var(--cream); }
.pattern-modal__colour-caption { font-family: var(--font-body); font-size: calc(13px * var(--fs, 1)); color: var(--cream-70); line-height: 1.4; }
.pattern-modal__app { margin: 0; display: grid; gap: 12px; }
.pattern-modal__app > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.pattern-modal__app dt { font-family: var(--font-body); font-size: calc(14px * var(--fs, 1)); color: var(--cream-70); margin: 0; }
.pattern-modal__app dd { font-family: var(--font-body); font-size: calc(14px * var(--fs, 1)); color: var(--cream); margin: 0; line-height: 1.5; }
.pattern-modal__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.pattern-modal__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.6vw, 20px);
  align-content: start;
}
.pattern-modal__shot { aspect-ratio: 374 / 465; overflow: hidden; background: rgba(var(--cream-rgb),0.05); }
.pattern-modal__shot:first-child { grid-column: 1 / -1; aspect-ratio: 768 / 480; }
.pattern-modal__shot img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .pattern-modal__body { grid-template-columns: 1fr; }
  .pattern-modal__gallery { order: -1; }
}
@media (max-width: 600px) {
  .pattern-modal__colours { grid-template-columns: 1fr; }
  .pattern-modal__app > div { grid-template-columns: 1fr; gap: 2px; }
}

/* =========================================================
   SAMPLES CART
   ========================================================= */
.samples-hero {
  padding-block: clamp(80px, 9vw, 130px) clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--rule);
}
.samples-hero__title {
  font-size: calc(clamp(2.2rem, 4vw, 3.6rem) * var(--fs, 1));
  margin: 18px 0 18px;
}
.samples-hero__text {
  font-size: calc(17px * var(--fs, 1));
  color: var(--cream-90);
  line-height: 1.55;
  margin: 0;
  max-width: 670px;
}

.samples-flash {
  padding-block: 14px;
  background: rgba(217, 126, 99, 0.16);
  border-bottom: 1px solid rgba(217, 126, 99, 0.3);
  font-family: var(--font-body);
  font-size: calc(14px * var(--fs, 1));
  color: var(--cream);
}

.samples-section { padding-block: clamp(48px, 6vw, 96px); }
.samples-section__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 612fr) minmax(0, 472fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.samples-section__heading {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: calc(clamp(1.5rem, 2.4vw, 2rem) * var(--fs, 1));
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}

/* Cart items */
.samples-cart__list { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid var(--rule); }
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.cart-item__image { aspect-ratio: 1; overflow: hidden; }
.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: calc(1.25rem * var(--fs, 1));
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.cart-item__name a { border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.cart-item__name a:hover { border-color: var(--rule); }
.cart-item__meta { font-family: var(--font-body); font-size: calc(13px * var(--fs, 1)); color: var(--cream-70); margin: 0 0 8px; letter-spacing: 0.02em; }
.cart-item__meta span { color: var(--cream-90); }
.cart-item__dot { margin: 0 8px; }
.cart-item__tagline { font-family: var(--font-body); font-size: calc(14px * var(--fs, 1)); color: var(--cream-90); margin: 0; line-height: 1.5; max-width: 50ch; }
.cart-item__remove { margin: 0; }
.cart-item__remove button {
  background: transparent;
  border: 0;
  color: var(--cream-70);
  font-family: var(--font-body);
  font-size: calc(13px * var(--fs, 1));
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.2s ease;
  border-bottom: 1px solid var(--rule);
}
.cart-item__remove button:hover { color: var(--cream); border-color: var(--cream); }

.samples-cart__counter { font-family: var(--font-body); font-size: calc(13px * var(--fs, 1)); color: var(--cream-70); letter-spacing: 0.04em; margin: 0; }
.samples-cart__empty { padding: 36px 0; color: var(--cream-90); }
.samples-cart__empty p { margin: 0 0 12px; }

/* Cart form (reuses .contact-form__field styles) */
.samples-cart__form { display: grid; gap: 22px; }
.samples-cart__form-empty { color: var(--cream-70); font-style: italic; }
.samples-cart__submit { justify-self: start; margin-top: 14px; }
/* Marketing consent tick box (unticked by default) */
.samples-cart__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: calc(14px * var(--fs, 1));
  line-height: 1.5;
  color: var(--cream-90);
  cursor: pointer;
}
.samples-cart__consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--cream);
  cursor: pointer;
}
.samples-cart__sla {
  font-family: var(--font-title);
  font-style: italic;
  font-size: calc(14px * var(--fs, 1));
  color: var(--cream-70);
  margin: 0;
}

/* Thank-you page */
.samples-thanks { padding-block: clamp(120px, 14vw, 200px); }
.samples-thanks__inner { max-width: 670px; }
.samples-thanks__title { font-size: calc(clamp(2.6rem, 5vw, 4.6rem) * var(--fs, 1)); margin: 18px 0 22px; }
.samples-thanks__text { font-size: calc(17px * var(--fs, 1)); color: var(--cream-90); line-height: 1.6; margin: 0 0 22px; }
.samples-thanks__ref {
  font-family: var(--font-body);
  font-size: calc(14px * var(--fs, 1));
  color: var(--cream-70);
  letter-spacing: 0.04em;
  margin: 0 0 36px;
}
.samples-thanks__ref span { color: var(--cream); font-weight: 500; }
.samples-thanks__actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }

@media (max-width: 1024px) {
  .samples-section__inner { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 80px 1fr auto; }
}
@media (max-width: 640px) {
  .cart-item { grid-template-columns: 60px 1fr; }
  .cart-item__remove { grid-column: 2; justify-self: start; }
}

/* =========================================================
   CONTACT page
   - contact-hero            — split text/image
   - contact-quote           — centered italic band
   - contact-visit           — showroom address + image
   - contact-form-section    — heading + form
   - contact-cards           — 3-column footer cards
   ========================================================= */

/* Hero */
.contact-hero {
  position: relative;
  overflow: hidden;
}
.contact-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 612fr) minmax(0, 709fr);
  min-height: clamp(560px, 60vw, 855px);
  align-items: center;
}
.contact-hero__copy {
  padding: clamp(80px, 9vw, 130px) var(--gutter) 56px var(--gutter);
}
.contact-hero__copy .eyebrow { margin-bottom: 22px; }
.contact-hero__title {
  font-size: calc(clamp(2.6rem, 5vw, 4.6rem) * var(--fs, 1));
  margin: 0 0 26px;
}
.contact-hero__text {
  font-size: calc(17px * var(--fs, 1));
  color: var(--cream-90);
  line-height: 1.6;
  max-width: 472px;
  margin: 0 0 32px;
}
.contact-hero__media {
  position: relative;
  aspect-ratio: 709 / 855;
  overflow: hidden;
}
.contact-hero__media img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Quote band */
.contact-quote {
  padding-block: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--rule);
}
.contact-quote__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: calc(clamp(1.4rem, 2.4vw, 2.1rem) * var(--fs, 1));
  line-height: 1.35;
  color: var(--cream);
  margin: 0 auto;
  max-width: 1162px;
  text-align: center;
  letter-spacing: -0.01em;
}

/* Visit our London Showroom */
.contact-visit {
  padding-block: clamp(64px, 8vw, 120px);
  background: rgba(var(--cream-rgb),0.04);
}
.contact-visit__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 472fr) minmax(0, 709fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-visit__title {
  font-size: calc(clamp(2rem, 4vw, 3.4rem) * var(--fs, 1));
  margin: 0 0 40px;
  white-space: pre-line;
  line-height: 1.05;
}
.contact-visit__row { margin-bottom: 26px; }
.contact-visit__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(13px * var(--fs, 1));
  letter-spacing: 0.12em;
  color: var(--cream-70);
  margin: 0 0 6px;
}
.contact-visit__value {
  font-family: var(--font-body);
  font-size: calc(16px * var(--fs, 1));
  color: var(--cream);
  line-height: 1.6;
  margin: 0;
}
.contact-visit__value a { color: var(--cream); border-bottom: 1px solid var(--rule); transition: border-color 0.2s ease; }
.contact-visit__value a:hover { border-color: var(--cream); }
.contact-visit__media {
  aspect-ratio: 709 / 855;
  overflow: hidden;
  background: rgba(var(--cream-rgb), 0.04);
}
.contact-visit__media img,
.contact-visit__media iframe {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  border: 0;
}

/* Form section */
.contact-form-section { padding-block: clamp(64px, 8vw, 120px); }
.contact-form-section__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 472fr) minmax(0, 668fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-form-section__title {
  font-size: calc(clamp(2rem, 4vw, 3.4rem) * var(--fs, 1));
  margin: 0 0 26px;
  white-space: pre-line;
  line-height: 1.05;
}
.contact-form-section__text {
  font-size: calc(17px * var(--fs, 1));
  color: var(--cream-90);
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 472px;
}
.contact-form-section__sla {
  font-family: var(--font-title);
  font-style: italic;
  font-size: calc(16px * var(--fs, 1));
  color: var(--cream-70);
  margin: 0;
  max-width: 472px;
}

/* Form */
.contact-form { display: grid; gap: 22px; }
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.contact-form__field { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-body); }
.contact-form__field > span {
  font-size: calc(13px * var(--fs, 1));
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cream-70);
}
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  background: transparent;
  color: var(--cream);
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: calc(16px * var(--fs, 1));
  outline: none;
  resize: vertical;
}
.contact-form__field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cream-70) 50%), linear-gradient(135deg, var(--cream-70) 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.contact-form__field select option { background: var(--bg); color: var(--cream); }
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus { border-color: var(--cream); }
.contact-form__field small { color: #ff9b88; font-size: calc(13px * var(--fs, 1)); margin-top: 2px; }
.contact-form__submit { justify-self: start; margin-top: 14px; }
.contact-form__success {
  padding: 32px;
  border: 1px solid var(--rule);
  background: rgba(var(--cream-rgb),0.04);
}
.contact-form__success-title { font-size: calc(2rem * var(--fs, 1)); margin: 0 0 12px; }
.contact-form__success p { margin: 0; color: var(--cream-90); }

/* Three-card discover row */
.contact-cards {
  padding-block: clamp(64px, 8vw, 120px);
  border-top: 1px solid var(--rule);
}
.contact-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 56px);
}
.contact-card { display: flex; flex-direction: column; }
.contact-card__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: calc(clamp(1.3rem, 2vw, 1.7rem) * var(--fs, 1));
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.contact-card__text {
  font-family: var(--font-body);
  font-size: calc(15px * var(--fs, 1));
  line-height: 1.55;
  color: var(--cream-90);
  margin: 0 0 16px;
}
.contact-card__link { margin-bottom: 22px; }
.contact-card__image {
  aspect-ratio: 375 / 479;
  overflow: hidden;
  margin-top: auto;
}
.contact-card__image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1024px) {
  .contact-hero__inner,
  .contact-visit__inner,
  .contact-form-section__inner { grid-template-columns: 1fr; }
  .contact-hero__media,
  .contact-visit__media { aspect-ratio: 4 / 3; }
  .contact-cards__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .contact-form__row { grid-template-columns: 1fr; }
}

/* =========================================================
   JOURNAL / Install Gallery
   - journal-hero       — full-bleed wood-grain header
   - journal-filters    — View All / type / colour / search row
   - journal-grid       — 3-col project card grid
   - journal-post-*     — single project page
   ========================================================= */

/* Index hero */
.journal-hero {
  position: relative;
  min-height: clamp(620px, 70vw, 1000px);   /* same scale as the Bespoke page hero */
  display: flex;
  overflow: hidden;
}
.journal-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.journal-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,17,12,0.7) 0%, rgba(20,17,12,0.35) 38%, rgba(20,17,12,0.05) 70%);
}
.journal-hero__inner {
  position: relative; z-index: 2;
  align-self: flex-end;
  padding-block: 80px;   /* matches the Bespoke hero's copy position */
}
/* Stronger drop shadow per updated Figma — text reads on the busy wood-grain
   abstract hero photo without relying on the overlay alone. */
.journal-hero__eyebrow,
.journal-hero__title,
.journal-hero__subtitle {
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.65), 0 1px 2px rgba(0, 0, 0, 0.45);
}
.journal-hero__eyebrow { margin-bottom: 18px; letter-spacing: 0.12em; }
.journal-hero__title {
  font-size: calc(clamp(2.4rem, 4.6vw, 4.2rem) * var(--fs, 1));
  margin: 0 0 18px;
  max-width: 670px;
}
.journal-hero__subtitle {
  font-size: calc(18px * var(--fs, 1));
  color: var(--cream-90);
  max-width: 670px;
  margin: 0;
  line-height: 1.55;
}

/* Filter row */
.journal-filters {
  padding-block: 28px;
  border-bottom: 1px solid var(--rule);
}
.journal-filters__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 3vw, 56px);
  font-family: var(--font-body);
  font-size: calc(16px * var(--fs, 1));
}
.journal-filters__pill {
  font-weight: 500;
  color: var(--cream);
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.journal-filters__pill.is-active,
.journal-filters__pill:hover { border-color: var(--cream); }
.journal-filters__select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream-90);
  position: relative;
}
.journal-filters__select > span { font-weight: 500; }
.journal-filters__select select {
  background: transparent;
  color: var(--cream);
  border: 0;
  font-family: var(--font-body);
  font-size: calc(16px * var(--fs, 1));
  padding: 4px 22px 4px 4px;
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--cream-70) 50%),
                    linear-gradient(135deg, var(--cream-70) 50%, transparent 50%);
  background-position: calc(100% - 12px) 50%, calc(100% - 6px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.journal-filters__select select option { background: var(--bg); color: var(--cream); }
.journal-filters__search { flex: 1; min-width: 200px; max-width: 320px; margin-left: auto; }
.journal-filters__search input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: calc(16px * var(--fs, 1));
  padding: 8px 0;
  outline: none;
}
.journal-filters__search input::placeholder { color: var(--cream-70); }
.journal-filters__search input:focus { border-color: var(--cream); }

/* Project grid */
.journal-grid-section { padding-block: clamp(40px, 5vw, 64px); }

/* ----- View toggle (Thumbnail / Gallery) ----- */
.journal-view-toggle {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.journal-view-toggle__btn {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--cream-70);
  font-family: var(--font-body);
  font-size: calc(13px * var(--fs, 1));
  letter-spacing: 0.06em;
  padding: 9px 18px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.journal-view-toggle__btn:hover { color: var(--cream); border-color: var(--cream-70); }
.journal-view-toggle__btn.is-active {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--bg);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px) var(--grid-gutter, 20px);
}
/* Gallery view: one large, immersive image per row (Element7-style). */
.journal-grid.is-gallery {
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 88px);
}
.journal-grid.is-gallery .project-card__image { aspect-ratio: 16 / 9; margin-bottom: 24px; }
.journal-grid.is-gallery .project-card__client { font-size: calc(clamp(1.7rem, 2.8vw, 2.6rem) * var(--fs, 1)); }
.journal-grid.is-gallery .project-card__type { font-size: calc(15px * var(--fs, 1)); }
.project-card { display: flex; flex-direction: column; }
.project-card__image {
  aspect-ratio: 440 / 572;
  overflow: hidden;
  margin-bottom: 18px;
}
.project-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card__client {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: calc(clamp(1.3rem, 2vw, 1.7rem) * var(--fs, 1));
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.project-card__type {
  font-family: var(--font-body);
  font-size: calc(14px * var(--fs, 1));
  color: var(--cream-70);
  letter-spacing: 0.04em;
  margin: 0;
}
.journal-grid__empty {
  text-align: center;
  color: var(--cream-70);
  padding-block: clamp(48px, 6vw, 80px);
  font-size: calc(16px * var(--fs, 1));
}

@media (max-width: 1024px) {
  .journal-grid { grid-template-columns: repeat(2, 1fr); }   /* gallery stays 1-col via .is-gallery */
}
@media (max-width: 640px) {
  .journal-grid { grid-template-columns: 1fr; }
  .journal-view-toggle { justify-content: flex-start; }
}

/* Single post — header section */
.journal-post-hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}
.journal-post-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 612fr) minmax(0, 828fr);
  min-height: clamp(560px, 60vw, 900px);
}
.journal-post-hero__copy {
  /* Symmetric vertical padding + centred content so the hero details sit
     in the vertical middle of the tall hero (applies to every blog post). */
  padding: clamp(56px, 7vw, 96px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.journal-post-hero__title {
  font-size: calc(clamp(2.4rem, 4.6vw, 4.4rem) * var(--fs, 1));
  margin: 0 0 40px;
}
.journal-post-hero__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 6px;
}
.journal-post-hero__meta li {
  font-family: var(--font-body);
  font-size: calc(16px * var(--fs, 1));
  letter-spacing: -0.01em;
  color: var(--cream-90);
}
.journal-post-hero__meta .meta-k { color: var(--cream-70); display: inline-block; min-width: 90px; }
.journal-post-hero__meta .meta-v { color: var(--cream); }
.journal-post-hero__media {
  position: relative;
  background: rgba(var(--cream-rgb),0.04);
}
.journal-post-hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

/* Single post — about section */
/* Per Figma the About-the-Project section is WHITE with dark text. */
.journal-post-about {
  background: #ffffff;
  color: var(--surface-light-text);
  padding-block: clamp(96px, 11vw, 160px);
}
.journal-post-about .eyebrow { color: rgba(var(--surface-light-text-rgb), 0.7); }
.journal-post-about .btn {
  border-color: var(--surface-light-text);
  color: var(--surface-light-text);
}
.journal-post-about .btn:hover {
  background: var(--surface-light-text);
  border-color: var(--surface-light-text);
  color: var(--cream);
}
.journal-post-about__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 473fr) minmax(0, 808fr);
  gap: clamp(40px, 6vw, 96px);
}
.journal-post-about__title {
  font-size: calc(clamp(1.6rem, 2.6vw, 2.4rem) * var(--fs, 1));
  margin: 26px 0 40px;
  max-width: 473px;
  color: var(--surface-light-text);
}
.journal-post-about__text p {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: calc(16px * var(--fs, 1));
  line-height: 1.6;
  color: var(--surface-light-text);
  letter-spacing: -0.01em;
}
.journal-post-about__text p:last-child { margin-bottom: 40px; }
/* Rich-text formatting from the admin editor (bold, links, lists, headings). */
.journal-post-about__text strong { font-weight: 600; color: var(--bg); }
.journal-post-about__text em { font-style: italic; }
.journal-post-about__text a {
  color: var(--surface-light-text);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.25s ease;
}
.journal-post-about__text a:hover { opacity: 0.6; }
.journal-post-about__text h2,
.journal-post-about__text h3 {
  font-family: var(--font-title);
  font-weight: 400;
  color: var(--bg);
  line-height: 1.2;
  margin: 28px 0 12px;
}
.journal-post-about__text h2 { font-size: calc(clamp(1.4rem, 2.2vw, 1.8rem) * var(--fs, 1)); }
.journal-post-about__text h3 { font-size: calc(clamp(1.2rem, 1.8vw, 1.45rem) * var(--fs, 1)); }
.journal-post-about__text ul,
.journal-post-about__text ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--surface-light-text);
  font-size: calc(16px * var(--fs, 1));
  line-height: 1.6;
}
.journal-post-about__text li { margin-bottom: 6px; }
.journal-post-about__text blockquote {
  margin: 20px 0;
  padding-left: 20px;
  border-left: 2px solid rgba(var(--surface-light-text-rgb), 0.35);
  font-style: italic;
  color: rgba(var(--surface-light-text-rgb), 0.85);
}
.journal-post-about__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gutter, 20px);
}
.journal-post-about__tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 394 / 555;
}
.journal-post-about__tile--0 { grid-column: span 2; aspect-ratio: 808 / 555; }
.journal-post-about__tile img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Desktop: text and photos each scroll with the page, photos at their full
   designed proportions (wide first photo, tall pairs). Whichever column is
   SHORTER stops once its bottom comes into view and waits there while the
   longer column keeps scrolling (both columns are sticky; home.js sets each
   one's --stick-top from its height — the taller one simply never sticks). */
@media (min-width: 1025px) {
  .journal-post-about__inner { align-items: start; }
  .journal-post-about__copy,
  .journal-post-about__media {
    position: sticky;
    top: var(--stick-top, 140px);
    align-self: start;
  }
  .journal-post-about__media { gap: 24px; }
  /* A photo left alone on the last row (2 or 4 photos) is wide like the first. */
  .journal-post-about__tile:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 808 / 555; }
}

/* Single post — bottom discover block is styled by the shared rules above
   (.pdp-atmosphere, .floors-discover, .journal-post-discover). */

/* Single post — responsive */
@media (max-width: 1024px) {
  .journal-post-hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .journal-post-hero__media { aspect-ratio: 4 / 3; }
  .journal-post-about__inner { grid-template-columns: 1fr; }
  .journal-post-about__media { grid-template-columns: 1fr; }
  .journal-post-about__tile--0 { grid-column: auto; aspect-ratio: 808 / 555; }
}

/* =========================================================
   ALTERNATING SECTION TINTS
   Like the Contact page, long dark pages alternate the base
   olive with a subtle 4% cream lift so the background doesn't
   read as one uniform slab.
   ========================================================= */
/* Browse By Colour mosaic band — light cream (#F7F2EE), per Figma. Section
   text goes dark; the card copy (over dark photos) stays cream via its own rules. */
.select-colour { background: var(--surface-cream); color: var(--surface-light-text); }
.select-colour__title { color: var(--surface-light-text); }
.select-colour__intro { color: var(--surface-light-mute); }
.select-colour .arrow-link { color: var(--surface-light-text); }
.select-colour .arrow-link:hover { color: #000; }
.page-hub-colour .floors-discover { background: #ffffff; } /* discover band — white (#FFFFFF) per Figma; brand strip between stays base */
/* Collection "Select a Floor" band — light cream (#F7F2EE), per Figma.
   Card text sits BELOW the images (on the band), so it flips to dark; only the
   photos stay as-is. Pills invert (dark active pill on the light band). */
.cat-products { background: var(--surface-cream); color: var(--surface-light-text); }
.cat-products__heading { color: var(--surface-light-text); }
.cat-products__empty { color: var(--surface-light-mute); }
.cat-products .floor-filterbar { border-bottom-color: var(--surface-light-rule); }
.cat-products .floor-filterbar__label,
.cat-products .floor-filterbar__count { color: var(--surface-light-mute); }
.cat-products .floor-pill { color: var(--surface-light-text); border-color: rgba(var(--surface-light-text-rgb), 0.35); }
.cat-products .floor-pill:hover { border-color: var(--surface-light-text); }
.cat-products .floor-pill.is-on { background: var(--surface-light-text); color: var(--cream); border-color: var(--surface-light-text); }
.cat-products .product-card { color: var(--surface-light-text); }
.cat-products .product-card__desc { color: var(--surface-light-mute); }
.cat-products .product-card__view { color: var(--surface-light-text); }
.cat-products .product-card:hover .product-card__view { border-color: var(--surface-light-text); }
.journal-filters,
.journal-grid-section { background: rgba(var(--cream-rgb), 0.04); }             /* Journal — filters + grid read as one band */
.pdp-atmosphere { background: var(--surface-cream); }                                     /* Product page discover band — white cream (#F7F2EE) per Figma; copy sits over photos */
.page-bespoke .floors-discover { background: #f5f5f5; }                       /* Bespoke page discover band — light grey (#F5F5F5) per Figma; copy sits over photos */
.page-journal-post .journal-post-discover { background: #d9d9d9; }            /* Journal post discover band — grey (#D9D9D9) per Figma; copy sits over photos */

/* =========================================================
   Widescreen floors pages (≥1441px) — Element7-style full-bleed
   ---------------------------------------------------------
   On 16:9 desktop displays, let the big imagery break out of
   the 1440 container so it reaches the viewport edges, like
   the homepage Journal/Showroom sections. Headings, intros
   and link rows stay inset so text never spans 1920px.

     • Hub:        Select-a-Colour mosaic            → full bleed
     • Hub/Cat:    Floors-Discover two-up media      → full bleed
     • PDP:        Project Gallery (3 images)        → full bleed
     • PDP:        Natural Wood Grades (3 cards)     → full bleed
     • PDP:        Atmosphere two-up media           → full bleed

   `.cat-products__grid` (3-col product cards) and
   `.pdp-spec__grid` (text spec table) stay contained.
   ========================================================= */
@media (min-width: 1441px) {
  /* ----- Page hero copy aligns to the gutter (the logo/Menu column) on wide
     screens, instead of drifting right with the centred 1440 container. ----- */
  .hub-hero__inner,
  .journal-hero__inner,
  .bsp-hero__inner,
  .cat-hero__inner {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: var(--gutter);
  }

  /* ----- PDP: "The Intention Behind …" + spec table span the gutter frame
     (logo → Samples) like the hero, instead of staying centred in 1440. ----- */
  .pdp-desc .container,
  .pdp-spec .container,
  .pdp-quote .container,
  .pdp-more .container { max-width: none; margin-inline: 0; padding-inline: var(--gutter); }

  /* ----- Category: "Select a Floor" — heading on the gutter, product grid
     breaks out to near-full-width with a 30px gap on the sides. ----- */
  .cat-products .container { max-width: none; margin-inline: 0; padding-inline: 0; }
  .cat-products__heading { padding-inline: var(--gutter); }
  .floor-filterbar { margin-inline: var(--gutter); }   /* aligned to the Menu/Samples column */
  .cat-products__grid { padding-inline: var(--gutter); }   /* aligned to the Menu/Samples column */

  /* ----- Hub: Select-a-Colour mosaic breaks out ----- */
  .select-colour .container { max-width: none; padding-inline: 0; }
  .select-colour__head { padding-inline: var(--gutter); }
  .select-colour__grid { padding-inline: var(--gutter); }   /* aligned to the Menu/Samples column */


  /* ----- PDP: Natural Wood Grades (3 image cards) ----- */
  .pdp-grades .container { max-width: none; padding-inline: 0; }
  .pdp-grades__head { padding-inline: var(--gutter); }
  .pdp-grades__grid { padding-inline: var(--gutter); }   /* aligned to the Menu/Samples column */

  /* ----- PDP: Atmosphere two-up images ----- */
  .pdp-atmosphere__media { padding-inline: var(--gutter); }   /* aligned to the Menu/Samples column */

  /* ----- Shared: Floors-Discover two-up images ----- */
  .floors-discover__media { padding-inline: var(--gutter); }  /* aligned to the Menu/Samples column */

  /* ----- Bespoke: split section aligned to the Menu/Samples column ----- */
  .bsp-split__inner { max-width: none; padding-inline: 0 var(--gutter); }
  .bsp-split--image-right .bsp-split__copy  { padding-inline: var(--gutter) 80px; }

  /* ----- Bespoke: brand strip, pattern head + process row align to the gutter
     so the heading/quote line up with the full-bleed mosaic below them. ----- */
  .bsp-brands .container,
  .hub-brands .container,
  .bsp-patterns__head,
  .bsp-patterns__foot,
  .bsp-process__head {
    max-width: none;
    margin-inline: 0;
    padding-inline: var(--gutter);
  }
  .bsp-patterns__grid { padding-inline: var(--gutter); }   /* aligned to the Menu/Samples column */
  .bsp-process__grid { padding-inline: var(--gutter); }  /* align card row to logo/Samples gutter */

  /* ----- Footer spans the same gutter frame as the header logo/Samples ----- */
  .site-footer .container { max-width: none; padding-inline: var(--gutter); }

  /* ----- Journal: filter bar + project grid break out (so the filter row,
     hero and cards all share the same gutter column) ----- */
  .journal-filters .container { max-width: none; padding-inline: 0; }
  .journal-filters__bar { padding-inline: var(--gutter); }
  .journal-grid-section .container { max-width: none; padding-inline: 0; }
  .journal-grid,
  .journal-view-toggle { padding-inline: var(--gutter); }
  /* About section spans the full gutter frame (logo → Samples) like the hero. */
  .journal-post-about__inner { max-width: none; margin-inline: 0; }
  .journal-post-discover__media { padding-inline: var(--gutter); }  /* aligned to the Menu/Samples column */
}

/* =========================================================
   HERO LEGIBILITY — site-wide
   Every hero can sit over an editable background image that
   might be light. Apply a consistent layered drop shadow to
   all hero copy so the text always keeps contrast and stays
   readable. text-shadow inherits, so setting it on each
   hero's copy container covers the eyebrow, title, subtitle
   and body text inside it. Loads after the per-hero rules
   above (and after home.css) so it normalises every hero.
   ========================================================= */
.hero__inner,
.hub-hero__inner,
.cat-hero__inner,
.pdp-hero__copy,
.bsp-hero__inner,
.journal-hero__inner,
.journal-post-hero__copy,
.contact-hero__copy,
.samples-hero,
.samples-thanks__inner {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 2px 22px rgba(0, 0, 0, 0.5);
}

/* =========================================================
   LEGAL / UTILITY PAGES — Privacy, Terms, Cookies, Sitemap
   ========================================================= */
.legal {
  padding-block: clamp(140px, 16vw, 220px) clamp(80px, 10vw, 140px);
}
.legal__title {
  font-size: calc(clamp(2.4rem, 5vw, 3.6rem) * var(--fs, 1));
  margin: 18px 0 10px;
}
.legal__meta {
  font-family: var(--font-body);
  font-size: calc(15px * var(--fs, 1));
  color: var(--cream-70);
  margin: 0 0 clamp(40px, 5vw, 64px);
}
.legal__body { max-width: 760px; }
.legal__body h2 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: calc(clamp(1.3rem, 2.2vw, 1.7rem) * var(--fs, 1));
  margin: 40px 0 14px;
  color: var(--cream);
}
.legal__body p,
.legal__body li {
  font-family: var(--font-body);
  font-size: calc(16px * var(--fs, 1));
  line-height: 1.7;
  color: var(--cream-90);
}
.legal__body p { margin: 0 0 16px; }
.legal__body ul { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; }
.legal__body a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal__body a:hover { opacity: 0.82; }
.legal__note {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-style: italic;
  font-size: calc(14px * var(--fs, 1));
  color: var(--cream-70);
}
/* Sitemap columns */
.legal__sitemap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  margin-top: 8px;
}
.legal__sitemap-col h2 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: calc(1.3rem * var(--fs, 1));
  margin: 0 0 18px;
  color: var(--cream);
}
.legal__sitemap-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.legal__sitemap-col a {
  font-family: var(--font-body);
  font-size: calc(16px * var(--fs, 1));
  color: var(--cream-90);
  text-decoration: none;
}
.legal__sitemap-col a:hover { color: var(--cream); }

/* Cookie consent banner styling lives in home.css (loaded on every page,
   including the standalone homepage which does not load floors.css). */
