/* powellflooring.com prototype.
   Its own stylesheet on purpose: the platform's app.css is a tool's chrome, and a
   shop window is not a tool. Nothing here is shared, so neither can drag the other
   around later. */
:root{
  --ink:#1a1512; --muted:#6b625a; --line:#e6e0d8; --paper:#faf8f5; --card:#fff;
  --oak:#b4783c; --walnut:#3d2f24;
  --f-d:'Bricolage Grotesque',Georgia,serif; --f-b:'Instrument Sans',system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:var(--f-b);color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased;line-height:1.5}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:1180px;margin:0 auto;padding:0 1.5rem}

.nav{display:flex;align-items:center;gap:1.5rem;padding:1rem 1.5rem;border-bottom:1px solid var(--line);
  background:rgba(250,248,245,.9);backdrop-filter:blur(10px);position:sticky;top:0;z-index:50}
.brand{font-family:var(--f-d);font-weight:800;font-size:1.25rem;letter-spacing:-.02em}
.brand span{color:var(--oak)}
.nav nav{display:flex;gap:1.25rem;margin-left:auto;font-size:.92rem;font-weight:500}
.nav nav a:hover{color:var(--oak)}
.cta{background:var(--walnut);color:#fff;padding:.55rem 1.1rem;border-radius:8px;font-weight:600;font-size:.9rem;white-space:nowrap}
.cta:hover{background:var(--oak)}
.cta.big{display:inline-block;padding:.85rem 1.6rem;font-size:1rem}
.ghost{padding:.85rem 1.4rem;border:1px solid var(--line,#e2dcd3);border-radius:8px;font-weight:600;color:var(--ink,#241c15)}
.hero .ghost,.hero-cta .ghost,.visit .ghost,.dark .ghost,.roomcta .ghost{border-color:rgba(255,255,255,.5);color:#fff}
.ghost:hover{background:rgba(36,28,21,.05)}
.hero .ghost:hover,.hero-cta .ghost:hover,.visit .ghost:hover,.dark .ghost:hover,.roomcta .ghost:hover{background:rgba(255,255,255,.12)}

/* Room scenes anchor to the BOTTOM of the photo, always. The floor is at the bottom of the frame,
   and the floor is the entire subject - center-cropping a room scene crops away the product and
   leaves you advertising somebody's sofa. Jon, 2026-07-25. */
.hero{min-height:min(74vh,620px);display:flex;align-items:center;background-size:cover;background-position:center bottom;
  background-color:var(--walnut);position:relative;color:#fff}
.hero::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(26,21,18,.92),rgba(26,21,18,.55))}
.hero-in{position:relative;z-index:2;max-width:1180px;margin:0 auto;padding:4rem 1.5rem;width:100%}
.hero h1,.hero .slide-h{margin:.67em 0;font-family:var(--f-d);font-size:clamp(2.4rem,6vw,4.4rem);line-height:1.02;letter-spacing:-.03em;font-weight:800;max-width:11ch}
.hero p{margin:1.1rem 0 2rem;font-size:clamp(1rem,1.6vw,1.2rem);max-width:52ch;color:#e8e2da}
.hero-cta{display:flex;gap:.8rem;flex-wrap:wrap}

.stats3{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin:3rem 0;
  padding:1.6rem;background:var(--card);border:1px solid var(--line);border-radius:14px}
.stats3 div{text-align:center}
.stats3 b{display:block;font-family:var(--f-d);font-size:2rem;color:var(--oak);letter-spacing:-.02em}
.stats3 span{font-size:.85rem;color:var(--muted)}

.sec{font-family:var(--f-d);font-size:1.7rem;letter-spacing:-.02em;margin:2.6rem 0 1.1rem}
.page-h{font-family:var(--f-d);font-size:2.4rem;letter-spacing:-.03em;margin:2rem 0 1rem}

.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1.1rem}
.card{background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:transform .15s,box-shadow .15s}
.card:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(61,47,36,.12)}
.card-img{aspect-ratio:4/3;background:var(--line)}
.card-img img{width:100%;height:100%;object-fit:cover}
.card-b{padding:.8rem}
.card-brand{font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600}
.card-n{font-weight:600;margin:.15rem 0 .3rem}
.card-p{font-family:var(--f-d);font-weight:600;color:var(--oak)}
.card-p span{font-family:var(--f-b);font-size:.75rem;color:var(--muted);font-weight:400}

.filters{margin-bottom:1.4rem}
.filters input[type=search]{width:100%;max-width:340px;padding:.6rem .85rem;border:1px solid var(--line);border-radius:8px;
  font-size:.95rem;background:var(--card);font-family:inherit}
.chips{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:.8rem}
.chip{padding:.35rem .8rem;border:1px solid var(--line);border-radius:999px;font-size:.82rem;font-weight:600;
  color:var(--muted);background:var(--card)}
.chip.on,.chip:hover{background:var(--walnut);color:#fff;border-color:var(--walnut)}

.prod{padding-top:1.5rem}
.back{font-size:.85rem;color:var(--muted);font-weight:600}
.back:hover{color:var(--oak)}
.prod-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:2.4rem;margin-top:1rem;align-items:start}
.prod-hero{width:100%;border-radius:14px;aspect-ratio:4/3;object-fit:cover;object-position:center bottom;background:var(--line)}
.eyebrow{font-size:.74rem;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:600}
.prod h1{font-family:var(--f-d);font-size:2.4rem;letter-spacing:-.025em;margin:.2rem 0 .8rem;line-height:1.05}
.price{font-family:var(--f-d);font-size:2rem;color:var(--oak);display:flex;align-items:baseline;gap:.5rem}
.price s{color:var(--muted);font-size:1.2rem}
.price span{font-family:var(--f-b);font-size:.85rem;color:var(--muted);font-weight:400}
.price-note{font-size:.85rem;color:var(--muted);margin:.2rem 0 1.4rem}
.spec{display:grid;grid-template-columns:auto 1fr;gap:.45rem 1.2rem;margin-bottom:1.6rem;font-size:.92rem}
.spec dt{color:var(--muted);font-weight:500}
.spec dd{font-weight:600}
.colors{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.8rem}
.colors figure{background:var(--card);border:1px solid var(--line);border-radius:10px;overflow:hidden}
.colors img,.noimg{aspect-ratio:1;width:100%;object-fit:cover;background:var(--line)}
.colors figcaption{padding:.45rem .5rem;font-size:.76rem;font-weight:600;text-align:center}

.services{margin-top:3rem}
.svc{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.2rem}
.svc div{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:1.3rem}
.svc h3{font-family:var(--f-d);font-size:1.15rem;margin-bottom:.4rem;color:var(--oak)}
.svc p{font-size:.92rem;color:var(--muted);line-height:1.6}

.visit{margin:3.5rem 0;padding:2.2rem;background:var(--walnut);color:#fff;border-radius:16px}
.visit .sec{margin-top:0;color:#fff}
.visit p{max-width:60ch;color:#ddd5cb;margin-bottom:1.4rem}
.visit b{color:#fff}
.visit .cta{background:var(--oak)}
.visit .cta:hover{background:#c98a4b}

.empty{padding:3rem 0;color:var(--muted)}
.empty a{color:var(--oak);font-weight:600}
.foot{border-top:1px solid var(--line);margin-top:4rem;padding:2rem 0;font-size:.85rem;color:var(--muted)}

@media (max-width:820px){
  .prod-grid{grid-template-columns:1fr;gap:1.4rem}
  .nav nav{display:none}
  .hero h1,.hero .slide-h{max-width:none}
}

/* ---------- one color: the page a person actually buys from ---------- */
.eyebrow{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:.4rem}
.col-style{color:var(--muted);margin:.1rem 0 1rem}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}
.col-carton{margin:.15rem 0 .2rem;color:var(--ink);font-weight:600}
/* the picture gallery on a color page: one hero, a strip of the rest, a lightbox for any of them */
.prod-hero{position:relative;cursor:zoom-in;display:block;margin:0;overflow:hidden}
figure.prod-hero img{width:100%;height:100%;object-fit:cover;object-position:center bottom;display:block;aspect-ratio:4/3}
.pg-zoom{position:absolute;right:.7rem;top:.7rem;width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.5);background:rgba(15,12,10,.45);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:zoom-in;backdrop-filter:blur(6px)}.pg-zoom svg{width:16px;height:16px}
.pg-strip{display:flex;gap:.55rem;margin-top:.7rem;overflow-x:auto;scrollbar-width:none;padding-bottom:.2rem}.pg-strip::-webkit-scrollbar{display:none}
.pg-th{flex:none;width:96px;border:2px solid transparent;border-radius:10px;padding:0;background:transparent;cursor:pointer;text-align:center;font:600 .62rem/1.2 'IBM Plex Mono',ui-monospace,monospace;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.pg-th img{width:100%;aspect-ratio:1;object-fit:cover;object-position:center bottom;border-radius:8px;display:block;background:var(--line)}
.pg-th span{display:block;padding:.3rem 0 .1rem}.pg-th.on{border-color:var(--ink,#241c15)}.pg-th.on span{color:var(--ink,#241c15)}
.pg-lb{position:fixed;inset:0;z-index:200;background:rgba(15,12,10,.94);display:flex;align-items:center;justify-content:center}
.pg-lb[hidden]{display:none}.pg-lb img{max-width:94vw;max-height:88vh;object-fit:contain;border-radius:8px}
.pg-lb-x{position:absolute;right:16px;top:16px;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.4);background:transparent;color:#fff;font-size:1.6rem;cursor:pointer}
.pg-lb-n{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.4);background:rgba(0,0,0,.35);color:#fff;font-size:1.8rem;line-height:1;cursor:pointer}.pg-lb-n.prev{left:14px}.pg-lb-n.next{right:14px}
.pg-lb-c{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);color:#fff;font:600 .68rem/1 'IBM Plex Mono',ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase;background:rgba(0,0,0,.45);padding:.45rem .7rem;border-radius:6px}
.pg-mine{margin-top:1rem;border:1px solid var(--line);border-radius:12px;padding:.7rem .8rem;background:#fff}
.pg-mine-h{display:flex;align-items:center;gap:.6rem;margin-bottom:.5rem}.pg-mine-h a{margin-left:auto;font-size:.8rem;font-weight:600;color:var(--ink,#241c15)}
.pg-mine-row{display:flex;gap:.5rem;overflow-x:auto;scrollbar-width:none}.pg-mine-row a{flex:none;position:relative;width:120px;border-radius:8px;overflow:hidden;text-decoration:none}.pg-mine-row img{width:120px;height:80px;object-fit:cover;display:block}
.pg-mine-row span{position:absolute;left:0;right:0;bottom:0;background:rgba(15,12,10,.6);color:#fff;font:600 .62rem/1 'IBM Plex Mono',ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase;padding:.3rem .4rem;text-align:center}
.col-swatch{display:flex;align-items:center;gap:.8rem;margin-top:.9rem;border:1px solid var(--line);border-radius:12px;padding:.6rem .8rem;background:#fff}
.col-swatch img{width:84px;height:84px;object-fit:cover;object-position:center bottom;border-radius:8px;flex:none}
.col-swatch>div{display:flex;flex-direction:column;font-weight:600}
.col-swatch-l{font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600}
.col-cta{display:flex;gap:.8rem;flex-wrap:wrap;align-items:center;margin:1.4rem 0 .5rem}
.small{font-size:.82rem}
/* the carton calculator: a floor is ordered by the box, so answer the question people really ask */
.calc{border:1px solid var(--line);border-radius:12px;padding:.9rem 1rem;margin:1.1rem 0;background:#fff}
.calc-h{font-weight:700;margin-bottom:.6rem}
.calc label{display:inline-flex;flex-direction:column;gap:.25rem;font-size:.8rem;color:var(--muted);margin-right:.8rem;margin-bottom:.6rem}
.calc input,.calc select{font:inherit;font-size:.95rem;padding:.4rem .55rem;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);min-width:9rem}
.calc-out{font-size:.92rem;color:var(--ink);border-top:1px solid var(--line);padding-top:.6rem;line-height:1.6}
.calc-out b{color:var(--accent)}
.colors a.color{display:block;text-decoration:none;color:inherit}
.colors a.color span{display:block;padding:.5rem .6rem;font-size:.85rem;font-weight:600}
.colors a.color:hover{border-color:var(--accent)}
/* the colors the mill photographed in a room: a badge on the swatch, with the heart in it */
.colors a.color{position:relative}
.color-badge{position:absolute;left:7px;top:7px;display:inline-flex;align-items:center;gap:.4rem;background:rgba(15,12,10,.62);color:#fff;border-radius:999px;padding:.2rem .22rem .2rem .6rem;backdrop-filter:blur(6px);font:600 .58rem/1 'IBM Plex Mono',ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase;pointer-events:none}
.color-badge i{font-style:normal}
.color-badge .fav{pointer-events:auto;width:24px;height:24px;border-color:rgba(255,255,255,.45);background:transparent}
.color-badge .fav svg{width:13px;height:13px}

/* The accessible off-screen pattern. Never display:none and never zero opacity - both can be read as
   cloaking, and both hide the text from screen readers too. This keeps it available to everyone who
   benefits from a plain summary, machine or person. */
.direct-answer{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Powered by CutPile. The platform gets a credit on the sites it runs, the way Roomvo and Broadlume
   take one, and it is meant to be found rather than hidden in six point grey. */
.foot .powered{display:flex;flex-direction:row;align-items:center;gap:14px;margin-top:26px;
  padding-top:22px;border-top:1px solid var(--line)}
.foot .powered img{width:46px;height:46px;flex:none;border-radius:8px;display:block}
.foot .powered > div{display:block}
.foot .powered a{text-decoration:none;font-weight:700;font-size:19px;letter-spacing:-.01em;
  color:var(--ink,#241c14);line-height:1.15;display:block}
.foot .powered a:hover{text-decoration:underline}
.foot .powered small{display:block;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:10px;
  font-weight:500;letter-spacing:.14em;text-transform:uppercase;opacity:.6;line-height:1.6;
  margin-bottom:1px}

/* ---------------------------------------------------------------- the catalog
   Types across the top, filters under them, brands as counted chips. The order is deliberate: type
   is the decision somebody arrives having already made, price and color are how they narrow it, and
   brand is the last thing a homeowner cares about even though it is the first thing a dealer site
   usually leads with. */
.cats{display:flex;gap:.35rem;flex-wrap:wrap;margin:1.6rem 0 .2rem}
.cat{padding:.5rem 1rem;border-radius:999px;font-size:.9rem;font-weight:600;text-decoration:none;
  color:var(--ink);border:1px solid var(--line);background:#fff}
.cat:hover{border-color:var(--oak)}
.cat.on{background:var(--walnut);color:#fff;border-color:var(--walnut)}
.page-sub{color:var(--muted);max-width:62ch;margin:0 0 1.4rem;line-height:1.6}
.filters{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;margin-bottom:1rem}
.filters select{padding:.6rem .7rem;border:1px solid var(--line);border-radius:8px;background:#fff;
  font:inherit;font-size:.9rem;color:var(--ink)}
.filters button{padding:.6rem 1.1rem;border:0;border-radius:8px;background:var(--walnut);color:#fff;
  font:inherit;font-size:.9rem;font-weight:600;cursor:pointer}
.filters .wet{display:inline-flex;align-items:center;gap:.4rem;font-size:.9rem;color:var(--ink)}
.chip span{opacity:.6;font-weight:500;font-size:.76rem;margin-left:.15rem}
.count{margin:1.1rem 0 1rem;font-size:.9rem;color:var(--muted)}
.count a{color:var(--oak);font-weight:600}
.pages{display:flex;gap:1rem;align-items:center;justify-content:center;margin:2.4rem 0 0;
  font-size:.92rem;color:var(--muted)}
.pages a{color:var(--ink);font-weight:600;text-decoration:none;border:1px solid var(--line);
  border-radius:8px;padding:.5rem 1rem;background:#fff}
.pages a:hover{border-color:var(--oak)}

/* ---------- the hero, as slides ----------
   Calm on purpose: one crossfade, a slow drift on the photo, no bounce. Every image is a floor we
   sell, anchored to the bottom of the frame because that is where the floor is. */
/* One height for every slide. The section owns it and every slide fills it, so a long message and a
   short one land in the same frame; copy that would overflow is clamped instead of stretching the box. */
.hero-slides{display:block;padding:0;height:min(78vh,660px);overflow:hidden;background:var(--walnut)}
.hero-slides::after{display:none}
.hero-slides .slide{position:absolute;inset:0;display:flex;align-items:center;opacity:0;transition:opacity .9s ease;pointer-events:none}
/* The live slide sets the height, and it is the section's height, so the photograph reaches the
   dots instead of stopping above a bare band of walnut. */
.hero-slides .slide.on{opacity:1;pointer-events:auto}
.hero-slides .slide-h{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hero-slides .slide-copy p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:1.6rem}
.sc-tag{position:absolute;top:-.7rem;left:1rem;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;
  background:var(--oak);color:#fff;padding:.2rem .55rem;border-radius:999px}
.sc-tag:empty{display:none}
.slide-card{position:relative}
.slide-bg{position:absolute;inset:0;background-size:cover;background-position:center bottom;transform:scale(1);transition:transform 9s linear}
.slide.on .slide-bg{transform:scale(1.045)}
.slide-bg::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(26,21,18,.90) 0%,rgba(26,21,18,.62) 55%,rgba(26,21,18,.25) 100%)}
.slide-in{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr);gap:2rem;align-items:center;padding:4.5rem 1.5rem 6rem;width:100%}
.slide-copy{min-width:0}
.slide-eyebrow{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:#d9b98a;margin:0 0 .9rem}
/* Brand marks as the brand drew them, on a small light plate. Inverting a logo that is itself a solid
   blue box turns it into a white rectangle, which is what the first render showed. */
.slide-logo{height:40px;width:auto;margin:0 0 1rem;background:#fff;padding:.35rem .55rem;border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,.25)}
.hero-slides .slide-h{max-width:14ch}
.hero-slides .hero-cta button{font:inherit;cursor:pointer;border:0;line-height:inherit}
.hero-slides .hero-cta .ghost{background:transparent}
.slide-card{display:flex;gap:1rem;align-items:center;justify-self:end;max-width:26rem;padding:1rem;border-radius:16px;
  background:rgba(250,248,245,.96);color:var(--ink);box-shadow:0 24px 60px rgba(0,0,0,.35);text-decoration:none;transition:transform .2s ease}
.slide-card:hover{transform:translateY(-2px)}
.slide-card img{width:116px;height:88px;object-fit:cover;object-position:center bottom;border-radius:10px;flex:none}
.sc-t{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.sc-t b{font-family:var(--f-d);font-size:1.15rem;letter-spacing:-.02em;line-height:1.15}
.sc-t small{color:var(--muted);font-size:.8rem}
.sc-t em{font-style:normal;font-weight:700;color:var(--oak);font-size:1.05rem;margin-top:.25rem}
.sc-t em i{font-style:normal;font-weight:500;color:var(--muted);font-size:.78rem}
.sc-c{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.slide-nav{position:absolute;left:0;right:0;bottom:1.2rem;z-index:3;display:flex;align-items:center;justify-content:center;gap:.9rem}
.slide-arrow{width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(26,21,18,.35);color:#fff;font-size:1.4rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.slide-arrow:hover{background:rgba(255,255,255,.18)}
.slide-dots{display:flex;gap:.55rem}
.dot{width:9px;height:9px;border-radius:50%;border:0;background:rgba(255,255,255,.4);cursor:pointer;padding:0;transition:transform .2s ease,background .2s ease}
.dot.on{background:#fff;transform:scale(1.35)}
@media (max-width:820px){
  .slide-in{grid-template-columns:1fr;gap:1.4rem;padding:3.4rem 1.5rem 4.8rem}
  .slide-card{justify-self:start;max-width:100%}
  .slide-card img{width:92px;height:70px}
  .hero-slides{height:min(88vh,720px)}
  .hero-slides .slide-h{-webkit-line-clamp:2}
  .hero-slides .slide-copy p{-webkit-line-clamp:3}
}
@media (prefers-reduced-motion:reduce){
  .hero-slides .slide{transition:none}
  .slide-bg,.slide.on .slide-bg{transition:none;transform:none}
}

/* ---------- the calculator's help ---------- */
.calc{position:relative}
.calc-lab{display:inline-flex;align-items:center;gap:.35rem}
.help{width:18px;height:18px;border-radius:50%;border:1px solid var(--muted);background:#fff;color:var(--muted);
  font:700 .7rem/1 var(--f-b);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}
.help:hover,.help[aria-expanded="true"]{background:var(--walnut);border-color:var(--walnut);color:#fff}
.pop{position:absolute;left:1rem;right:1rem;top:4.6rem;z-index:5;background:var(--walnut);color:#f4ece0;border-radius:12px;
  padding:1rem 1.1rem;font-size:.86rem;line-height:1.55;box-shadow:0 18px 44px rgba(0,0,0,.28)}
.pop b{color:#fff}
.pop ul{margin:.5rem 0 .6rem 1.1rem;padding:0}
.pop li{margin:.2rem 0}

/* ---------- the visit card with its map ---------- */
.visit.has-map{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:1.6rem;align-items:center;padding:1.6rem}
.visit-copy{padding:.6rem}
.visit-cta{display:flex;gap:.7rem;flex-wrap:wrap}
.visit-map{position:relative;display:block;border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,.14);box-shadow:0 20px 50px rgba(0,0,0,.35)}
.visit-map img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.visit-map:hover img{transform:scale(1.03)}
.visit-map span{position:absolute;left:.9rem;bottom:.9rem;background:rgba(26,21,18,.85);color:#fff;font:600 .8rem/1 var(--f-b);padding:.5rem .8rem;border-radius:999px}
@media (max-width:820px){.visit.has-map{grid-template-columns:1fr}}

/* ---------- popular, said plainly ---------- */
.pop-tag{display:inline-block;font:600 .62rem/1 'IBM Plex Mono',ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase;
  color:#fff;background:var(--oak);padding:.22rem .5rem;border-radius:999px;vertical-align:middle;margin-left:.35rem}
/* the first line under the masthead lines up with the logo's left edge, not the window's */
.pop-line{margin:.6rem 0 0;padding:0 var(--mast-pad,clamp(24px,4.5vw,64px));font-size:.95rem;color:var(--muted)}
.pop-line .pop-tag{margin:0 .4rem 0 0}

/* ---------- hero layouts (v1.31.0) ----------
   What sits beside the message is the slide's layout. copy: nothing. notice: centered. process: the
   three steps on video. compare: two photographs and a handle. form: the short form under test. */
.lay-copy .slide-in,.lay-notice .slide-in{grid-template-columns:1fr}
.lay-copy .slide-h{max-width:16ch}
.lay-copy .slide-copy p{max-width:58ch}
.lay-notice .slide-in{text-align:center;justify-items:center}
.lay-notice .slide-copy{max-width:64ch}
.lay-notice .slide-h{max-width:none;margin-left:auto;margin-right:auto}
.lay-notice .slide-copy p{margin-left:auto;margin-right:auto}
.lay-notice .hero-cta{justify-content:center}
.lay-process .slide-in{grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr)}
.lay-process .slide-copy p{-webkit-line-clamp:4}
.lay-process .slide-bg::after{background:linear-gradient(90deg,rgba(26,21,18,.95) 0%,rgba(26,21,18,.9) 50%,rgba(26,21,18,.82) 100%)}   /* the videos are the picture; the room behind stays a hint */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem;justify-self:end;width:100%;max-width:38rem}
.steps li{min-width:0}
.step-v{position:relative;aspect-ratio:1;border-radius:14px;overflow:hidden;background:#2a2421;box-shadow:0 14px 34px rgba(0,0,0,.35)}
.step-v video{width:100%;height:100%;object-fit:cover;display:block}
.step-n{position:absolute;left:.6rem;top:.6rem;width:1.7rem;height:1.7rem;border-radius:50%;background:rgba(26,21,18,.78);color:#e9c58f;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:.8rem;display:flex;align-items:center;justify-content:center;border:1px solid rgba(233,197,143,.45)}
.steps b{display:block;margin:.65rem 0 .15rem;font-size:.98rem}
.steps small{display:block;font-size:.8rem;line-height:1.35;color:#d7cfc6}
.cmp{position:relative;justify-self:end;width:100%;max-width:34rem;aspect-ratio:4/3;border-radius:16px;overflow:hidden;box-shadow:0 18px 44px rgba(0,0,0,.4);--x:50%}
.cmp img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cmp::before{content:'';position:absolute;top:0;bottom:0;left:var(--x);width:2px;background:#fff;transform:translateX(-1px);z-index:2;pointer-events:none}
.cmp input[type=range]{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;z-index:3}
.cmp-l{position:absolute;bottom:.7rem;z-index:2;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;background:rgba(26,21,18,.7);color:#fff;padding:.3rem .55rem;border-radius:6px}
.cmp-l1{left:.7rem}.cmp-l2{right:.7rem}
.cmp-c,.cmp-prod{position:absolute;top:.7rem;z-index:4;font-size:.78rem;color:#fff;background:rgba(26,21,18,.68);padding:.3rem .55rem;border-radius:6px;text-decoration:none}
.cmp-c{left:.7rem}.cmp-prod{right:.7rem}
.cmp-prod b{font-weight:700}
.slide-form{justify-self:end;width:100%;max-width:26rem;display:grid;gap:.6rem;padding:1.1rem;border-radius:16px;background:rgba(255,255,255,.96);color:#1a1512;box-shadow:0 18px 44px rgba(0,0,0,.35)}
.sf-t{margin:0 0 .2rem;font-weight:700;font-size:1.05rem;color:#1a1512}
.sf-row{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.slide-form input:not([type=hidden]){width:100%;font:inherit;font-size:.95rem;padding:.7rem .8rem;border:1px solid #d8cfc4;border-radius:10px;background:#fff;color:#1a1512}
.slide-form input:focus{outline:none;border-color:#9a6b3f;box-shadow:0 0 0 3px rgba(154,107,63,.18)}
.slide-form .cta{width:100%;text-align:center;justify-content:center}
.sf-fine{font-size:.76rem;color:#6b625a;text-align:center}
.sf-ok{margin:.2rem 0 0;font-weight:600;color:#2f7a3f}
@media(max-width:760px){
  .lay-process .slide-in{grid-template-columns:1fr;gap:1rem}
  .lay-process .slide-copy p{-webkit-line-clamp:2;margin-bottom:1rem}
  .steps{max-width:100%;gap:.6rem}
  .steps small{display:none}
  .steps b{font-size:.85rem;margin-top:.4rem}
  .cmp,.slide-form{max-width:100%}
  .slide-form{padding:.9rem;gap:.5rem}
  .lay-form .slide-copy p{-webkit-line-clamp:2;margin-bottom:.9rem}
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* a color with no room scene: the swatch is the picture */
.prod-swatch{position:relative;display:block;margin:0;overflow:hidden;background:var(--line)}
.prod-swatch img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.prod-swatch figcaption{position:absolute;left:.8rem;right:.8rem;bottom:.8rem;font-size:.78rem;line-height:1.4;color:#fff;background:rgba(26,21,18,.62);padding:.45rem .7rem;border-radius:8px;backdrop-filter:blur(4px)}

/* ---- See it in a room: the feature card on color and stain pages, and the home demo ---- */
.roomcta{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:1.6rem;align-items:center;margin:2rem 0 1.4rem;background:#1f1813;color:#fff;border-radius:22px;overflow:hidden}
.roomcta-pic{position:relative;display:block;min-height:260px;height:100%}
.roomcta-pic img{width:100%;height:100%;object-fit:cover;display:block;min-height:260px}
.roomcta-live{position:absolute;left:14px;top:14px;font:500 .62rem/1 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.14em;text-transform:uppercase;background:rgba(0,0,0,.55);color:#fff;padding:.4rem .6rem;border-radius:6px;border:1px solid rgba(255,255,255,.3)}
.roomcta-live::before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#7ed957;margin-right:.45rem;vertical-align:middle;box-shadow:0 0 8px #7ed957}
.roomcta-copy{padding:1.6rem 1.6rem 1.6rem 0}
.roomcta-copy .mono{color:#f2c98a}
.roomcta-copy h2{font-size:clamp(1.3rem,2.4vw,1.75rem);line-height:1.15;letter-spacing:-.02em;margin:.3rem 0 .7rem;color:#fff}
.roomcta-copy p{color:rgba(255,255,255,.8);max-width:52ch}
.roomcta-act{display:flex;gap:.9rem;align-items:center;flex-wrap:wrap;margin:1rem 0 .4rem}
.roomcta-rooms{display:block;font-size:.8rem;color:rgba(255,255,255,.6);margin-top:.5rem}
.roomcta .ar-try button{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}.roomcta .ar-try button small{color:rgba(255,255,255,.65)}
@media(max-width:820px){.roomcta{grid-template-columns:1fr}.roomcta-copy{padding:0 1.2rem 1.4rem}.roomcta-pic img{min-height:200px;max-height:260px}}
.roomdemo{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:2rem;align-items:center;padding:4rem 0}
.roomdemo-copy .mono{color:#2447d4}
.roomdemo-copy .roomdemo-fine{font-size:.85rem;color:#8a7a66;margin-top:.8rem}
.roomdemo-act{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap;margin-top:1.2rem}
.roomdemo-stage{position:relative;border-radius:22px;overflow:hidden;background:#0f0c0a;min-height:420px;height:min(70vh,560px);box-shadow:0 30px 70px rgba(43,33,26,.25)}
.roomdemo-stage img{width:100%;height:100%;object-fit:cover;display:block}
.roomdemo-stage.live .rh{min-height:420px}
@media(max-width:900px){.roomdemo{grid-template-columns:1fr;gap:1.2rem;padding:3rem 0}.roomdemo-stage{height:60vh;min-height:360px}}

.roomdemo .ghost{color:var(--ink,#241c15);border:1px solid var(--line,#e2dcd3);border-radius:12px;padding:.85rem 1.2rem;text-decoration:none;font-weight:600}
/* v1.46.1: color page. The ghost button on a light page reads in ink, not white; the picture column stays put while the facts scroll; the room feature runs full width below the facts. */
@media(min-width:821px){.prod-grid > :first-child{position:sticky;top:84px}}
.prod .roomcta{margin:2.6rem 0 .6rem}
.prod .roomcta .roomcta-pic img{min-height:300px;max-height:380px}
/* v1.46.1: two cards across on a phone. One card per row made the list twenty screens long and hid the choice. */
@media(max-width:560px){
  .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
  .card-b{padding:.6rem .7rem .7rem}
  .card-n{font-size:.88rem;line-height:1.25}
  .card-brand{font-size:.58rem}
  .card-price{font-size:.95rem}
}
/* v1.47.0: From the job, the newest pictures the crew published */
.fromjob{margin:3.5rem 0 0}
.fromjob-h{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:0 0 1rem}
.fromjob-h .mono{color:#ad5f2d;margin:0 0 .2rem}.fromjob-h h2{margin:0;font-size:clamp(1.4rem,2.6vw,1.9rem);letter-spacing:-.02em}.fromjob-h a{font-weight:600;color:var(--oak,#9a6b3f);text-decoration:none;border-bottom:1px solid currentColor}
.fromjob-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem}
.fromjob-it{position:relative;display:block;aspect-ratio:1;border-radius:14px;overflow:hidden;background:#1e1913;text-decoration:none;color:#fff}
.fromjob-it img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.fromjob-it:hover img{transform:scale(1.03)}
.fromjob-it .play{position:absolute;left:50%;top:50%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:rgba(0,0,0,.5);border:2px solid rgba(255,255,255,.9)}.fromjob-it .play::after{content:'';position:absolute;left:17px;top:12px;border-style:solid;border-width:9px 0 9px 15px;border-color:transparent transparent transparent #fff}
.fromjob-it .cap{position:absolute;left:0;right:0;bottom:0;padding:1.6rem .8rem .7rem;font-size:.8rem;line-height:1.35;background:linear-gradient(to top,rgba(0,0,0,.75),rgba(0,0,0,0))}
@media(max-width:760px){.fromjob-grid{grid-template-columns:1fr 1fr;gap:.6rem}.fromjob-it .cap{display:none}}

/* v1.57.0: video leads the gallery when there is any (our home tour, then the mill's video, then the pictures) */
.prod-hero .pg-video{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;background:#111}
.prod-hero.prod-video{cursor:pointer}
.pg-band{position:absolute;left:0;right:0;top:0;height:15.4%;background:linear-gradient(rgba(16,11,8,.62),rgba(16,11,8,0));display:flex;align-items:center;padding:0 3.4%;color:#f6efe4;pointer-events:none}
.pg-band img{height:29%;margin-right:2.2%;padding-right:2.2%;border-right:1px solid rgba(246,239,228,.3)}
.pg-band b{font-size:clamp(12px,1.8vw,22px);font-weight:700}.pg-band i{font-style:normal;font-size:clamp(9px,1.2vw,14px);opacity:.75;margin-left:.6em}
.pg-band .r{margin-left:auto;text-align:right;font:500 clamp(8px,1vw,12px)/1.5 "IBM Plex Mono",monospace}.pg-band .r small{display:block;opacity:.7}
.pg-vlabel{position:absolute;left:12px;bottom:12px;font:500 10px/1 "IBM Plex Mono",monospace;letter-spacing:.12em;text-transform:uppercase;color:#f6efe4;background:rgba(16,11,8,.62);border-radius:999px;padding:6px 10px;pointer-events:none}
.pg-th{position:relative}.pg-th-l{position:absolute;left:0;right:0;bottom:0;font:500 9px/1.2 "IBM Plex Mono",monospace;letter-spacing:.06em;text-transform:uppercase;color:#f6efe4;background:linear-gradient(transparent,rgba(16,11,8,.8));padding:14px 6px 5px;text-align:left;border-radius:0 0 8px 8px;pointer-events:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pg-th-v::after{content:"";position:absolute;left:50%;top:44%;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;background:rgba(246,239,228,.92) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a1410'><path d='M9 6v12l9-6z'/></svg>") center/14px no-repeat;pointer-events:none}
.pg-lb video{max-width:min(96vw,1400px);max-height:84vh;border-radius:10px;background:#000}
figure.prod-hero .pg-band img{width:auto;height:30%;aspect-ratio:auto;object-fit:contain;object-position:center;border-radius:0}
figure.prod-hero .pg-band b,figure.prod-hero .pg-band i{white-space:nowrap}
figure.prod-hero .pg-band{height:13%}
figure.prod-hero .pg-band .r{display:none}

/* v1.57.2: the HTML overlay is the product card, top left, as it burns in; a faint CutPile mark bottom right */
.pg-band,figure.prod-hero .pg-band{height:auto;top:3.4%;left:3.4%;right:auto;max-width:56%;background:rgba(247,241,231,.94);color:#1a1410;border-radius:12px;padding:.7rem .9rem .75rem;display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.pg-band img,figure.prod-hero .pg-band img{height:22px;width:auto;margin:0 0 .35rem;padding:0;border:0;filter:none}
.pg-band b,figure.prod-hero .pg-band b{font-size:clamp(14px,1.9vw,22px);line-height:1.1;white-space:normal}
.pg-band i,figure.prod-hero .pg-band i{margin:0;font-size:clamp(10px,1.2vw,13px);opacity:.7;white-space:normal}
.pg-band .r{display:none}
.prod-hero.prod-video::after{content:"";position:absolute;right:12px;bottom:12px;width:22px;height:22px;background:url("/assets/cutpile-logo.png") center/contain no-repeat;opacity:.45;pointer-events:none}

/* The home tour slide: the pure master fills the frame, a scrim keeps the headline legible, the card follows the rooms. */
.slide-vid{overflow:hidden;background-color:#2a211b}.slide-vid video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center bottom}
.hero-slides .slide.lay-product .slide-vid-still{transform:none;transition:none}
.hero-slides .slide.lay-tour .slide-bg{transform:none;transition:none}
.slide-scrim{position:absolute;inset:0;background:linear-gradient(100deg,rgba(20,14,10,.72) 0%,rgba(20,14,10,.48) 38%,rgba(20,14,10,.08) 68%,rgba(20,14,10,0) 100%),linear-gradient(0deg,rgba(20,14,10,.55) 0%,rgba(20,14,10,0) 40%);pointer-events:none}
.slide-tour{position:relative;display:flex;align-items:center;gap:.9rem;background:rgba(247,241,231,.94);color:var(--ink);border-radius:14px;padding:.7rem .85rem .7rem .7rem;text-decoration:none;box-shadow:0 10px 30px rgba(0,0,0,.28);transition:transform .25s ease,opacity .35s ease;justify-self:end;max-width:min(100%,420px)}
.slide-tour.swap{opacity:0;transform:translateY(6px)}
.slide-tour img{width:96px;height:72px;object-fit:cover;object-position:center bottom;border-radius:10px;flex:none;background:#e8e0d4}
.slide-tour .st-room{position:absolute;left:.85rem;top:-.75rem;background:var(--ink);color:#f6efe4;font:500 .62rem/1 var(--f-m,'IBM Plex Mono',monospace);letter-spacing:.14em;text-transform:uppercase;padding:.38rem .6rem;border-radius:999px}
.slide-tour .sc-t b{font-size:1.1rem}.slide-tour .sc-t em{margin-top:.15rem}
.slide-tour .st-dots{position:absolute;right:.9rem;bottom:.55rem;display:flex;gap:.3rem}.slide-tour .st-dots i{width:5px;height:5px;border-radius:50%;background:rgba(26,20,16,.2)}.slide-tour .st-dots i.on{background:var(--oak)}
.slide-mark{position:absolute;right:1.4rem;bottom:1.2rem;width:22px;height:22px;opacity:.55;pointer-events:none;z-index:3}
@media(max-width:760px){.slide-tour{justify-self:start;max-width:100%}.slide-tour img{width:76px;height:58px}.slide-scrim{background:linear-gradient(180deg,rgba(20,14,10,.7) 0%,rgba(20,14,10,.35) 55%,rgba(20,14,10,.75) 100%)}}
/* an empty card band on a still image drew as a cream disc at the hero's corner: hidden means hidden, whatever the display rule says */
.pg-band[hidden],.pg-vlabel[hidden]{display:none!important}

/* ---- samples: the banner a scanned panel opens, the showroom line, the card badge ---- */
.smp{margin:.6rem 0 1.2rem;background:#fbf6ee;border:1px solid #e6d9c6;border-radius:14px;padding:14px 16px}
.smp-h{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .8rem;margin-bottom:.35rem}
.smp-h b{font-size:1.05rem;letter-spacing:-.01em}
.smp-tag{font:600 10.5px/1 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:#8f4c23;background:#f3e4d6;border-radius:999px;padding:6px 9px}
.smp p{margin:.3rem 0 .7rem;color:#5a4a3c;max-width:60ch}
.smp-acts{display:flex;flex-wrap:wrap;gap:.5rem}
.smp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:999px;border:0;background:#8f4c23;color:#fff;font-weight:600;font-size:14px;font-family:inherit;text-decoration:none;cursor:pointer}
.smp-btn.ghost{background:#fff;color:#1a1410;border:1px solid #d9ccb8}
.smp-err{color:#a8321f;font-size:.9rem}
.smp-job{margin-top:.6rem}.smp-job input{width:100%;border:1px solid #d9ccb8;border-radius:10px;padding:10px 12px;font:inherit;font-size:16px}
.smp-res{display:grid;gap:4px;margin-top:6px}.smp-res button{text-align:left;border:1px solid #e6d9c6;background:#fff;border-radius:10px;padding:9px 12px;font:inherit;cursor:pointer}
.smp-note{font-size:.88rem;color:#5a4a3c;margin-top:.4rem}
.smp-after{margin-top:.9rem}.smp-after-h{font:600 10.5px/1 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:#7a6a5a;margin-bottom:.4rem}
.smp-after-row{display:flex;gap:6px;overflow-x:auto}.smp-after-row img{width:96px;height:96px;object-fit:cover;border-radius:10px;display:block}
.smp-line{display:flex;align-items:center;gap:.5rem;color:#5a4a3c;font-size:.92rem;margin:.1rem 0 .9rem}
.smp-dot{width:9px;height:9px;border-radius:50%;background:#2f6b33;box-shadow:0 0 0 3px #e3f2e4;flex:none}
.card-smp{display:inline-block;margin-left:.4rem;font:600 9.5px/1 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase;color:#2f6b33;background:#e3f2e4;border-radius:999px;padding:4px 7px;vertical-align:middle}
/* ---- the staff layer: a bar on every page when a staff member is signed in ---- */
.stf{position:fixed;left:0;right:0;bottom:0;z-index:80;background:#1a1410;color:#f4ece0;display:flex;align-items:center;gap:.5rem;padding:9px 14px calc(9px + env(safe-area-inset-bottom));font-size:13.5px;box-shadow:0 -8px 24px rgba(0,0,0,.25);overflow-x:auto}
.stf b{font:600 10.5px/1 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:#c9a27a;margin-right:.2rem;white-space:nowrap}
.stf button,.stf a.stf-b{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#f4ece0;border-radius:999px;padding:7px 12px;font-weight:600;font-size:12.5px;font-family:inherit;cursor:pointer;text-decoration:none;white-space:nowrap}
.stf button:hover{background:rgba(255,255,255,.16)}
.stf .stf-x{margin-left:auto;border:0;background:transparent;font-size:18px;line-height:1;padding:4px 8px}
.stf-panel{position:fixed;left:50%;bottom:calc(64px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(520px,94vw);background:#fff;color:#1a1410;border-radius:16px;box-shadow:0 18px 48px rgba(0,0,0,.3);padding:14px 16px;z-index:81}
.stf-panel h3{margin:0 0 .5rem;font-size:1rem}
.stf-panel input,.stf-panel textarea{width:100%;border:1px solid #d9ccb8;border-radius:10px;padding:10px 12px;font:inherit;font-size:15px;margin-bottom:.5rem;box-sizing:border-box}
.stf-panel .stf-res{display:grid;gap:4px;max-height:220px;overflow:auto}.stf-panel .stf-res button{text-align:left;border:1px solid #e6d9c6;background:#fbf6ee;border-radius:10px;padding:9px 12px;font:inherit;cursor:pointer}
.stf-panel .stf-row{display:flex;gap:.5rem;justify-content:flex-end;margin-top:.4rem}.stf-panel .stf-row button{border-radius:999px;padding:9px 14px;border:0;background:#8f4c23;color:#fff;font-weight:600;font-size:13px;font-family:inherit;cursor:pointer}.stf-panel .stf-row button.ghost{background:#f3ece2;color:#1a1410}
.stf-note{font-size:.85rem;color:#5a4a3c;margin-top:.4rem;min-height:1.2em}
body[data-staff-bar]{padding-bottom:70px}

/* ---------- v1.72.0: the finder. Type first, then brand, then width, then the rest ----------
   Every row is a rail of toggles with true counts. A type is a switch, not a page: wood, vinyl and
   laminate are on until switched off, glue-down vinyl is off until asked for and then stands alone. */
.finder{margin:.2rem 0 .6rem;border-top:1px solid var(--line)}
.finder-row{display:grid;grid-template-columns:64px 1fr;align-items:center;gap:.6rem;padding:.55rem 0;border-bottom:1px solid var(--line)}
.finder-lab{font:600 .62rem/1 'IBM Plex Mono',ui-monospace,monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.rail{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center;min-width:0}
.finder .chips{margin-top:0}
.tog{display:inline-flex;align-items:center;gap:.45rem;padding:.42rem .85rem .42rem .6rem;border:1px solid var(--line);border-radius:999px;background:#fff;
  font-size:.86rem;font-weight:600;color:var(--ink);white-space:nowrap;transition:border-color .12s,background .12s,color .12s}
.tog i{width:14px;height:14px;border-radius:50%;border:1.5px solid #c9bfb3;background:#fff;flex:none;position:relative;transition:background .12s,border-color .12s}
.tog i::after{content:'';position:absolute;left:4px;top:1.5px;width:3.5px;height:7px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg) scale(0);transition:transform .15s}
.tog.on{border-color:var(--walnut);background:#fbf7f1}
.tog.on i{background:var(--walnut);border-color:var(--walnut)}
.tog.on i::after{transform:rotate(45deg) scale(1)}
.tog:hover{border-color:var(--oak)}
.tog span{font-size:.74rem;font-weight:500;color:var(--muted)}
.tog-group{display:inline-flex;align-items:center;gap:.3rem;padding-right:.5rem;border-right:1px solid var(--line);margin-right:.2rem}
.tog.sub{padding:.32rem .7rem .32rem .5rem;font-size:.8rem;border-style:dashed}
.tog.sub.on{border-style:solid}
.tog.ask{border-style:dashed;color:var(--muted);margin-left:.3rem}
.tog.ask.on{border-style:solid;background:var(--walnut);color:#fff}
.tog.ask.on i{background:#fff;border-color:#fff}.tog.ask.on i::after{border-color:var(--walnut)}
.tog.ask.on span{color:rgba(255,255,255,.75)}
.filters.finder-row{margin:0}
.filters .rail input[type=search]{max-width:240px;flex:1 1 180px}
.count b{color:var(--ink);font-weight:700}
.count .reset{margin-left:.2rem;padding:.2rem .6rem;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-size:.8rem}
.count .reset:hover{border-color:var(--oak);color:var(--oak)}

/* the tags: one system, everywhere a floor is pictured */
.tags{position:absolute;left:8px;top:8px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:4px;pointer-events:none}
.tag{display:inline-block;font:600 .6rem/1 'IBM Plex Mono',ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase;padding:.3rem .5rem;border-radius:999px;
  background:rgba(15,12,10,.72);color:#fff;backdrop-filter:blur(4px);pointer-events:auto;white-space:nowrap}
.tag-glue{background:#1a1512;color:#f2c98a;border:1px solid rgba(242,201,138,.45)}
.tag-sale{background:#8f2d1f;color:#fff}
.tag-new{background:#2f6b33;color:#fff}
.tag-showroom{background:#e3f2e4;color:#2f6b33}
.tag-popular{background:var(--oak);color:#fff}
.tags-inline{position:static;flex-direction:row;display:inline-flex;margin-left:.5rem;vertical-align:middle;gap:.3rem}
.tags-inline .tag{backdrop-filter:none}
.colors a.color span .tag{font-size:.52rem;padding:.22rem .4rem;margin-left:.3rem;vertical-align:middle}
.card-meta{font-size:.74rem;color:var(--muted);margin:0 0 .35rem}

@media (max-width:820px){
  .finder-row{grid-template-columns:1fr;gap:.3rem;padding:.5rem 0}
  .finder-lab{padding-left:.1rem}
  .rail{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:.15rem .1rem .25rem;margin:0 -1.5rem;padding-left:1.5rem;padding-right:1.5rem;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  .rail::-webkit-scrollbar{display:none}
  .rail > *{scroll-snap-align:start;flex:none}
  .tog{min-height:38px}.chip{min-height:36px;display:inline-flex;align-items:center}
  .filters .rail input[type=search]{max-width:none;min-width:170px}
  .filters .rail select{flex:none}
  .tags{left:6px;top:6px;gap:3px}.tag{font-size:.52rem;padding:.26rem .42rem;letter-spacing:.1em}
}

@media (max-width:820px){
  .cats{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:1rem -1.5rem .2rem;padding:0 1.5rem .2rem}
  .cats::-webkit-scrollbar{display:none}.cat{flex:none}
  .page-h{font-size:1.9rem;margin:1.2rem 0 .5rem}
  .page-sub{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.92rem;margin-bottom:.6rem}
  .rail,.cats{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 34px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 34px),transparent)}
}

/* v1.72.1: the process slide's two calls to action sit on one row; the copy column gets the room for it */
@media(min-width:821px){
  .lay-process .slide-in{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}
  .hero-slides .hero-cta{flex-wrap:nowrap}
  .hero-slides .hero-cta .cta,.hero-slides .hero-cta .ghost{white-space:nowrap;padding-left:1.25rem;padding-right:1.25rem}
}
