/* Fire Empire - site stylesheet
   Brand sampled from the copper plaque logo:
     copper #C98C62, copper highlight #F0AC78, plaque charcoal #1D1F24.
   Type: Fira Sans Extra Condensed (display) / Fira Sans (text). Both echo the
   humanist sans on the plaque.

   Contrast (WCAG, measured):
     copper on slate 5.95, copper-hi on slate 8.73, text on slate 14.03,
     muted on slate 7.10, ink on copper 6.27, copper-deep on concrete 5.16,
     ink-muted on concrete 5.83.
   Copper FAILS on the light concrete ground (2.25) and white FAILS on a copper
   fill (2.83). So: copper text only on dark grounds, copper-deep for accents on
   light grounds, and copper buttons always carry ink text. */

/* ---------------- Fonts (self-hosted, V14) ----------------
   Served from /assets/fonts/ so no visitor data goes to Google Fonts.
   Latin subset woff2 from @fontsource/fira-sans and
   @fontsource/fira-sans-extra-condensed 5.3.0, SIL Open Font License 1.1
   (assets/fonts/OFL.txt). Same families and weights the Google Fonts link
   loaded before. Each file is already a latin subset, so no unicode-range. */

@font-face { font-family: 'Fira Sans Extra Condensed'; font-weight: 500; font-display: swap; src: url(/assets/fonts/fira-sans-extra-condensed-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans Extra Condensed'; font-weight: 600; font-display: swap; src: url(/assets/fonts/fira-sans-extra-condensed-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans Extra Condensed'; font-weight: 700; font-display: swap; src: url(/assets/fonts/fira-sans-extra-condensed-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans Extra Condensed'; font-weight: 800; font-display: swap; src: url(/assets/fonts/fira-sans-extra-condensed-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-weight: 400; font-display: swap; src: url(/assets/fonts/fira-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-weight: 500; font-display: swap; src: url(/assets/fonts/fira-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-weight: 600; font-display: swap; src: url(/assets/fonts/fira-sans-latin-600-normal.woff2) format('woff2'); }

:root {
  --slate: #1B1D22;
  --surface: #24272D;
  --surface-2: #2D3037;
  --line: #3A3D45;
  --text: #ECEAE6;
  --muted: #A9A8A6;

  --copper: #C98C62;
  --copper-hi: #F0AC78;
  --copper-deep: #8A4F2A;

  --concrete: #E7E5E1;
  --concrete-2: #DAD7D1;
  --ink: #17181B;
  --ink-muted: #55565A;
  --ink-line: #C4C0B8;

  --font-display: 'Fira Sans Extra Condensed', 'Arial Narrow', sans-serif;
  --font-text: 'Fira Sans', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --r-sm: 3px;
  --r-md: 6px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.64, 0, .78, 0);
}

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

html {
  font-size: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  background: var(--slate);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--copper-hi); outline-offset: 2px; }
.on-light :focus-visible { outline-color: var(--copper-deep); }

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

.skip-link {
  position: absolute; left: 8px; top: -80px; z-index: 2000;
  background: var(--copper); color: var(--ink);
  font-weight: 600; padding: 12px 20px; border-radius: var(--r-sm);
  text-decoration: none;
}
.skip-link:focus { top: 8px; }

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

/* ---------------- Type ---------------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 7.2vw, 6rem); font-weight: 800; letter-spacing: -.02em; line-height: .94; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.75rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.1; letter-spacing: 0; }

p { max-width: 68ch; }
p + p { margin-top: 1em; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--text); }
.muted { color: var(--muted); }
.on-light .muted { color: var(--ink-muted); }

a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--copper); }

strong { font-weight: 600; }

/* ---------------- Layout ---------------- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.band { padding-block: clamp(64px, 10vw, 128px); }
.band--tight { padding-block: clamp(48px, 7vw, 88px); }
.band--surface { background: var(--surface); }

.on-light { background: var(--concrete); color: var(--ink); }
.on-light a:hover { text-decoration-color: var(--copper-deep); }

.band-head {
  display: grid;
  gap: 16px 48px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.band-head > p { color: var(--muted); }
.on-light .band-head > p { color: var(--ink-muted); }
@media (min-width: 900px) {
  .band-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; }
}

.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 1.15fr .85fr; }
  .split--form { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: start; }
}

.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.75rem; }

/* ---------------- Buttons ---------------- */

.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--r-sm);
  font-family: var(--font-text); font-weight: 600; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease-out;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--copper { --btn-bg: var(--copper); --btn-fg: var(--ink); --btn-bd: var(--copper); }
.btn--copper:hover { --btn-bg: var(--copper-hi); --btn-bd: var(--copper-hi); }

.btn--ghost:hover { --btn-bd: var(--copper); }
.on-light .btn--ghost { --btn-fg: var(--ink); --btn-bd: var(--ink-line); }
.on-light .btn--ghost:hover { --btn-bd: var(--ink); }

.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--text); --btn-bd: var(--ink); }
.btn--ink:hover { --btn-bg: #2A2B30; }

.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------- Header ---------------- */

.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(27, 29, 34, .78);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: clamp(10px, 1.6vw, 24px); }
/* The header runs wider than the page content so the logo and the quote button
   sit further out and seven nav links have room to breathe between them. */
.header .wrap { max-width: 1480px; }

.header__logo { flex: none; display: block; line-height: 0; border-radius: var(--r-sm); }
.header__logo img { height: 44px; width: auto; }

/* The nav takes the whole gap between the logo and the buttons and spreads its
   items across it, so adding a page shifts the spacing rather than wrapping a
   label onto a second line. */
.nav { display: none; flex: 1 1 auto; justify-content: space-between; margin-inline: clamp(12px, 2vw, 32px); min-width: 0; }
.nav a {
  padding: 8px 6px; border-radius: var(--r-sm);
  color: var(--muted); text-decoration: none; font-weight: 500;
  font-size: .9rem;
  white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
/* The one long label stacks on two lines so the rest keep their spacing. */
.nav a.nav__two { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.15; padding-block: 4px; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--copper); border-radius: 0; }

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.header__phone { display: none; font-weight: 600; text-decoration: none; white-space: nowrap; padding: 8px 6px; }
.header__phone:hover { color: var(--copper-hi); }
.header__quote { display: none; white-space: nowrap; }

/* Full nav only once every label fits on one line. Below that the drawer
   handles it, which is why the breakpoint moved up when the 7th page landed. */
@media (min-width: 1180px) {
  .nav { display: flex; }
  .header__actions { margin-left: 0; }
  .header__phone, .header__quote { display: inline-flex; }
  .menu-toggle { display: none !important; }
}
/* Between 1180 and 1320 the phone number is the first thing to give way. */
@media (min-width: 1180px) and (max-width: 1320px) {
  .header__phone { display: none; }
}
@media (min-width: 640px) and (max-width: 1179px) {
  .header__quote { display: inline-flex; }
}

.count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  display: inline-grid; place-items: center;
  background: var(--ink); color: var(--copper-hi);
  font-size: .78rem; font-weight: 700; line-height: 1;
}
.count[data-empty="true"] { display: none; }
.count[data-bump="true"] { animation: bump .35s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.3); } }

.menu-toggle {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: var(--r-sm);
  background: none; border: 1px solid var(--line); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* Drawer: slides in from the right and leaves the same way. visibility keeps
   closed links out of the tab order (toolkit fix). */
.scrim {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(10, 10, 12, .55);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.scrim[data-open="true"] { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1000;
  width: min(420px, 100%);
  background: var(--surface);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .38s var(--ease-out), visibility 0s linear .38s;
}
.drawer[data-open="true"] { transform: none; visibility: visible; transition: transform .38s var(--ease-out), visibility 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); height: var(--header-h); border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.6rem; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px var(--gutter) 24px; }
.drawer__foot { padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }

.drawer-nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1.1; text-wrap: balance;
  text-decoration: none;
}
.drawer-nav a[aria-current="page"] { color: var(--copper-hi); }

@media (prefers-reduced-transparency: reduce) {
  .header { background: var(--slate); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative; isolation: isolate;
  min-height: min(92svh, 860px);
  display: flex; align-items: flex-end;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(27,29,34,.55) 0%, rgba(27,29,34,0) 26%),
    linear-gradient(0deg, rgba(27,29,34,1) 0%, rgba(27,29,34,.86) 30%, rgba(27,29,34,.2) 62%, rgba(27,29,34,0) 80%),
    linear-gradient(90deg, rgba(27,29,34,.7) 0%, rgba(27,29,34,0) 60%);
}
@media (max-width: 700px) {
  .hero { min-height: min(100svh, 760px); }
  .hero__media img { object-position: center 30%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(27,29,34,.6) 0%, rgba(27,29,34,0) 22%),
      linear-gradient(0deg, rgba(27,29,34,1) 0%, rgba(27,29,34,.94) 44%, rgba(27,29,34,.5) 64%, rgba(27,29,34,0) 82%);
  }
}
.hero__inner { padding-block: clamp(40px, 8vw, 96px) clamp(32px, 5vw, 56px); }
.hero__tagline { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; color: var(--copper-hi); margin-bottom: 18px; }
.hero h1 { max-width: 13ch; }
.hero .lead { margin-top: 22px; max-width: 46ch; }
.hero .btn-row { margin-top: 32px; }

/* Hero entrance: the one orchestrated motion moment on the page. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__media img { animation: settle 1.6s var(--ease-out) both; }
  .js .hero__inner > * { animation: rise .9s var(--ease-out) both; }
  .js .hero__inner > :nth-child(2) { animation-delay: .08s; }
  .js .hero__inner > :nth-child(3) { animation-delay: .16s; }
  .js .hero__inner > :nth-child(4) { animation-delay: .24s; }
}
@keyframes settle { from { transform: scale(1.06); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Facts strip under the hero */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__list { list-style: none; display: grid; grid-template-columns: 1fr; }
.facts__list li { padding: 20px 0; display: flex; gap: 14px; align-items: flex-start; }
.facts__list li + li { border-top: 1px solid var(--line); }
.facts__list svg { width: 22px; height: 22px; color: var(--copper); flex: none; margin-top: 3px; }
.facts__list b { display: block; font-weight: 600; }
.facts__list span { color: var(--muted); font-size: .95rem; }
@media (min-width: 760px) {
  .facts__list { grid-template-columns: repeat(3, 1fr); }
  .facts__list li { padding: 26px 24px; }
  .facts__list li:first-child { padding-left: 0; }
  .facts__list li + li { border-top: 0; border-left: 1px solid var(--line); }
}

/* ---------------- Page head (inner pages) ---------------- */

.page-head { position: relative; isolation: isolate; overflow: hidden; }
.page-head__inner { padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 72px); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); max-width: 16ch; text-wrap: balance; }
.page-head .lead { margin-top: 20px; color: var(--muted); max-width: 58ch; }
.offer-line { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 22px; padding: 10px 16px; border: 1px solid var(--copper); border-radius: var(--r-md); background: var(--surface); font-size: 1.05rem; }
.offer-line .office-tag { font-size: .72rem; }
.page-head--image { min-height: 420px; display: flex; align-items: flex-end; }
.page-head--image .page-head__media { position: absolute; inset: 0; z-index: -2; }
.page-head--image .page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.page-head--image::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(27,29,34,1) 0%, rgba(27,29,34,.8) 38%, rgba(27,29,34,.25) 100%);
}
.page-head--image .lead { color: var(--text); }

.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* ---------------- Material wall ---------------- */

.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
@media (min-width: 900px) { .filters { flex-wrap: wrap; overflow: visible; } }
.filter {
  flex: none; min-height: 44px; padding: 10px 18px; border-radius: 999px;
  background: transparent; border: 1px solid var(--ink-line); color: var(--ink);
  font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--concrete); }
.filter .n { opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* Product search */
.product-search { display: grid; gap: 7px; max-width: 420px; margin-bottom: 20px; }
.product-search label { font-weight: 500; font-size: .95rem; }
.product-search input { min-height: 48px; }
.product-search input::-webkit-search-cancel-button { cursor: pointer; }

.wall {
  list-style: none;
  display: grid; gap: clamp(12px, 1.6vw, 20px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cat-block[hidden] { display: none; }
@media (min-width: 720px) { .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.swatch { display: flex; flex-direction: column; min-width: 0; }
.swatch[hidden] { display: none; }
.swatch__img {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--r-sm); background: var(--concrete-2);
}
.swatch__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }

/* Hover enlarge: the photo grows past its tile so the texture is readable.
   The tile keeps its space in the grid; only the image scales, and it lifts
   above its neighbours. Touch devices get the tap-to-open dialog instead. */
@media (hover: hover) {
  .swatch__img { overflow: visible; }
  .swatch__img img { border-radius: var(--r-sm); will-change: transform; }
  .swatch:hover { z-index: 5; }
  .swatch:hover .swatch__img img,
  .swatch:focus-within .swatch__img img {
    transform: scale(1.45);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  }
}

/* Tap-to-enlarge dialog (touch only) */
.photo-zoom { width: min(92vw, 560px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--text); }
.photo-zoom::backdrop { background: rgba(10, 10, 12, .75); }
.photo-zoom figure { margin: 0; }
.photo-zoom img { width: 100%; height: auto; display: block; border-radius: var(--r-md) var(--r-md) 0 0; }
.photo-zoom figcaption { padding: 14px 18px; font-weight: 600; }
.photo-zoom [data-close] { width: 100%; border-radius: 0 0 var(--r-md) var(--r-md); }
@media (hover: hover) { .photo-zoom { display: none; } }

/* 1 / 2 photo flip, on tiles with a second photo and in the tap dialog.
   The second photo is landscape, so it shows whole rather than cropped. */
.swatch__img img.is-whole { object-fit: contain; background: var(--concrete-2); }
.swatch__flip {
  position: absolute; left: 50%; bottom: 10px; z-index: 6; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 3px;
  border-radius: 999px; background: rgba(17, 18, 21, .82); color: #fff;
  font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.swatch__flip[hidden] { display: none; }
.swatch__flip button {
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer;
}
.swatch__flip button:hover, .swatch__flip button:focus-visible { background: rgba(255, 255, 255, .16); }
.swatch__flip svg { width: 16px; height: 16px; }
.photo-zoom figure { position: relative; }
.photo-zoom .swatch__flip { bottom: auto; top: 10px; }
.swatch__body { padding-top: 12px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.swatch__name { font-family: var(--font-text); font-size: 1rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.swatch__price { font-variant-numeric: tabular-nums; font-size: .95rem; }
.swatch__price b { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; margin-right: 2px; }
.swatch__terms { font-size: .85rem; color: var(--ink-muted); }
.swatch__add { margin-top: auto; padding-top: 10px; }
.swatch__add .btn { width: 100%; min-height: 44px; padding: 10px 12px; font-size: .95rem; }
.swatch__add .btn[aria-pressed="true"] { --btn-bg: var(--ink); --btn-fg: var(--concrete); --btn-bd: var(--ink); }
.swatch__add .btn svg { transition: transform .25s var(--ease-out); }
.swatch__add .btn[aria-pressed="true"] svg { transform: rotate(45deg); }

.swatch details { font-size: .9rem; color: var(--ink-muted); margin-top: 4px; }
.swatch summary { cursor: pointer; color: var(--ink); font-weight: 500; list-style: none; padding: 4px 0; }
.swatch summary::-webkit-details-marker { display: none; }
.swatch summary::after { content: " +"; color: var(--copper-deep); }
.swatch details[open] summary::after { content: " \2212"; }
.swatch details p { margin-top: 4px; }

.wall-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.wall-foot p { color: var(--ink-muted); font-size: .95rem; }
.result-count { font-variant-numeric: tabular-nums; color: var(--ink-muted); font-size: .95rem; margin-bottom: 16px; }

.cat-block + .cat-block { margin-top: clamp(56px, 8vw, 96px); }
.cat-block .band-head { margin-bottom: 28px; }
.cat-block h2 { font-size: clamp(2rem, 3.6vw, 3rem); }

/* ---------------- Steps ---------------- */

.steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 6px 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: .9;
  color: var(--copper); min-width: 1.2ch;
}
.steps h3 { font-size: 1.5rem; }
.steps p { color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
  .steps li { grid-template-columns: 1fr; padding-top: 28px; }
  .steps li::before { grid-row: auto; margin-bottom: 14px; }
}

/* ---------------- Fleet ---------------- */

.fleet { list-style: none; }
.fleet li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.fleet li:last-child { border-bottom: 1px solid var(--line); }
.fleet h3 { font-size: 1.7rem; }
.fleet p { color: var(--muted); }

.media-frame { position: relative; overflow: hidden; border-radius: var(--r-sm); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 16 / 10; }

.caption { font-size: .88rem; color: var(--muted); margin-top: 10px; }

/* ---------------- Calculator ---------------- */

.calc {
  display: grid; gap: 0;
  background: var(--slate); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden;
}
@media (min-width: 900px) { .calc { grid-template-columns: 1.1fr .9fr; } }
.calc__inputs { padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 18px; grid-template-columns: 1fr 1fr; align-content: start; }
.calc__inputs .field--full { grid-column: 1 / -1; }
.calc__out {
  padding: clamp(22px, 3.5vw, 40px);
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
}
@media (min-width: 900px) { .calc__out { border-top: 0; border-left: 1px solid var(--line); } }
.calc__figure { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 7vw, 5.2rem); line-height: .9; font-variant-numeric: tabular-nums; color: var(--copper-hi); }
.calc__figure small { font-size: .4em; font-weight: 600; color: var(--text); margin-left: 6px; }
.calc__sub { color: var(--muted); font-size: .95rem; }
.calc__sub b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__note { font-size: .85rem; color: var(--muted); margin-top: auto; }

/* ---------------- Forms ---------------- */

.field { display: grid; gap: 7px; align-content: start; }
.field label, .field .label { font-weight: 500; font-size: .95rem; }
.req { color: var(--muted); font-weight: 400; font-size: .88rem; }
.on-light .req { color: var(--ink-muted); }
.hint { font-size: .85rem; color: var(--muted); }
.on-light .hint { color: var(--ink-muted); }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23C98C62' stroke-width='2'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
input:hover, select:hover, textarea:hover { border-color: #545862; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(201, 140, 98, .35); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #F08A78; }

.on-light input[type="text"], .on-light input[type="email"], .on-light input[type="tel"], .on-light input[type="number"], .on-light input[type="date"], .on-light select, .on-light textarea {
  background: #F6F5F2; color: var(--ink); border-color: var(--ink-line);
}
.on-light input:focus-visible, .on-light select:focus-visible, .on-light textarea:focus-visible { border-color: var(--copper-deep); box-shadow: 0 0 0 3px rgba(138, 79, 42, .25); }
.on-light input[aria-invalid="true"], .on-light select[aria-invalid="true"], .on-light textarea[aria-invalid="true"] { border-color: #A3301E; }

.field-error { font-size: .88rem; color: #F5A596; min-height: 0; }
.field-error:empty { display: none; }
.on-light .field-error { color: #A3301E; }

.form { display: grid; gap: 20px; }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }

fieldset { border: 0; display: grid; gap: 20px; }
fieldset + fieldset { padding-top: 28px; border-top: 1px solid var(--line); }
.on-light fieldset + fieldset { border-top-color: var(--ink-line); }
legend { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; margin-bottom: 4px; padding: 0; float: left; width: 100%; }
legend + * { clear: both; }

.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: inline-flex; align-items: center; min-height: 46px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-weight: 500;
  transition: border-color .15s ease, background-color .15s ease;
}
.choice label:hover { border-color: var(--muted); }
.choice input:checked + label { border-color: var(--copper); background: rgba(201, 140, 98, .14); }
.choice input:focus-visible + label { outline: 3px solid var(--copper-hi); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .95rem; }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--copper); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { padding: 18px 20px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); }
.form-status:focus { outline: none; }
.form-status h3 { font-size: 1.5rem; margin-bottom: 4px; }
.form-status[data-state="success"] { border-color: var(--copper); }
.form-status[data-state="error"] { border-color: #F08A78; }
.on-light .form-status { background: #F6F5F2; border-color: var(--ink-line); }
.on-light .form-status[data-state="success"] { border-color: var(--copper-deep); }
.on-light .form-status[data-state="error"] { border-color: #A3301E; }

.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Quote list inside the quote form */
.qlist { list-style: none; display: grid; gap: 10px; }
.qlist li {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 12px 14px; align-items: center;
  padding: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--slate);
}
.qlist img { width: 56px; height: 70px; object-fit: cover; border-radius: 2px; }
.qlist__name { font-weight: 600; line-height: 1.25; }
.qlist__meta { font-size: .85rem; color: var(--muted); }
.qlist__qty { display: flex; align-items: center; gap: 8px; grid-column: 2 / 4; }
.qlist__qty input { width: 96px; min-height: 42px; padding: 8px 10px; }
.qlist__qty span { font-size: .9rem; color: var(--muted); }
.qlist__remove {
  grid-row: 1; grid-column: 3;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: none; border: 1px solid transparent; border-radius: var(--r-sm); cursor: pointer; color: var(--muted);
}
.qlist__remove:hover { border-color: var(--line); color: var(--text); }
.qlist__remove svg { width: 18px; height: 18px; }
@media (min-width: 560px) {
  .qlist li { grid-template-columns: 56px 1fr auto auto; }
  .qlist__qty { grid-column: auto; }
  .qlist__remove { grid-column: auto; grid-row: auto; }
}
.qlist-empty { padding: 20px; border: 1px dashed var(--line); border-radius: var(--r-sm); color: var(--muted); }

/* ---------------- Quote tray (floating on small screens) ---------------- */

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(27, 29, 34, .86);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-top: 1px solid rgba(255,255,255,.08);
}
.dock .btn { min-height: 50px; }
@media (min-width: 1180px) { .dock { display: none; } }
@media (max-width: 1179px) { body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-transparency: reduce) { .dock { background: var(--slate); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* Toast for "added to quote" */
.toast {
  position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 1100;
  transform: translate(-50%, 16px); opacity: 0; visibility: hidden;
  display: flex; align-items: center; gap: 14px;
  max-width: calc(100% - 32px); padding: 12px 12px 12px 18px;
  background: var(--ink); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transition: transform .35s var(--ease-out), opacity .2s ease, visibility 0s linear .35s;
}
.toast[data-show="true"] { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .35s var(--ease-out), opacity .2s ease, visibility 0s; }
.toast p { font-size: .95rem; }
.toast a { color: var(--copper-hi); font-weight: 600; white-space: nowrap; padding: 8px 10px; }
@media (min-width: 1180px) { .toast { bottom: 28px; } }

/* ---------------- Cards / lists ---------------- */

.ruled { list-style: none; }
.ruled li { padding: 16px 0; border-top: 1px solid var(--line); }
.on-light .ruled li { border-top-color: var(--ink-line); }
.ruled li:last-child { border-bottom: 1px solid var(--line); }

/* FAQ (products page): native details/summary, no script needed */
.faq-wrap { max-width: 880px; }
.faq-wrap > h2 { margin-bottom: 24px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 14px 0; font-weight: 600; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--copper); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid var(--copper-hi); outline-offset: 2px; }
.faq details p { color: var(--muted); padding: 0 0 18px; max-width: 70ch; }
.faq details a { color: var(--copper-hi); }
.on-light .ruled li:last-child { border-bottom-color: var(--ink-line); }
.ruled b { display: block; font-weight: 600; }

.who { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.who li { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; }
.on-light .who li { border-color: var(--ink-line); }

.cols-3 { display: grid; gap: 32px; }
@media (min-width: 900px) { .cols-3 { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

.service {
  display: grid; gap: clamp(24px, 4vw, 64px); align-items: start;
  padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line);
}
.service:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .service { grid-template-columns: .9fr 1.1fr; } }
.service h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.service .media-frame { aspect-ratio: 4 / 3; }
.service h3 { font-size: 1.35rem; margin-top: 8px; }

/* Best-seller strip at the top of the products page: small cards, one row on desktop */
.best-strip { padding-block: 4px clamp(28px, 4vw, 44px); }
.best-strip__title { font-size: 1.15rem; margin-bottom: 12px; }
.best-strip__list { list-style: none; display: grid; gap: 10px; }
@media (min-width: 760px) { .best-strip__list { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.best-card {
  display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  color: inherit; text-decoration: none; transition: border-color .15s;
}
.best-card:hover, .best-card:focus-visible { border-color: var(--copper); }
.best-card img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; flex: none; }
.best-card__body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.best-card__name { font-weight: 600; line-height: 1.25; }
.best-card__price { font-size: .92rem; color: var(--muted); }
.best-card__price b { color: var(--copper-hi); }
.best-card svg { width: 20px; height: 20px; color: var(--copper-hi); flex: none; }

/* Price lines on the dedicated product pages */
.best-price b, .ruled span b { color: var(--copper-hi); }
.ruled span b { display: inline; }
.on-light .ruled span b { color: var(--copper-deep); }
.best-price b { font-size: 1.3rem; }

.big-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--copper-hi); text-decoration: none; padding-block: 6px; }
.big-link:hover { text-decoration: underline; }
.on-light .big-link { color: var(--copper-deep); }

/* Firewood band */
.firewood { position: relative; isolation: isolate; overflow: hidden; }
.firewood__media { position: absolute; inset: 0; z-index: -2; }
.firewood__media img { width: 100%; height: 100%; object-fit: cover; }
.firewood::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(27,29,34,.97) 0%, rgba(27,29,34,.9) 45%, rgba(27,29,34,.35) 100%); }
@media (max-width: 899px) { .firewood::before { background: rgba(27,29,34,.88); } }
.firewood .figure { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 9vw, 6.6rem); line-height: .85; color: var(--copper-hi); letter-spacing: -.02em; white-space: nowrap; }
.firewood .figure small { font-size: .38em; font-weight: 600; color: var(--text); letter-spacing: 0; margin-left: 8px; }

/* Area band */
.areas { list-style: none; display: grid; gap: 0; }
.areas li { padding: 22px 0; border-top: 1px solid var(--line); }
.areas li:last-child { border-bottom: 1px solid var(--line); }
.areas h3 { font-size: 1.9rem; }
.areas p { color: var(--muted); margin-top: 4px; }

/* Contact blocks */
.contact-list { list-style: none; display: grid; gap: 0; }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; color: var(--copper); margin-top: 3px; }
.contact-list b { display: block; font-weight: 600; }
.contact-list a { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; text-decoration: none; line-height: 1.2; }
.contact-list a:hover { color: var(--copper-hi); }
.contact-list .small-link { font-family: var(--font-text); font-size: 1.05rem; font-weight: 500; }
.office-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; padding: 0; }
.contact-list .office-list li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; }
.office-tag { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--copper-hi); }
.office-note { font-size: .95rem; line-height: 1.6; margin: 0; }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { color: var(--muted); }
.hours td { text-align: right; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(22px, 4vw, 44px); }
.on-light .panel { background: #F3F2EF; border-color: var(--ink-line); }

/* CTA band */
.cta { background: var(--copper); color: var(--ink); }
.cta h2 { max-width: 18ch; }
.cta p { color: var(--ink); }
.cta .btn--ink:focus-visible, .cta a:focus-visible { outline-color: var(--ink); }
.cta__inner { display: grid; gap: 24px 48px; align-items: end; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.3fr auto; } }
.cta .btn--ghost { --btn-fg: var(--ink); --btn-bd: rgba(23,24,27,.45); }
.cta .btn--ghost:hover { --btn-bd: var(--ink); }

/* Prose (privacy etc) */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 2.2em; margin-bottom: .5em; }
.prose h3 { margin-top: 1.6em; margin-bottom: .4em; font-size: 1.4rem; }
.prose ul { padding-left: 1.2em; margin-top: .8em; }
.prose li + li { margin-top: .4em; }
.prose p, .prose ul { color: var(--text); }
.notice { border-left: 3px solid var(--copper); padding: 14px 18px; background: var(--surface); color: var(--text); }

/* ---------------- Footer ---------------- */

.footer { background: #141519; border-top: 1px solid var(--line); padding-block: clamp(56px, 8vw, 96px) 32px; font-size: .96rem; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__logo { width: 260px; height: auto; border-radius: var(--r-sm); margin-bottom: 18px; }
.footer p { color: var(--muted); }
.footer h2 { font-family: var(--font-text); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 4px; }
.footer ul a { color: var(--muted); text-decoration: none; display: inline-block; padding-block: 5px; }
.footer ul a:hover { color: var(--text); }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; color: var(--muted); font-size: .88rem; }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__legal a { color: var(--muted); padding-block: 6px; display: inline-block; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--text); }
.social a:hover { border-color: var(--copper); color: var(--copper-hi); }
.social svg { width: 20px; height: 20px; }

/* ---------------- Cookie notice ---------------- */

.cookie {
  position: fixed; left: 16px; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 1050;
  max-width: 520px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.4);
  transform: translateY(20px); opacity: 0; visibility: hidden;
  transition: transform .35s var(--ease-out), opacity .25s ease, visibility 0s linear .35s;
}
.cookie[data-open="true"] { transform: none; opacity: 1; visibility: visible; transition: transform .35s var(--ease-out), opacity .25s ease, visibility 0s; }
.cookie p { font-size: .92rem; color: var(--muted); }
.cookie .btn-row { margin-top: 14px; }
.cookie .btn { min-height: 44px; padding: 10px 16px; font-size: .95rem; }
@media (min-width: 1180px) { .cookie { bottom: 24px; left: 24px; right: auto; } }

/* ---------------- Reveal (only when JS can undo it) ---------------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .js .reveal[data-visible="true"] { opacity: 1; transform: none; }
}

/* ---------------- 404 ---------------- */
.nf { min-height: 60vh; display: grid; align-content: center; }
.nf .figure { font-family: var(--font-display); font-size: clamp(6rem, 20vw, 12rem); font-weight: 800; line-height: .8; color: var(--copper); }

/* ---------------- High contrast ---------------- */
@media (prefers-contrast: more) {
  :root { --muted: #D6D4D0; --line: #6A6E78; --ink-muted: #2F3034; --ink-line: #6F6A62; }
  .header, .dock { background: var(--slate); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* WebP wrappers added by Build/webp.py: layout stays as if the <img> stood alone. */
.pic { display: contents; }
