/* Tunable — site styles. Palette from the master brand sheet: black, charcoal and soft warm
   light (cream to pale blue), with amber as a sparing accent. No external fonts or frameworks. */

:root {
  --black: #0f0f10;
  --ink: #1c1c1e;
  --charcoal: #2e2f32;
  --muted: #5b5c61;
  --line: #e2e0db;
  --line-strong: #cfccc5;
  --paper: #ffffff;
  --stone: #f5f4f1;
  --stone-deep: #ecebe7;
  --warm: #f6e2b8;
  --cream: #fbf6ec;
  --cool: #dae6f3;
  --amber: #c9862c;
  --amber-ink: #8f5a12;
  --focus: #a8640f;
  --glow: linear-gradient(115deg, #f4d79f 0%, #fbf5ea 46%, #d6e3f2 100%);
  --font: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", "Noto Sans", Roboto, system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 9vw, 120px);
  --header-height: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-height) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--amber); }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; color: var(--black); }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem); letter-spacing: -0.025em; font-weight: 400; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--black); color: #fff; padding: 12px 18px; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Type helpers */
.eyebrow {
  margin: 0 0 0.9rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow--light { color: rgba(255, 255, 255, 0.82); }
.lede { max-width: 46rem; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); line-height: 1.55; color: var(--charcoal); }
.section-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.section-title--small { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem); }
.section-lede { max-width: 44rem; color: var(--muted); margin-bottom: 2.25rem; }
.mini-title { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.75rem; }
.muted { color: var(--muted); }
.fine-print { font-size: 0.85rem; color: var(--muted); margin-top: 1.25rem; }
.text-link {
  display: inline-flex; align-items: center; gap: 0.5em; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
}
.text-link::after { content: "→"; transition: transform 0.2s ease; }
.text-link:hover { border-color: var(--amber); }
.text-link:hover::after { transform: translateX(3px); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 1.5rem; border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-size: 0.95rem; font-weight: 500; letter-spacing: 0.01em; text-decoration: none;
  cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.button--primary { background: var(--black); color: #fff; }
.button--primary:hover { background: var(--charcoal); }
.button--primary:disabled { background: var(--muted); cursor: not-allowed; }
.button--quiet { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.button--quiet:hover { border-color: var(--ink); }
.button--light { background: #fff; color: var(--black); }
.button--light:hover { background: var(--cream); }
.button--ghost-light { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.button--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.button--small { min-height: 40px; padding: 0 1.1rem; font-size: 0.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 0; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 0.12em; color: var(--black); }
.logo__word { font-size: 1.7rem; font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.logo__mark { width: 2.15rem; height: auto; margin-top: -0.35em; color: var(--black); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-height); }
.site-header__brand { text-decoration: none; display: inline-flex; padding: 6px 0; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-header__cta { flex: none; white-space: nowrap; }
.site-nav__list a {
  display: block; padding: 10px 12px; text-decoration: none; font-size: 0.97rem; color: var(--charcoal); border-radius: var(--radius);
}
.site-nav__list a:hover { color: var(--black); background: var(--stone); }
.site-nav__list a[aria-current="page"] { color: var(--black); box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }
.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; font: inherit; font-size: 0.95rem; color: var(--ink); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Seven links and the "Get a price" button need the room, so the menu collapses below 1180px. */
@media (max-width: 1179px) {
  .site-header__cta { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; }
  .js .nav-toggle { display: inline-flex; }
  .site-nav { flex-wrap: wrap; gap: 12px; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px var(--gutter) 28px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.25);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav__list { flex-direction: column; }
  .js .site-nav__list a { padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .js .site-nav__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--amber); padding-left: 14px; }
  .site-header__inner { flex-wrap: wrap; }
  html:not(.js) .site-nav__list { flex-wrap: wrap; }
}
/* At phone widths the menu button keeps its icon and drops its word, so the logo, the button and the toggle fit at 360px. */
@media (max-width: 479px) {
  .site-header__inner { gap: 12px; }
  .nav-toggle { padding: 0; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header__cta { padding-inline: 0.9rem; }
}

/* Sections */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }
.section--flush-top { padding-top: 0; }
.section--stone { background: var(--stone); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 1rem; }
.section-head .section-title { margin: 0; }

.page-hero { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(16px, 3vw, 28px); }
.page-hero h1 { max-width: 18ch; }
.page-hero--article h1, .article-title { max-width: 26ch; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); }

.breadcrumbs { margin: 0 0 clamp(20px, 4vw, 40px); font-size: 0.85rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin: 0 0.6em; color: var(--line-strong); }
.breadcrumbs a { text-decoration: none; }
main > .container:first-child > .breadcrumbs { margin: clamp(20px, 3vw, 32px) 0 clamp(16px, 3vw, 28px); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }

/* Home hero */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; color: #fff; background: var(--black); overflow: hidden; }
.hero__media, .hero__image { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { object-fit: cover; object-position: center 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 16, 0.15) 0%, rgba(15, 15, 16, 0.35) 45%, rgba(15, 15, 16, 0.82) 100%);
}
.hero__content { position: relative; z-index: 1; padding-block: clamp(120px, 18vh, 200px) clamp(48px, 8vw, 96px); }
.hero__title { color: #fff; max-width: 13ch; font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.6rem); line-height: 1.02; font-weight: 400; letter-spacing: -0.035em; }
.hero__lede { max-width: 38rem; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); color: rgba(255, 255, 255, 0.88); }

/* Intro statement */
.intro { display: grid; gap: 28px; }
.intro__statement { max-width: 30ch; margin: 0; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.9rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--black); }
.brand-words { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 1.05rem; }
.brand-words li { display: inline-flex; align-items: center; gap: 10px; }
.brand-words li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--glow); box-shadow: 4px -3px 0 -1px var(--black); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(20px, 3vw, 36px) clamp(16px, 2.2vw, 28px); margin: 0; padding: 0; list-style: none; }
.card-grid--ranges { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
/* Nine tiles (eight ranges plus "All products") fill three columns with no orphaned last row. */
@media (min-width: 1100px) { .card-grid--ranges { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.media-tile--glow { aspect-ratio: 1 / 1; display: grid; place-items: center; background: var(--glow); }
.range-card__count { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); font-weight: 300; letter-spacing: -0.04em; color: var(--black); }
.card-grid--three { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card-grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card__body { padding-top: 16px; }
.card__title { margin: 0 0 4px; font-size: 1.2rem; font-weight: 500; }
.card__link:hover .card__title { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 0.2em; }
.card__meta { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card__specs { margin: 6px 0 0; color: var(--charcoal); font-size: 0.85rem; letter-spacing: 0.01em; }
.card__text { margin: 8px 0 0; color: var(--muted); font-size: 0.97rem; }

.media-tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.media-tile img { width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.media-tile--product { aspect-ratio: 1 / 1; padding: 10%; }
/* Product shots sit on white or transparent backgrounds; multiply lets them sit on stone. */
.media-tile--product img { object-fit: contain; mix-blend-mode: multiply; }
.media-tile--photo { aspect-ratio: 4 / 3; }
.media-tile--photo img { object-fit: cover; }
.media-tile__placeholder { position: absolute; inset: 0; background: var(--glow); }
.media-tile__placeholder::after {
  content: ""; position: absolute; width: 28%; aspect-ratio: 1; right: 22%; top: 22%; border-radius: 50%; background: var(--black); opacity: 0.88;
}
.card__link:hover .media-tile img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) { .card__link:hover .media-tile img { transform: none; } }

.badge {
  display: inline-block; margin: 8px 0 0; padding: 4px 10px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--warm); color: var(--amber-ink); font-size: 0.8rem; font-weight: 500;
}
.badge--large { font-size: 0.9rem; padding: 6px 14px; }

/* Control options */
.feature-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0; margin: 2rem 0 2.5rem; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--line-strong); }
.feature-steps li { padding: 28px 28px 8px 0; counter-increment: step; }
.feature-steps li::before { content: "0" counter(step); display: block; margin-bottom: 1.4rem; font-size: 0.8rem; letter-spacing: 0.14em; color: var(--muted); }
.feature-steps h3 { font-size: 1.45rem; font-weight: 400; }
.feature-steps p { color: var(--charcoal); max-width: 30ch; }
.tick-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tick-list li { padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.92rem; background: #fff; }

/* Split feature */
.split { display: grid; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.1fr 1fr; } }
.split__media { border-radius: var(--radius); overflow: hidden; }
.split__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__text p { color: var(--charcoal); max-width: 34rem; }
.cct-scale { margin: 2rem 0; max-width: 34rem; }
.cct-scale__bar { display: block; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #f0b75e 0%, #f8dfae 25%, #fbf5ea 50%, #e3ecf7 75%, #c3d7ef 100%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.cct-scale__labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: 0.85rem; color: var(--muted); }

/* Link tiles */
.link-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.link-tiles a {
  display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.link-tiles a:hover { border-color: var(--line-strong); box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.35); }
.link-tiles__title { font-size: 1.25rem; font-weight: 500; color: var(--black); }
.link-tiles__title::after { content: " →"; color: var(--amber); }
.link-tiles__text { color: var(--muted); font-size: 0.95rem; }

/* CTA band */
.cta-band { background: var(--black); color: #fff; overflow: hidden; }
.cta-band__inner { position: relative; display: grid; gap: 28px; padding-block: clamp(64px, 9vw, 112px); align-items: end; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); font-weight: 400; }
.cta-band__text { position: relative; z-index: 1; }
.cta-band__text p { color: rgba(255, 255, 255, 0.78); max-width: 36rem; }
.cta-band__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
@media (min-width: 900px) { .cta-band__actions { justify-content: flex-end; } }
.cta-band__mark { position: absolute; right: 2%; top: -18%; width: min(320px, 50vw); color: #2a2a2e; pointer-events: none; }
.cta-band :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: #f2bf6c; }

/* Product page */
.product-hero { display: grid; gap: clamp(28px, 5vw, 72px); padding-bottom: var(--section); }
@media (min-width: 960px) { .product-hero { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.product-gallery { display: grid; gap: 12px; }
@media (min-width: 960px) { .product-gallery { position: sticky; top: calc(var(--header-height) + 24px); } }
.media-tile--large { padding: 8%; aspect-ratio: 1 / 1; }
.product-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.thumb {
  width: 76px; height: 76px; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--stone); cursor: pointer;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumb[aria-current="true"] { border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); }
.product-title { margin-bottom: 0.15em; font-size: clamp(2.6rem, 1.6rem + 3.8vw, 4.4rem); }
.product-descriptor { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.8rem; }
.key-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 1.8rem; border-top: 1px solid var(--line); }
.key-specs div { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.key-specs dt { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.key-specs dd { margin: 4px 0 0; font-size: 1.05rem; color: var(--black); }
.options { margin: 1.5rem 0; }
.options dl { margin: 0; display: grid; gap: 12px; }
.options dt { font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
.options dd { margin: 0; }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chip { padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.88rem; }
.option-group { border: 0; margin: 0 0 12px; padding: 0; min-width: 0; }
.option-group legend { padding: 0; font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
.chip--choice { position: relative; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.chip--choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip--choice:hover { border-color: var(--ink); }
.chip--choice:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip--choice:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.doc-choices { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 0.5rem; }
.doc-choices legend { width: 100%; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; cursor: pointer; }
.check input, .field .check input { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--ink); }
.field label.check { display: inline-flex; margin-bottom: 0; font-weight: 400; }
.check-group { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.check-group legend { padding: 0; margin-bottom: 8px; font-size: 0.92rem; font-weight: 500; width: 100%; }
.quote-form .product-actions { margin-top: 1.25rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 1rem; }
.download-list { display: grid; gap: 10px; margin-top: 1rem; }
.download-list--inline { max-width: 420px; }
.guide-links { display: grid; gap: 12px; margin: 1rem 0 0; padding: 0; list-style: none; }
.guide-links__pdf { margin-left: 0.6rem; font-size: 0.88rem; color: var(--muted); }
.download {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; background: #fff; transition: border-color 0.2s ease;
}
.download:hover { border-color: var(--ink); }
.download__icon {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--glow); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; color: var(--black);
}
.download__text { display: flex; flex-direction: column; line-height: 1.3; }
.download__label { font-weight: 500; }
.download__meta { font-size: 0.82rem; color: var(--muted); }

.spec-grid { display: grid; gap: clamp(24px, 4vw, 56px); margin-top: 2rem; }
@media (min-width: 860px) { .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.spec-table h3 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.spec-table dl { margin: 0; border-top: 1px solid var(--line-strong); }
.spec-table div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; color: var(--black); }

.matrix { margin-top: 2rem; overflow-x: auto; }
.matrix table { width: 100%; border-collapse: collapse; min-width: 300px; }
.matrix caption { text-align: left; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-bottom: 0.75rem; }
.matrix th, .matrix td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.matrix thead th { font-weight: 500; border-bottom-color: var(--line-strong); }
.matrix tbody th { font-weight: 500; }
.matrix td span { display: block; }
.matrix__image { width: 72px; height: 72px; object-fit: contain; margin-bottom: 8px; }

/* Index lists */
.index-columns { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 32px 40px; margin-top: 2rem; }
.index-group h3 { font-size: 1.05rem; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); }
.index-group h3 a { text-decoration: none; }
.index-list { margin: 0; padding: 0; list-style: none; }
.index-list a { display: block; padding: 7px 0; text-decoration: none; }
.index-list a:hover .index-list__name { text-decoration: underline; text-decoration-color: var(--amber); }
.index-list__meta { color: var(--muted); font-size: 0.88rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pill, .pill-list a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-size: 0.92rem; }
.pill:hover, .pill-list a:hover { border-color: var(--ink); }

/* Projects and articles */
.feature-image { margin-block: clamp(16px, 3vw, 32px) 0; }
.feature-image img { width: 100%; max-height: 72vh; object-fit: cover; border-radius: var(--radius); }
.diagram { margin-block: clamp(16px, 3vw, 32px) 0; }
.diagram img { width: 100%; max-width: 1100px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.project-layout { display: grid; gap: clamp(32px, 6vw, 80px); }
@media (min-width: 960px) { .project-layout { grid-template-columns: minmax(260px, 0.8fr) 2fr; align-items: start; } }
.project-facts dl { margin: 0 0 2rem; border-top: 1px solid var(--line-strong); }
.project-facts dl div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.project-facts dt { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.project-facts dd { margin: 2px 0 0; }
.stat-list { margin: 0 0 2rem; padding: 0; list-style: none; }
.stat-list li { padding: 8px 0 8px 22px; position: relative; }
.stat-list li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 10px; height: 10px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 1px var(--line-strong); }
.gallery-row { display: grid; gap: 16px; padding-bottom: var(--section); }
.gallery-row figure { margin: 0; }
.gallery-row img { width: 100%; max-height: 760px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 760px) { .gallery-row { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }

.prose { max-width: 42rem; }
.prose p, .prose li { color: var(--charcoal); }
.prose--large p { font-size: 1.15rem; }
.prose--article { margin-inline: auto; font-size: 1.1rem; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); }
.prose h3 { margin-top: 1.8em; }
.prose li { margin-bottom: 0.6em; }
.prose li strong { display: block; color: var(--black); font-weight: 600; }
.prose a { text-decoration-color: var(--amber); }

/* Legal */
.legal { max-width: 50rem; font-size: 0.98rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2.4em; scroll-margin-top: calc(var(--header-height) + 16px); }
.legal .clause-number { color: var(--muted); font-weight: 400; margin-right: 0.2em; }
.clause { margin-bottom: 0.8em; }
.clause--2 { padding-left: 1.5rem; }
.clause--3 { padding-left: 3rem; }

/* FAQ */
.faq { display: grid; gap: clamp(36px, 5vw, 56px); max-width: 860px; }
.faq__group h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer;
  list-style: none; font-size: 1.1rem; font-weight: 500; color: var(--black);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--muted); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 0 20px; color: var(--charcoal); }
.faq__answer ul { margin: 0 0 1em; }
.faq__more { padding: 36px; background: var(--stone); border-radius: var(--radius); }
.faq__more h2 { font-size: 1.4rem; }

/* Contact and forms */
.contact-layout { display: grid; gap: clamp(36px, 6vw, 88px); }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.contact-form-panel:focus { outline: none; }
.contact-details { padding: clamp(24px, 4vw, 40px); background: var(--stone); border-radius: var(--radius); }
.contact-list { margin: 0 0 2rem; }
.contact-list div { padding: 12px 0; border-bottom: 1px solid var(--line-strong); }
.contact-list dt { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 4px 0 0; }
.enquiry-form { display: grid; gap: 20px; margin-top: 1.5rem; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 6px; font-size: 0.92rem; font-weight: 500; }
.required-note { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.field-hint { margin: 6px 0 0; font-size: 0.85rem; color: var(--muted); }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { display: grid; gap: 12px; justify-items: start; }
.form-notice { margin: 0; padding: 14px 16px; background: var(--cream); border: 1px solid var(--warm); border-radius: var(--radius); font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-status { margin: 0; font-weight: 500; }
.wechat { display: flex; align-items: center; gap: 14px; margin: 1.5rem 0 0; }
.wechat img { border-radius: var(--radius); background: #fff; padding: 4px; }
.wechat figcaption { font-size: 0.85rem; }

/* Downloads library */
.table-scroll { overflow-x: auto; margin-top: 1.5rem; }
.library-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.library-table th, .library-table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.library-table thead th { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom-color: var(--line-strong); }
.library-table tbody th { font-weight: 500; }
.library-table tbody th a { text-decoration: none; }
.library-table tbody th a:hover { text-decoration: underline; }
.library-table .download { padding: 6px 12px 6px 6px; border-color: transparent; background: none; }
.library-table .download:hover { border-color: var(--line-strong); }
.library-table .download__icon { width: 34px; height: 34px; }
.table-sub { display: block; font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.two-up { display: grid; gap: 40px; }
@media (min-width: 860px) { .two-up { grid-template-columns: 1fr 1fr; } }

/* Video */
.video-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .video-grid { grid-template-columns: 1fr 1fr; } }
.video { width: 100%; aspect-ratio: 16 / 9; background: var(--black); border-radius: var(--radius); object-fit: cover; }

/* Footer */
.site-footer { background: var(--black); color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--amber); }
.site-footer h2 { margin-bottom: 1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { padding: 4px 0; }
.site-footer__grid { display: grid; gap: 40px; padding-block: clamp(56px, 8vw, 96px) 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer__brand .logo, .site-footer__brand .logo__mark { color: #fff; }
.site-footer__brand .logo__mark { color: #3a3a3e; }
.site-footer__brand p { max-width: 26ch; margin-top: 1.25rem; }
.site-footer__socials { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 1.25rem; }
.site-footer__base { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-block: 24px 40px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.85rem; }
.site-footer__base p { margin: 0; }
.site-footer address { margin-bottom: 1em; }

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
}

/* Range filter on /products */
.product-filter { margin: 1.5rem 0 0.5rem; }
.product-filter .pill { background: none; color: inherit; font: inherit; font-size: 0.92rem; cursor: pointer; }
.product-filter .pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill__count { opacity: 0.6; margin-left: 2px; }
.product-filter__status { color: var(--muted); font-size: 0.88rem; margin: 0 0 1.5rem; }
.card[hidden] { display: none; }
#all-products { scroll-margin-top: 80px; }

/* Credit line under supplied project photos */
.gallery-row:has(+ .photo-credit) { padding-bottom: 12px; }
.photo-credit { margin-top: 0; padding-bottom: var(--section); color: var(--muted); font-size: 0.82rem; }
.builder-link { margin: 0 0 1rem; }

/* Design CTA: "Send us your plans". Light band with the glow used once, amber only as the eyebrow accent. */
.design-cta { background: var(--glow); border-block: 1px solid var(--line); }
.design-cta__inner { display: grid; gap: 24px; padding-block: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .design-cta__inner { grid-template-columns: 1.4fr 1fr; } }
.design-cta .eyebrow { color: var(--amber-ink); }
.design-cta h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem); font-weight: 400; margin: 0 0 10px; }
.design-cta__text p:last-child { max-width: 36rem; margin: 0; color: var(--charcoal); }
.design-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.design-cta__more { flex-basis: 100%; margin: 4px 0 0; }
.design-cta__email { flex-basis: 100%; margin: 4px 0 0; font-size: 0.88rem; color: var(--muted); }
.design-cta__email a { color: var(--ink); text-decoration: underline; }
.design-cta + .section, .design-cta + .cta-band { margin-top: 0; }
.plans-field summary { cursor: pointer; font-size: 0.92rem; font-weight: 500; margin-bottom: 6px; }
.plans-field[open] summary { margin-bottom: 8px; }
