/* ==========================================================================
   KBH Design System
   Converted from the "KBH Global" design canvas (13 artboards).
   Design was authored desktop-only at min-width:1280px; the responsive
   layers below (<=1279px) are derived from the design's own grid and
   spacing rhythm, not from the original artboards.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --cream:      #F5F2EA;  /* page ground */
  --cream-alt:  #EFEAE0;  /* alternating band */
  --cream-warm: #F1EDE1;  /* highlighted card */
  --cream-deep: #E9E4D6;  /* image placeholder / hover fill */
  --ink:        #1D1C19;  /* primary text */
  --ink-deep:   #141310;  /* footer ground */
  --brown:      #4A3022;  /* dark brand band */

  /* Accents */
  --terra:       #A87355; /* primary accent */
  --terra-light: #C89A7C;
  --terra-pale:  #E0B79A;
  --sand:        #C9B49E;
  --sand-light:  #E4D8C8;

  /* Muted text */
  --muted:      #8a8375;
  --muted-dark: #5d584c;
  --muted-deep: #6f695d;
  --paper:      #d8d2c4;
  --paper-dim:  #c9c2b4;

  /* Hairlines */
  --rule:         rgba(29, 28, 25, 0.14);
  --rule-soft:    rgba(29, 28, 25, 0.10);
  --rule-strong:  rgba(29, 28, 25, 0.30);
  --rule-light:   rgba(245, 242, 234, 0.18);
  --rule-light-2: rgba(245, 242, 234, 0.35);

  /* Type */
  --serif: 'Marcellus', 'Times New Roman', serif;
  --sans:  'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Rhythm — these three are what the responsive layers retune */
  --gutter:      64px;  /* horizontal page padding */
  --shell:       1280px;/* content max-width */
  --section-y:   130px; /* vertical section padding */
  --section-y-sm: 110px;

  /* Fluid display sizes (desktop values match the artboards exactly) */
  --fs-hero:  66px;
  --fs-h2:    46px;
  --fs-h2-sm: 40px;
  --fs-h3:    28px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.kbh {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Zero-specificity base link colour: `body.kbh a` would score 0-1-2 and beat
   every single-class component rule (.btn--light, .site-footer a,
   .band--brown a ...), painting buttons and footer links the wrong colour.
   :where() drops it to 0-0-1 so components always win. */
:where(body.kbh) a { color: var(--ink); text-decoration: none; transition: color .2s ease; }
:where(body.kbh) a:hover { color: var(--terra); }

img { max-width: 100%; }

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
}

.kbh-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link */
.kbh-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--cream);
  padding: 12px 20px; font-size: 13px; letter-spacing: .1em;
}
.kbh-skip:focus { left: 0; }

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section    { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--sm{ padding-top: var(--section-y-sm); padding-bottom: var(--section-y-sm); }
.section--top-0    { padding-top: 0; }
.section--bottom-0 { padding-bottom: 0; }

.band          { background: var(--cream-alt); }
.band--brown { background: var(--brown); color: var(--cream); }
/* Plain links on the brown band go cream — but never buttons, which carry
   their own ground and would otherwise end up cream-on-cream. */
.band--brown a:not(.btn) { color: var(--cream); }

/* Generic grids */
.grid       { display: grid; gap: 36px; }
.grid--2    { grid-template-columns: repeat(2, 1fr); }
.grid--3    { grid-template-columns: repeat(3, 1fr); gap: 44px 36px; }
.grid--4    { grid-template-columns: repeat(4, 1fr); gap: 32px; }
.grid--5    { grid-template-columns: repeat(5, 1fr); gap: 26px; }
.grid--split{ grid-template-columns: 6fr 6fr; gap: 84px; align-items: center; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: .3em;
  font-weight: 600;
  color: var(--terra);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.eyebrow--tight { font-size: 11px; letter-spacing: .28em; }
.eyebrow--onDark { color: var(--terra-pale); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .005em;
  font-size: var(--fs-hero);
  text-wrap: pretty;
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.15;
  text-wrap: pretty;
}
.h2--sm { font-size: var(--fs-h2-sm); line-height: 1.2; }

.h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); }

.serif { font-family: var(--serif); font-weight: 400; }

.lede {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted-dark);
}
.lede--onDark { color: var(--sand-light); }

.meta {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block;
  padding: 15px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  border-radius: 2px;
  text-align: center;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn--sm { padding: 14px 26px; font-size: 12px; }
.btn--xs { padding: 11px 22px; font-size: 12.5px; letter-spacing: .1em; }

.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--cream-deep); color: var(--ink); }

.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--brown); color: var(--cream); }

.btn--onBrown { background: var(--cream); color: var(--brown); }
.btn--onBrown:hover { background: var(--cream-deep); color: var(--brown); }

.btn--ghost {
  color: var(--cream);
  border: 1px solid rgba(245, 242, 234, .65);
}
.btn--ghost:hover {
  color: var(--cream);
  border-color: var(--cream);
  background: rgba(245, 242, 234, .12);
}

.btn--ghost-dark {
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.btn--ghost-dark:hover { border-color: var(--ink); background: rgba(29, 28, 25, .04); }

.link-rule {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .1em;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  white-space: nowrap;
}
.link-rule:hover { color: var(--terra); border-bottom-color: var(--terra); }

.link-rule--light {
  color: var(--cream);
  border-bottom-color: rgba(245, 242, 234, .5);
  font-size: 11.5px;
  padding-bottom: 3px;
}
.link-rule--light:hover { color: var(--terra); border-bottom-color: var(--terra); }

/* ---------- Section heading row ---------- */
.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}
.head-row--sm { margin-bottom: 56px; }
.head-row__text { max-width: 640px; }

/* ---------- Media ---------- */
.media { overflow: hidden; background: var(--cream-deep); display: block; }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media--4x5  { aspect-ratio: 4 / 5; }
.media--3x2  { aspect-ratio: 3 / 2; }
.media--4x3  { aspect-ratio: 4 / 3; }
.media--1x1  { aspect-ratio: 1 / 1; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--contain { background: #fff; border: 1px solid rgba(29, 28, 25, .08); }
.media--contain img { object-fit: contain; }

.media--zoom img { transition: transform 1.4s ease; }
a:hover > .media--zoom img,
a:hover .media--zoom img { transform: scale(1.045); }
.media--zoom-sm img { transition: transform 1.4s ease; }
a:hover .media--zoom-sm img { transform: scale(1.03); }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; gap: 16px; }
.card__body { display: flex; flex-direction: column; gap: 7px; }
.card__title { font-family: var(--serif); font-size: 23px; }
.card__title--sm { font-size: 20px; }
.card__title--lg { font-size: 24px; }

/* Overlay tile (image with gradient caption) */
.tile { position: relative; overflow: hidden; display: block; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s ease; }
.tile:hover img { transform: scale(1.03); }
.tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 80px 32px 26px;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0) 0%, rgba(20, 16, 12, .55) 100%);
  color: var(--cream);
  pointer-events: none;
}
.tile__cap--sm { padding: 70px 28px 22px; }
.tile__name { font-family: var(--serif); font-size: 28px; }
.tile__cap--sm .tile__name { font-size: 24px; }
.tile__sub { font-size: 12.5px; letter-spacing: .14em; opacity: .85; margin-top: 5px; }

/* ---------- Chips / pills ---------- */
.chip {
  display: inline-block;
  border: 1px solid var(--rule-strong);
  padding: 7px 12px;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--muted-dark);
  white-space: nowrap;
}
.chip--onDark { border-color: var(--rule-light-2); color: var(--sand-light); }

.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Filter buttons */
.filter {
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--muted-dark);
  padding: 9px 18px;
  font-size: 11.5px;
  letter-spacing: .14em;
  font-weight: 600;
  border-radius: 2px;
  transition: all .2s ease;
  text-transform: uppercase;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* ---------- Numbered rows (01 / 02 / 03 lists) ---------- */
.steps { display: flex; flex-direction: column; }
.step {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--rule-light);
}
.step:last-child { border-bottom: 1px solid var(--rule-light); }
.step__num {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--terra-pale);
  width: 30px;
  flex-shrink: 0;
}
.step__title { font-size: 15px; font-weight: 600; }
.step__text { font-size: 12.5px; color: var(--sand); margin-top: 5px; line-height: 1.7; }

/* Light variant on cream ground */
.steps--light .step { border-top-color: var(--rule); }
.steps--light .step:last-child { border-bottom-color: var(--rule); }
.steps--light .step__num { color: var(--terra); }
.steps--light .step__text { color: var(--muted); }

/* ---------- Stat block ---------- */
.stats { display: flex; gap: 56px; flex-wrap: wrap; }
.stat__num { font-family: var(--serif); font-size: 38px; line-height: 1; }
.stat__label { font-size: 12px; letter-spacing: .16em; color: var(--sand); margin-top: 6px; }

/* ---------- Accordion (FAQ) ---------- */
.acc__item { border-top: 1px solid var(--rule); }
.acc__item:last-child { border-bottom: 1px solid var(--rule); }
.acc__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--serif);
  font-size: 20px;
  transition: color .2s ease;
}
.acc__btn:hover { color: var(--terra); }
/* Let the question text shrink so the +/- sign can never be pushed out of the
   button on a narrow screen. */
.acc__btn > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.acc__sign { flex-shrink: 0; font-size: 20px; color: var(--terra); transition: transform .25s ease; }
.acc__btn[aria-expanded="true"] .acc__sign { transform: rotate(45deg); }
.acc__panel { overflow: hidden; }
.acc__panel[hidden] { display: none; }
.acc__panel > div { padding: 0 0 26px; font-size: 14.5px; line-height: 1.8; color: var(--muted-dark); max-width: 800px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-size: 10.5px;
  letter-spacing: .2em;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 13px 14px;
  width: 100%;
  transition: border-color .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); outline: none; }
.field textarea { min-height: 120px; resize: vertical; }

/* ---------- Sticky bar ---------- */
.sticky-bar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  background: var(--ink);
  color: var(--cream);
  border-top: 1px solid rgba(245, 242, 234, .14);
}

/* ---------- Animations ---------- */
@keyframes kbh-breathe {
  0%   { box-shadow: 0 0 0 0 rgba(245, 242, 234, .55); }
  70%  { box-shadow: 0 0 0 14px rgba(245, 242, 234, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 242, 234, 0); }
}
@keyframes kbh-fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: kbh-fadeUp 1.1s ease both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Responsive
   The artboards are desktop-only (min-width:1280px). Everything below is
   derived from the design's grid and spacing rhythm.
   ========================================================================== */

/* --- Laptop: tighten the gutter, keep every column --- */
@media (max-width: 1279px) {
  :root {
    --gutter: 44px;
    --section-y: 104px;
    --section-y-sm: 88px;
    --fs-hero: 54px;
    --fs-h2: 40px;
    --fs-h2-sm: 34px;
  }
  .grid--split { gap: 56px; }
  .head-row { margin-bottom: 52px; }
}

/* --- Tablet: collapse the wide grids --- */
@media (max-width: 1023px) {
  :root {
    --gutter: 32px;
    --section-y: 84px;
    --section-y-sm: 72px;
    --fs-hero: 44px;
    --fs-h2: 34px;
    --fs-h2-sm: 30px;
    --fs-h3: 24px;
  }
  .grid--3 { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .grid--split { grid-template-columns: 1fr; gap: 44px; }
  .head-row { margin-bottom: 44px; }
  .stats { gap: 36px; }
  .stat__num { font-size: 32px; }
  .tile__cap { padding: 64px 24px 22px; }
  .tile__name { font-size: 24px; }
}

/* --- Mobile --- */
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-y: 64px;
    --section-y-sm: 56px;
    --fs-hero: 34px;
    --fs-h2: 27px;
    --fs-h2-sm: 25px;
    --fs-h3: 21px;
  }
  .grid, .grid--2, .grid--3, .grid--4, .grid--5 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }
  .btn { display: block; width: 100%; padding: 15px 20px; white-space: normal; }
  .btn-row { flex-direction: column; align-items: stretch !important; }
  .eyebrow { font-size: 11px; letter-spacing: .24em; margin-bottom: 12px; }
  .lede { font-size: 15px; }
  .card__title { font-size: 21px; }
  .stats { gap: 28px 40px; }
  /* The open sign is rotated 45deg, so its painted box is wider than its
     layout box — keep a little horizontal padding or its corner pokes out. */
  .acc__btn { font-size: 17px; padding: 20px 8px; gap: 14px; }
  .tile__cap { padding: 56px 20px 18px; }
  .tile__name { font-size: 22px; }
  .step { gap: 14px; }
  .step__num { width: 24px; font-size: 17px; }
  /* Any horizontally wide block scrolls inside itself, never the page */
  .scroll-x {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px;
  }
  .scroll-x > * { flex: 0 0 78%; scroll-snap-align: start; }
}

/* ==========================================================================
   Site chrome — header, mega panels, drawer, footer
   ========================================================================== */

/* ---------- Announcement strip ---------- */
.site-strip {
  display: block;
  text-align: center;
  font-size: 10px;
  letter-spacing: .18em;
  font-weight: 600;
  padding: 9px 20px;
  background: var(--ink);
  color: var(--cream) !important;
  transition: background .25s ease;
}
.site-strip:hover { color: var(--cream) !important; }

/* ---------- Bar ---------- */
.site-header { position: relative; z-index: 30; }

.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px var(--gutter);
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  transition: background .25s ease, border-color .25s ease;
}

.site-logo {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: .24em;
  line-height: 1;
  white-space: nowrap;
}

.site-nav { display: flex; gap: 34px; font-size: 11.5px; letter-spacing: .2em; font-weight: 600; }
.site-nav__link { padding: 8px 0; white-space: nowrap; }
.site-nav__link.is-active { color: var(--terra); }

.site-utils {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  letter-spacing: .06em;
}

.site-utils__project { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.site-utils__project.is-active { color: var(--terra); }
.site-utils__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border: 1px solid rgba(29, 28, 25, .5);
  border-radius: 2px;
  font-size: 11px;
  padding: 0 4px;
}

/* Transparent variant — the bar floats over a hero image */
.site-header--transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.site-header--transparent .site-strip { background: rgba(20, 16, 12, .35); }
.site-header--transparent .site-bar {
  background: transparent;
  border-bottom-color: rgba(245, 242, 234, .22);
}
.site-header--transparent .site-logo,
.site-header--transparent .site-nav__link,
.site-header--transparent .site-utils__link,
.site-header--transparent .site-utils__project { color: var(--cream); }
.site-header--transparent .site-nav__link:hover,
.site-header--transparent .site-utils__link:hover,
.site-header--transparent .site-utils__project:hover { color: var(--terra-pale); }
.site-header--transparent .site-nav__link.is-active,
.site-header--transparent .site-utils__project.is-active { color: var(--terra); }
.site-header--transparent .site-utils__count { border-color: rgba(245, 242, 234, .7); }
.site-header--transparent .site-utils__cta { background: var(--cream); color: var(--ink); }
.site-header--transparent .site-utils__cta:hover { background: var(--cream-deep); }
.site-header--transparent .site-burger span { background: var(--cream); }

/* While a panel is open the transparent bar becomes solid, as in the design */
.site-header--transparent.is-open .site-strip { background: var(--ink); }
.site-header--transparent.is-open .site-bar {
  background: var(--cream);
  border-bottom-color: var(--rule);
}
.site-header--transparent.is-open .site-logo,
.site-header--transparent.is-open .site-nav__link,
.site-header--transparent.is-open .site-utils__link,
.site-header--transparent.is-open .site-utils__project { color: var(--ink); }
.site-header--transparent.is-open .site-utils__count { border-color: rgba(29, 28, 25, .5); }
.site-header--transparent.is-open .site-utils__cta { background: var(--ink); color: var(--cream); }
.site-header--transparent.is-open .site-burger span { background: var(--ink); }
.site-header--transparent.is-open .site-nav__link.is-active { color: var(--terra); }

/* ---------- Mega panels ---------- */
.site-panels { position: absolute; left: 0; right: 0; top: 100%; }
.site-panel {
  background: var(--cream);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 44px 0 50px;
  animation: kbh-fadeUp .28s ease both;
}
.site-panel[hidden] { display: none; }

.site-panel__inner { display: grid; gap: 72px; }
.site-panel__inner--2-1 { grid-template-columns: 1fr 1fr 1.5fr; }
.site-panel__inner--1-1 { grid-template-columns: 1fr 1.5fr; }
.site-panel__inner--5   { grid-template-columns: repeat(5, 1fr); gap: 26px; }

.panel-list { display: flex; flex-direction: column; }
.panel-list > a {
  font-family: var(--serif);
  font-size: 19px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.panel-list > a:last-child { border-bottom: none; }
.panel-list--sm > a { font-size: 18px; padding: 10px 0; }
.panel-list__tag { font-size: 10px; letter-spacing: .14em; color: var(--muted); }

.panel-notes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--muted-dark);
  line-height: 1.6;
}

.panel-feature { display: block; }
.panel-feature__cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 12px;
}
.panel-feature__cap .serif { font-size: 17px; }
.panel-feature__tag {
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--terra);
  font-weight: 600;
  white-space: nowrap;
}

.panel-col { display: block; }
.panel-col__name { display: block; font-family: var(--serif); font-size: 16px; margin-top: 11px; }

/* ---------- Burger + drawer ---------- */
.site-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}
.site-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}

.site-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 380px);
  z-index: 200;
  background: var(--cream);
  padding: 20px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.site-drawer[hidden] { display: flex; }
.site-drawer.is-open { transform: translateX(0); }

.site-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.site-logo--drawer { font-size: 22px; }
.site-drawer__close { font-size: 32px; line-height: 1; width: 44px; height: 44px; }

.site-drawer__nav { display: flex; flex-direction: column; }
.site-drawer__nav a {
  font-family: var(--serif);
  font-size: 21px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.site-drawer__cta { margin-top: 28px; }

.site-scrim {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(20, 16, 12, .5);
  opacity: 0;
  transition: opacity .3s ease;
}
.site-scrim[hidden] { display: block; pointer-events: none; }
.site-scrim.is-open { opacity: 1; pointer-events: auto; }

body.kbh-drawer-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  color: var(--cream);
  padding-top: 110px;
  overflow: hidden;
}
.site-footer a:not(.btn) { color: var(--paper); }
.site-footer a:not(.btn):hover { color: var(--terra); }

.site-footer__top {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 90px;
  align-items: end;
  padding-bottom: 80px;
}
.site-footer__eyebrow {
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--terra);
  font-weight: 600;
  margin-bottom: 24px;
}
.site-footer__statement {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1.22;
  max-width: 560px;
  text-wrap: pretty;
}

.site-footer__contact { display: flex; flex-direction: column; }
.site-footer__contact a {
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid rgba(245, 242, 234, .16);
  font-size: 14px;
}
.site-footer__contact a:last-child { border-bottom: 1px solid rgba(245, 242, 234, .16); }
.site-footer__key {
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--muted-deep);
  font-weight: 600;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  padding-top: 64px;
  border-top: 1px solid rgba(245, 242, 234, .1);
}
.site-footer__col { display: flex; flex-direction: column; gap: 14px; font-size: 13.5px; }
.site-footer__head {
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.site-footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 70px;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--muted-deep);
}
.site-footer__legal a { color: var(--muted-deep); }
.site-footer__legal-links { display: flex; gap: 32px; }
.site-footer__tail { height: 64px; }

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

/* The seven-item nav plus the utility cluster needs ~1410px to sit at the
   design's own spacing, so anything under 1400px gets a tightened bar. */
@media (max-width: 1399px) {
  .site-bar { gap: 24px; }
  .site-nav { gap: 20px; font-size: 10.5px; letter-spacing: .14em; }
  .site-utils { gap: 16px; font-size: 12px; }
  .site-utils__cta { padding: 10px 16px; font-size: 11.5px; letter-spacing: .08em; }
  .site-logo { font-size: 23px; letter-spacing: .2em; }
}

@media (max-width: 1279px) {
  .site-panel__inner { gap: 44px; }
  .site-footer__statement { font-size: 38px; }
  .site-footer__top { gap: 56px; }
}

/* Below 1080px the seven-item nav no longer fits — switch to the drawer. */
@media (max-width: 1079px) {
  .site-nav,
  .site-utils__link,
  .site-utils__cta { display: none; }
  .site-burger { display: flex; }
  .site-panels { display: none; }
  .site-bar { padding: 18px var(--gutter); }
  .site-footer { padding-top: 80px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 56px; }
  .site-footer__cols { grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 48px; }
}

@media (max-width: 767px) {
  .site-strip { font-size: 9px; letter-spacing: .12em; padding: 8px 14px; }
  .site-logo { font-size: 22px; }
  .site-footer__statement { font-size: 30px; }
  .site-footer__cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 48px; }
  .site-footer__tail { height: 40px; }
  /* The drawer CTA must stay a full-width button, not the mobile .btn block */
  .site-drawer__cta { width: 100%; }
}

/* Card caption laid out as a single baseline row (title left, meta right) */
.card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}
@media (max-width: 767px) {
  .card__row { flex-direction: column; gap: 6px; }
}

/* Button rows collapse to full-width stacked buttons on mobile */
.btn-row { display: flex; gap: 16px; }

/* ---------- Sticky header (inner pages) ---------- */
.site-header--sticky { position: sticky; top: 0; z-index: 40; }

/* ---------- Inner page head ---------- */
.page-head { padding-top: 96px; padding-bottom: 72px; }
.page-head__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.1;
  text-wrap: pretty;
}
.page-head__lede {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted-dark);
  max-width: 560px;
}

/* ---------- Alternating feature rows (Collections) ---------- */
.alt-row {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 72px;
  align-items: center;
  padding: 56px 0 40px;
}
.alt-row--flip { grid-template-columns: 5fr 7fr; }
.alt-row--first { border-top: 1px solid var(--rule); padding-top: 72px; }
.alt-row--last { padding-bottom: var(--section-y-sm); }

.alt-row__media { display: block; overflow: hidden; }
.alt-row__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 1.4s ease;
}
.alt-row__media:hover img { transform: scale(1.03); }

.alt-row__index { font-size: 11px; letter-spacing: .2em; color: var(--terra); font-weight: 600; }
.alt-row__title { font-family: var(--serif); font-weight: 400; font-size: 38px; margin-top: 14px; }
.alt-row__pal   { font-size: 11.5px; letter-spacing: .12em; color: var(--muted); margin-top: 8px; }
.alt-row__text  { margin-top: 18px; font-size: 15px; line-height: 1.8; color: var(--muted-dark); }
.alt-row__cta {
  display: inline-block;
  margin-top: 22px;
  font-size: 11.5px;
  letter-spacing: .16em;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.alt-row__cta:hover { color: var(--terra); border-bottom-color: var(--terra); }

@media (max-width: 1023px) {
  .page-head { padding-top: 64px; padding-bottom: 48px; }
  .alt-row, .alt-row--flip { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 32px; }
  .alt-row--first { padding-top: 48px; }
  /* Text always follows its image once stacked, whichever side it sat on */
  .alt-row--flip > *:first-child { order: 2; }
  .alt-row--flip > *:last-child  { order: 1; }
  .alt-row__title { font-size: 30px; }
}
@media (max-width: 767px) {
  .alt-row__title { font-size: 26px; }
  .alt-row__text { font-size: 14.5px; }
}

/* ---------- Spec rows (label / value, hairline separated) ---------- */
.spec { display: flex; flex-direction: column; }
.spec__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
}
.spec__row:last-child { border-bottom: 1px solid var(--rule); }
.spec__key { color: var(--muted); }
.spec__val { font-weight: 600; text-align: right; }

/* ---------- Full-bleed image CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 440px;
}
.cta-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band__veil { position: absolute; inset: 0; background: rgba(20, 16, 12, .5); }
.cta-band__body { position: relative; color: var(--cream); max-width: 620px; padding: 0 40px; }
.cta-band__lede { margin-top: 16px; font-size: 15px; line-height: 1.75; opacity: .92; }
.cta-band .btn { margin-top: 30px; }

@media (max-width: 767px) {
  .cta-band { height: auto; padding: 64px 0; }
  .cta-band__body { padding: 0 var(--gutter); }
  .cta-band__lede { font-size: 14.5px; }
}

/* ---------- Faceted filter bar (Scene Library, Furniture) ---------- */
.facets { border-top: 1px solid var(--rule); }
.facet {
  display: flex;
  gap: 28px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.facet__key {
  width: 110px;
  flex-shrink: 0;
  font-size: 10.5px;
  letter-spacing: .24em;
  color: var(--muted);
  font-weight: 600;
}
.facet__chips { display: flex; gap: 10px; flex-wrap: wrap; }

/* The chip styling the design uses for filters */
.facet .filter,
.filter-row .filter {
  font-size: 12.5px;
  letter-spacing: .04em;
  font-weight: 500;
  padding: 9px 18px;
  border: 1px solid rgba(29, 28, 25, .25);
  color: var(--ink);
  text-transform: none;
}
.facet .filter[aria-pressed="true"],
.filter-row .filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 24px 0 36px;
  border-top: 1px solid var(--rule);
}

.facets__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-top: 28px;
}
.facets__count { font-size: 13.5px; color: var(--muted-dark); }
.facets__n { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.facets__clear {
  font-size: 11.5px;
  letter-spacing: .14em;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid rgba(29, 28, 25, .25);
  padding-bottom: 3px;
}
.facets__clear:hover { color: var(--terra); border-bottom-color: var(--terra); }

.facets__empty {
  padding: 56px 0;
  font-size: 15px;
  color: var(--muted-dark);
  text-align: center;
}
.facets__empty a { border-bottom: 1px solid var(--rule-strong); }

.card__supply {
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--terra);
  font-weight: 600;
  white-space: nowrap;
}

.scene-grid { gap: 48px 36px; }
[data-card][hidden] { display: none; }

/* ---------- Wide promo strip ---------- */
.promo { position: relative; display: block; margin-top: 64px; overflow: hidden; }
.promo__bg { width: 100%; height: 380px; object-fit: cover; display: block; object-position: 50% 60%; }
.promo__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 16, 12, .55) 0%, rgba(20, 16, 12, .1) 60%);
}
.promo__body {
  position: absolute;
  left: 56px;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cream);
  max-width: 420px;
}
.promo__eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: .26em;
  font-weight: 600;
  color: var(--terra-pale);
  margin-bottom: 14px;
}
.promo__title { display: block; font-family: var(--serif); font-size: 36px; line-height: 1.2; }
.promo__cta {
  display: inline-block;
  margin-top: 20px;
  font-size: 11.5px;
  letter-spacing: .16em;
  font-weight: 600;
  border-bottom: 1px solid rgba(245, 242, 234, .6);
  padding-bottom: 4px;
}

@media (max-width: 1023px) {
  .promo__body { left: 32px; right: 32px; }
  .promo__title { font-size: 28px; }
  .promo__bg { height: 300px; }
}

@media (max-width: 767px) {
  .facet { flex-direction: column; gap: 12px; padding: 16px 0; }
  .facet__key { width: auto; }
  .facet .filter { font-size: 12px; padding: 8px 14px; }
  .facets__foot { margin-top: 20px; }
  .scene-grid { gap: 28px; }
  .promo { margin-top: 40px; }
  .promo__bg { height: 260px; }
  .promo__body { left: var(--gutter); right: var(--gutter); }
  .promo__title { font-size: 24px; }
}

/* ---------- Product card (Furniture index + product page "pairs well with") ---------- */
.prod-card { display: flex; flex-direction: column; gap: 12px; }
.prod-card__media img { transition: transform 1.2s ease; }
.prod-card:hover .prod-card__media img { transform: scale(1.04); }
.prod-card__name { font-family: var(--serif); font-size: 20px; }
.prod-card__code { font-size: 11.5px; letter-spacing: .12em; color: var(--muted); margin-top: -6px; }
@media (max-width: 767px) { .prod-card__code { margin-top: 0; } }

/* ---------- Chip variants ---------- */
.chip--link { color: var(--brown); }
.chip--link:hover { border-color: var(--terra); color: var(--terra); }
.chip--xs { padding: 5px 9px; font-size: 9.5px; letter-spacing: .14em; color: var(--brown); border-color: rgba(29, 28, 25, .25); }

/* ---------- Breadcrumbs ---------- */
.crumbs {
  padding-top: 28px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--terra); }
.crumbs__sep { padding: 0 8px; }
.crumbs__now { color: var(--ink); }

/* Honeypot — off-screen but not display:none, which some bots detect. */
.kbh-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Inline form error */
.kbh-form-error {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid #9c4a35;
  color: #7d3a29;
  background: rgba(156, 74, 53, .06);
  font-size: 13.5px;
  line-height: 1.6;
}


/* ==========================================================================
   Cross-page components
   Moved out of the per-page stylesheets: these are used by more than one
   template, and per-page CSS only loads on its own slug.
   ========================================================================== */

.gl-swatch { width: 8px; height: 8px; flex-shrink: 0; background: var(--sw); }
.gl-swatch--dot  { border-radius: 50%; }
.gl-swatch--ring { border-radius: 50%; background: none; border: 1.5px solid var(--sw); }


.gl-form__wide { grid-column: 1 / 3; }
.gl-form__key {
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.gl-form__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.gl-pt {
  font-size: 12.5px;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 2px;
  border: 1px solid rgba(29, 28, 25, .25);
  color: var(--ink);
  transition: all .2s ease;
}
.gl-pt:hover { border-color: var(--brown); }
.gl-pt[aria-pressed="true"] { background: var(--brown); border-color: var(--brown); color: var(--cream); }


.gl-done {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 56px 40px;
  text-align: center;
}
.gl-done[hidden] { display: none; }
.gl-done__tick {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #626A55;
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 22px;
}
.gl-done__title { font-family: var(--serif); font-size: 26px; }
.gl-done__text { margin-top: 12px; font-size: 14px; color: var(--muted-dark); line-height: 1.8; }


/* ---------- FAQ ---------- */
.gl-faq-wrap { max-width: 900px; margin: 0 auto; padding: 80px var(--gutter) var(--section-y-sm); }
.acc__btn--sm { font-family: var(--sans); font-size: 15px; font-weight: 600; padding: 21px 4px; }
.acc__btn--sm .acc__sign { font-family: var(--serif); font-size: 20px; }
.gl-faq-wrap .acc__panel > div { padding: 0 4px 22px; font-size: 13.5px; max-width: 720px; }


.tr-upload {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px dashed var(--rule-strong);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.tr-upload:hover { border-color: var(--terra); background: rgba(168, 115, 85, .04); }
.tr-upload:focus-within { border-color: var(--terra); }
.tr-upload__plus { font-size: 22px; color: var(--terra); line-height: 1; }
.tr-upload__text { font-size: 13px; color: var(--muted-dark); }
.tr-upload__text strong { color: var(--ink); }
.tr-upload__browse { color: var(--terra); border-bottom: 1px solid var(--terra); }
.tr-upload__name { font-size: 12.5px; color: var(--brown); font-weight: 600; width: 100%; }
.tr-upload__name:empty { display: none; }


.sd-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(29, 28, 25, .25);
  width: fit-content;
}
.sd-qty__btn { font-size: 15px; padding: 8px 13px; color: var(--ink); line-height: 1; }
.sd-qty__btn:hover { color: var(--terra); }
.sd-qty__n { font-size: 14px; min-width: 22px; text-align: center; font-weight: 600; }

/* Mobile tweaks for the shared pieces above */
@media (max-width: 767px) {
  .tr-upload { padding: 18px 16px; gap: 12px; }
}
