/* ==========================================================================
   Inngrain Furniture — design system
   Palette: kiln-dried timber, deep forest green, aged brass, chalk
   ========================================================================== */

:root {
  /* Core brand */
  --ink:            #1c1a17;
  --ink-soft:       #3d3934;
  --muted:          #6f6862;
  --muted-light:    #97908a;
  --line:           #e2ddd6;
  --line-strong:    #cdc6bd;

  --chalk:          #faf8f5;
  --paper:          #ffffff;
  --oat:            #f2ece3;
  --oat-deep:       #e8e0d3;

  --forest:         #22372f;
  --forest-soft:    #2e4a3f;
  --forest-tint:    #eef2ef;

  --brass:          #a9803e;
  --brass-bright:   #c39a53;
  --brass-tint:     #f7f0e3;

  --walnut:         #4a3728;
  --oak:            #b08d57;

  /* Type */
  --font-display: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.80rem + 0.10vw, 0.88rem);
  --step-0:  clamp(1.00rem, 0.97rem + 0.14vw, 1.08rem);
  --step-1:  clamp(1.20rem, 1.13rem + 0.34vw, 1.40rem);
  --step-2:  clamp(1.45rem, 1.31rem + 0.68vw, 1.85rem);
  --step-3:  clamp(1.80rem, 1.53rem + 1.30vw, 2.60rem);
  --step-4:  clamp(2.20rem, 1.72rem + 2.35vw, 3.60rem);
  --step-5:  clamp(2.70rem, 1.85rem + 4.10vw, 5.00rem);

  /* Space + shape */
  --gutter: clamp(1.25rem, 0.9rem + 1.8vw, 2.5rem);
  --section-y: clamp(3.5rem, 2.4rem + 5vw, 7rem);
  --maxw: 1280px;
  --maxw-narrow: 760px;
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(28,26,23,.06), 0 2px 8px rgba(28,26,23,.05);
  --shadow-md: 0 2px 4px rgba(28,26,23,.05), 0 12px 28px rgba(28,26,23,.09);
  --shadow-lg: 0 4px 8px rgba(28,26,23,.05), 0 24px 56px rgba(28,26,23,.14);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------- reset + base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { text-wrap: pretty; }

::selection { background: var(--brass); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; top: -100px; left: var(--gutter); z-index: 999;
  background: var(--forest); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius); font-size: var(--step--1); font-weight: 600;
}
.skip-link:focus { top: 0; }

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

/* --------------------------------------------------------- layout */
.wrap {
  width: 100%; max-width: var(--maxw);
  margin-inline: auto; padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--maxw-narrow); }
.wrap--wide { max-width: 1520px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.25rem, 1.6rem + 3vw, 4rem); }
.section--oat { background: var(--oat); }
.section--chalk { background: var(--chalk); }
.section--forest { background: var(--forest); color: rgba(255,255,255,.82); }
.section--forest h2, .section--forest h3, .section--forest h4 { color: #fff; }

.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: clamp(1.25rem, 1rem + 1.2vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* --------------------------------------------------------- eyebrow / rules */
.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brass);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 2rem; height: 1px; background: var(--brass); flex: none;
}
.eyebrow--center { justify-content: center; }
.section--forest .eyebrow { color: var(--brass-bright); }
.section--forest .eyebrow::before { background: var(--brass-bright); }

.lede { font-size: var(--step-1); line-height: 1.55; color: var(--muted); }
.section--forest .lede { color: rgba(255,255,255,.78); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split {
  max-width: none; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem;
  align-items: end; justify-content: space-between;
}
.section-head--split > div { max-width: 42rem; }

/* --------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.75rem; border-radius: var(--radius);
  font-size: var(--step--1); font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1em; height: 1em; flex: none; }

.btn--primary { background: var(--forest); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--forest-soft); box-shadow: var(--shadow-md); }

.btn--brass { background: var(--brass); color: #fff; box-shadow: var(--shadow-sm); }
.btn--brass:hover { background: var(--brass-bright); box-shadow: var(--shadow-md); }

.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--forest); background: var(--forest); color: #fff; }

.btn--light { background: #fff; color: var(--forest); }
.btn--light:hover { background: var(--brass-tint); }

.btn--outline-light { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--forest); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--forest);
  border-bottom: 1px solid var(--line-strong); padding-bottom: .3rem;
  transition: color .22s var(--ease), border-color .22s var(--ease), gap .22s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .22s var(--ease); }
.link-arrow:hover { color: var(--brass); border-color: var(--brass); }
.link-arrow:hover::after { transform: translateX(4px); }
.section--forest .link-arrow { color: var(--brass-bright); border-color: rgba(255,255,255,.25); }
.section--forest .link-arrow:hover { color: #fff; border-color: #fff; }

/* --------------------------------------------------------- header */
.topbar {
  background: var(--forest); color: rgba(255,255,255,.72);
  font-size: .78rem; letter-spacing: .02em;
}
.topbar__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1.5rem; min-height: 2.6rem;
}
.topbar__list { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.topbar__list li { display: flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: #fff; }
.topbar svg { width: .95em; height: .95em; opacity: .7; flex: none; }
@media (max-width: 640px) { .topbar__meta { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 4.75rem;
}

.brand { display: flex; align-items: center; gap: .8rem; flex: none; }
.brand__mark { width: 2.5rem; height: 2.5rem; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  letter-spacing: -0.02em; color: var(--ink);
}
.brand__tag {
  font-size: .58rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--brass); margin-top: .3rem;
}

/* nav */
.nav { display: flex; align-items: center; gap: .25rem; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: .35rem;
  padding: .6rem .85rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 500; color: var(--ink-soft);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--forest); background: var(--forest-tint); }
.nav__link[aria-current="page"] { color: var(--forest); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: -1.35rem;
  height: 2px; background: var(--brass);
}
.nav__caret { width: .6rem; height: .6rem; opacity: .5; transition: transform .2s var(--ease); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

.nav__panel {
  position: absolute; top: calc(100% + .55rem); left: 0;
  min-width: 16rem; padding: .6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel a {
  display: block; padding: .6rem .8rem; border-radius: var(--radius);
  font-size: .875rem; color: var(--ink-soft);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav__panel a:hover { background: var(--oat); color: var(--forest); }
.nav__panel a span { display: block; font-size: .74rem; color: var(--muted-light); margin-top: .1rem; }

.header__actions { display: flex; align-items: center; gap: .75rem; flex: none; }

.nav-toggle {
  display: none; width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
}
.nav-toggle span {
  position: relative; display: block; width: 1.05rem; height: 1.5px;
  background: var(--ink); transition: background-color .2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink);
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after  { top: 5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: 4.75rem 0 auto; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100dvh - 4.75rem); overflow-y: auto;
    padding: 1rem var(--gutter) 2.5rem;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform .35s var(--ease);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: .9rem .25rem; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-bottom: 1px solid var(--line);
    border-radius: 0; padding: .35rem 0 .8rem 1rem; display: none;
  }
  .nav__item.is-open .nav__panel { display: block; }
  .nav__item.is-open .nav__caret { transform: rotate(180deg); }
  .nav__mobile-cta { margin-top: 1.5rem; }
}
@media (min-width: 1081px) { .nav__mobile-cta { display: none; } }

/* --------------------------------------------------------- hero */
.hero { position: relative; background: var(--forest); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,32,27,.93) 0%, rgba(20,32,27,.78) 42%, rgba(20,32,27,.34) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  padding-block: clamp(4.5rem, 3rem + 8vw, 9.5rem);
  max-width: 46rem;
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--brass-bright); }
.hero__lede {
  font-size: var(--step-1); line-height: 1.55;
  color: rgba(255,255,255,.82); margin-top: 1.5rem; max-width: 36rem;
}
.hero .btn-row { margin-top: 2.25rem; }

.hero__stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1px; background: rgba(255,255,255,.14);
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__stat { padding: 1.5rem var(--gutter); background: var(--forest); }
.hero__stat dt { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hero__stat dd {
  font-family: var(--font-display); font-size: var(--step-3);
  color: var(--brass-bright); margin-top: .35rem; line-height: 1;
}

/* page hero (interior pages) */
.page-hero { position: relative; background: var(--forest); color: #fff; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,32,27,.92), rgba(20,32,27,.62));
}
.page-hero__inner {
  position: relative; z-index: 1;
  padding-block: clamp(3rem, 2.2rem + 4vw, 5.5rem);
  max-width: 44rem;
}
.page-hero h1 { color: #fff; font-size: var(--step-4); }
.page-hero p { color: rgba(255,255,255,.8); font-size: var(--step-1); margin-top: 1.1rem; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  font-size: .78rem; color: rgba(255,255,255,.6); margin-bottom: 1.25rem;
}
.breadcrumb li { display: flex; align-items: center; gap: .45rem; }
.breadcrumb li + li::before { content: "/"; color: rgba(255,255,255,.35); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--brass-bright); }

/* --------------------------------------------------------- marquee of trust */
.trust { border-bottom: 1px solid var(--line); background: var(--chalk); }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; padding-block: 1.5rem; }
.trust__label {
  font-size: .7rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted-light);
}
.trust__list { display: flex; flex-wrap: wrap; gap: .55rem 2rem; align-items: center; }
.trust__list li {
  font-family: var(--font-display); font-size: 1.05rem;
  color: var(--muted); letter-spacing: .01em;
}

/* --------------------------------------------------------- cards */
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--oat); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.4rem; flex: 1; }
.card__title { font-size: var(--step-1); }
.card__meta {
  font-size: .7rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brass);
}
.card__text { font-size: .92rem; color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 1rem; }
.card__link { position: absolute; inset: 0; z-index: 2; }

.card__tag {
  position: absolute; top: .85rem; left: .85rem; z-index: 1;
  padding: .3rem .7rem; border-radius: 100px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  font-size: .66rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--forest);
}

/* category card — taller, image-led */
.cat-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--forest); }
.cat-card__media { aspect-ratio: 3 / 4; }
.cat-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), opacity .4s var(--ease);
}
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,24,20,.95) 0%, rgba(14,24,20,.72) 38%,
                                       rgba(14,24,20,.28) 68%, rgba(14,24,20,.12) 100%);
}
.cat-card__media { position: relative; }
.cat-card__body {
  position: absolute; inset: auto 0 0; padding: 1.5rem 1.4rem 1.35rem; color: #fff; z-index: 1;
}
.cat-card__body h3 { color: #fff; font-size: var(--step-1); }
.cat-card__body p { font-size: .86rem; color: rgba(255,255,255,.75); margin-top: .3rem; }
.cat-card__body .cat-card__more {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .85rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brass-bright);
}
.cat-card__more::after { content: "→"; transition: transform .25s var(--ease); }
.cat-card:hover .cat-card__more::after { transform: translateX(4px); }
@media (min-width: 900px) { .cat-card--tall .cat-card__media { aspect-ratio: 3 / 4; } }

/* --------------------------------------------------------- product grid */
.product-grid { display: grid; gap: clamp(1.25rem, 1rem + 1vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.product {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; overflow: hidden;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.product:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-strong); }
.product__media {
  position: relative; aspect-ratio: 1; background: var(--oat);
  display: grid; place-items: center; overflow: hidden;
}
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product__media img { transform: scale(1.06); }
.product__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product__name { font-family: var(--font-display); font-size: 1.14rem; color: var(--ink); }
.product__code { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.product__spec { font-size: .84rem; color: var(--muted); margin-top: .3rem; }
.product__opts { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .75rem; }
.chip {
  padding: .22rem .6rem; border-radius: 100px; background: var(--oat);
  font-size: .68rem; font-weight: 600; letter-spacing: .05em; color: var(--ink-soft);
}

/* filter bar */
.filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding-bottom: 2rem;
}
.filter-btn {
  padding: .55rem 1.05rem; border: 1px solid var(--line-strong); border-radius: 100px;
  font-size: .8rem; font-weight: 600; color: var(--ink-soft); background: #fff;
  transition: all .22s var(--ease);
}
.filter-btn:hover { border-color: var(--forest); color: var(--forest); }
.filter-btn.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }

/* --------------------------------------------------------- feature / split */
.split { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-right .split__media { order: 2; }
  .split--wide-media { grid-template-columns: 1.15fr .85fr; }
}
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); width: 100%; }
.split__media--stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.split__media--stack img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; object-fit: cover; }
.split__media--stack img:not(:first-child) { aspect-ratio: 1; object-fit: cover; }

.badge-plate {
  position: absolute; right: -1rem; bottom: -1rem;
  background: var(--brass); color: #fff; border-radius: var(--radius-lg);
  padding: 1.15rem 1.4rem; box-shadow: var(--shadow-md); max-width: 12rem;
}
.badge-plate strong { display: block; font-family: var(--font-display); font-size: var(--step-2); line-height: 1; }
.badge-plate span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .4rem; opacity: .9; }

/* --------------------------------------------------------- value props */
.props { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 780px) { .props { grid-template-columns: repeat(3, 1fr); } }
.prop { background: #fff; padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }
.prop__icon {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--forest-tint); color: var(--forest);
  margin-bottom: 1.1rem;
}
.prop__icon svg { width: 1.35rem; height: 1.35rem; }
.prop h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.prop p { font-size: .92rem; color: var(--muted); }

/* --------------------------------------------------------- process timeline */
.process { counter-reset: step; display: grid; gap: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); }
@media (min-width: 820px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process__step { position: relative; padding-top: 2.75rem; }
.process__step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-size: 1.5rem; color: var(--brass);
}
.process__step::after {
  content: ""; position: absolute; top: 1.15rem; left: 2.75rem; right: -1.5rem; height: 1px;
  background: var(--line-strong);
}
.process__step:last-child::after { display: none; }
@media (max-width: 819px) { .process__step::after { display: none; } }
.process__step h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.process__step p { font-size: .92rem; color: var(--muted); }
.section--forest .process__step p { color: rgba(255,255,255,.72); }
.section--forest .process__step::after { background: rgba(255,255,255,.2); }

/* --------------------------------------------------------- case studies */
.case-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--forest); color: #fff; }
.case-hero__media { position: absolute; inset: 0; }
.case-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.case-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,26,22,.94) 0%, rgba(16,26,22,.7) 50%, rgba(16,26,22,.25) 100%); }
.case-hero__body { position: relative; z-index: 1; padding: clamp(2rem, 1.5rem + 3vw, 4rem); max-width: 38rem; }
.case-hero__body h2 { color: #fff; font-size: var(--step-3); }
.case-hero__body p { color: rgba(255,255,255,.8); margin-top: 1rem; }

.case-facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 1.75rem; }
.case-facts div dt { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.case-facts div dd { font-family: var(--font-display); font-size: 1.25rem; color: var(--brass-bright); margin-top: .25rem; }

.quote { border-left: 2px solid var(--brass); padding-left: clamp(1.25rem, 1rem + 1vw, 2rem); }
.quote blockquote { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.35; color: var(--ink); }
.quote figcaption { margin-top: 1.1rem; font-size: .85rem; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.section--forest .quote blockquote { color: #fff; }
.section--forest .quote figcaption { color: rgba(255,255,255,.7); }
.section--forest .quote figcaption strong { color: #fff; }

/* --------------------------------------------------------- gallery */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 620px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(6, 1fr); } }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); width: 100%; }
.gallery--feature { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.gallery--feature figure { margin: 0; }
.gallery--feature figcaption { font-size: .8rem; color: var(--muted); margin-top: .6rem; }

.mosaic {
  display: grid; gap: .75rem; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(0, 1fr); aspect-ratio: 2 / 1;
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.mosaic > *:nth-child(1) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 700px) { .mosaic { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------- sectors */
.sector-row {
  display: grid; gap: clamp(1.5rem, 1.2rem + 2vw, 3rem); align-items: center;
  padding-block: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) { .sector-row { grid-template-columns: 1fr 1fr; } }
.sector-row:last-child { border-bottom: 0; }
.sector-row img { border-radius: var(--radius-lg); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.sector-row--flip img { order: 2; }
@media (max-width: 859px) { .sector-row--flip img { order: 0; } }
.tick-list { display: grid; gap: .6rem; margin-top: 1.25rem; }
.tick-list li { display: flex; gap: .7rem; font-size: .93rem; color: var(--muted); }
.tick-list li::before {
  content: "✓"; flex: none; color: var(--brass); font-weight: 700; font-size: .85rem; margin-top: .15rem;
}

/* --------------------------------------------------------- accordion */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: var(--step-1); color: var(--ink);
  transition: color .2s var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--brass); }
.accordion summary::after {
  content: "+"; flex: none; font-family: var(--font-body); font-size: 1.4rem;
  color: var(--brass); transition: transform .25s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion__body { padding-bottom: 1.5rem; color: var(--muted); max-width: 52rem; }
.accordion__body > * + * { margin-top: .85rem; }

/* --------------------------------------------------------- spec table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
caption { text-align: left; padding: 1rem 1.15rem; font-weight: 600; color: var(--ink); background: var(--chalk); }
th, td { padding: .85rem 1.15rem; text-align: left; border-bottom: 1px solid var(--line); }
thead th {
  background: var(--oat); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink); font-weight: 700;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--chalk); }

/* --------------------------------------------------------- CTA band */
.cta-band { position: relative; background: var(--forest); color: #fff; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60rem 30rem at 85% 20%, rgba(169,128,62,.28), transparent 70%),
    radial-gradient(40rem 25rem at 10% 90%, rgba(169,128,62,.14), transparent 70%);
}
.cta-band__inner {
  position: relative; z-index: 1;
  display: grid; gap: 2rem; align-items: center;
  padding-block: clamp(3rem, 2.2rem + 3.5vw, 5rem);
}
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.35fr .65fr; } }
.cta-band h2 { color: #fff; font-size: var(--step-3); }
.cta-band p { color: rgba(255,255,255,.78); margin-top: .9rem; max-width: 38rem; }
.cta-band .btn-row { justify-content: flex-start; }
@media (min-width: 900px) { .cta-band .btn-row { justify-content: flex-end; } }

/* --------------------------------------------------------- forms */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: .8rem .95rem; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(34,55,47,.1);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field__hint { font-size: .78rem; color: var(--muted-light); }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form__consent { display: flex; gap: .7rem; align-items: start; font-size: .85rem; color: var(--muted); }
.form__consent input { width: 1.1rem; height: 1.1rem; flex: none; margin-top: .2rem; accent-color: var(--forest); }

/* --------------------------------------------------------- contact panel */
.contact-panel {
  background: var(--chalk); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
}
.contact-list { display: grid; gap: 1.35rem; }
.contact-list > div {
  display: grid; gap: 0 .95rem;
  grid-template-columns: 1.15rem 1fr; align-items: start;
}
.contact-list > div svg { grid-row: 1 / span 2; width: 1.15rem; height: 1.15rem; color: var(--brass); margin-top: .3rem; }
.contact-list dt { font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-light); }
.contact-list dd { margin-top: .2rem; color: var(--ink); }
.contact-list a:hover { color: var(--brass); }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); font-size: .9rem; }
.site-footer a { color: rgba(255,255,255,.62); transition: color .2s var(--ease); }
.site-footer a:hover { color: #fff; }
.site-footer h4 {
  font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem;
}
.footer__top {
  display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  padding-block: clamp(3rem, 2.2rem + 3vw, 4.5rem);
}
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer__about p { margin-top: 1.1rem; max-width: 26rem; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: var(--brass-bright); }
.footer__list { display: grid; gap: .65rem; }
.footer__contact { display: grid; gap: .8rem; margin-top: 1.5rem; }
.footer__contact strong { color: #fff; font-weight: 600; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer__social a {
  width: 2.35rem; height: 2.35rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: grid; place-items: center;
  transition: background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.footer__social a:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.footer__social svg { width: 1.05rem; height: 1.05rem; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between;
  padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* --------------------------------------------------------- reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; } }

/* --------------------------------------------------------- utils */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.prose { max-width: 40rem; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.5rem; font-size: var(--step-2); }
.prose h3 { margin-top: 2rem; font-size: var(--step-1); }
.prose ul { display: grid; gap: .5rem; }
.prose ul li { display: flex; gap: .7rem; color: var(--muted); }
.prose ul li::before { content: "—"; color: var(--brass); flex: none; }

@media print {
  .site-header, .topbar, .nav, .cta-band, .site-footer { display: none !important; }
  body { color: #000; }
}

/* ==========================================================================
   Components added for the real catalogue
   ========================================================================== */

.nav__list { display: contents; }
@media (max-width: 1080px) {
  .nav__list { display: flex; flex-direction: column; align-items: stretch; }
}

/* missing-image placeholder — keeps layout intact if a photo is absent */
.img-missing {
  position: relative; width: 100%; aspect-ratio: 1;
  background: var(--forest);
  background-image:
    radial-gradient(28rem 16rem at 70% 15%, rgba(169,128,62,.30), transparent 70%),
    radial-gradient(20rem 12rem at 15% 85%, rgba(169,128,62,.16), transparent 70%);
}
.img-missing::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg stroke='%23c39a53' stroke-width='1.3' fill='none' stroke-linecap='round' opacity='.55'%3E%3Cpath d='M11 33c0-9 3-16 7.5-20'/%3E%3Cpath d='M15.5 33c0-9 3-16 7.5-20'/%3E%3Cpath d='M20 33c0-9 3-16 7.5-20'/%3E%3Cpath d='M24.5 33c0-9 3-16 7.5-20'/%3E%3Cpath d='M29 33c0-9 3-16 7.5-20'/%3E%3C/g%3E%3Cpath d='M9 37.5h30' stroke='%23c39a53' stroke-width='1.8' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 3.5rem;
}
.product__media .img-missing { background: var(--oat); }
.product__media .img-missing::after { opacity: .35; }

/* trust strip as stats */
.trust__inner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1px; padding: 0; background: var(--line);
}
.trust__stat { background: var(--chalk); padding: 1.35rem var(--gutter); }
.trust__stat dt {
  font-size: .66rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-light);
}
.trust__stat dd {
  font-family: var(--font-display); font-size: var(--step-2);
  color: var(--forest); margin-top: .3rem; line-height: 1;
}

/* page hero variants */
.page-hero--plain { background: var(--forest); }
.page-hero__count {
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brass-bright); margin-top: 1.5rem;
}
.page-hero .breadcrumb { margin-bottom: 1.1rem; }

/* category cards */
.cat-card__count {
  font-size: .66rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brass-bright); margin-bottom: .35rem;
}
.cat-card picture, .cat-card picture img { width: 100%; height: 100%; display: block; }
.cat-card__media picture img { object-fit: cover; }
.cat-card__media .img-missing { aspect-ratio: 3/4; height: 100%; }

/* product cards */
.product { position: relative; }
.product__link { position: absolute; inset: 0; z-index: 2; }
.product__media picture, .product__media picture img { width: 100%; height: 100%; }
.product__media picture img { object-fit: contain; padding: .5rem; background: #fff; }
.product__media { background: var(--chalk); }
.product__stack {
  position: absolute; top: .6rem; right: .6rem; z-index: 1;
  padding: .22rem .55rem; border-radius: 100px;
  background: rgba(34,55,47,.9); color: #fff;
  font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.product__dim { font-size: .78rem; color: var(--brass); font-weight: 600; }
.product[hidden] { display: none !important; }

/* range tools (search + count) */
.range-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.search-input {
  font: inherit; font-size: .9rem; min-width: 13rem;
  padding: .7rem .95rem .7rem 2.2rem;
  border: 1px solid var(--line-strong); border-radius: 100px; background: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6862' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: .75rem center; background-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search-input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(34,55,47,.1); }
.range-count { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.no-results { padding: 3rem 0; text-align: center; color: var(--muted); }
.no-results .link-arrow { border: 0; margin-left: .5rem; }

.spec-notes {
  background: var(--chalk); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.35rem, 1.1rem + 1vw, 2rem);
}

/* feature cards (fixed seating / bespoke) */
.feature-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card__media { aspect-ratio: 16/9; overflow: hidden; background: var(--oat); }
.feature-card__media picture, .feature-card__media picture img { width: 100%; height: 100%; }
.feature-card__media picture img { object-fit: cover; transition: transform .6s var(--ease); }
.feature-card:hover .feature-card__media picture img { transform: scale(1.04); }
.feature-card__media .img-missing { aspect-ratio: 16/9; height: 100%; }
.feature-card__body { padding: clamp(1.35rem, 1.1rem + 1vw, 2rem); }
.feature-card__body h3 { font-size: var(--step-2); margin-bottom: .6rem; }
.feature-card__body p { color: var(--muted); font-size: .95rem; margin-bottom: 1.1rem; }

/* pills */
.pill-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.pill {
  display: inline-flex; padding: .4rem .85rem; border-radius: 100px;
  border: 1px solid var(--line-strong); background: #fff;
  font-size: .78rem; font-weight: 600; color: var(--ink-soft);
  transition: all .2s var(--ease);
}
.pill:hover { border-color: var(--forest); background: var(--forest); color: #fff; }

/* ---------------------------------------------------- product detail page */
.pdp { padding-block: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem) clamp(2.5rem, 2rem + 2vw, 4rem); }
.pdp .breadcrumb { color: var(--muted); margin-bottom: 1.75rem; }
.pdp .breadcrumb a { color: var(--muted); }
.pdp .breadcrumb a:hover { color: var(--brass); }
.pdp .breadcrumb li + li::before { color: var(--line-strong); }
.pdp .breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

.pdp__grid { display: grid; gap: clamp(1.75rem, 1.4rem + 2.5vw, 3.5rem); }
@media (min-width: 900px) {
  .pdp__grid { grid-template-columns: 1.05fr .95fr; align-items: start; }
  .pdp__media { position: sticky; top: 6.5rem; }
}

.pdp__main {
  background: var(--chalk); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: grid; place-items: center; padding: clamp(1rem, 2vw, 2rem);
  min-height: 20rem;
}
.pdp__main picture img { max-height: 30rem; width: auto; object-fit: contain; }
.pdp__main .img-missing { aspect-ratio: 1; max-width: 22rem; }

.pdp__thumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.pdp__thumb {
  width: 5rem; height: 5rem; padding: .25rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pdp__thumb picture, .pdp__thumb picture img { width: 100%; height: 100%; }
.pdp__thumb picture img { object-fit: contain; }
.pdp__thumb:hover { border-color: var(--brass); }
.pdp__thumb.is-active { border-color: var(--forest); box-shadow: 0 0 0 2px rgba(34,55,47,.14); }

.pdp__info h1 { font-size: var(--step-4); margin-top: .35rem; }
.pdp__desc { font-size: var(--step-1); line-height: 1.55; color: var(--muted); margin-top: 1rem; }

.pdp__facts {
  display: grid; gap: 1px; margin-top: 1.75rem;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}
.pdp__facts > div { background: #fff; padding: .9rem 1rem; }
.pdp__facts dt {
  font-size: .64rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted-light);
}
.pdp__facts dd { font-size: .92rem; color: var(--ink); margin-top: .25rem; font-weight: 500; }

.pdp__info .table-wrap { margin-top: 2rem; }
.pdp__info table th[scope="row"] { width: 45%; font-weight: 600; color: var(--ink); background: var(--chalk); }

/* project shots */
.shots { display: grid; gap: clamp(.75rem, .6rem + .6vw, 1.25rem); }
@media (min-width: 760px) { .shots { grid-template-columns: 1fr 1fr; } }
.shots figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--oat); }
.shots picture img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.shots .img-missing { aspect-ratio: 4/3; }
.shots figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; }

/* sector rows */
.sector-row__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--oat); }
.sector-row__media picture { width: 100%; }
.sector-row__media picture img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.sector-row__media .img-missing { aspect-ratio: 16/10; }
.sector-row--flip .sector-row__media { order: 2; }
@media (max-width: 859px) { .sector-row--flip .sector-row__media { order: 0; } }

/* gallery + mosaic with <picture> */
.gallery picture, .gallery > picture img { width: 100%; }
.gallery picture img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.gallery .img-missing { border-radius: var(--radius); }
.mosaic picture { display: block; width: 100%; height: 100%; }
.mosaic picture img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.mosaic > *:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic > * { min-height: 0; }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); aspect-ratio: 3 / 4; }
  .mosaic > *:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

/* split media with <picture> */
.split__media picture { display: block; width: 100%; }
.split__media picture img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
/* single-image split panels get a pleasing crop rather than sitting at native size */
.split__media:not(.split__media--stack) > picture img { aspect-ratio: 4 / 5; }
@media (max-width: 899px) {
  .split__media:not(.split__media--stack) > picture img { aspect-ratio: 16 / 10; }
}
.split__media--stack picture:first-child { grid-column: 1 / -1; }
.split__media--stack picture:first-child img { aspect-ratio: 16/9; }
.split__media--stack picture:not(:first-child) img { aspect-ratio: 1; }
.split__media .img-missing { border-radius: var(--radius-lg); }

/* card media with <picture> */
.card__media picture, .card__media picture img { width: 100%; height: 100%; }
.card__media picture img { object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media picture img { transform: scale(1.05); }
.card__media .img-missing { aspect-ratio: 4/3; height: 100%; }
.card[hidden] { display: none !important; }

/* hero media with <picture> */
.hero__media picture, .hero__media picture img,
.page-hero__media picture, .page-hero__media picture img { width: 100%; height: 100%; }
.hero__media picture img, .page-hero__media picture img {
  object-fit: cover; filter: saturate(.92);
}
.hero__media .img-missing, .page-hero__media .img-missing { height: 100%; aspect-ratio: auto; }

/* misc */
.mat-head {
  font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brass);
  padding-bottom: .75rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem;
}
.tl-title { color: var(--ink); font-weight: 600; }
.section--forest .tl-title { color: #fff; }
.text-brass { color: var(--brass); font-weight: 600; }
.text-brass:hover { text-decoration: underline; }
.hero__inner { max-width: 48rem; }
.hero h1 { font-size: var(--step-5); }

/* filters wrap nicely with many facets */
.filters { gap: .45rem; }
.filter-btn { font-size: .78rem; padding: .5rem .95rem; }
