/* Waterkloof Ridge Blinds — shared stylesheet for product & area pages */
:root{
  --ink:#16160f; --ink-soft:#4a4b3c; --paper:#f4f0e4; --paper-deep:#e7e0c7; --line:#d5cca5;
  --moss:#6d724c; --moss-deep:#33351f; --moss-soft:#b6bd8d; --white:#fffdf8;
  --serif:'Source Serif 4',Georgia,serif; --sans:'Source Sans 3',system-ui,-apple-system,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--sans);background:var(--paper);color:var(--ink);line-height:1.7;font-size:17px;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.1;letter-spacing:-.01em;color:var(--ink)}
em{font-style:italic;color:var(--moss-deep)}
a{color:inherit}
img,svg{max-width:100%;display:block}
.wrap{max-width:1000px;margin:0 auto;padding:0 32px}
.label{font-family:var(--sans);font-size:.7rem;letter-spacing:.3em;text-transform:uppercase;font-weight:700;color:var(--moss-deep)}
.rule{width:60px;height:2px;background:var(--moss);margin:22px 0}
:focus-visible{outline:3px solid var(--moss);outline-offset:3px}

.btn{position:relative;display:inline-flex;align-items:center;gap:10px;background:var(--moss-deep);color:var(--paper);font-family:var(--sans);font-weight:700;font-size:14.5px;padding:15px 28px;text-decoration:none;border:none;cursor:pointer;transition:background .25s ease}
.btn:hover{background:var(--ink)}

header.site{position:sticky;top:0;z-index:50;background:rgba(244,240,228,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);padding:18px 0;transition:padding .3s ease,box-shadow .35s ease}
header.site.lifted{padding:13px 0;box-shadow:0 8px 26px -20px rgba(22,22,15,.65)}
header.site .wrap{max-width:1280px;display:flex;justify-content:space-between;align-items:center}
.mast{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink)}
.mast .lmark{flex:none;width:30px;height:30px}
.mast .lmark .ridge{stroke:var(--ink)}
.mast .lmark .rays{stroke:var(--moss)}
.mast .mtext{display:flex;flex-direction:column;line-height:1}
.mast b{font-family:var(--serif);font-weight:600;font-size:1.25rem}
.mast small{font-family:var(--sans);font-size:.56rem;letter-spacing:.26em;text-transform:uppercase;color:var(--moss-deep);margin-top:4px;font-weight:700}
header.site nav{display:flex;gap:26px;align-items:center}
header.site nav a{font-size:.85rem;font-weight:600;text-decoration:none;color:var(--ink-soft);transition:color .2s}
header.site nav a:hover{color:var(--moss-deep)}
@media(max-width:720px){header.site nav a:not(.btn){display:none}}

.bandhero{padding:64px 0 54px;border-bottom:1px solid var(--line)}
.bandhero h1{font-size:clamp(2rem,4.4vw,3.1rem);margin:14px 0 18px;max-width:17ch}
.bandhero p.lede{max-width:60ch;color:var(--ink-soft);font-size:1.08rem}

.content{padding:56px 0}
.content .col{max-width:66ch}
.content p{color:var(--ink-soft);margin-bottom:18px}
.content h2{font-size:1.5rem;margin:8px 0 16px}

blockquote.pull{font-family:var(--serif);font-style:italic;font-size:clamp(1.25rem,2.4vw,1.7rem);line-height:1.4;color:var(--ink);border-left:3px solid var(--moss);padding-left:24px;margin:32px 0;max-width:56ch}

ul.notes{list-style:none;max-width:66ch;margin:8px 0 0}
ul.notes li{padding:14px 0;border-top:1px solid var(--line);color:var(--ink-soft);font-size:.96rem;padding-left:20px;position:relative}
ul.notes li a{color:var(--moss-deep);font-weight:700;text-decoration:none;border-bottom:1px solid transparent;transition:border-color .2s}
ul.notes li a:hover{border-color:var(--moss-deep)}
ul.notes li::before{content:"—";position:absolute;left:0;color:var(--moss-deep)}
ul.notes li:last-child{border-bottom:1px solid var(--line)}

.figure{margin:34px 0}
.figure .ph{display:block;overflow:hidden;background:var(--paper-deep)}
/* height:auto is required — the img width/height attributes are presentational
   hints, and a fixed height silently cancels aspect-ratio. */
.figure img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;transition:transform 1.1s cubic-bezier(.2,.7,.2,1)}
.figure:hover img{transform:scale(1.035)}
.figure figcaption{margin-top:12px;font-size:.82rem;color:var(--ink-soft)}
.figure figcaption b{display:block;color:var(--moss-deep);text-transform:uppercase;letter-spacing:.2em;font-size:.64rem;margin-bottom:4px;font-weight:700}

.cardgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:12px}
.cardgrid a{display:block;background:var(--white);border:1px solid var(--line);padding:0 0 20px;text-decoration:none;color:var(--ink);transition:border-color .25s ease,transform .25s ease,box-shadow .25s ease;overflow:hidden}
.cardgrid a:hover{border-color:var(--moss-deep);transform:translateY(-3px);box-shadow:0 16px 30px -22px rgba(22,22,15,.55)}
.cardgrid .k{font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;color:var(--moss-deep);font-weight:700;display:block;margin-bottom:6px;padding:0 20px}
.cardgrid h3{font-size:1.02rem;padding:0 20px;transition:color .25s ease}
.cardgrid a:hover h3{color:var(--moss-deep)}
.cardgrid a > .k:first-child{padding-top:20px}
.cardgrid .ph{display:block;overflow:hidden;aspect-ratio:4/3;background:var(--paper-deep);margin-bottom:16px}
.cardgrid .ph img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.cardgrid a:hover .ph img{transform:scale(1.06)}
@media(max-width:800px){.cardgrid{grid-template-columns:1fr}}

/* photo lead on a product page — the product itself, not a room shot */
.leadshot{margin:0 0 34px;overflow:hidden}
.leadshot > img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block;background:var(--paper-deep)}
.leadshot figcaption{margin-top:12px;font-size:.82rem;color:var(--ink-soft)}
@media(max-width:640px){.leadshot img{aspect-ratio:4/3}}

/* scroll reveals — only applied once sub.js confirms motion is welcome */
html.rv-on .rv{opacity:0;transform:translateY(22px);transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1)}
html.rv-on .rv.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  html.rv-on .rv{opacity:1!important;transform:none!important;transition:none!important}
  header.site,.cardgrid a,.cardgrid .ph img,.figure img{transition:none!important}
  .figure:hover img,.cardgrid a:hover .ph img{transform:none!important}
  .cardgrid a:hover,.chip:hover{transform:none!important}
  html{scroll-behavior:auto}
}

.chips{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}
.chip{border:1.5px solid var(--line);background:var(--white);padding:12px 22px;font-size:.88rem;font-weight:600;text-decoration:none;color:var(--ink);transition:border-color .25s ease,color .25s ease,transform .25s ease,box-shadow .25s ease}
.chip:hover{border-color:var(--moss-deep);color:var(--moss-deep);transform:translateY(-3px);box-shadow:0 10px 22px -16px rgba(22,22,15,.5)}

.ctaband{background:var(--moss-deep);color:var(--paper);text-align:center;padding:70px 0;margin-top:20px}
.ctaband h2{color:var(--paper);font-size:clamp(1.6rem,3vw,2.2rem);margin-bottom:14px}
.ctaband p{color:rgba(244,240,228,.75);max-width:52ch;margin:0 auto 26px}
.ctaband .btn{background:var(--paper);color:var(--ink)}
.ctaband .btn:hover{background:var(--white)}

.popia-note{font-size:.82rem;color:var(--ink-soft);max-width:60ch;margin-top:12px}

footer.site{background:var(--ink);color:rgba(244,240,228,.62);padding:46px 0;font-size:.85rem}
footer.site .wrap{max-width:1280px}
footer.site strong{color:var(--paper)}
footer.site .fmesh{display:flex;flex-wrap:wrap;justify-content:space-between;gap:36px 48px;padding-bottom:30px;margin-bottom:24px;border-bottom:1px solid rgba(244,240,228,.14)}
footer.site .fbrand{flex:1 1 260px;max-width:340px}
footer.site .fcol{flex:0 0 auto;min-width:150px}
footer.site .fcol .flabel{display:block;color:var(--moss-soft);font-family:var(--sans);font-size:.66rem;letter-spacing:.24em;text-transform:uppercase;font-weight:700;margin-bottom:14px}
footer.site .fcol a{display:block;color:rgba(244,240,228,.62);text-decoration:none;padding:5px 0;font-size:.88rem;transition:color .2s ease}
footer.site .fcol a:hover{color:var(--paper)}
@media(max-width:640px){footer.site .fmesh{gap:28px 40px}}

/* pthumb-injected */
/* --- product photo thumbnails (replaced the old line-drawn icons) --- */
.pthumb{width:100%!important;height:auto!important;max-width:none!important;
  aspect-ratio:4/3;overflow:hidden;display:block;margin:0 0 18px;
  background:rgba(0,0,0,.04)}
.pthumb img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.product-card:hover .pthumb img,.cell:hover .pthumb img,.card:hover .pthumb img,
.related-card:hover .pthumb img{transform:scale(1.045)}
@media (prefers-reduced-motion:reduce){
  .pthumb img{transition:none}
  .product-card:hover .pthumb img,.cell:hover .pthumb img,.card:hover .pthumb img,
  .related-card:hover .pthumb img{transform:none}}


/* roller shutters are shading products, not security products — see design-brief.md */
.rs-note{font-size:.94rem;line-height:1.6;opacity:.85;margin:14px 0 0;
  padding:12px 14px;border-left:2px solid currentColor}
.rs-note strong{font-weight:600}
