/* Self-hosted fonts (Fontsource, SIL Open Font License), Latin subset only. */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/barlow-condensed-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/barlow-condensed-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }
:root {
  --paper: #f4f3ef;
  --paper-2: #ecebe6;
  --white: #fcfcfa;
  --ink: #151515;
  --ink-2: #333230;
  --muted: #6b6964;
  --line: #d8d6cf;
  --pine: #d99a45;
  --pine-dark: #9c6120;
  --pine-soft: #f3dfbf;
  --dark: #151515;
  --dark-2: #232322;
  --dark-muted: #a3a09a;
  --wa: #1c9d4f;
  --wa-dark: #16833f;
  --grid: rgba(21,21,21,.055);

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1260px;
  --gutter: clamp(16px, 4vw, 44px);
  --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.6 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: 3px solid var(--pine); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .95; letter-spacing: .005em; margin: 0 0 .45em; }
h1 { font-size: clamp(3.2rem, 8vw, 6.6rem); font-weight: 800; }
h1 span, h2 span { color: var(--pine-dark); }
h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h3 { font-size: 1.45rem; font-weight: 600; letter-spacing: .02em; line-height: 1.05; }
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(--pine); }

.eyebrow { font: 500 .8rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--pine-dark); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--pine); }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 32em; }
.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: 2px solid transparent; border-radius: 2px; font: 700 1.05rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-lg { min-height: 58px; padding: 16px 30px; font-size: 1.12rem; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { box-shadow: 4px 4px 0 var(--pine); }
.btn-wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-pine { background: var(--pine); color: var(--ink); }
.btn-pine:hover { box-shadow: 4px 4px 0 var(--paper); }
.btn-line { border-color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--pine); }
.btn-line-light { border-color: var(--paper); color: var(--paper); }
.btn-line-light:hover { background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--pine); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 700 1.05rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--pine); padding-bottom: 5px; }
.link-arrow:hover .i-arrow { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(244,243,239,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--ink); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-word { display: flex; flex-direction: column; font-family: var(--display); text-transform: uppercase; line-height: 1; }
.brand-word b { font-size: 1.6rem; font-weight: 800; letter-spacing: .02em; }
.brand-word span { font-size: .78rem; font-weight: 600; letter-spacing: .24em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font: 600 1.08rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.nav-cta):hover, .nav a[aria-current] { border-bottom-color: var(--pine); color: var(--ink); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px !important; background: var(--ink); color: var(--paper) !important; border: 0 !important; }
.nav-cta:hover { background: var(--pine); color: var(--ink) !important; }
.nav-cta .i { width: 18px; height: 18px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 2px solid var(--ink); background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20.5px; transform: rotate(-45deg); }

/* Blueprint grid backgrounds */
.hero, .page-head, .section-paper {
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Ruler divider */
.ruler {
  height: 30px; background-color: var(--pine); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  background-image:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 100px),
    repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 50px),
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 10px);
  background-size: 100% 26px, 100% 16px, 100% 9px; background-repeat: repeat-x; background-position: 0 0;
}

/* Hero */
.hero { padding: clamp(32px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 72px); 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: 32px; margin: 0; padding-top: 22px; border-top: 2px solid var(--ink); }
.hero-stats dt { display: flex; align-items: center; gap: 6px; font: 700 1.6rem/1 var(--display); text-transform: uppercase; }
.hero-stats dd { margin: 4px 0 0; font: 400 .8rem/1.3 var(--mono); color: var(--muted); }
.hero-art { margin: 0; }
.hero-media { position: relative; background: var(--paper-2); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--pine); }
.hero-media img { width: 100%; }
.hero-art figcaption { margin-top: 22px; }
.hero-art figcaption a { display: flex; justify-content: space-between; gap: 16px; text-decoration: none; font: 500 .85rem/1.3 var(--mono); padding: 12px 0; border-bottom: 1px solid var(--line); }
.hero-art figcaption strong { font: 700 1.3rem/1 var(--display); }

/* Dimension overlay */
.dims { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dims-lines { stroke: var(--ink); stroke-width: var(--sw); fill: none; }
.dims text { font-family: var(--mono); font-weight: 500; fill: var(--ink); }
.js .dims .dims-lines line { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.js .is-in .dims .dims-lines line, .js .hero .dims .dims-lines line, .js .product .dims .dims-lines line { stroke-dashoffset: 0; }

/* Sections */
.section { padding: clamp(72px, 10vw, 124px) 0; }
.section-flush { padding-top: 0; }
.section-dark { background: var(--dark); color: var(--paper); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: clamp(32px, 5vw, 56px); padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.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: 2px solid var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card[hidden] { display: none; }
.card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.card-top { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 2px solid var(--ink); font: 500 .76rem/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); border-bottom: 2px solid var(--ink); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-alt { opacity: 0; transition: opacity .35s var(--ease); z-index: 2; }
.card:hover .card-alt { opacity: 1; }
.card-body { padding: 18px 16px 18px; display: grid; gap: 6px; }
.card-body h3 { margin: 0; font-size: 1.55rem; }
.card-spec { margin: 0; font: 400 .8rem/1.3 var(--mono); color: var(--muted); }
.card-price { margin: 6px 0 0; display: flex; align-items: center; justify-content: space-between; font: 700 1.5rem/1 var(--display); }
.card-go { display: grid; place-items: center; width: 36px; height: 36px; background: var(--pine); border: 2px solid var(--ink); transition: background .15s; }
.card:hover .card-go { background: var(--ink); color: var(--paper); }

/* Split */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split-media { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; align-items: end; }
.photo { margin: 0; border: 2px solid var(--paper); position: relative; }
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-b img { aspect-ratio: 1; }
.photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--pine); color: var(--ink); font: 500 .74rem/1 var(--mono); padding: 8px 10px; text-transform: uppercase; }
.split-copy p { color: var(--dark-muted); font-size: 1.1rem; }
.split-copy h2 { color: var(--paper); }
.ticks { list-style: none; margin: 24px 0 32px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; background: var(--pine); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.cat { display: grid; grid-template-columns: 42% 1fr; text-decoration: none; border: 2px solid var(--ink); background: var(--white); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.cat:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--pine); }
.cat-media { background: var(--paper-2); border-right: 2px solid var(--ink); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.cat-body { padding: 18px 18px 20px; display: flex; flex-direction: column; }
.cat-body h3 { margin-bottom: 8px; }
.cat-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.cat-body span { display: flex; align-items: center; gap: 6px; font: 500 .8rem/1 var(--mono); text-transform: uppercase; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 2px solid var(--ink); background: var(--white); }
.steps li { padding: 28px 24px 32px; border-right: 2px solid var(--ink); }
.steps li:last-child { border-right: 0; }
.step-n { display: block; font: 800 3.4rem/1 var(--display); color: var(--pine); -webkit-text-stroke: 2px var(--ink); margin-bottom: 18px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Reviews */
.reviews { border-top: 2px solid var(--ink); }
.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: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--pine); padding: clamp(24px, 4vw, 40px); }
.score-top { display: flex; align-items: center; gap: 18px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 2px solid var(--ink); }
.score-top .muted { display: block; font: 400 .82rem/1 var(--mono); margin-top: 6px; }
.score-num { font: 800 4.6rem/.85 var(--display); }
.stars { display: flex; gap: 2px; }
.stars .i { width: 22px; height: 22px; }
.score-h { font: 500 .78rem/1 var(--mono); 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: 14px; border: 2px solid var(--ink); background: var(--paper); }
.bar i { display: block; height: 100%; width: var(--w); background: var(--pine); transform-origin: left; transition: transform 1.2s var(--ease) .3s; }
.js .score:not(.is-in) .bar i { transform: scaleX(0); }
.bar-n { font: 500 .9rem/1 var(--mono); text-align: right; }

/* CTA */
.cta { background: var(--dark); color: var(--paper); padding: clamp(72px, 10vw, 120px) 0; border-top: 10px solid var(--pine); }
.cta-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.cta h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin-bottom: 16px; }
.cta p { color: var(--dark-muted); font-size: 1.12rem; max-width: 30em; margin: 0; }
.cta-actions { display: grid; gap: 12px; }

/* Footer */
.site-footer { background: var(--dark-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 #3a3937; }
.footer-brand img { width: 190px; margin-bottom: 18px; }
.footer-h { font: 500 .78rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--pine); 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: 400 .8rem/1.4 var(--mono); }
.footer-bottom p { margin: 0; }
.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: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.wa-float:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.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; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--pine); }
.page-head-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.page-head-media figcaption { position: absolute; left: 0; bottom: 0; background: var(--pine); font: 500 .74rem/1 var(--mono); padding: 8px 10px; text-transform: uppercase; }
.page-404 { min-height: 60vh; display: flex; align-items: center; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 18px; border: 2px solid var(--ink); background: var(--white); cursor: pointer; font: 600 1.05rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; transition: background .15s, color .15s; }
.chip span { font: 400 .76rem/1 var(--mono); color: var(--muted); }
.chip:hover { background: var(--pine-soft); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] span { color: var(--pine); }

/* Product */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; padding: 28px 0; font: 400 .82rem/1 var(--mono); color: var(--muted); text-transform: uppercase; }
.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: 2px solid var(--ink); 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; }
.gallery-main:not(.is-studio) .dims { display: none; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.thumb { padding: 0; border: 2px solid var(--line); 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(--ink); box-shadow: 3px 3px 0 var(--pine); }
.product-info { position: sticky; top: 104px; }
.product-info h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin-bottom: 10px; }
.product-price { font: 800 2.4rem/1 var(--display); margin-bottom: 20px; }
.product-summary { color: var(--ink-2); font-size: 1.08rem; }
.specs { width: 100%; border-collapse: collapse; margin: 24px 0; border: 2px solid var(--ink); background: var(--white); font-size: .95rem; }
.specs caption { text-align: left; font: 500 .76rem/1 var(--mono); text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 10px 14px; 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: 500 .8rem/1.4 var(--mono); text-transform: uppercase; color: var(--muted); width: 8.5em; border-right: 1px solid var(--line); }
.product-actions { display: grid; gap: 10px; }
.product-info .ticks li::before { background: var(--pine-dark); }
.trust { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); padding-top: 18px; border-top: 2px solid var(--ink); }
.trust strong { color: var(--ink); }
.buy-bar { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(21,21,21,.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: 2px solid var(--paper); 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: 2px solid var(--ink); }
.measure-list strong { display: grid; place-items: center; font: 800 2.6rem/1 var(--display); background: var(--pine); border-right: 2px solid var(--ink); }
.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.08rem; }
.quote-form { background: var(--white); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--pine); 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: 500 .78rem/1 var(--mono); text-transform: uppercase; }
.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: 2px solid var(--ink); border-radius: 0; padding: 12px 14px; }
.dims-set input { font-family: var(--mono); }
.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: #fff; box-shadow: 3px 3px 0 var(--pine); }

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

/* Responsive */
@media (max-width: 1100px) {
  .cats { grid-template-columns: 1fr; }
  .cat { grid-template-columns: 200px 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 80px 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { font-size: 2.2rem; padding: 18px 0; border-bottom: 2px solid var(--ink); }
  .nav-cta { margin-top: 28px; justify-content: center; font-size: 1.2rem !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)); }
  .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: 2px solid var(--ink); }
  .buy-bar div { display: grid; min-width: 0; }
  .buy-bar strong { font: 700 1.2rem/1.1 var(--display); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar div span { font: 500 .85rem/1.2 var(--mono); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner { height: 70px; }
  .nav { inset: 70px 0 0 0; }
  .brand img { height: 36px; }
  .brand-word b { font-size: 1.3rem; }
  .brand-word span { font-size: .64rem; 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.2rem; }
  .hero-stats dd { font-size: .7rem; }
  .hero-media { box-shadow: 6px 6px 0 var(--pine); }
  .grid { grid-template-columns: 1fr; }
  .split-media { grid-template-columns: 1fr 1fr; }
  .cat { grid-template-columns: 120px 1fr; }
  .cat-body p { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 2px solid var(--ink); }
  .steps li:last-child { border-bottom: 0; }
  .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; box-shadow: 6px 6px 0 var(--pine); }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .dims .dims-lines line { stroke-dashoffset: 0; }
}

/* Quote form: honeypot, actions, status */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.quote-form { position: relative; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-status { margin: 0; padding: 14px 16px; border: 2px solid var(--ink); font-weight: 500; }
.form-status.is-ok { background: #e3f3e8; }
.form-status.is-err { background: #fbe4dc; }
@media (max-width: 600px) { .form-actions { grid-template-columns: 1fr; } }

/* Eight categories: vertical tiles in four columns */
.cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cat { grid-template-columns: 1fr; }
.cat-media { border-right: 0; border-bottom: 2px solid var(--ink); }
.cat-body p { font-size: .9rem; }
@media (max-width: 1100px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cat { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .cats { grid-template-columns: 1fr 1fr; gap: 12px; } .cat { grid-template-columns: 1fr; } .cat-body { padding: 12px; } .cat-body h3 { font-size: 1.15rem; } }

/* Mobile menu fix: backdrop-filter makes the header the containing block for the
   position:fixed menu, which then collapses to the header's height with no background. */
@media (max-width: 900px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav { overflow-y: auto; }
  .site-header { background: var(--paper); }
}

/* Phones: filters as one swipeable row instead of a wall of chips */
@media (max-width: 600px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* Collection pagination */
.pager { margin-top: 44px; padding-top: 24px; border-top: 2px solid var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pager[hidden] { display: none; }
.pager-count { margin: 0; font: 500 .82rem/1 var(--mono); text-transform: uppercase; color: var(--muted); }
.pager-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.pager button { min-width: 46px; min-height: 46px; padding: 0 14px; border: 2px solid var(--ink); background: var(--white); cursor: pointer; font: 700 1.1rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; transition: background .15s, color .15s, box-shadow .15s; }
.pager button:hover:not([disabled]) { background: var(--pine-soft); }
.pager button[aria-current="page"] { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--pine); }
.pager button[disabled] { opacity: .35; cursor: default; }
@media (max-width: 600px) {
  .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; }
}

/* Phones: two cards per row so the collection isn't one endless column */
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .card:hover { transform: none; box-shadow: none; }
  .card-top { padding: 7px 8px; font-size: .64rem; }
  .card-top span:last-child { display: none; }
  .card-body { padding: 10px 10px 12px; gap: 4px; }
  .card-body h3 { font-size: 1.08rem; }
  .card-spec { font-size: .66rem; }
  .card-price { font-size: 1.12rem; }
  .card-go { width: 28px; height: 28px; }
  .card-go .i-arrow { width: 14px; height: 14px; }
  .card .dims text { font-size: 38px; }
}

/* Category dropdown replaces the chip row on phones */
.filter-select { display: none; }
@media (max-width: 600px) {
  .filters { display: none; }
  .filter-select { display: grid; gap: 8px; margin-bottom: 28px; }
  .filter-select span { font: 500 .78rem/1 var(--mono); text-transform: uppercase; }
  .filter-select select {
    width: 100%; min-height: 54px; padding: 12px 44px 12px 14px; border: 2px solid var(--ink); border-radius: 0; background-color: var(--white);
    font: 700 1.2rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; 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;
    box-shadow: 4px 4px 0 var(--pine);
  }
}

/* Workshop film */
.film-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.film-media { margin: 0; position: relative; max-width: 400px; justify-self: center; width: 100%; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--pine); background: var(--ink); }
.film-video { display: block; width: 100%; aspect-ratio: 540 / 958; object-fit: cover; }
.film-media figcaption { position: absolute; left: 0; bottom: 0; background: var(--pine); font: 500 .74rem/1 var(--mono); padding: 8px 10px; text-transform: uppercase; }
.film-toggle { position: absolute; right: 10px; bottom: 10px; width: 42px; height: 42px; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; display: grid; place-items: center; }
.film-toggle span { width: 12px; height: 14px; border-left: 4px solid var(--ink); border-right: 4px solid var(--ink); }
.film-toggle[aria-pressed="true"] span { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--ink); }
.film-copy p:not(.eyebrow) { font-size: 1.1rem; color: var(--ink-2); }
.film-copy .ticks li::before { background: var(--pine-dark); }
@media (max-width: 900px) { .film-grid { grid-template-columns: 1fr; } .film-media { max-width: 320px; } }

/* Address / directions */
.cta-addr { margin: 2px 0 0 !important; font: 500 .8rem/1.4 var(--mono) !important; text-transform: uppercase; color: var(--dark-muted); }
.visit { display: flex; gap: 14px; align-items: flex-start; margin: 24px 0; padding: 18px; background: var(--white); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--pine); }
.visit > .i { width: 26px; height: 26px; color: var(--pine-dark); margin-top: 2px; }
.visit div { display: grid; gap: 4px; }
.visit strong { font: 700 1.25rem/1 var(--display); text-transform: uppercase; }
.visit span { color: var(--ink-2); margin-bottom: 8px; }
.visit .link-arrow { justify-self: start; }

/* Projects: home teaser */
.teaser-lede { margin: -20px 0 32px; }
.teaser-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.teaser { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 2px solid var(--ink); background: var(--paper-2); }
.teaser img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.teaser:hover img { transform: scale(1.05); }
.teaser span { position: absolute; left: 0; bottom: 0; background: var(--pine); color: var(--ink); font: 500 .74rem/1 var(--mono); padding: 8px 10px; text-transform: uppercase; }
@media (max-width: 600px) { .teaser-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .teaser span { font-size: .62rem; padding: 6px 7px; } }

/* Projects page: masonry + viewer */
.masonry { columns: 3 300px; column-gap: 18px; }
.proj { break-inside: avoid; margin: 0 0 18px; border: 2px solid var(--ink); background: var(--white); }
.proj[hidden] { display: none; }
.proj button { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; overflow: hidden; }
.proj img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.proj button:hover img { transform: scale(1.03); }
.proj figcaption { padding: 10px 12px; font: 500 .78rem/1.35 var(--mono); text-transform: uppercase; border-top: 2px solid var(--ink); }
@media (max-width: 600px) { .masonry { columns: 2; column-gap: 10px; } .proj { margin-bottom: 10px; } .proj figcaption { font-size: .64rem; padding: 7px 8px; } }
.proj-lightbox { grid-template-columns: auto 1fr auto; gap: 8px; }
.proj-lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.proj-lightbox img { max-height: 84vh; max-width: 100%; border: 2px solid var(--paper); }
.proj-lightbox figcaption { color: var(--paper); font: 500 .85rem/1.3 var(--mono); text-transform: uppercase; text-align: center; }
.lb-prev, .lb-next { width: 52px; height: 52px; border: 2px solid var(--paper); background: none; color: var(--paper); font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-prev:hover, .lb-next:hover { background: var(--pine); color: var(--ink); border-color: var(--pine); }
@media (max-width: 600px) { .proj-lightbox { grid-template-columns: 1fr; padding: 60px 12px 88px; } .proj-lightbox img { max-height: 70vh; } .lb-prev, .lb-next { position: absolute; bottom: 16px; } .lb-prev { left: 16px; } .lb-next { right: 16px; } }

/* Category pages: links to the other categories */
.cat-links { margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--ink); }
.cat-links div { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-links a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 2px solid var(--ink); background: var(--white); text-decoration: none; font: 600 1rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.cat-links a:hover { background: var(--pine-soft); }
.page-head .crumbs { padding: 0 0 18px; }

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