/* Self-hosted fonts (Fontsource, SIL Open Font License), Latin subset only. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/fraunces-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/fraunces-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap; src: url(/fonts/fraunces-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/work-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/work-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/work-sans-latin-600-normal.woff2) format("woff2"); }
:root {
  --paper: #f5f0e6;
  --paper-2: #ece4d6;   /* studio backdrop: must match PAPER in scripts/images.mjs */
  --white: #fbf8f2;
  --ink: #1e1a15;
  --ink-2: #3d362d;
  --muted: #776c5e;
  --line: #d8cdbb;
  --green: #27402f;
  --green-2: #1c2f22;
  --green-soft: #dfe5da;
  --brass: #b0844a;
  --brass-dark: #8a6430;
  --brass-soft: #efe2cb;
  --dark-muted: #b9b2a2;
  --wa: #1c9d4f;
  --wa-dark: #16833f;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 44px);
  --radius: 4px;
  --shadow: 0 1px 2px rgba(30,26,21,.06), 0 10px 30px -12px rgba(30,26,21,.22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass-dark); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .45em; font-variation-settings: "SOFT" 50; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--brass-dark); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.fine { font-size: .86rem; color: var(--muted); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.i { width: 20px; height: 20px; flex: none; }
.i-arrow { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.i-star { color: var(--brass); }

.eyebrow { font: 600 .74rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-dark); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lede { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 34em; }
.note { margin-top: 40px; color: var(--muted); }
.note a { color: var(--ink); text-underline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px;
  border: 1.5px solid transparent; border-radius: var(--radius); font: 600 .92rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-lg { min-height: 56px; padding: 16px 28px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--green); color: var(--paper); }
.btn-dark:hover { background: var(--green-2); }
.btn-wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-line { border-color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-line-light { border-color: rgba(245,240,230,.6); color: var(--paper); }
.btn-line-light:hover { background: var(--paper); color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .86rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 6px; }
.link-arrow:hover .i-arrow { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(245,240,230,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font: 600 1.45rem/1 var(--display); letter-spacing: -.01em; }
.brand-word span { font: 600 .66rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font: 500 .9rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); padding: 8px 0; border-bottom: 1px solid transparent; }
.nav a:not(.nav-cta):hover, .nav a[aria-current] { border-bottom-color: var(--brass); color: var(--ink); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px !important; border-radius: var(--radius); background: var(--green); color: var(--paper) !important; border: 0 !important; }
.nav-cta:hover { background: var(--green-2); }
.nav-cta .i { width: 18px; height: 18px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* Ornament divider */
.ornament { display: flex; align-items: center; gap: 22px; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ornament span { flex: 1; height: 1px; background: var(--line); }
.ornament img { width: 40px; height: auto; opacity: .75; }

/* Hero */
.hero { padding: clamp(28px, 4vw, 64px) 0 clamp(56px, 7vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 36px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-stats dt { display: flex; align-items: center; gap: 6px; font: 600 1.45rem/1 var(--display); }
.hero-stats dd { margin: 6px 0 0; font-size: .82rem; line-height: 1.3; color: var(--muted); }
.hero-art { margin: 0; position: relative; }
.hero-frame { padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.hero-stamp { position: absolute; left: -38px; bottom: 34px; width: 150px; height: auto; padding: 14px; background: var(--paper); border-radius: 50%; box-shadow: var(--shadow); transform: rotate(-8deg); }
.hero-art figcaption { margin-top: 18px; padding-left: 130px; }
.hero-art figcaption a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; text-decoration: none; font-size: .9rem; color: var(--ink-2); padding: 12px 0; border-bottom: 1px solid var(--line); }
.hero-art figcaption strong { font: 600 1.25rem/1 var(--display); color: var(--ink); }

/* Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-flush { padding-top: 0; }
.section-paper { background: var(--paper-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 { margin: 0; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.card { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card[hidden] { display: none; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media > img:first-child { transform: scale(1.03); }
.card-alt { opacity: 0; transition: opacity .35s var(--ease); z-index: 2; }
.card:hover .card-alt { opacity: 1; }
.card-no { position: absolute; z-index: 3; left: 14px; top: 12px; font: italic 500 .95rem/1 var(--display); color: var(--ink-2); background: rgba(251,248,242,.88); padding: 6px 9px; border-radius: 2px; }
.card-body { padding: 18px 18px 18px; display: grid; gap: 4px; border-top: 1px solid var(--line); }
.card-cat { margin: 0; font: 600 .66rem/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-dark); }
.card-body h3 { margin: 4px 0 0; font-size: 1.35rem; }
.card-spec { margin: 0; font-size: .84rem; color: var(--muted); }
.card-price { margin: 10px 0 0; display: flex; align-items: center; justify-content: space-between; font: 600 1.2rem/1 var(--display); }
.card-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.card:hover .card-go { background: var(--green); border-color: var(--green); color: var(--paper); }

/* Split */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split-media { margin: 0; }
.split-media img { width: 100%; border-radius: var(--radius); }
.split-media figcaption a { display: block; margin-top: 12px; font-size: .88rem; color: var(--muted); text-decoration: none; text-align: center; }
.split-media figcaption a:hover { color: var(--ink); }
.split-copy > p:not(.eyebrow) { color: var(--ink-2); font-size: 1.08rem; }
.ticks { list-style: none; margin: 24px 0 32px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; background: var(--brass); transform: rotate(45deg); }

/* In real homes */
.homes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); text-decoration: none; }
.home-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.home-tile:hover img { transform: scale(1.05); }
.home-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; color: var(--paper); font: 500 1.02rem/1.2 var(--display); background: linear-gradient(transparent, rgba(20,17,13,.72)); }
.home-tile:nth-child(1), .home-tile:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.home-tile:nth-child(1) span, .home-tile:nth-child(6) span { font-size: 1.3rem; padding: 48px 20px 18px; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.cat { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-media { background: var(--paper-2); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.cat-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--line); }
.cat-body h3 { margin-bottom: 6px; font-size: 1.2rem; }
.cat-body p { color: var(--muted); font-size: .9rem; flex: 1; }
.cat-body span { display: flex; align-items: center; gap: 6px; font: 600 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-dark); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps li { padding: 30px 26px 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step-n { display: block; font: italic 500 2.6rem/1 var(--display); color: var(--brass); margin-bottom: 16px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.reviews .muted { max-width: 32em; margin-bottom: 28px; }
.score { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.score-top { display: flex; align-items: center; gap: 18px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.score-top .muted { display: block; font-size: .86rem; margin-top: 6px; }
.score-num { font: 600 4.4rem/.85 var(--display); }
.stars { display: flex; gap: 2px; }
.stars .i { width: 22px; height: 22px; }
.score-h { font: 600 .7rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bars li { display: grid; grid-template-columns: 9em 1fr 2em; align-items: center; gap: 14px; }
.bar { height: 8px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); background: var(--green); border-radius: 4px; transform-origin: left; transition: transform 1.2s var(--ease) .3s; }
.js .score:not(.is-in) .bar i { transform: scaleX(0); }
.bar-n { font-weight: 600; text-align: right; }

/* CTA */
.cta { background: var(--green); color: var(--paper); padding: clamp(72px, 10vw, 120px) 0; }
.cta-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.cta-mark { width: 110px; height: auto; margin-bottom: 26px; opacity: .9; }
.cta h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 16px; }
.cta p { color: var(--dark-muted); font-size: 1.1rem; max-width: 30em; margin: 0; }
.cta-actions { display: grid; gap: 12px; }
.cta-addr { margin: 2px 0 0 !important; font-size: .86rem !important; letter-spacing: .04em; color: var(--dark-muted); text-align: center; }

/* Footer */
.site-footer { background: var(--green-2); color: var(--dark-muted); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(245,240,230,.14); }
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-h { font: 600 .7rem/1 var(--body); text-transform: uppercase; letter-spacing: .2em; color: var(--brass); margin: 6px 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: .82rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 58px; height: 58px; display: grid; place-items: center; background: var(--wa); color: #fff; border-radius: 50%; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .i { width: 28px; height: 28px; }

/* Page heads */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.page-head-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.page-head-grid .lede { margin-bottom: 32px; }
.page-head-media { margin: 0; position: relative; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.page-head-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.page-head-media figcaption { margin-top: 10px; text-align: center; font: italic 500 .95rem/1 var(--display); color: var(--muted); }
.page-404 { min-height: 60vh; display: flex; align-items: center; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; font: 500 .9rem/1 var(--body); transition: background .15s, color .15s, border-color .15s; }
.chip span { font-size: .78rem; color: var(--muted); }
.chip:hover { border-color: var(--brass); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--paper); }
.chip[aria-pressed="true"] span { color: var(--brass-soft); }

/* Product */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; padding: 28px 0; font-size: .84rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; padding-bottom: 24px; }
.gallery-main { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); cursor: zoom-in; aspect-ratio: 1; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.thumb { padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper-2); cursor: pointer; aspect-ratio: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb[aria-current="true"] { border-color: var(--brass-dark); box-shadow: 0 0 0 1px var(--brass-dark); }
.product-info { position: sticky; top: 108px; }
.product-info h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); margin-bottom: 12px; }
.product-price { font: 600 2rem/1 var(--display); margin-bottom: 20px; color: var(--green); }
.product-summary { color: var(--ink-2); font-size: 1.06rem; }
.specs { width: 100%; border-collapse: collapse; margin: 24px 0; background: var(--white); border: 1px solid var(--line); font-size: .95rem; }
.specs caption { text-align: left; font: 600 .7rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-dark); padding: 0 0 10px; caption-side: top; }
.specs th, .specs td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { font-weight: 500; color: var(--muted); width: 8em; }
.product-actions { display: grid; gap: 10px; }
.trust { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }
.trust strong { color: var(--ink); }
.buy-bar { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(20,17,13,.95); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 92vh; }
.lightbox-close { position: absolute; top: 14px; right: 18px; width: 48px; height: 48px; border: 1px solid var(--paper); border-radius: 50%; background: none; color: var(--paper); font-size: 1.8rem; cursor: pointer; }

/* How to measure */
.measure { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.measure-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.measure-list li { display: grid; grid-template-columns: 72px 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.measure-list strong { display: grid; place-items: center; font: italic 500 2.3rem/1 var(--display); color: var(--brass-dark); background: var(--brass-soft); }
.measure-list div { padding: 18px 20px; }
.measure-list h3 { margin-bottom: 4px; }
.measure-list p { margin: 0; color: var(--muted); }

/* Quote */
.quote { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.quote-intro { position: sticky; top: 110px; }
.quote-intro > p:not(.eyebrow):not(.fine) { color: var(--ink-2); font-size: 1.06rem; }
.quote-form { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field > span, .dims-set legend { font: 600 .7rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.dims-set { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dims-set legend { padding: 0; margin-bottom: 10px; }
.dims-set .field > span { color: var(--muted); }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.quote-form textarea { resize: vertical; }
.quote-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; background-color: #fff; border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-status { margin: 0; padding: 14px 16px; border-radius: var(--radius); font-weight: 500; }
.form-status.is-ok { background: var(--green-soft); }
.form-status.is-err { background: #f6e0d6; }
.visit { display: flex; gap: 14px; align-items: flex-start; margin: 24px 0; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.visit > .i { width: 26px; height: 26px; color: var(--brass-dark); margin-top: 2px; }
.visit div { display: grid; gap: 4px; }
.visit strong { font: 600 1.15rem/1.1 var(--display); }
.visit span { color: var(--ink-2); margin-bottom: 8px; }
.visit .link-arrow { justify-self: start; }

/* Category pages */
.cat-links { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.cat-links div { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; font-size: .9rem; }
.cat-links a:hover { border-color: var(--brass); }
.page-head .crumbs { padding: 0 0 18px; }

/* Long-form text (privacy notice) */
.prose > * { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 44px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.prose p, .prose li { color: var(--ink-2); font-size: 1.04rem; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; margin: 0 0 1em; }
.prose a { text-underline-offset: 3px; }

/* Collection pagination */
.pager { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pager[hidden] { display: none; }
.pager-count { margin: 0; font-size: .86rem; color: var(--muted); }
.pager-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.pager button { min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; font: 500 .92rem/1 var(--body); transition: background .15s, color .15s, border-color .15s; }
.pager button:hover:not([disabled]) { border-color: var(--brass); }
.pager button[aria-current="page"] { background: var(--green); border-color: var(--green); color: var(--paper); }
.pager button[disabled] { opacity: .35; cursor: default; }

/* Category dropdown replaces the chips on phones */
.filter-select { display: none; }

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

/* Responsive */
@media (max-width: 1100px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stamp { left: -14px; width: 120px; }
  .hero-art figcaption { padding-left: 110px; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  /* No backdrop-filter here: it would make the header the containing block for the fixed menu. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav { position: fixed; inset: 84px 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { font: 500 1.9rem/1.1 var(--display); text-transform: none; letter-spacing: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 28px; justify-content: center; font: 600 1rem/1 var(--body) !important; letter-spacing: .06em !important; text-transform: uppercase !important; }
  body.menu-open { overflow: hidden; }
  .hero-grid, .split, .reviews-grid, .product, .measure, .quote, .page-head-grid, .cta-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .product-info, .quote-intro { position: static; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .homes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-tile:nth-child(6) { grid-column: auto; grid-row: auto; }
  .home-tile:nth-child(6) span { font-size: 1.02rem; padding: 36px 14px 12px; }
  .page-head-media { max-width: 460px; }
  .product-page .wa-float { display: none; }
  .product-page .site-footer { padding-bottom: 110px; }
  .buy-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(30,26,21,.08); }
  .buy-bar div { display: grid; min-width: 0; }
  .buy-bar strong { font: 600 1.1rem/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar div span { font-size: .88rem; color: var(--green); font-weight: 600; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner { height: 72px; }
  .nav { inset: 72px 0 0 0; }
  .brand img { height: 44px; }
  .brand-word b { font-size: 1.22rem; }
  .brand-word span { font-size: .58rem; letter-spacing: .16em; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .hero-stats dt { font-size: 1.08rem; }
  .hero-stats dd { font-size: .72rem; }
  .hero-frame { padding: 8px; }
  .hero-stamp { width: 84px; padding: 8px; left: -6px; bottom: 46px; }
  .hero-art figcaption { padding-left: 84px; }
  .hero-art figcaption a { font-size: .8rem; }
  .split-media figcaption a { font-size: .8rem; }
  .steps { grid-template-columns: 1fr; }
  .bars li { grid-template-columns: 8.5em 1fr 1.6em; gap: 10px; font-size: .92rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .quote-form { grid-template-columns: 1fr; }
  .form-actions { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .cats { gap: 12px; }
  .cat-body { padding: 12px; }
  .cat-body h3 { font-size: 1.02rem; }
  .cat-body p { display: none; }
  .cat-body span { font-size: .62rem; }
  .homes { gap: 10px; }
  .home-tile span { font-size: .88rem; padding: 28px 10px 9px; }
  .home-tile:nth-child(1) span { font-size: 1.1rem; }
  /* Two cards per row so the collection isn't one endless column */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .card:hover { transform: none; box-shadow: none; }
  .card-no { left: 8px; top: 8px; font-size: .78rem; padding: 4px 6px; }
  .card-body { padding: 10px 10px 12px; gap: 2px; }
  .card-cat { font-size: .56rem; letter-spacing: .12em; }
  .card-body h3 { font-size: 1.02rem; }
  .card-spec { font-size: .7rem; }
  .card-price { font-size: 1rem; margin-top: 6px; }
  .card-go { width: 28px; height: 28px; }
  .card-go .i-arrow { width: 14px; height: 14px; }
  .filters { display: none; }
  .filter-select { display: grid; gap: 8px; margin-bottom: 28px; }
  .filter-select span { font: 600 .7rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; }
  .filter-select select {
    width: 100%; min-height: 52px; padding: 12px 44px 12px 14px; border: 1px solid var(--ink); border-radius: var(--radius); background-color: var(--white);
    font: 500 1rem/1 var(--body); color: var(--ink); appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
    background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat;
  }
  .pager { justify-content: center; text-align: center; }
  .pager-count { width: 100%; }
  .pager-nav { justify-content: center; }
  .pager-step { flex: 1 1 40%; order: 2; }
  .pager-num { order: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
