/* ============================================================
   NEST KITCHENS — Cinematic Homepage
   Design system v2 (locked May 13, 2026) — magazine-spread
   Cream/Charcoal/Nest Green · Cormorant Garamond Light + Inter
   ============================================================ */

:root {
  --cream: #FBF9F5;
  --ivory: #F2EDE6;
  --charcoal: #202020;
  --charcoal-2: #1A1A1A;
  --text: #202020;
  --text-secondary: #5C5450;
  --text-muted: #736A5F;
  --on-dark: #FBF9F5;
  --green: #209080;
  --green-dark: #186556;
  --green-on-dark: #C5E1D8;
  --border: #E8E2D8;
  --border-dark: #2D2A26;
  --rule-dark: #3A322B;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;

  --margin: clamp(20px, 4.45vw, 64px);
  --section-pad: clamp(72px, 9.7vw, 140px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.9s var(--ease);
  overflow-x: hidden;
}

/* Scroll-linked tonal choreography */
body[data-theme="dark"] { background: var(--charcoal); }
body[data-theme="ivory"] { background: var(--ivory); }

::selection { background: var(--green); color: var(--cream); }

img, video { display: block; width: 100%; height: 100%; object-fit: cover; }

a { color: inherit; text-decoration: none; }

/* ------------------------------------------------------------
   Type scale
   ------------------------------------------------------------ */
.h-hero {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(52px, 11.5vw, 166px);
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.h-section {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 6.4vw, 92px);
  letter-spacing: -0.02em;
  line-height: 1;
}
.h-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 3.6vw, 52px);
  letter-spacing: -0.01em;
  line-height: 1.28;
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.body-lg { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; color: var(--text-secondary); }
.caption { font-size: 12px; letter-spacing: 0.04em; color: var(--text-muted); }

/* ------------------------------------------------------------
   Loader — counter, then wordmark splits into the header
   ------------------------------------------------------------ */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.loader-bg { position: absolute; inset: 0; background: var(--cream); }
.loader-logo {
  position: relative; z-index: 2;
  width: clamp(200px, 30vw, 380px); height: auto;
  transform-origin: top left;
  will-change: transform;
}
.loader-counter {
  position: absolute; left: var(--margin); bottom: 40px;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(64px, 8vw, 120px); line-height: 1;
  color: var(--charcoal);
}
.loader-tag {
  position: absolute; right: var(--margin); bottom: 56px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
/* Liquid-glass masthead — full-bleed, adaptive material */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--margin);
  background: rgba(251, 249, 245, 0.42);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.5s var(--ease), background 0.7s var(--ease),
              border-color 0.7s var(--ease);
}
.site-header.hidden { transform: translateY(-110%); }
.brand { display: block; line-height: 0; }
.brand-logo { width: auto; height: 40px; display: block; }
.brand .logo-d { display: none; }

/* Material + content adapt over dark acts */
body[data-theme="dark"] .site-header {
  background: rgba(28, 28, 28, 0.40);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}
body[data-theme="dark"] .brand .logo-l { display: none; }
body[data-theme="dark"] .brand .logo-d { display: block; }
body[data-theme="dark"] .nav a { color: rgba(251, 249, 245, 0.85); }
body[data-theme="dark"] .enquire-pill { color: var(--green-on-dark); border-color: var(--green-on-dark); }
body[data-theme="dark"] .enquire-pill:hover { background: var(--green-on-dark); color: var(--charcoal); }
.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.35s;
}
.nav a:hover { color: var(--green); }
.enquire-pill {
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green);
  background: transparent;
  border: 1px solid var(--green); border-radius: 2px;
  padding: 10px 18px;
  transition: background 0.35s, color 0.35s;
}
.enquire-pill:hover { background: var(--green); color: var(--cream); }

/* Masthead stays cream on every act — the mark never changes color */

@media (max-width: 900px) { .nav { display: none; } }

/* ------------------------------------------------------------
   Chapter marker — stacked editorial numeral
   ------------------------------------------------------------ */
.chapter {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.chapter .num {
  font-family: var(--font-display); font-weight: 300;
  font-size: 40px; line-height: 1; color: var(--green);
  letter-spacing: -0.02em;
}
.chapter .label {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
}
.chapter .label::before {
  content: ""; width: 24px; height: 1px; background: var(--green);
}
.on-dark .chapter .num { color: var(--green-on-dark); }
.on-dark .chapter .label { color: #9E9488; }
.on-dark .chapter .label::before { background: var(--green-on-dark); }

/* ------------------------------------------------------------
   01 · Hero
   ------------------------------------------------------------ */
.hero {
  position: relative; height: 100svh; min-height: 620px;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,0.62) 0%, rgba(20,18,16,0.12) 45%, rgba(20,18,16,0.18) 100%);
}
.hero-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--margin) 64px;
  color: var(--on-dark);
}
.hero-title { max-width: 12em; }
/* Hero carousel: crossfading media + stacked text layers + dots */
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-texts { display: grid; align-items: end; }
.hero-text { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .5s var(--ease); pointer-events: none; }
.hero-text.is-active { opacity: 1; transform: none; pointer-events: auto; transition: opacity .55s var(--ease) .38s, transform .7s var(--ease) .38s; }
.hero-text .h-hero { max-width: 12em; }
.hero-text .hero-caption { margin-top: 20px; }
.hero-dots { display: flex; align-items: center; gap: 10px; }
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0; cursor: pointer;
  background: transparent; border: 1px solid rgba(251, 249, 245, 0.55);
  transition: background .35s, border-color .35s;
}
.hero-dot:hover { border-color: var(--cream); }
.hero-dot.is-active { background: var(--cream); border-color: var(--cream); }
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-text { transition: none; } }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); }
.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 36px; gap: 24px;
}
.hero-caption {
  max-width: 360px; font-size: 13px; line-height: 1.7;
  color: rgba(251,249,245,0.82);
}
.scroll-cue {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(251,249,245,0.66); white-space: nowrap;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 44px; background: rgba(251,249,245,0.5);
  animation: cue 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ------------------------------------------------------------
   02 · Manifesto + colophon
   ------------------------------------------------------------ */
.manifesto {
  position: relative;
  padding: var(--section-pad) var(--margin) clamp(56px, 6vw, 96px);
  overflow: hidden;
}
/* drifting paper-grain + woven hairlines — the cream breathes */
.manifesto::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
  background-size: 320px 320px;
  opacity: 0.09;
  mix-blend-mode: multiply;
  animation: grain-drift 40s steps(8) infinite;
  pointer-events: none;
}
@keyframes grain-drift {
  to { background-position: 640px 320px; }
}
.manifesto::after {
  content: "";
  position: absolute; inset: -60% -30%;
  /* Vienna cane webbing — paired strands + diagonal weave */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64'><g fill='none' stroke='%23A89684' stroke-linecap='round'><path d='M8.2 0v64M13 0v64M40.4 0v64M45 0v64' stroke-width='1.1' opacity='0.55'/><path d='M0 8.2h64M0 13h64M0 40.4h64M0 45h64' stroke-width='1.1' opacity='0.45'/><path d='M-6 32L32 -6M26 70L70 26M-6 64L64 -6' stroke-width='0.9' opacity='0.35'/></g></svg>");
  background-size: 64px 64px;
  opacity: 0.15;
  animation: weave-pan 60s linear infinite;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) rotate(45deg);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  pointer-events: none;
}
@keyframes weave-pan {
  to { background-position: 128px 64px; }
}
/* grain shifts against the weave for depth */
.manifesto::before {
  transform: translate3d(calc(var(--mx, 0px) * -0.45), calc(var(--my, 0px) * -0.45), 0);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .manifesto::before, .manifesto::after { animation: none; }
}
/* WebGL cane layer — cursor presses a concave depression into the weave.
   Scoped as `.manifesto > .manifesto-warp` so it outranks `.manifesto > *`
   below (equal specificity + later source order was forcing position:relative). */
.manifesto > .manifesto-warp {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  opacity: 0.15;
  pointer-events: none;
}
.manifesto.warp-on::after { display: none; } /* canvas replaces the static weave */
.manifesto > * { position: relative; }
.manifesto-inner-width { max-width: 1440px; margin: 0 auto; }
.manifesto-head {
  max-width: 9em;
  margin-bottom: clamp(36px, 5vw, 72px);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
}
.manifesto-copy .lead {
  font-size: clamp(21px, 2.5vw, 36px);
  line-height: 1.42;
}
.founders {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px);
}
/* Homepage manifesto: keep founder portraits compact + right-anchored */
.manifesto .founders { max-width: 372px; margin-left: auto; }
.founder { margin: 0; }
.founder-media {
  aspect-ratio: 3/4; overflow: hidden;
  background: var(--ivory);
}
.founder-media img { filter: grayscale(1); transition: filter .6s var(--ease); }
.founder:hover .founder-media img { filter: grayscale(0); }
.founder-media.ph img { display: none; }
.founder figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--border);
  margin-top: 10px; padding-top: 10px;
  font-size: 12px; color: var(--text-muted); letter-spacing: 0.03em;
}
.founder figcaption span:first-child { color: var(--text-secondary); }
@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .founders { max-width: 440px; }
  .manifesto .founders { max-width: 440px; margin-left: 0; }
}
.manifesto-text { max-width: 1000px; }
.manifesto-text .line { display: block; overflow: hidden; }
.manifesto-text .line > span { display: inline-block; }
.manifesto-text em { font-style: italic; color: var(--green); }
.signature {
  margin-top: 40px;
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 22px; color: var(--text-secondary);
}
.signature small { display: block; font-family: var(--font-body); font-style: normal; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; }

/* Colophon — Kononenko index rows */
.colophon {
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--border);
}
.colophon-row {
  display: grid;
  grid-template-columns: minmax(120px, 220px) 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.colophon-row dt {
  font-family: var(--font-display); font-style: italic;
  font-size: 15px; color: var(--text-muted);
}
.colophon-row dd { font-size: 14px; letter-spacing: 0.01em; color: var(--text-secondary); }
.colophon-row dd a { border-bottom: 1px solid var(--border); transition: border-color .3s, color .3s; }
.colophon-row dd a:hover { color: var(--green); border-color: var(--green); }

/* ------------------------------------------------------------
   Marquee
   ------------------------------------------------------------ */
.marquee {
  overflow: hidden; white-space: nowrap;
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: inline-flex; gap: 0.6em;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(56px, 8vw, 116px);
  letter-spacing: 0.02em; line-height: 1;
  color: var(--green);
}
.marquee-track span i { font-style: italic; color: var(--charcoal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------
   Testimonials — Instagram reels
   ------------------------------------------------------------ */
.testimonials { padding: clamp(56px, 6vw, 96px) var(--margin) clamp(36px, 4.5vw, 64px); }
.testimonials-inner { max-width: 1440px; margin: 0 auto; }
.testimonials .t-sub {
  margin: 14px 0 0; max-width: 460px;
  font-size: 15px; color: var(--text-secondary);
}
.reel-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(36px, 5vw, 64px);
}
.reel-frame { margin: 0; min-width: 0; }
.reel-frame blockquote.instagram-media {
  margin: 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  width: 100% !important;
  min-height: 640px; /* reserve space so pins don't shift when IG loads */
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: var(--ivory) !important;
}
@media (max-width: 900px) {
  .reel-frame blockquote.instagram-media { min-height: 580px; }
}
.reel-frame blockquote.instagram-media a {
  display: block; padding: 40px 24px;
  font-size: 13px; color: var(--text-secondary);
}
.reel-frame iframe { border-radius: 0 !important; }
.reel-frame figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--border);
  margin-top: 10px; padding-top: 10px;
  font-size: 12px; color: var(--text-muted); letter-spacing: 0.03em;
}
.reel-frame figcaption a { color: var(--green); }
.testimonials .chapter .num { font-size: 22px; line-height: 1.4; }
@media (max-width: 900px) {
  .reel-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* ------------------------------------------------------------
   Collections — pinned split chapters (abvtek)
   ------------------------------------------------------------ */
.collection {
  position: relative;
  padding: var(--section-pad) 0;
}
.collection-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 86vh;
}
.collection-media {
  position: relative; overflow: hidden;
  min-height: 60vh;
}
/* Pinned image stack — kitchens chapter */
.pin-stack { overflow: hidden; }
.stack-track {
  position: absolute; left: 0; right: 0; top: 0;
  display: flex; flex-direction: column;
  will-change: transform;
}
.stack-item { height: calc(100svh - 96px); flex: none; overflow: hidden; }
#kitchens, #wardrobes { padding: 48px 0; }
#kitchens .collection-inner, #wardrobes .collection-inner { min-height: calc(100svh - 96px); }
@media (max-width: 900px) {
  #kitchens, #wardrobes { padding: var(--section-pad) 0; }
  #kitchens .collection-inner, #wardrobes .collection-inner { min-height: 0; }
  .pin-stack .stack-item { display: none; }
  .pin-stack .stack-item:first-child { display: block; }
  .stack-track { position: relative; height: auto; }
  .pin-stack .stack-item:first-child { height: 56vh; }
}
/* no-GSAP / reduced-motion fallback */
.no-pin .pin-stack .stack-item { display: none; }
.no-pin .pin-stack .stack-item:first-child { display: block; height: 100%; }
.no-pin .stack-track { position: absolute; inset: 0; }
.collection-media .media-scale { position: absolute; inset: 0; will-change: transform; }
.collection-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 6vw, 96px) var(--margin);
}
.collection.flip .collection-media { order: 2; }
.collection.flip .collection-copy { order: 1; align-items: flex-end; text-align: right; }
.collection.flip .chapter { align-items: flex-end; }
.collection.flip .chapter .label { flex-direction: row-reverse; }
.collection-copy h3 { margin-bottom: 20px; max-width: 9em; }
.collection-copy p { max-width: 420px; color: var(--text-secondary); font-size: 15px; }

.spec-row {
  display: flex; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  font-size: 13px; color: var(--text-secondary);
  width: 100%; max-width: 420px;
}
.spec-row span:last-child { color: var(--text-muted); }
.spec-rows { margin-top: 36px; width: 100%; max-width: 420px; }
.collection.flip .spec-rows { margin-left: auto; }

.soft-cta {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 40px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green);
}
.soft-cta::before { content: ""; width: 24px; height: 1px; background: var(--green); transition: width .4s var(--ease); }
.soft-cta:hover::before { width: 44px; }
.on-dark .soft-cta { color: var(--green-on-dark); }
.on-dark .soft-cta::before { background: var(--green-on-dark); }

/* Office — pinned full-bleed slides */
.office-pin {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden;
}
.office-slide { position: absolute; inset: 0; will-change: clip-path; }
.office-slide:first-child { position: absolute; }
.office-bg { position: absolute; inset: 0; will-change: transform; }
.office-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,0.58), rgba(20,18,16,0.06) 55%);
}
.office-cap {
  position: absolute; left: var(--margin); bottom: 56px; z-index: 2;
  color: var(--on-dark); max-width: 520px;
}
.office-cap h3 { margin: 14px 0 12px; }
.office-cap p { font-size: 14px; color: rgba(251,249,245,0.82); max-width: 400px; }
.office-cap .chapter { margin-bottom: 0; }
.office-cap .chapter .num { color: var(--green-on-dark); }
.office-cap .chapter .label { color: rgba(251,249,245,0.65); }
.office-cap .chapter .label::before { background: var(--green-on-dark); }
@media (max-width: 900px) {
  .office-pin { height: auto; min-height: 0; }
  .office-slide { position: relative; height: 74svh; }
}
.no-pin .office-pin { height: auto; min-height: 0; }
.no-pin .office-slide { position: relative; height: 88svh; clip-path: none !important; }
.no-pin .office-cap { opacity: 1 !important; transform: none !important; }

/* Hairline caption under media — Kononenko */
.media-caption {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0 0;
  font-size: 12px; color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 12px;
}

@media (max-width: 900px) {
  .collection-inner { grid-template-columns: 1fr; min-height: 0; }
  .collection.flip .collection-media { order: 0; }
  .collection.flip .collection-copy { order: 1; align-items: flex-start; text-align: left; }
  .collection.flip .chapter { align-items: flex-start; }
  .collection.flip .spec-rows { margin-left: 0; }
  .collection-media { min-height: 56vh; }
}

/* ------------------------------------------------------------
   Factory — charcoal act
   ------------------------------------------------------------ */
/* Ghost stats */
.stats {
  max-width: 1440px; margin: clamp(56px, 8vw, 120px) auto 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 6vw, 80px) 40px;
}
.stat .n {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(72px, 10vw, 150px); line-height: 0.95; letter-spacing: -0.02em;
  color: #4A453E;
}
.stat .t {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(22px, 2.6vw, 38px); color: #857C6F; margin-top: 4px;
}
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   Proof — partners + builders + pull quote
   ------------------------------------------------------------ */
/* Full-bleed cream background so the footer's dark body theme can't bleed through
   this section while it's still on screen; content is capped by .proof-inner. */
.proof { padding: clamp(40px, 5vw, 72px) var(--margin) clamp(56px, 6vw, 96px); background: var(--cream); }
.proof-inner { max-width: 1440px; margin: 0 auto; }
/* Partner logo band — sits between chapters */
.logo-band {
  padding: clamp(32px, 4vw, 52px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logo-band .logo-marquee { margin: 0; }

/* Scrolling partner-logo strip */
.logo-marquee {
  overflow: hidden;
  margin: 44px 0 8px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.logo-track {
  display: inline-flex; align-items: center;
  gap: clamp(56px, 7vw, 110px);
  padding-right: clamp(56px, 7vw, 110px);
  animation: logo-scroll 32s linear infinite;
  will-change: transform;
}
.logo-track img {
  height: clamp(26px, 3vw, 40px); width: auto;
  filter: grayscale(1) opacity(0.62);
  transition: filter .45s var(--ease);
}
.logo-track img[src*="hafele"] { height: clamp(18px, 2.1vw, 28px); }
.logo-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes logo-scroll { to { transform: translateX(-50%); } }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

.logo-wall {
  display: flex; flex-wrap: wrap; gap: 16px 48px;
  margin: 36px 0 8px;
}
.logo-wall span {
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: clamp(24px, 3vw, 40px); color: var(--text-muted);
  transition: color .4s;
}
.logo-wall span:hover { color: var(--charcoal); }
.proof-rule { border: none; border-top: 1px solid var(--border); margin: clamp(40px, 5vw, 64px) 0; }

.pull-quote {
  display: grid; grid-template-columns: minmax(200px, 320px) 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
  margin-top: clamp(40px, 5vw, 64px);
}
.pull-quote .pq-media { aspect-ratio: 3/4; overflow: hidden; }
.pull-quote blockquote {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.3; letter-spacing: -0.005em;
}
.pull-quote blockquote::before { content: "“"; color: var(--green); }
.pull-quote blockquote::after { content: "”"; color: var(--green); }
.pull-quote cite {
  display: block; margin-top: 24px; font-family: var(--font-body); font-style: normal;
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted);
}
@media (max-width: 760px) { .pull-quote { grid-template-columns: 1fr; } .pull-quote .pq-media { max-width: 280px; } }

/* Proof — client wall (hairline grid, scroll build-in, spotlight hover) */
.clients-sub { max-width: 520px; margin: 20px 0 0; font-size: 15px; color: var(--text-secondary); }
.client-grid {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.client-cell {
  position: relative; margin: 0;
  display: flex; flex-direction: column;
  min-height: clamp(150px, 15vw, 208px);
  padding: clamp(22px, 3vw, 40px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: opacity .5s var(--ease), background-color .5s var(--ease);
}
.client-mark { flex: 1; display: flex; align-items: center; justify-content: center; }
.client-mark img {
  width: auto; height: auto;
  max-width: min(76%, 190px);
  max-height: clamp(54px, 6vw, 82px);
  object-fit: contain;
  transition: transform .55s var(--ease);
}
.client-cell figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid transparent;
  font-size: 11px; letter-spacing: 0.06em; color: var(--text-muted);
  opacity: 0; transform: translateY(6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .5s var(--ease);
}
.client-cell figcaption span:first-child { color: var(--text-secondary); letter-spacing: 0.02em; }
/* Spotlight: hovered client blooms, the rest recede */
.client-grid:hover .client-cell:not(:hover) { opacity: 0.3; }
.client-cell:hover { background: rgba(32, 144, 128, 0.035); }
.client-cell:hover .client-mark img { transform: scale(1.06); }
.client-cell:hover figcaption { opacity: 1; transform: none; border-top-color: var(--border); }
.client-cell:hover figcaption span:first-child { color: var(--green); }
@media (max-width: 900px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .client-grid { grid-template-columns: 1fr; } }
/* No hover on touch: keep captions visible so the proof still reads */
@media (hover: none) {
  .client-cell figcaption { opacity: 1; transform: none; border-top-color: var(--border); }
  .client-grid:hover .client-cell:not(:hover) { opacity: 1; }
}

/* Reviews — continuous scrolling one-liners (ivory band) */
.reviews-ticker {
  background: var(--ivory);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(40px, 5vw, 72px) 0;
  overflow: hidden;
}
.reviews-eyebrow {
  text-align: center; margin-bottom: clamp(26px, 3.5vw, 44px);
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green);
}
.tr-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.tr-track {
  display: inline-flex; align-items: center; white-space: nowrap;
  animation: tr-scroll 55s linear infinite; will-change: transform;
}
.tr-marquee:hover .tr-track { animation-play-state: paused; }
@keyframes tr-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tr-track { animation: none; } }
/* trailing margin (not gap) so the duplicated half loops seamlessly */
.tr-item {
  display: inline-flex; align-items: center; gap: 18px; flex: none;
  margin: 0 clamp(48px, 6vw, 92px) 0 0;
}
.tr-avatar {
  position: relative; flex: none;
  width: 54px; height: 54px; border-radius: 50%; overflow: hidden;
  background: var(--cream); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
}
.tr-avatar::before {
  content: attr(data-initial);
  font-family: var(--font-display); font-weight: 300; font-size: 23px; color: var(--green);
}
.tr-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tr-body { display: inline-flex; flex-direction: column; gap: 5px; min-width: 0; }
.tr-quote {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(19px, 2.1vw, 28px); line-height: 1.12; letter-spacing: -0.005em;
  color: var(--charcoal);
}
.tr-cite {
  font-size: 11px; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--text-muted);
}

/* ------------------------------------------------------------
   Studio / founder
   ------------------------------------------------------------ */
.studio {
  padding: var(--section-pad) var(--margin);
  max-width: 1440px; margin: 0 auto;
}
.studio-grid {
  display: grid; grid-template-columns: minmax(260px, 480px) 1fr;
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.studio .colophon { margin-top: clamp(56px, 7vw, 96px); }
.studio-media { aspect-ratio: 3/4; overflow: hidden; position: relative; }
.studio-media .media-scale { position: absolute; inset: 0; }
.studio-copy h2 { max-width: 11em; margin: 16px 0 24px; }
.studio-copy p { max-width: 480px; color: var(--text-secondary); font-size: 15px; }
@media (max-width: 860px) { .studio-grid { grid-template-columns: 1fr; } .studio-media { max-width: 380px; } }

/* ------------------------------------------------------------
   Lookbook — charcoal gated form
   ------------------------------------------------------------ */
.lookbook { color: var(--on-dark); padding: var(--section-pad) var(--margin); }
.lookbook-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.lookbook-media { aspect-ratio: 4/5; overflow: hidden; }
.lookbook h2 { margin: 16px 0 20px; max-width: 8em; }
.lookbook .desc { color: #B5AB9E; font-size: 15px; max-width: 420px; }
@media (max-width: 860px) { .lookbook-inner { grid-template-columns: 1fr; } .lookbook-media { max-width: 420px; } }

/* Forms — underline treatment */
.form { margin-top: 40px; }
.field { position: relative; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; height: 56px;
  background: transparent; border: none;
  border-bottom: 1px solid var(--rule-dark);
  font-family: var(--font-body); font-weight: 300; font-size: 16px;
  color: var(--on-dark);
  outline: none; border-radius: 0;
  transition: border-color .4s;
}
.field textarea { height: auto; min-height: 56px; padding-top: 16px; resize: vertical; }
.field ::placeholder { color: #9E9488; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-on-dark); }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select:invalid { color: #9E9488; }
.field select option { color: var(--charcoal); background: var(--cream); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.submit-display {
  margin-top: 44px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: 36px; color: var(--green-on-dark);
  display: inline-flex; align-items: center; gap: 16px;
  transition: gap .4s var(--ease);
}
.submit-display::after { content: "→"; font-style: normal; font-size: 28px; }
.submit-display:hover { gap: 26px; }

/* Enquiry — ivory act */
.enquiry { padding: var(--section-pad) var(--margin); }
.enquiry-inner { max-width: 1440px; margin: 0 auto; }
.enquiry h2 { max-width: 10em; margin: 16px 0 12px; }
.enquiry .sub { color: var(--text-secondary); font-size: 15px; max-width: 460px; }
.enquiry .form { max-width: 880px; }
.enquiry .field input, .enquiry .field select, .enquiry .field textarea {
  color: var(--charcoal); border-bottom-color: #C9C0B2;
}
.enquiry .field ::placeholder { color: var(--text-muted); }
.enquiry .field select:invalid { color: var(--text-muted); }
.enquiry .field input:focus, .enquiry .field select:focus, .enquiry .field textarea:focus { border-color: var(--green); }
.enquiry .submit-display { color: var(--green); }

.reach-rows { margin-top: clamp(48px, 6vw, 72px); max-width: 880px; border-top: 1px solid #C9C0B2; }
.reach-row {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 20px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid #C9C0B2;
  transition: padding-left .35s var(--ease);
}
.reach-row:hover { padding-left: 10px; }
.reach-row .r-num { font-family: var(--font-display); font-size: 22px; color: var(--green); }
.reach-row .r-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(20px, 2.2vw, 30px); }
.reach-row .r-val { font-size: 13px; color: var(--text-secondary); text-align: right; }

/* ------------------------------------------------------------
   Footer — charcoal, giant cropped wordmark
   ------------------------------------------------------------ */
.footer { color: var(--on-dark); padding: 0 var(--margin); overflow: hidden; }

/* Closing CTA band — the last invitation */
.footer-cta {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 40px; align-items: end;
  padding: clamp(56px, 7vw, 104px) 0 clamp(40px, 5vw, 64px);
}
.footer .f-line {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(34px, 4.6vw, 66px);
  letter-spacing: -0.02em; line-height: 1.05;
  color: var(--on-dark);
  max-width: 9em;
}
.footer a.f-begin {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 26px;
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(24px, 2.6vw, 38px); line-height: 1.2;
  color: var(--green-on-dark);
  transition: gap .4s var(--ease);
}
.footer a.f-begin::after { content: "→"; font-style: normal; font-size: 0.8em; }
.footer a.f-begin:hover { gap: 24px; }
.f-reach { justify-self: end; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.footer .f-reach-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: #9E9488; margin-bottom: 10px;
}
.footer a.f-phone {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(26px, 2.8vw, 42px); letter-spacing: 0.01em; line-height: 1.2;
  color: var(--on-dark);
  transition: color .3s;
}
.footer a.f-phone:hover { color: var(--green-on-dark); }
.footer a.f-wa {
  margin-top: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green-on-dark);
}
@media (max-width: 800px) {
  .footer-cta { grid-template-columns: 1fr; }
  .f-reach { justify-self: start; text-align: left; margin-top: 8px; }
}

.footer-grid {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  border-top: 1px solid var(--border-dark);
  padding-top: clamp(44px, 5.5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer h3 {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 15px; color: #9E9488; margin-bottom: 18px;
}
.footer p, .footer a { font-size: 13.5px; line-height: 1.8; color: #B5AB9E; }
.footer a { display: block; transition: color .3s; }
.footer a:hover { color: var(--green-on-dark); }
.footer .f-logo { width: 116px; height: auto; margin-bottom: 20px; }
.footer-meta .js-top { color: var(--green-on-dark); }
.newsletter { display: flex; gap: 12px; border-bottom: 1px solid var(--rule-dark); }
.newsletter input {
  flex: 1; background: none; border: none; height: 48px;
  font-family: var(--font-body); font-weight: 300; font-size: 14px; color: var(--on-dark);
  outline: none;
}
.newsletter input::placeholder { color: #9E9488; }
.newsletter button {
  background: none; border: none; cursor: pointer;
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green-on-dark);
}
.footer-meta {
  max-width: 1440px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border-dark);
  font-size: 11px; letter-spacing: 0.06em; color: #6E6659;
}
.footer-word {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(64px, 15.5vw, 236px);
  line-height: 0.72; letter-spacing: -0.03em;
  text-align: center; color: var(--on-dark);
  margin-bottom: -0.08em;
  white-space: nowrap;
  user-select: none;
}
.footer-word em { font-style: italic; color: var(--green-on-dark); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   Enquiry drawer — universal floating form
   ------------------------------------------------------------ */
.enquire-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20, 18, 16, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.enquire-overlay.is-open { opacity: 1; }
.enquire-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(540px, 94vw);
  background: var(--ivory);
  padding: clamp(32px, 5vh, 64px) clamp(28px, 4vw, 56px);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
}
.enquire-overlay.is-open .enquire-panel { transform: translateX(0); }
.enquire-close {
  position: absolute; top: 22px; right: 24px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 34px; font-weight: 300;
  line-height: 1; color: var(--text-secondary);
  transition: color .3s;
}
.enquire-close:hover { color: var(--green); }
.enquire-panel .eyebrow { display: block; margin-bottom: 14px; }
.enquire-panel h2 { margin-bottom: 10px; }
.enquire-panel .sub { color: var(--text-secondary); font-size: 14px; max-width: 380px; }
.enquire-panel .form { margin-top: 28px; }
.enquire-panel .form-grid { grid-template-columns: 1fr; gap: 0; }
.enquire-panel .field input, .enquire-panel .field select {
  color: var(--charcoal); border-bottom-color: #C9C0B2;
}
.enquire-panel .field ::placeholder { color: var(--text-muted); }
.enquire-panel .field select:invalid { color: var(--text-muted); }
.enquire-panel .field input:focus, .enquire-panel .field select:focus { border-color: var(--green); }
.enquire-panel .submit-display { color: var(--green); font-size: 30px; margin-top: 32px; }
.enquire-alt {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid #C9C0B2;
  font-size: 13px; color: var(--text-secondary);
}
.enquire-alt a { color: var(--green); border-bottom: 1px solid transparent; }
.enquire-alt a:hover { border-color: var(--green); }
@media (prefers-reduced-motion: reduce) {
  .enquire-overlay, .enquire-panel { transition: none; }
}

/* ------------------------------------------------------------
   Sub-page hero + breadcrumb
   ------------------------------------------------------------ */
.page-hero {
  padding: calc(96px + var(--section-pad)) var(--margin) clamp(48px, 6vw, 88px);
  max-width: calc(1440px + 2 * var(--margin)); margin: 0 auto;
}
.breadcrumb {
  display: flex; gap: 10px; align-items: center;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 28px;
}
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--border); }
.page-hero h1 { max-width: 11em; }
.page-hero .standfirst {
  margin-top: 24px; max-width: 560px;
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; color: var(--text-secondary);
}
.on-dark .page-hero .standfirst { color: #B5AB9E; }
.on-dark .breadcrumb { color: #9E9488; }
.on-dark .breadcrumb span { color: var(--border-dark); }

/* ------------------------------------------------------------
   Home teasers (factory / about / lookbook)
   ------------------------------------------------------------ */
.teaser {
  padding: var(--section-pad) var(--margin);
}
.teaser-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.teaser-media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.teaser-media .media-scale { position: absolute; inset: 0; }
.teaser.flip .teaser-inner > :first-child { order: 2; }
.teaser h2 { margin: 16px 0 18px; }
.teaser p { max-width: 440px; font-size: 15px; color: var(--text-secondary); }
.on-dark.teaser p, .teaser.on-dark p { color: #B5AB9E; }
@media (max-width: 860px) { .teaser-inner { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   Collections index — ledger rows + hover image swap
   ------------------------------------------------------------ */
.collections-index { padding: clamp(36px, 4.5vw, 64px) var(--margin) clamp(40px, 5vw, 72px); }
.ci-grid {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(300px, 0.9fr) 1.1fr;
  gap: clamp(40px, 6vw, 104px);
  align-items: center;
}
.ci-media {
  position: relative; aspect-ratio: 3/4; overflow: hidden;
  background: var(--ivory);
}
.ci-media img {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.06);
  transition: opacity .65s var(--ease), transform 1.1s var(--ease);
}
.ci-media img.is-active { opacity: 1; transform: scale(1); }
.ci-head { max-width: 9em; margin-bottom: clamp(16px, 2vw, 26px); }
.ci-sub { max-width: 420px; margin-bottom: clamp(28px, 3.5vw, 44px); font-size: 15px; color: var(--text-secondary); }
.ci-rows { display: block; border-top: 1px solid var(--border); }
.ci-row {
  display: grid; grid-template-columns: 52px 1fr auto;
  gap: 18px; align-items: center;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left .4s var(--ease);
}
.ci-row:hover { padding-left: 14px; }
.ci-num {
  font-family: var(--font-display); font-weight: 300;
  font-size: 20px; color: var(--green);
}
.ci-name {
  display: block;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(30px, 3.4vw, 52px);
  letter-spacing: -0.015em; line-height: 1.05;
  color: var(--charcoal);
  transition: color .35s;
}
.ci-row:hover .ci-name { color: var(--green); }
.ci-spec {
  display: block; margin-top: 8px;
  font-size: 12px; letter-spacing: 0.05em;
  color: var(--text-muted);
}
.ci-arrow {
  font-family: var(--font-display); font-size: 26px; color: var(--green);
  opacity: 0; transform: translateX(-10px);
  transition: opacity .35s, transform .4s var(--ease);
}
.ci-row:hover .ci-arrow, .ci-row:focus-visible .ci-arrow { opacity: 1; transform: translateX(0); }
/* Auto-carousel current state — mirrors hover affordance, no layout shift */
.ci-row.is-current .ci-name { color: var(--green); }
.ci-row.is-current .ci-arrow { opacity: 1; transform: translateX(0); }
.ci-list .soft-cta { margin-top: 36px; }
@media (max-width: 900px) {
  .ci-grid { grid-template-columns: 1fr; }
  .ci-media { aspect-ratio: 16/10; order: -1; }
  .ci-name { font-size: clamp(26px, 7vw, 38px); }
}

/* ------------------------------------------------------------
   Blog / journal
   ------------------------------------------------------------ */
.journal-list {
  max-width: 1440px; margin: 0 auto;
  padding: 0 var(--margin) var(--section-pad);
}
.journal-entry {
  display: grid; grid-template-columns: 140px 1fr auto;
  gap: clamp(20px, 3vw, 48px); align-items: baseline;
  padding: clamp(28px, 3.5vw, 44px) 0;
  border-top: 1px solid var(--border);
  transition: padding-left .35s var(--ease);
}
.journal-entry:last-child { border-bottom: 1px solid var(--border); }
.journal-entry:hover { padding-left: 12px; }
.journal-entry .j-meta { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.journal-entry h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(24px, 2.8vw, 40px); letter-spacing: -0.01em; line-height: 1.15;
  max-width: 16em;
}
.journal-entry p { grid-column: 2; max-width: 560px; font-size: 14px; color: var(--text-secondary); margin-top: 8px; }
.journal-entry .j-tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); white-space: nowrap; }
@media (max-width: 760px) {
  .journal-entry { grid-template-columns: 1fr; }
  .journal-entry p { grid-column: 1; }
}

/* ------------------------------------------------------------
   Reveal primitives
   ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(36px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .scroll-cue::after { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
}

/* ============================================================
   PRODUCTS PAGE — structured product sections
   ============================================================ */
/* Anchored product index in the page hero */
.product-index {
  display: flex; flex-wrap: wrap; gap: 14px 48px;
  margin-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--border); padding-top: clamp(20px, 2.4vw, 30px);
}
.product-index a {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -0.01em;
  color: var(--charcoal); transition: color .3s;
}
.product-index a:hover { color: var(--green); }
.product-index a .pi-num { font-size: 13px; color: var(--green); letter-spacing: 0.04em; }

/* Section group per product */
.product {
  padding: clamp(56px, 7vw, 110px) var(--margin);
  background: var(--cream);                 /* opaque so footer dark theme can't bleed */
  border-top: 1px solid var(--border);
  scroll-margin-top: 96px;                  /* clears the fixed header on anchor jumps */
}
.product-inner { max-width: 1440px; margin: 0 auto; }

/* Overview: chapter + headline + lead + full-width lead media */
.product-head { max-width: 760px; }
.product-head h2 { margin: 16px 0 20px; }
.product-head .lead-copy {
  font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7;
  color: var(--text-secondary); max-width: 600px;
}
.product-media {
  position: relative; overflow: hidden;
  margin-top: clamp(32px, 4vw, 56px);
  aspect-ratio: 16 / 7;
}
.product-media .media-scale { position: absolute; inset: 0; }
.product-media img, .product-media video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .product-media { aspect-ratio: 4 / 3; } }

/* Sub-blocks (layouts / finishes / projects / pricing) */
.product-block { margin-top: clamp(48px, 6vw, 88px); }
.block-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--border); padding-bottom: 16px;
}
.block-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.01em; line-height: 1.05;
}
.block-kicker {
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap;
}

/* Tile grid — hairline dividers via 1px gaps over border colour */
.tile-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.tile-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tile {
  background: var(--cream); padding: clamp(20px, 2.2vw, 32px);
  display: flex; flex-direction: column; gap: 10px; min-height: 190px;
}
.tile .t-num { font-family: var(--font-display); font-size: 20px; color: var(--green); }
.tile .t-name {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(20px, 2vw, 27px); letter-spacing: -0.01em; line-height: 1.1;
}
.tile .t-desc { font-size: 13.5px; line-height: 1.6; color: var(--text-secondary); margin-top: auto; }
@media (max-width: 900px) { .tile-grid, .tile-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .tile-grid, .tile-grid.cols-3 { grid-template-columns: 1fr; } .tile { min-height: 0; } }

/* Projects row — image + hairline caption */
.project-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.project-item { margin: 0; }
.project-item .p-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory); }
.project-item .p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-item:hover .p-media img { transform: scale(1.04); }
.project-item figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--border); margin-top: 10px; padding-top: 10px;
  font-size: 12px; color: var(--text-muted); letter-spacing: 0.02em;
}
.project-item figcaption span:first-child { color: var(--text-secondary); }
@media (max-width: 760px) { .project-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .project-row { grid-template-columns: 1fr; } }

/* Pricing tiers — quote-only */
.price-tiers {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.tier { background: var(--cream); padding: clamp(16px, 1.9vw, 26px); display: flex; flex-direction: column; }
.tier .tier-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.01em; }
.tier .tier-sub { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-top: 8px; }
.tier .tier-list { list-style: none; margin: 14px 0 0; padding: 0; }
.tier .tier-list li { font-size: 13.5px; line-height: 1.45; color: var(--text-secondary); padding: 7px 0; border-top: 1px solid var(--border); }
.tier .tier-foot {
  margin-top: auto; padding-top: 14px;
  font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--text-muted);
}
@media (max-width: 1024px) { .price-tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .price-tiers { grid-template-columns: 1fr; } }

.product .soft-cta { margin-top: clamp(40px, 5vw, 64px); }

/* ============================================================
   PRODUCTS — Pattern B: horizontal-scroll product chapter
   ============================================================ */
.ph { position: relative; background: var(--cream); }
.ph-viewport { position: relative; height: 100svh; min-height: 600px; overflow: hidden; }
.ph-track { display: flex; height: 100%; will-change: transform; }
.ph-panel {
  flex: 0 0 100vw; height: 100%;
  display: flex; align-items: center;
  padding: clamp(92px, 12vh, 132px) var(--margin) clamp(64px, 9vh, 96px);
}
.ph-inner { width: 100%; max-width: 1440px; margin: 0 auto; }
.ph-split { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.ph-copy .chapter { margin-bottom: clamp(18px, 2.4vw, 30px); }
.ph-lead { max-width: 30em; margin: 18px 0 0; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; color: var(--text-secondary); }
.ph-cue { display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(28px, 3.5vw, 46px); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); }
.ph-shot { aspect-ratio: 5 / 6; max-height: 66vh; overflow: hidden; }
.ph-shot img { width: 100%; height: 100%; object-fit: cover; }
.ph-facet-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: clamp(28px, 3.5vw, 52px); flex-wrap: wrap; }
.ph-facet-num { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.ph-cols { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.ph-cols.four { grid-template-columns: repeat(4, 1fr); }
.ph-cols.three { grid-template-columns: repeat(3, 1fr); }
.ph-col { background: var(--cream); padding: clamp(20px, 2vw, 34px); min-height: clamp(220px, 40vh, 380px); display: flex; flex-direction: column; gap: 10px; }
.ph-col .c-num { font-family: var(--font-display); font-size: 22px; color: var(--green); }
.ph-col .c-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.01em; line-height: 1.05; }
.ph-col .c-desc { font-size: 13.5px; line-height: 1.6; color: var(--text-secondary); margin-top: auto; }
.ph-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.ph-proj { margin: 0; }
.ph-proj .p-media { aspect-ratio: 4 / 5; max-height: 52vh; overflow: hidden; background: var(--ivory); }
.ph-proj .p-media img { width: 100%; height: 100%; object-fit: cover; }
.ph-proj figcaption { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); margin-top: 10px; padding-top: 10px; font-size: 12px; color: var(--text-muted); }
.ph-proj figcaption span:first-child { color: var(--text-secondary); }
.ph-panel .price-tiers { width: 100%; }
.ph-panel .soft-cta { margin-top: clamp(28px, 3vw, 44px); }
.ph-hint { position: absolute; right: var(--margin); bottom: 40px; z-index: 3; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.ph-rail { position: absolute; left: var(--margin); bottom: 44px; z-index: 3; display: flex; gap: 8px; width: min(320px, 32vw); }
.ph-tick { flex: 1; height: 2px; background: var(--border); transition: background .3s var(--ease); }
.ph-tick.on { background: var(--green); }
@media (max-width: 900px) {
  .ph-viewport { height: auto; min-height: 0; overflow: visible; }
  .ph-track { flex-direction: column; height: auto; transform: none !important; }
  .ph-panel { flex-basis: auto; height: auto; padding: var(--section-pad) var(--margin); border-top: 1px solid var(--border); }
  .ph-panel:first-child { border-top: none; }
  .ph-split { grid-template-columns: 1fr; }
  .ph-shot { max-height: none; aspect-ratio: 4 / 3; }
  .ph-cols.four { grid-template-columns: 1fr 1fr; }
  .ph-col { min-height: 0; }
  .ph-projects { grid-template-columns: 1fr 1fr; }
  .ph-rail, .ph-hint { display: none; }
}
.no-pin .ph-viewport { height: auto; overflow: visible; }
.no-pin .ph-track { flex-direction: column; height: auto; transform: none !important; }
.no-pin .ph-panel { flex-basis: auto; height: auto; padding: var(--section-pad) var(--margin); border-top: 1px solid var(--border); }
.no-pin .ph-panel:first-child { border-top: none; }
.no-pin .ph-rail, .no-pin .ph-hint { display: none; }

/* ============================================================
   PRODUCTS — list landing + expanding horizontal chapters
   ============================================================ */
.px { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: flex; align-items: center; justify-content: flex-start; background: #1B1A19; padding: 0 var(--margin); }
.px-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
/* quiet vignette so the grain recedes at the edges */
.px::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 30% 42%, rgba(27,26,25,0) 42%, rgba(27,26,25,0.55) 100%);
}
.px { align-items: flex-end; }
.px-list {
  position: relative; z-index: 2; list-style: none; margin: 0 0 clamp(96px, 13vh, 132px);
  padding: 0;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: clamp(8px, 1.5vh, 16px);
}
.px-item {
  display: block; padding: 2px 0;
  text-decoration: none; cursor: pointer;
  opacity: 0.38;
  transition: opacity .5s var(--ease);
}
.px-item .px-name {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(23px, 2.8vw, 42px);
  letter-spacing: -0.01em; line-height: 1.15;
  color: var(--on-dark);
}
.px-item.is-hot, .px-item:hover, .px-item:focus-visible { opacity: 1; outline: none; }
.px-foot {
  position: absolute; left: var(--margin); right: var(--margin); bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(251, 249, 245, 0.18);
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(251, 249, 245, 0.55);
}
.px-foot .px-current {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 17px; letter-spacing: 0.01em; text-transform: none;
  color: var(--green-on-dark);
}
body.px-locked { overflow: hidden; }
@media (max-width: 700px) { .px-list { padding-left: 0; } }
@media (prefers-reduced-motion: reduce) { .px-bg img.is-on { animation: none; } }

/* Veil: dims the grain field around the expanded chapter; click = collapse */
.pxc-veil {
  position: fixed; inset: 0; z-index: 118;
  background: rgba(16, 15, 14, 0.55);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.pxc-veil.on { opacity: 1; }

/* Chapter: a framed stage that expands in place from the clicked row */
.px-chapter {
  position: fixed;
  top: 82px;
  right: clamp(16px, 2.6vw, 40px);
  bottom: clamp(14px, 2.4vw, 36px);
  left: clamp(16px, 2.6vw, 40px);
  z-index: 122;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  clip-path: inset(45% 4% 45% 4%);
  transition: clip-path .6s var(--ease), opacity .4s var(--ease);
  will-change: clip-path;
}
.px-chapter.open { opacity: 1; pointer-events: auto; }
@media (max-width: 700px) {
  .px-chapter { top: 74px; right: 10px; bottom: 10px; left: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .pxc-veil, .px-chapter { transition: none; }
}
.pxc-top { position: relative; z-index: 6; display: flex; align-items: center; gap: 16px; padding: 18px var(--margin); border-bottom: 1px solid var(--border); }
.pxc-back { background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-secondary); transition: color .3s; }
.pxc-back:hover { color: var(--green); }
.pxc-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(18px, 2vw, 26px); letter-spacing: -0.01em; }
.pxc-cta { margin-left: auto; white-space: nowrap; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); border: 1px solid var(--green); border-radius: 2px; padding: 8px 14px; transition: background .3s, color .3s; }
.pxc-cta:hover { background: var(--green); color: var(--cream); }
.pxc-count { margin-left: 18px; font-size: 12px; letter-spacing: 0.08em; color: var(--text-muted); }
@media (max-width: 680px) { .pxc-name, .pxc-count { display: none; } .pxc-cta { padding: 7px 11px; letter-spacing: 0.08em; } }
.pxc-wrap { position: relative; flex: 1; overflow: hidden; }
.pxc-track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; }
/* Touch phones snap crisply; desktop mouse/trackpad uses proximity so wheel-scroll
   accumulates smoothly instead of getting snapped back mid-gesture. */
@media (hover: hover) and (pointer: fine) { .pxc-track { scroll-snap-type: x proximity; } }
.pxc-track::-webkit-scrollbar { display: none; }
.pxc-panel { flex: 0 0 100%; height: 100%; position: relative; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; }
.pxc-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pxc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,18,16,0.68), rgba(20,18,16,0.10) 56%); }
.pxc-hero-copy { position: absolute; left: var(--margin); right: var(--margin); bottom: clamp(72px, 10vh, 120px); max-width: 680px; z-index: 2; color: var(--on-dark); }
.pxc-hero-copy .chapter { margin-bottom: 14px; }
.pxc-hero-copy h2 { margin: 0 0 12px; }
.pxc-hero-copy p { max-width: 38em; font-size: 15px; line-height: 1.6; color: rgba(251,249,245,0.85); }
.pxc-content { display: flex; align-items: safe center; overflow-y: auto; padding: clamp(40px, 5vh, 68px) var(--margin) clamp(76px, 9vh, 96px); }
.pxc-content .ph-facet-head { margin-bottom: clamp(16px, 2vw, 30px); }
.pxc-content .ph-facet-head .h-sub { font-size: clamp(26px, 3vw, 42px); line-height: 1.05; }
.pxc-inner { width: 100%; max-width: 1440px; margin: 0 auto; }
.pxc-content .price-tiers, .pxc-content .tile-grid, .pxc-content .project-row { width: 100%; }
.pxc-content .soft-cta { margin-top: clamp(28px, 3vw, 44px); }
.pxc-rail { position: absolute; left: var(--margin); bottom: 34px; z-index: 6; width: min(340px, 34vw); height: 2px; background: var(--border); cursor: pointer; }
.pxc-rail-fill { display: block; height: 100%; width: 0; background: var(--green); }
.pxc-nav { position: absolute; right: var(--margin); bottom: 22px; z-index: 6; display: flex; gap: 10px; }
.pxc-prev, .pxc-next { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--cream); cursor: pointer; font-family: var(--font-display); font-size: 22px; line-height: 1; color: var(--charcoal); transition: border-color .3s, color .3s; }
.pxc-prev:hover, .pxc-next:hover { border-color: var(--green); color: var(--green); }
@media (max-width: 760px) {
  .pxc-content { padding: 92px var(--margin) 92px; align-items: flex-start; overflow-y: auto; }
  .pxc-rail { width: 42vw; }
}
@media (prefers-reduced-motion: reduce) { .px-chapter, .pxc-track { transition: none; } }

/* ============================================================
   FACTORY PAGE — cinematic hero + immersive floor panorama
   ============================================================ */
.fac-hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; }
.fac-hero-media { position: absolute; inset: 0; }
.fac-hero-media .media-scale { position: absolute; inset: 0; }
.fac-hero-media img, .fac-hero-media video { width: 100%; height: 100%; object-fit: cover; }
.fac-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,18,16,0.76), rgba(20,18,16,0.16) 55%, rgba(20,18,16,0.36)); }
.fac-hero-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(96px + 26px) var(--margin) clamp(48px,6vw,80px); color: var(--on-dark); }
.fac-hero-content .breadcrumb { margin-bottom: auto; color: #B5AB9E; }
.fac-hero-content .breadcrumb a:hover { color: var(--green-on-dark); }
.fac-hero-content .breadcrumb span { color: var(--border-dark); }
.fac-hero h1 { max-width: 12em; }
.fac-hero-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 32px; gap: 24px; }
.fac-hero-foot .hero-caption { max-width: 440px; }

.fac-making-inner { max-width: 1440px; margin: 0 auto; }
.fac-making-inner .eyebrow { color: var(--green-on-dark); }
.fac-making-head { border-top: 1px solid var(--border-dark); padding-top: 18px; margin-bottom: clamp(30px, 4vw, 54px); }
.fac-making-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 5.5vw, 88px); align-items: start; }
.fac-making-copy h2 { max-width: 15em; }
.fac-making-copy p {
  margin-top: clamp(22px, 2.6vw, 32px); max-width: 44em;
  font-size: clamp(15px, 1.2vw, 17px); line-height: 1.75; color: #B5AB9E;
}
.fac-making-copy .signature { margin-top: 30px; color: #B5AB9E; }
.fac-making-media { margin: 0; }
.fmm-frame { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--charcoal-2); }
.fac-making-media .media-scale { position: absolute; inset: 0; }
.fac-making-media img { width: 100%; height: 100%; object-fit: cover; }
.fac-making-media figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--border-dark); margin-top: 10px; padding-top: 10px;
  font-size: 12px; letter-spacing: 0.03em; color: #A79D90;
}
@media (max-width: 900px) {
  .fac-making-grid { grid-template-columns: 1fr; }
  .fac-making-media { max-width: 440px; }
}

.fac-pano-head { max-width: 1440px; margin: 0 auto; padding: 0 var(--margin) clamp(28px,3.5vw,52px); }
.fac-pano-head .eyebrow { color: var(--green-on-dark); }
.fac-pano-head h2 { margin: 16px 0 10px; max-width: 12em; }
.fac-pano-head p { color: #A79D90; font-size: 14px; letter-spacing: .04em; }
.fac-stats .stats { margin-top: 0; }

.fac-floor-media { position: relative; height: 68vh; min-height: 420px; overflow: hidden; margin-bottom: clamp(40px,5vw,72px); }
.fac-floor-media .media-scale { position: absolute; inset: 0; }
.fac-floor-media img { width: 100%; height: 100%; object-fit: cover; }
.fac-floor blockquote { max-width: 1080px; margin: 0 auto; padding: 0 var(--margin); font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(26px,3.6vw,48px); line-height: 1.3; color: var(--on-dark); }
.fac-floor blockquote::before { content: "\201C"; color: var(--green-on-dark); }
.fac-floor cite { display: block; font-family: var(--font-body); font-style: normal; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #A79D90; }

.fac-visit h2 { max-width: 9em; }
.fac-visit p { margin: 18px 0 0; max-width: 34em; color: #B5AB9E; font-size: 15px; }

/* Factory dark sections — flip text to light (headings inherit) */
.fac-making, .fac-pano, .fac-floor, .fac-visit { color: var(--on-dark); }
.fac-visit .soft-cta::before { background: var(--green-on-dark); }

/* Factory hero — directions link (Google Maps profile) */
.fac-hero-foot-copy { display: flex; flex-direction: column; gap: 16px; }
.fac-directions {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-on-dark);
  padding-bottom: 4px; border-bottom: 1px solid rgba(197, 225, 216, 0.35);
  transition: border-color .35s var(--ease);
}
.fac-directions .fac-pin { flex: none; }
.fac-directions .fac-arrow { transition: transform .35s var(--ease); }
.fac-directions:hover { border-color: var(--green-on-dark); }
.fac-directions:hover .fac-arrow { transform: translateX(4px); }
@media (max-width: 640px) { .fac-directions { letter-spacing: 0.08em; } }

/* ============================================================
   FACTORY PAGE — unified type scale
   One hero size, one section-heading size, one body size.
   Later in the file + higher specificity, so it wins over
   .h-hero / .h-section / .h-sub on this page only.
   ============================================================ */
/* the single hero moment */
.fac-hero h1 { font-size: clamp(46px, 9.5vw, 140px); }

/* every section heading, same size */
.fac-making-copy h2,
.fac-pano-head h2,
.fac-team-copy h2,
.fac-visit h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(30px, 3.5vw, 54px);
  letter-spacing: -0.02em; line-height: 1.1;
}

/* every section paragraph, same size */
.fac-making-copy p,
.fac-team-copy p,
.fac-visit p {
  font-size: clamp(15px, 1.15vw, 16.5px); line-height: 1.75;
}

/* display moments sit just under the section scale */
.fac-floor blockquote { font-size: clamp(24px, 3.2vw, 44px); }
.pano-detail .pd-name { font-size: clamp(23px, 2.5vw, 36px); }
.pano-detail .pd-num { font-size: 24px; }

/* ghost stats: still oversized by design, no longer shouting over the headings */
.fac-stats .stat .n { font-size: clamp(52px, 6.6vw, 104px); }
.fac-stats .stat .t { font-size: clamp(15px, 1.6vw, 22px); }

/* ============================================================
   FACTORY PAGE — spacing pass
   One rhythm token. Sections contribute half a gap each, so
   stacked siblings land on ~150px instead of ~280px.
   ============================================================ */
:root { --fac-pad: clamp(44px, 5.2vw, 75px); }

.fac-making { padding: var(--fac-pad) var(--margin); }
.fac-pano   { padding: var(--fac-pad) 0 0; }
.fac-stats  { padding: var(--fac-pad) var(--margin); }
.fac-floor  { padding: 0 0 var(--fac-pad); }
.fac-visit  { padding: var(--fac-pad) var(--margin); }

/* trim the internal gaps that were sized against the old scale */
.fac-making-head { margin-bottom: clamp(24px, 3vw, 40px); }
.fac-pano-head   { padding-bottom: clamp(24px, 2.8vw, 40px); }
.fac-floor-media { margin-bottom: clamp(32px, 3.6vw, 52px); }

/* stats: single 4-across band instead of a 2x2 block with an 80px row gap */
.fac-stats .stats { grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); }
@media (max-width: 900px) { .fac-stats .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .fac-stats .stats { grid-template-columns: 1fr; } }

/* alignment: pull these back onto the same 1440 grid as every other section */
.fac-visit { max-width: calc(1440px + 2 * var(--margin)); margin: 0 auto; }
.fac-floor-quote { max-width: calc(1440px + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); }
.fac-floor blockquote { max-width: 20em; margin: 0; padding: 0; }
.fac-floor cite { margin: 18px 0 0; padding: 0; }

/* ============================================================
   FACTORY — machine selector (replaces the panorama)
   ============================================================ */
.fm { max-width: 1440px; margin: 0 auto; padding: 0 var(--margin); }
.fm-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 3.6vw, 60px); align-items: center; }
.fm-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--charcoal-2); --dx: 0px; --dy: 0px; }
.fm-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.05) translate3d(var(--dx), var(--dy), 0);
  transition: opacity .7s var(--ease);
}
.fm-media img.is-on { opacity: 1; }
.fm-list { display: flex; flex-direction: column; border-top: 1px solid var(--border-dark); }
.fm-row {
  display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start;
  text-align: left; background: none; border: none; border-bottom: 1px solid var(--border-dark);
  padding: clamp(15px, 1.7vw, 22px) 0; cursor: pointer; color: inherit;
  font-family: inherit; transition: padding-left .4s var(--ease);
}
.fm-row:hover, .fm-row.is-on { padding-left: 12px; }
.fm-row:focus-visible { outline: 1px solid var(--green-on-dark); outline-offset: 3px; }
.fm-num { font-family: var(--font-display); font-weight: 300; font-size: 17px; color: #A79D90; transition: color .3s; }
.fm-row.is-on .fm-num { color: var(--green-on-dark); }
.fm-name {
  display: block; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(19px, 1.85vw, 26px); letter-spacing: -0.01em; line-height: 1.15;
  color: rgba(251, 249, 245, 0.55); transition: color .3s;
}
.fm-row.is-on .fm-name { color: var(--on-dark); }
.fm-desc {
  display: block; font-size: 13.5px; line-height: 1.6; color: #A79D90;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin-top .5s var(--ease);
}
.fm-row.is-on .fm-desc { max-height: 96px; opacity: 1; margin-top: 8px; }
@media (max-width: 900px) {
  .fm-grid { grid-template-columns: 1fr; }
  .fm-row.is-on .fm-desc { max-height: 120px; }
}
@media (prefers-reduced-motion: reduce) { .fm-media img { transition: none; } }

/* ============================================================
   FACTORY — stats band
   Was inverted: the numerals (#4A453E on #202020 = 1.8:1) read
   fainter than their own labels (4.2:1). Numerals now lead.
   ============================================================ */
.fac-stats { border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); }
/* hairline-divided cells — same language as the homepage client wall */
.fac-stats .stats { grid-template-columns: repeat(4, 1fr); gap: 0; border-left: 1px solid var(--border-dark); }
.fac-stats .stat {
  position: relative;
  padding: clamp(22px, 2.4vw, 34px) clamp(16px, 2vw, 34px);
  border-right: 1px solid var(--border-dark);
  transition: background-color .5s var(--ease);
}
.fac-stats .stat:hover { background: rgba(197, 225, 216, 0.035); }
/* green lead-line, the chapter-marker rule carried into the band */
.fac-stats .stat .n::before {
  content: ""; display: block; width: 22px; height: 1px;
  background: var(--green-on-dark); margin-bottom: clamp(14px, 1.6vw, 22px);
}
.fac-stats .stat .n { transition: color .4s var(--ease); }
.fac-stats .stat:hover .n { color: var(--on-dark); }
/* crisp tracked label as counterpoint to the serif numeral */
.fac-stats .stat .t {
  font-family: var(--font-body); font-weight: 500;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #A79D90; margin-top: clamp(10px, 1.2vw, 16px);
}
@media (max-width: 900px) {
  .fac-stats .stats { grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--border-dark); }
  .fac-stats .stat { border-bottom: 1px solid var(--border-dark); }
}
@media (max-width: 520px) { .fac-stats .stats { grid-template-columns: 1fr; } }
.fac-stats .stat .n { color: rgba(251, 249, 245, 0.52); }   /* ~5.1:1 — ghosted but legible */
.fac-stats .stat .t { color: #A79D90; }                      /* quieter than the numeral, still AA */

/* ============================================================
   ABOUT PAGE — full narrative (origin · timeline · values · founders · CTA)
   Uses --fac-pad (the trimmed section rhythm) so siblings land on
   ~150px gaps, not 280. Shared heading scale matches the factory pass.
   ============================================================ */
.studio-copy h2, .at-head h2, .about-cta h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(30px, 3.5vw, 54px); letter-spacing: -0.02em; line-height: 1.08;
}
.studio-copy .eyebrow, .at-head .eyebrow { display: block; margin-bottom: 16px; }

/* Origin — fix the section's double-inset + tighten the bottom gap */
.studio { max-width: calc(1440px + 2 * var(--margin)); padding: 0 var(--margin) var(--fac-pad); }
.studio-media { margin: 0; }
.studio-copy h2 { max-width: 14em; margin: 0 0 22px; }
.studio-copy p { max-width: 42em; font-size: clamp(15px, 1.15vw, 16.5px); line-height: 1.75; color: var(--text-secondary); }
.studio-copy p + p { margin-top: 16px; }
.studio-cap {
  display: flex; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--border); margin-top: 10px; padding-top: 10px;
  font-size: 12px; letter-spacing: 0.03em; color: var(--text-muted);
}
.studio-cap span:first-child { color: var(--text-secondary); }

/* Timeline */
.about-timeline { padding: var(--fac-pad) var(--margin); }
.at-inner { max-width: 1440px; margin: 0 auto; }
.at-head { margin-bottom: clamp(30px, 3.6vw, 52px); }
.at-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); max-width: 1080px; }
.at-row {
  display: grid; grid-template-columns: 120px 1fr; gap: clamp(20px, 3vw, 48px); align-items: baseline;
  padding: clamp(20px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--border);
  transition: padding-left .35s var(--ease);
}
.at-row:hover { padding-left: 12px; }
.at-year { font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 2.2vw, 30px); color: var(--green); letter-spacing: 0.01em; }
.at-event { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55; color: var(--text-secondary); max-width: 30em; }

/* Values — ivory band */
.about-values { background: var(--ivory); padding: var(--fac-pad) var(--margin); }
.av-inner { max-width: 1440px; margin: 0 auto; }
.av-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 72px); }
.av-item .chapter { margin-bottom: 18px; }
.av-item p { font-size: clamp(14px, 1.1vw, 16px); line-height: 1.7; color: var(--text-secondary); max-width: 24em; }
@media (max-width: 800px) { .av-grid { grid-template-columns: 1fr; gap: clamp(28px, 5vw, 44px); } }

/* Founders block + colophon */
.about-founders { padding: var(--fac-pad) var(--margin); }
.af-inner { max-width: 1440px; margin: 0 auto; }
.about-founders .founders { max-width: 600px; margin-left: 0; margin-top: clamp(28px, 3.4vw, 48px); }
.about-founders .founder-line { margin-top: 12px; font-size: 13.5px; line-height: 1.6; color: var(--text-secondary); max-width: 20em; }
.about-founders .colophon { max-width: 1080px; margin-top: clamp(48px, 6vw, 80px); }

/* Closing CTA */
.about-cta { padding: var(--fac-pad) var(--margin) calc(var(--fac-pad) * 1.2); max-width: calc(1440px + 2 * var(--margin)); margin: 0 auto; }
.ac-inner { max-width: 1080px; }
.about-cta h2 { max-width: 9em; }
.about-cta p { margin: 18px 0 0; font-size: clamp(15px, 1.2vw, 17px); color: var(--text-secondary); max-width: 30em; }
.about-cta .soft-cta { margin-top: 26px; }

/* ============================================================
   ABOUT — condensed to four paired spreads (supersedes the
   stacked .about-timeline / .about-values / .about-founders build)
   ============================================================ */
.ab-intro, .ab-story, .ab-team, .ab-cta { max-width: calc(1440px + 2 * var(--margin)); margin: 0 auto; }
.ab-col .eyebrow { display: block; margin-bottom: clamp(20px, 2.4vw, 30px); }

/* 01 · Intro spread */
.ab-intro { padding: calc(86px + var(--fac-pad)) var(--margin) var(--fac-pad); }
.ab-intro-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(36px, 5vw, 90px); align-items: center; }
.ab-intro-copy .breadcrumb { margin-bottom: clamp(22px, 2.6vw, 32px); }
.ab-intro-copy h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(38px, 5.2vw, 84px); letter-spacing: -0.025em; line-height: 1.0; max-width: 11em;
}
.ab-lead { margin: clamp(22px, 2.6vw, 32px) 0 0; max-width: 34em; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; color: var(--text-secondary); }
.ab-intro-copy .soft-cta { margin-top: 28px; }
.ab-intro-media { margin: 0; }
.abim-frame { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--ivory); }
.ab-intro-media .media-scale { position: absolute; inset: 0; }
.ab-intro-media img { width: 100%; height: 100%; object-fit: cover; }
.ab-intro-media figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--border); margin-top: 10px; padding-top: 10px;
  font-size: 12px; letter-spacing: 0.03em; color: var(--text-muted);
}
.ab-intro-media figcaption span:first-child { color: var(--text-secondary); }
@media (max-width: 860px) { .ab-intro-grid { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 44px); } .ab-intro-media { max-width: 460px; } }

/* 02 · Story spread — two parallel ledgers on ivory */
.ab-story { background: var(--ivory); padding: var(--fac-pad) var(--margin); }
.ab-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.ab-story .at-list { border-top: 1px solid var(--border); max-width: none; }
.ab-story .at-row { grid-template-columns: 62px 1fr; gap: 18px; padding: clamp(13px, 1.5vw, 18px) 0; }
.ab-story .at-row:hover { padding-left: 8px; }
.ab-story .at-year { font-size: clamp(18px, 1.7vw, 22px); }
.ab-story .at-event { font-size: 14px; line-height: 1.5; max-width: none; }
.ab-values { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.ab-value { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; padding: clamp(14px, 1.7vw, 20px) 0; border-bottom: 1px solid var(--border); }
.ab-vn { font-family: var(--font-display); font-weight: 300; font-size: 19px; color: var(--green); }
.ab-value h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(20px, 2vw, 27px); letter-spacing: -0.01em; line-height: 1.1; }
.ab-value p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--text-secondary); max-width: 30em; }
@media (max-width: 820px) { .ab-story-grid { grid-template-columns: 1fr; gap: clamp(34px, 6vw, 52px); } }

/* 03 · Team spread — founders + colophon */
.ab-team { padding: var(--fac-pad) var(--margin); }
.ab-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.ab-team .founders { max-width: 440px; margin: 0; }
.ab-team .founder-line { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--text-secondary); }
.ab-team .colophon { margin-top: 0; border-top: 1px solid var(--border); }
.ab-team .colophon-row { padding: 14px 0; }
@media (max-width: 820px) { .ab-team-grid { grid-template-columns: 1fr; gap: clamp(34px, 6vw, 52px); } }

/* 04 · Closing CTA */
.ab-cta { padding: var(--fac-pad) var(--margin) calc(var(--fac-pad) * 1.15); }
.ab-cta h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 3.6vw, 56px); letter-spacing: -0.02em; line-height: 1.06; max-width: 9em; }
.ab-cta p { margin: 16px 0 0; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; color: var(--text-secondary); max-width: 30em; }
.ab-cta .soft-cta { margin-top: 24px; }

/* ABOUT — intro now leads with the founder diptych (no repeated factory shot) */
.ab-intro-founders { max-width: 480px; margin-left: auto; }
.ab-intro-founders .founder-media { aspect-ratio: 3/4; }
.ab-intro-founders .founder-line { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); max-width: 18em; }
@media (max-width: 860px) { .ab-intro-founders { max-width: 420px; margin-left: 0; } }

/* ABOUT — record + CTA paired close (replaces the separate team + cta sections) */
.ab-close { max-width: calc(1440px + 2 * var(--margin)); margin: 0 auto; padding: var(--fac-pad) var(--margin) calc(var(--fac-pad) * 1.15); }
.ab-close-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.ab-close .colophon { margin-top: 0; border-top: 1px solid var(--border); }
.ab-close .colophon-row { padding: 14px 0; }
.ab-close-cta h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(28px, 3.4vw, 50px); letter-spacing: -0.02em; line-height: 1.06; max-width: 9em; }
.ab-close-cta p { margin: 16px 0 0; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; color: var(--text-secondary); max-width: 30em; }
.ab-close-cta .soft-cta { margin-top: 22px; }
@media (max-width: 820px) { .ab-close-grid { grid-template-columns: 1fr; gap: clamp(34px, 6vw, 52px); } }

/* ABOUT — design-studio lead image in the Story band */
.ab-story-media { margin: 0 0 clamp(38px, 4.6vw, 68px); }
.asm-frame { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--charcoal-2); }
.ab-story-media .media-scale { position: absolute; inset: 0; }
.ab-story-media img { width: 100%; height: 100%; object-fit: cover; }
.ab-story-media figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--border); margin-top: 10px; padding-top: 10px;
  font-size: 12px; letter-spacing: 0.03em; color: var(--text-muted);
}
.ab-story-media figcaption span:first-child { color: var(--text-secondary); }

/* ============================================================
   ABOUT — full-bleed hero (design studio) + standalone founders
   (supersedes the .ab-intro spread; .ab-story keeps timeline+values)
   ============================================================ */
.ab-hero { position: relative; height: min(82vh, 820px); min-height: 500px; overflow: hidden; }
.ab-hero-media { position: absolute; inset: 0; }
.ab-hero-media .media-scale { position: absolute; inset: 0; }
.ab-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.ab-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,18,16,0.82), rgba(20,18,16,0.16) 52%, rgba(20,18,16,0.30)); }
.ab-hero-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(96px + 26px) var(--margin) clamp(40px, 5vw, 76px); color: var(--on-dark); }
.ab-hero-content .breadcrumb { margin-bottom: auto; color: #B5AB9E; }
.ab-hero-content .breadcrumb a:hover { color: var(--green-on-dark); }
.ab-hero-content .breadcrumb span { color: var(--border-dark); }
.ab-hero h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(40px, 6vw, 96px); letter-spacing: -0.025em; line-height: 1.0; max-width: 12em; }
.ab-hero-caption { margin-top: 22px; max-width: 46em; font-size: clamp(14px, 1.15vw, 16px); line-height: 1.7; color: rgba(251, 249, 245, 0.85); }

.ab-founders { max-width: calc(1440px + 2 * var(--margin)); margin: 0 auto; padding: var(--fac-pad) var(--margin); }
.ab-founders-inner { max-width: 1440px; margin: 0 auto; }
.ab-founders .at-head { margin-bottom: clamp(26px, 3.2vw, 44px); }
.ab-founders .founders { max-width: 520px; margin: 0; }
.ab-founders .founder-line { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--text-secondary); max-width: 20em; }

/* ABOUT — founders lead line */
.ab-founders-lead { margin: clamp(16px, 2vw, 22px) 0 0; max-width: 34em; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; color: var(--text-secondary); }

/* ============================================================
   ABOUT — team carousel (centred, scroll-snap, B&W → colour)
   ============================================================ */
.ab-team { max-width: calc(1440px + 2 * var(--margin)); margin: 0 auto; padding: var(--fac-pad) var(--margin); }
.ab-team-head { text-align: center; max-width: 46em; margin: 0 auto clamp(32px, 4vw, 56px); }
.ab-team-head .eyebrow { display: block; margin-bottom: 16px; }
.ab-team-lead { margin: 16px auto 0; max-width: 34em; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; color: var(--text-secondary); }

.tm-carousel { position: relative; }
.tm-track {
  display: flex; justify-content: safe center; gap: clamp(16px, 2vw, 30px);
  list-style: none; margin: 0; padding: 4px 4px 6px;
  overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tm-track::-webkit-scrollbar { display: none; }
.tm-card { flex: 0 0 clamp(206px, 22vw, 282px); scroll-snap-align: center; }
.tm-photo {
  position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--ivory);
  display: flex; align-items: center; justify-content: center;
}
.tm-photo::before {
  content: attr(data-initial);
  font-family: var(--font-display); font-weight: 300; font-size: clamp(44px, 5vw, 74px);
  color: var(--text-muted); letter-spacing: 0.02em;
}
.tm-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1); transition: filter .55s var(--ease), transform .8s var(--ease);
}
.tm-card:hover .tm-photo img, .tm-card.is-active .tm-photo img { filter: grayscale(0); }
.tm-card:hover .tm-photo img { transform: scale(1.03); }
.tm-meta { display: flex; flex-direction: column; gap: 3px; margin-top: 14px; }
.tm-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.01em; line-height: 1.1; }
.tm-role { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }

/* nav arrows — shown only when the track actually scrolls */
.tm-nav {
  position: absolute; top: calc((100% - 44px) * 0.42); transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(251,249,245,0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  cursor: pointer; font-family: var(--font-display); font-size: 24px; line-height: 1; color: var(--charcoal);
  display: none; align-items: center; justify-content: center; transition: border-color .3s, color .3s;
}
.tm-nav:hover { border-color: var(--green); color: var(--green); }
.tm-prev { left: -6px; }
.tm-next { right: -6px; }
.tm-carousel.tm-scrollable .tm-nav { display: flex; }
@media (hover: none) { .tm-carousel.tm-scrollable .tm-nav { display: none; } }

/* ============================================================
   BLOG — "The Nest Journal", newspaper front page
   ============================================================ */
.jn { max-width: calc(1220px + 2 * var(--margin)); margin: 0 auto; padding: calc(88px + clamp(24px,3vw,44px)) var(--margin) clamp(40px, 5vw, 68px); }
.jn-endmark { margin-top: clamp(26px,3.4vw,46px); padding-top: clamp(18px,2.2vw,28px); border-top: 3px double var(--charcoal); text-align: center; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(15px,1.5vw,20px); letter-spacing: 0.01em; color: var(--text-muted); }
.jn-crumb { justify-content: center; margin-bottom: clamp(16px,2vw,26px); }

/* Nameplate */
.jn-masthead { text-align: center; border-bottom: 3px double var(--charcoal); padding-bottom: clamp(16px,2.2vw,28px); }
.jn-dateline {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border-top: 1px solid var(--charcoal); border-bottom: 1px solid var(--charcoal);
  padding: 7px 0; margin-bottom: clamp(14px,1.8vw,24px);
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted);
}
.jn-dateline span:nth-child(2) { color: var(--text-secondary); }
.jn-nameplate { font-family: var(--font-display); font-weight: 300; font-size: clamp(44px, 8.4vw, 120px); letter-spacing: -0.02em; line-height: 0.92; }
.jn-tagline { max-width: 40em; margin: clamp(12px,1.6vw,20px) auto 0; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(16px,1.7vw,23px); line-height: 1.35; color: var(--text-secondary); }

/* Shared kicker */
.jn-kicker { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); }

/* Lead story */
.jn-lead { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(28px,4vw,64px); align-items: center; padding: clamp(30px,4vw,58px) 0; border-bottom: 3px double var(--charcoal); }
.jn-lead-text .jn-kicker { margin-bottom: 14px; }
.jn-lead-head { font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 4.8vw, 70px); letter-spacing: -0.02em; line-height: 1.0; }
.jn-lead-dek { margin-top: 18px; max-width: 34em; font-size: clamp(15px,1.3vw,18px); line-height: 1.62; color: var(--text-secondary); }
.jn-lead-dek::first-letter { font-family: var(--font-display); font-weight: 300; font-size: 3.4em; line-height: 0.74; float: left; padding: 6px 12px 0 0; color: var(--charcoal); }
.jn-byline { margin-top: 20px; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.jn-lead-media { margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.jn-lead-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .jn-lead { grid-template-columns: 1fr; } .jn-lead-media { order: -1; aspect-ratio: 16/9; } .jn-lead-dek::first-letter { font-size: 3em; } }

/* Column grid — true newspaper multi-column flow */
.jn-grid { column-count: 3; column-gap: clamp(26px,3vw,46px); column-rule: 1px solid var(--border); padding-top: clamp(28px,3.5vw,48px); }
.jn-story { break-inside: avoid; padding-bottom: clamp(22px,2.6vw,32px); margin-bottom: clamp(22px,2.6vw,32px); border-bottom: 1px solid var(--border); }
.jn-story .jn-kicker { margin-bottom: 10px; }
.jn-head { font-family: var(--font-display); font-weight: 300; font-size: clamp(21px,2vw,28px); letter-spacing: -0.01em; line-height: 1.14; transition: color .3s; }
.jn-story:hover .jn-head { color: var(--green); }
.jn-dek { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.jn-date { display: block; margin-top: 12px; font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 900px) { .jn-grid { column-count: 2; } }
@media (max-width: 600px) { .jn-grid { column-count: 1; } }

/* ============================================================
   BLOG — article page ("The Nest Journal" reader)
   ============================================================ */
a.jn-lead, a.jn-story { color: inherit; text-decoration: none; }
a.jn-story { display: block; }
.post { max-width: calc(720px + 2 * var(--margin)); margin: 0 auto; padding: calc(92px + clamp(22px,3vw,42px)) var(--margin) var(--section-pad); }
.post-head { text-align: center; }
.post-head .breadcrumb { justify-content: center; margin-bottom: clamp(16px,2.2vw,28px); }
.post-kicker { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
.post-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(33px,4.8vw,66px); letter-spacing: -0.02em; line-height: 1.03; max-width: 15em; margin: 0 auto; }
.post-standfirst { max-width: 32em; margin: clamp(16px,2vw,26px) auto 0; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(18px,1.9vw,25px); line-height: 1.38; color: var(--text-secondary); }
.post-meta { margin-top: 22px; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.post-hero { margin: clamp(30px,4.4vw,60px) 0 0; aspect-ratio: 16/9; overflow: hidden; }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-body { max-width: 42em; margin: clamp(34px,4.8vw,60px) auto 0; }
.post-body > p { font-size: clamp(16px,1.35vw,18.5px); line-height: 1.75; color: var(--charcoal); margin-top: 22px; }
.post-body > p:first-of-type { margin-top: 0; }
.post-body > p:first-of-type::first-letter { font-family: var(--font-display); font-weight: 300; font-size: 3.4em; line-height: 0.72; float: left; padding: 6px 12px 0 0; }
.post-body h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(24px,2.6vw,34px); letter-spacing: -0.01em; line-height: 1.1; margin-top: clamp(32px,4vw,50px); }
.post-quote { margin: clamp(32px,4vw,50px) 0; padding-left: clamp(18px,2vw,28px); border-left: 2px solid var(--green); font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(22px,2.6vw,33px); line-height: 1.3; color: var(--charcoal); }
.post-cta { max-width: 42em; margin: clamp(46px,6vw,78px) auto 0; padding-top: clamp(30px,4vw,46px); border-top: 1px solid var(--border); text-align: center; }
.post-cta h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(24px,3vw,40px); letter-spacing: -0.01em; line-height: 1.08; }
.post-cta p { margin: 12px 0 0; color: var(--text-secondary); font-size: 15px; }
.post-cta .soft-cta { margin-top: 20px; }
.post-related { max-width: calc(920px + 2 * var(--margin)); margin: clamp(48px,6vw,80px) auto 0; padding: clamp(26px,3.4vw,42px) var(--margin) 0; border-top: 3px double var(--charcoal); }
.post-related-h { display: block; text-align: center; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: clamp(22px,2.6vw,34px); }
.post-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,3vw,44px); }
.post-rel { color: inherit; text-decoration: none; }
.post-rel .jn-kicker { display: block; margin-bottom: 8px; }
.post-rel-head { font-family: var(--font-display); font-weight: 300; font-size: clamp(20px,2vw,27px); letter-spacing: -0.01em; line-height: 1.14; transition: color .3s; }
.post-rel:hover .post-rel-head { color: var(--green); }
@media (max-width: 600px) { .post-related-grid { grid-template-columns: 1fr; } }

/* Screen-reader-only (visually hidden, still announced) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ------------------------------------------------------------
   Mobile navigation — hamburger + full-screen menu
   ------------------------------------------------------------ */
.nav-toggle {
  display: none; width: 42px; height: 42px; margin: -8px -8px -8px 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: 0; cursor: pointer; color: var(--charcoal); z-index: 101;
}
body[data-theme="dark"] .nav-toggle { color: var(--cream); }
.nav-toggle span { display: block; width: 23px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav-inner { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mobile-nav a {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 11vw, 52px);
  letter-spacing: -0.01em; line-height: 1.25; color: var(--charcoal); padding: 6px 14px;
  opacity: 0; transform: translateY(16px); transition: color .3s;
}
.mobile-nav.is-open a { opacity: 1; transform: none; transition: color .3s, transform .55s var(--ease), opacity .55s var(--ease); }
.mobile-nav.is-open a:nth-child(1) { transition-delay: .08s; }
.mobile-nav.is-open a:nth-child(2) { transition-delay: .14s; }
.mobile-nav.is-open a:nth-child(3) { transition-delay: .20s; }
.mobile-nav.is-open a:nth-child(4) { transition-delay: .26s; }
.mobile-nav.is-open a:nth-child(5) { transition-delay: .34s; }
.mobile-nav a:hover { color: var(--green); }
.mobile-nav-enquire {
  margin-top: 22px; font-family: var(--font-sans) !important; font-size: 12px !important;
  font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1 !important;
  color: var(--green); border: 1px solid var(--green); border-radius: 2px; padding: 14px 32px;
  transition: background .3s, color .3s;
}
.mobile-nav-enquire:hover { background: var(--green); color: var(--cream); }

@media (max-width: 900px) { .nav-toggle { display: inline-flex; } .site-header .enquire-pill { display: none; } }
@media (min-width: 901px) { .mobile-nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .mobile-nav, .mobile-nav a, .nav-toggle span { transition: none; } }

/* ------------------------------------------------------------
   Floating WhatsApp chat button (all pages)
   ------------------------------------------------------------ */
.wa-fab {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; z-index: 85;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-fab:hover { transform: scale(1.06); box-shadow: 0 10px 26px rgba(0,0,0,0.30); }
.wa-fab:active { transform: scale(0.98); }
.wa-fab svg { width: 30px; height: 30px; }
@media (max-width: 520px) { .wa-fab { width: 52px; height: 52px; } .wa-fab svg { width: 27px; height: 27px; } }
@media (prefers-reduced-motion: reduce) { .wa-fab { transition: none; } }
