/* =========================================================================
   RHM Interiors — style.css
   Layout language: butted panels. Sections alternate mist / board and are
   separated by a single hairline join, the way carcasses meet in a run.
   ========================================================================= */

/* ------------------------------------------------------------------ fonts */
@font-face{
  font-family:Fraunces;
  src:url(/assets/fonts/fraunces-var.woff2) format("woff2-variations");
  font-weight:100 900;font-style:normal;font-display:swap;
}
@font-face{font-family:"Public Sans";src:url(/assets/fonts/public-sans-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Public Sans";src:url(/assets/fonts/public-sans-500.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Public Sans";src:url(/assets/fonts/public-sans-600.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}

/* ----------------------------------------------------------------- tokens */
:root{
  --ink:#1C1611;
  --bark:#4A3226;
  --board:#E4DCCF;
  --mist:#F2F0EB;
  --brass:#B0873E;
  --sage:#6E7A63;
  --line:#CFC5B4;
  --white:#FBFAF7;
  --muted:#5C5045;

  --shell:min(1280px,100% - 2.5rem);
  --gut:clamp(1.25rem,4vw,3rem);
  --band:clamp(3rem,6vw,5.5rem);

  --r-sheet:2px;
  --r-chip:999px;

  --t:180ms cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  margin:0;background:var(--mist);color:var(--ink);
  font-family:"Public Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:16px;line-height:1.6;overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
@media(min-width:768px){body{font-size:17px}}

img,svg,canvas,iframe{display:block;max-width:100%}
img{height:auto}

/* ------------------------------------------------------------------- type */
h1,h2,h3,h4{font-family:Fraunces,Georgia,serif;color:var(--bark);margin:0 0 .5em;line-height:1.14;letter-spacing:-.012em;font-weight:600}
h1{font-size:clamp(2.1rem,1.35rem + 3vw,3.5rem);font-variation-settings:"opsz" 100,"wght" 600}
h2{font-size:clamp(1.65rem,1.2rem + 1.9vw,2.5rem);font-variation-settings:"opsz" 60,"wght" 600}
h3{font-size:clamp(1.2rem,1.05rem + .7vw,1.5rem);font-variation-settings:"opsz" 28,"wght" 600}
h4{font-size:1.05rem;font-variation-settings:"opsz" 18,"wght" 600}
p{margin:0 0 1em;max-width:68ch}
.lede{font-size:clamp(1.05rem,1rem + .5vw,1.25rem);color:var(--muted);max-width:60ch}
small,.small{font-size:.875rem}
a{color:var(--bark);text-underline-offset:.18em;text-decoration-thickness:1px}
a:hover{color:var(--brass)}
ul,ol{padding-left:1.15rem;margin:0 0 1em}
li{margin-bottom:.35em}
hr{border:0;border-top:1px solid var(--line);margin:2rem 0}

:focus-visible{outline:2px solid var(--brass);outline-offset:2px;border-radius:2px}

.skip{position:absolute;left:-9999px;top:0;background:var(--bark);color:var(--white);padding:.7rem 1rem;z-index:1000}
.skip:focus{left:0}

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

/* --------------------------------------------------------------- sections */
.shell{width:var(--shell);margin-inline:auto}
.band{border-bottom:1px solid var(--line);padding-block:var(--band)}
.band--board{background:var(--board)}
.band--tight{padding-block:clamp(2rem,4vw,3rem)}
.band-head{margin-bottom:clamp(1.5rem,3vw,2.5rem);max-width:64ch}
.band-head p{color:var(--muted);margin-bottom:0}

/* ----------------------------------------------------------------- header */
.site-head{position:sticky;top:0;z-index:800;background:var(--mist);border-bottom:1px solid var(--line);transition:min-height var(--t)}
.head-in{width:var(--shell);margin-inline:auto;display:flex;align-items:center;gap:1rem;min-height:72px}
.site-head.is-condensed .head-in{min-height:58px}
.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;font-family:Fraunces,Georgia,serif;font-size:1.18rem;font-weight:600;color:var(--bark);white-space:nowrap}
.brand img{height:30px;width:auto}
.brand span{line-height:1}

.nav{margin-left:auto;display:none;align-items:center;gap:1.6rem}
@media(min-width:900px){.nav{display:flex}}
.nav a{text-decoration:none;color:var(--ink);font-weight:500;font-size:.98rem;padding:.35rem 0;border-bottom:2px solid transparent}
.nav a:hover{color:var(--bark);border-bottom-color:var(--line)}
.nav a[aria-current=page]{border-bottom-color:var(--brass);color:var(--bark)}

.wa-btn{display:inline-flex;align-items:center;gap:.5rem;background:#25D366;color:#fff;text-decoration:none;font-weight:600;font-size:.95rem;padding:.6rem 1rem;border-radius:var(--r-sheet);min-height:44px}
.wa-btn:hover{background:#1FB855;color:#fff}
.wa-btn svg{width:18px;height:18px;fill:currentColor;flex:none}

.burger{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;background:none;border:1px solid var(--line);border-radius:var(--r-sheet);cursor:pointer;color:var(--bark)}
.burger svg{width:22px;height:22px;fill:currentColor}
@media(min-width:900px){.burger{display:none}}

.menu{position:fixed;inset:0;z-index:900;background:var(--mist);display:none;flex-direction:column;padding:1.25rem}
.menu[data-open=true]{display:flex}
.menu-top{display:flex;align-items:center;justify-content:space-between;min-height:52px;border-bottom:1px solid var(--line);padding-bottom:.75rem}
.menu nav{display:flex;flex-direction:column;margin-top:1rem}
.menu nav a{font-family:Fraunces,Georgia,serif;font-size:1.6rem;font-weight:600;color:var(--bark);text-decoration:none;padding:.85rem 0;border-bottom:1px solid var(--line);min-height:48px}
.menu-foot{margin-top:auto;display:grid;gap:.6rem;padding-top:1.25rem}
.menu-foot a{text-decoration:none;font-weight:500}

/* --------------------------------------------------------------- buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:.7rem 1.35rem;border-radius:var(--r-sheet);font-weight:600;font-size:.98rem;text-decoration:none;border:1px solid transparent;cursor:pointer;font-family:inherit;transition:background var(--t),color var(--t),border-color var(--t)}
.btn--primary{background:var(--brass);color:#241a09;border-color:var(--brass)}
.btn--primary:hover{background:#9C7433;color:#241a09}
.btn--quiet{background:transparent;color:var(--bark);border-color:var(--bark)}
.btn--quiet:hover{background:var(--bark);color:var(--white)}
.btn--sage{background:var(--sage);color:#fff;border-color:var(--sage)}
.btn--sage:hover{background:#5D6853;color:#fff}
.btn--wa{background:#25D366;color:#fff;border-color:#25D366}
.btn--wa:hover{background:#1FB855;color:#fff}
.btn--wa svg{width:18px;height:18px;fill:currentColor}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem}

/* ------------------------------------------------------------------ hero */
.hero{border-bottom:1px solid var(--line)}
.hero-in{width:var(--shell);margin-inline:auto;display:grid;gap:clamp(1.5rem,4vw,3rem);padding-block:clamp(2rem,5vw,4rem)}
@media(min-width:1000px){.hero-in{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:center}}
.hero-copy h1{margin-bottom:.35em}
.hero-meta{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid var(--line);color:var(--muted);font-size:.95rem}

/* --------------------------------------------------------------- 3D stage */
.stage{position:relative;background:var(--board);border:1px solid var(--line);border-radius:var(--r-sheet);overflow:hidden;aspect-ratio:4/3}
.stage--tall{aspect-ratio:4/3}
@media(min-width:1000px){.hero .stage{aspect-ratio:1/1}}
.stage canvas{width:100%;height:100%;display:block;touch-action:pan-y}
.stage-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity 400ms ease}
.stage.is-live .stage-poster{opacity:0;pointer-events:none}
.stage-hint{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);background:rgba(28,22,17,.72);color:#F6F2EA;font-size:.78rem;padding:.35rem .7rem;border-radius:var(--r-chip);pointer-events:none;transition:opacity 300ms ease}
.stage-hint[hidden]{display:none}
.stage-tools{position:absolute;top:8px;right:8px;display:flex;gap:6px}
.stage-tools button{width:36px;height:36px;min-height:0;display:grid;place-items:center;background:rgba(251,250,247,.9);border:1px solid var(--line);border-radius:var(--r-sheet);cursor:pointer;color:var(--bark);padding:0}
.stage-tools button:hover{background:var(--white)}
.stage-tools svg{width:17px;height:17px;fill:currentColor}
.stage-note{position:absolute;left:10px;bottom:10px;font-size:.75rem;color:var(--muted);background:rgba(251,250,247,.88);padding:.2rem .5rem;border-radius:var(--r-sheet)}
.stage:fullscreen,.stage:-webkit-full-screen{aspect-ratio:auto;width:100%;height:100%}

/* --------------------------------------------------------------- swatches */
.swatches{display:flex;flex-wrap:wrap;gap:.5rem;padding:.85rem 0;align-items:center}
.swatch{width:44px;height:44px;min-height:44px;padding:0;border-radius:var(--r-chip);border:1px solid rgba(28,22,17,.22);cursor:pointer;position:relative;background-size:cover;background-position:center;transition:box-shadow var(--t)}
.swatch[aria-pressed=true]{box-shadow:0 0 0 2px var(--mist),0 0 0 4px var(--brass)}
.band--board .swatch[aria-pressed=true]{box-shadow:0 0 0 2px var(--board),0 0 0 4px var(--brass)}
.swatch-label{font-size:.85rem;color:var(--muted);margin-left:.35rem}
.swatch-row-title{font-size:.85rem;color:var(--muted);flex:none;width:100%;margin-bottom:-.35rem}

/* ------------------------------------------------------------------ grids */
.grid{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r-sheet);overflow:hidden}
.grid > *{background:var(--mist);padding:clamp(1.1rem,2.4vw,1.75rem)}
.band--board .grid > *{background:var(--board)}
.grid--2{grid-template-columns:1fr}
.grid--3{grid-template-columns:1fr}
.grid--4{grid-template-columns:1fr 1fr}
@media(min-width:640px){.grid--2{grid-template-columns:1fr 1fr}.grid--3{grid-template-columns:1fr 1fr}}
@media(min-width:960px){.grid--3{grid-template-columns:repeat(3,1fr)}.grid--4{grid-template-columns:repeat(4,1fr)}}

.cat-tile{display:flex;flex-direction:column;gap:.5rem;text-decoration:none}
.cat-tile h3{margin:0;font-size:1.15rem}
.cat-tile p{color:var(--muted);font-size:.94rem;margin:0}
.cat-tile .chips{margin-top:auto;padding-top:.75rem}

.chips{display:flex;gap:.3rem;flex-wrap:wrap}
.chip{width:20px;height:20px;border-radius:var(--r-chip);border:1px solid rgba(28,22,17,.18);background-size:cover}

/* ------------------------------------------------------------ product card */
.pcard{display:flex;flex-direction:column;gap:.75rem}
.pcard h3{margin:0;font-size:1.1rem}
.pcard p{font-size:.93rem;color:var(--muted);margin:0}
.pcard .stage{aspect-ratio:4/3}
.pcard-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:auto;padding-top:.25rem}
.pcard-actions .btn{min-height:44px;padding:.55rem 1rem;font-size:.92rem}

/* ------------------------------------------------------------------ specs */
.spec-table{width:100%;border-collapse:collapse;font-size:.95rem;margin:0 0 1.5rem}
.spec-table th,.spec-table td{text-align:left;padding:.7rem .5rem;border-bottom:1px solid var(--line);vertical-align:top}
.spec-table th{width:34%;font-weight:600;color:var(--bark);white-space:nowrap}
@media(max-width:520px){.spec-table th{width:42%;white-space:normal}}

.tick{list-style:none;padding:0}
.tick li{position:relative;padding-left:1.5rem;margin-bottom:.5rem}
.tick li::before{content:"";position:absolute;left:0;top:.62em;width:9px;height:9px;border-left:2px solid var(--brass);border-bottom:2px solid var(--brass);transform:rotate(-45deg) translateY(-2px)}

.deflist{display:grid;gap:0;border-top:1px solid var(--line)}
.deflist div{display:grid;grid-template-columns:1fr;gap:.15rem;padding:.85rem 0;border-bottom:1px solid var(--line)}
@media(min-width:600px){.deflist div{grid-template-columns:12rem 1fr;gap:1rem}}
.deflist dt{font-weight:600;color:var(--bark)}
.deflist dd{margin:0;color:var(--muted)}

/* -------------------------------------------------------------- accordion */
.acc{border-top:1px solid var(--line)}
.acc-item{border-bottom:1px solid var(--line)}
.acc-btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;background:none;border:0;padding:1.05rem 0;font:inherit;font-weight:600;color:var(--bark);text-align:left;cursor:pointer;min-height:48px}
.acc-btn .mark{flex:none;width:18px;height:18px;position:relative}
.acc-btn .mark::before,.acc-btn .mark::after{content:"";position:absolute;background:var(--brass);left:50%;top:50%;transform:translate(-50%,-50%)}
.acc-btn .mark::before{width:14px;height:2px}
.acc-btn .mark::after{width:2px;height:14px;transition:transform var(--t)}
.acc-btn[aria-expanded=true] .mark::after{transform:translate(-50%,-50%) scaleY(0)}
.acc-panel{padding:0 0 1.1rem}
.acc-panel p{margin:0;color:var(--muted)}
.acc-panel[hidden]{display:none}

/* ------------------------------------------------------------ two options */
.routes{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r-sheet);overflow:hidden}
@media(min-width:800px){.routes{grid-template-columns:1fr 1fr}}
.route{background:var(--mist);padding:clamp(1.25rem,3vw,2rem);display:flex;flex-direction:column}
.band--board .route{background:var(--board)}
.route h3{margin-bottom:.4rem}
.route p{color:var(--muted);flex:1}
.route--supply{border-top:3px solid var(--brass)}
.route--labour{border-top:3px solid var(--sage)}

/* ---------------------------------------------------------------- process */
.steps{counter-reset:s;display:grid;gap:0;border-top:1px solid var(--line)}
.step{counter-increment:s;display:grid;grid-template-columns:2.5rem 1fr;gap:1rem;padding:1.15rem 0;border-bottom:1px solid var(--line)}
.step::before{content:counter(s);font-family:Fraunces,Georgia,serif;font-size:1.3rem;font-weight:600;color:var(--brass);line-height:1.2}
.step h3{margin:0 0 .2rem;font-size:1.05rem}
.step p{margin:0;color:var(--muted);font-size:.95rem}

/* ---------------------------------------------------------------- gallery */
.filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}
.filter{padding:.5rem .9rem;min-height:44px;display:inline-flex;align-items:center;border:1px solid var(--line);background:transparent;border-radius:var(--r-sheet);font:inherit;font-size:.92rem;cursor:pointer;color:var(--ink)}
.filter[aria-pressed=true]{background:var(--bark);border-color:var(--bark);color:var(--white)}
.masonry{columns:2;column-gap:1rem}
@media(min-width:768px){.masonry{columns:3}}
@media(min-width:1100px){.masonry{columns:4}}
.masonry figure{break-inside:avoid;margin:0 0 1rem;border:1px solid var(--line);border-radius:var(--r-sheet);overflow:hidden;background:var(--board)}
.masonry button{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}
.masonry img{width:100%;display:block}
.masonry figcaption{padding:.55rem .7rem;font-size:.85rem;color:var(--muted);background:var(--mist)}

.lightbox{position:fixed;inset:0;z-index:950;background:rgba(28,22,17,.94);display:none;align-items:center;justify-content:center;padding:1rem}
.lightbox[data-open=true]{display:flex}
.lightbox img{max-width:min(1100px,94vw);max-height:80vh;object-fit:contain;border-radius:var(--r-sheet)}
.lb-cap{position:absolute;bottom:1.1rem;left:0;right:0;text-align:center;color:#EDE6DA;font-size:.9rem;padding:0 1rem}
.lb-btn{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;display:grid;place-items:center;background:rgba(251,250,247,.12);border:1px solid rgba(251,250,247,.35);color:#FBFAF7;border-radius:var(--r-sheet);cursor:pointer}
.lb-prev{left:1rem}.lb-next{right:1rem}
.lb-close{position:absolute;top:1rem;right:1rem;transform:none}
.lb-btn svg{width:20px;height:20px;fill:currentColor}

/* ------------------------------------------------------------------- misc */
.crumbs{font-size:.88rem;color:var(--muted);padding-block:.9rem;border-bottom:1px solid var(--line)}
.crumbs a{text-decoration:none}
.crumbs span{margin:0 .4rem;color:var(--line)}

.map-facade{position:relative;aspect-ratio:16/10;border:1px solid var(--line);border-radius:var(--r-sheet);overflow:hidden;background:var(--board);width:100%;padding:0;cursor:pointer}
.map-facade img{width:100%;height:100%;object-fit:cover}
.map-facade span{position:absolute;inset:auto 0 0 0;background:rgba(28,22,17,.8);color:#F6F2EA;padding:.8rem;font-size:.92rem}
.map-wrap iframe{width:100%;aspect-ratio:16/10;border:1px solid var(--line);border-radius:var(--r-sheet)}

.related{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r-sheet);overflow:hidden;grid-template-columns:1fr}
@media(min-width:700px){.related{grid-template-columns:repeat(3,1fr)}}
.related a{background:var(--mist);padding:1.1rem;text-decoration:none;display:block}
.band--board .related a{background:var(--board)}
.related a:hover{background:var(--white)}
.related strong{display:block;font-family:Fraunces,Georgia,serif;color:var(--bark);margin-bottom:.2rem}
.related span{font-size:.9rem;color:var(--muted)}

/* --------------------------------------------------------------- WA float */
.wa-fab{position:fixed;right:20px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:900;width:56px;height:56px;border-radius:var(--r-chip);background:#25D366;color:#fff;display:grid;place-items:center;box-shadow:0 6px 18px rgba(28,22,17,.28);text-decoration:none;transform:scale(0);transition:transform 260ms cubic-bezier(.2,.9,.3,1.2)}
.wa-fab.is-in{transform:scale(1)}
.wa-fab svg{width:29px;height:29px;fill:currentColor}
.wa-tip{position:fixed;right:86px;bottom:calc(34px + env(safe-area-inset-bottom));z-index:900;background:var(--white);border:1px solid var(--line);border-radius:var(--r-sheet);padding:.45rem .7rem;font-size:.88rem;display:none;align-items:center;gap:.5rem;box-shadow:0 4px 14px rgba(28,22,17,.14)}
@media(min-width:900px){.wa-tip.is-in{display:flex}}
.wa-tip button{background:none;border:0;font:inherit;font-size:1.1rem;line-height:1;cursor:pointer;color:var(--muted);padding:0 .1rem}
body.has-stickybar .wa-fab{bottom:calc(84px + env(safe-area-inset-bottom))}

/* ------------------------------------------------------------ sticky bar */
.stickybar{position:fixed;left:0;right:0;bottom:0;z-index:850;background:var(--mist);border-top:1px solid var(--line);padding:.6rem 1rem calc(.6rem + env(safe-area-inset-bottom));display:flex;gap:.6rem;align-items:center}
@media(min-width:900px){.stickybar{display:none}body.has-stickybar .wa-fab{bottom:calc(20px + env(safe-area-inset-bottom))}}
.stickybar .name{font-family:Fraunces,Georgia,serif;font-weight:600;color:var(--bark);font-size:.95rem;line-height:1.2;flex:1;min-width:0}
.stickybar .name em{display:block;font-style:normal;font-family:"Public Sans",sans-serif;font-weight:400;font-size:.8rem;color:var(--muted)}

/* ----------------------------------------------------------------- footer */
.site-foot{background:var(--bark);color:#E7DED2;padding-block:clamp(2.5rem,5vw,4rem)}
.site-foot h4{color:var(--white);font-size:1rem;margin-bottom:.75rem}
.site-foot a{color:#E7DED2;text-decoration:none}
.site-foot a:hover{color:var(--brass)}
.foot-grid{display:grid;gap:2rem}
@media(min-width:760px){.foot-grid{grid-template-columns:1.4fr 1fr 1fr}}
.foot-grid ul{list-style:none;padding:0;margin:0}
.foot-grid li{margin-bottom:.45rem}
.foot-brand{font-family:Fraunces,Georgia,serif;font-size:1.35rem;color:var(--white);margin-bottom:.4rem}
.foot-bottom{margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid rgba(231,222,210,.22);font-size:.85rem;color:#C3B7A7;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:space-between}

/* -------------------------------------------------------------- utilities */
.stack > * + *{margin-top:1rem}
.split{display:grid;gap:clamp(1.5rem,4vw,3rem)}
@media(min-width:900px){.split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
  .split--wide{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}}
.notice{border-left:3px solid var(--brass);padding:.9rem 1rem;background:var(--white);border-radius:var(--r-sheet);color:var(--muted);font-size:.94rem}

/* --------------------------------------------------------------- page load */
@media(prefers-reduced-motion:no-preference){
  .intro{opacity:0;transform:translateY(10px);animation:settle 620ms cubic-bezier(.22,.61,.36,1) forwards}
  .intro:nth-child(2){animation-delay:90ms}
  .intro:nth-child(3){animation-delay:170ms}
  @keyframes settle{to{opacity:1;transform:none}}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}

/* ------------------------------------------------------------------ print */
@media print{
  .wa-fab,.wa-tip,.stickybar,.burger,.stage-tools,.site-head .wa-btn{display:none!important}
  body{background:#fff;font-size:11pt}
  .band{padding-block:1rem;border-color:#ccc}
}

/* product page viewer height */
.stage--tall{aspect-ratio:auto;height:45vh;min-height:300px}
@media(min-width:900px){.stage--tall{height:60vh;min-height:420px}}
.stage.no-webgl .stage-poster{opacity:1}
