/* ==========================================================================
   Hazelwood Blinds — stylesheet
   Palette: espresso brown + cream + sage   |   Fonts: Zilla Slab + Assistant
   Theme: city-luxe — boutique cluster/architect suburb, Pretoria
   ========================================================================== */

:root{
  --espresso: #3A2418;
  --espresso-deep: #1C1109;
  --espresso-soft: #74503A;
  --cream: #F3E9D8;
  --cream-soft: #FAF5EC;
  --cream-line: #E4D4B9;
  --sage: #82936A;
  --sage-deep: #566238;
  --sage-pale: #DFE3CE;
  --ink: #1E140C;
  --line: rgba(58,36,24,.16);
  --shadow: 0 20px 46px rgba(20,12,6,.24);
  --radius: 3px;
  --ease: cubic-bezier(.22,.68,.32,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:"Assistant", -apple-system, sans-serif;
  font-size:17px;
  line-height:1.7;
  color:var(--ink);
  background:var(--cream-soft);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:"Zilla Slab", Georgia, serif;
  font-weight:600;
  line-height:1.08;
  letter-spacing:-0.015em;
  margin:0;
  color:var(--espresso-deep);
}
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
.u-container{ max-width:1240px; margin:0 auto; padding:0 32px; }
.u-container--narrow{ max-width:800px; }
.eyebrow{
  font-size:.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.26em;
  color:var(--sage-deep);
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:26px; height:1px;
  background:var(--sage-deep);
  display:inline-block;
}
.rule{
  height:1px; width:100%;
  background:var(--line);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 1.1s var(--ease);
  margin:26px 0 0;
}
.rule.is-in{ transform:scaleX(1); }
.rule--accent{ background:var(--sage-deep); height:2px; width:64px; }
.section--espresso .rule{ background:rgba(243,233,216,.24); }
.section--espresso .rule--accent{ background:var(--sage); }
.cta-inner .rule--accent{ margin:0 auto; transform-origin:center; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible{
  outline:2px solid var(--sage-deep);
  outline-offset:3px;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 30px;
  font-size:.9rem; font-weight:700;
  letter-spacing:.02em;
  border-radius:2px;
  border:1px solid transparent;
  transition:transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space:nowrap;
}
.btn--primary{ background:var(--sage-deep); color:var(--cream-soft); }
.btn--primary:hover{ background:var(--espresso-deep); box-shadow:var(--shadow); }
.btn--outline{ border-color:currentColor; color:var(--cream); }
.btn--outline:hover{ background:rgba(243,233,216,.12); }
.btn--outline-dark{ border-color:var(--espresso); color:var(--espresso); }
.btn--outline-dark:hover{ background:var(--espresso); color:var(--cream); }
.btn--block{ width:100%; }
.btn[data-magnetic]{ position:relative; }

/* ==========================================================================
   Nav
   ========================================================================== */
.site-nav{
  position:fixed; top:0; left:0; right:0; z-index:900;
  padding:22px 0;
  transition:background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom:1px solid transparent;
}
.site-nav.is-solid{
  background:rgba(250,245,236,.94);
  backdrop-filter:blur(10px);
  padding:13px 0;
  border-color:var(--line);
  box-shadow:0 2px 26px rgba(20,12,6,.08);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.nav-logo{ display:flex; align-items:center; gap:12px; }
.logo-mark{ width:34px; height:34px; flex:0 0 auto; }
.logo-word{
  font-family:"Zilla Slab", serif;
  font-size:1.26rem; font-weight:700;
  letter-spacing:-.01em;
  color:var(--cream);
  white-space:nowrap;
  transition:color .35s var(--ease);
}
.site-nav.is-solid .logo-word{ color:var(--espresso-deep); }
.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links a{
  font-size:.86rem; font-weight:600; letter-spacing:.03em;
  color:var(--cream);
  position:relative; padding-bottom:3px;
  transition:color .35s var(--ease);
}
.site-nav.is-solid .nav-links a{ color:var(--espresso); }
.nav-links a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:1px;
  background:currentColor; transform:scaleX(0); transform-origin:right;
  transition:transform .3s var(--ease);
}
.nav-links a:hover::after{ transform:scaleX(1); transform-origin:left; }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-cta .btn{ padding:11px 22px; font-size:.82rem; }

/* Burger — hidden on desktop, the only nav route on mobile */
.nav-burger{
  display:none;
  width:42px; height:42px; padding:0;
  align-items:center; justify-content:center;
  background:transparent; border:1px solid rgba(243,233,216,.4);
  border-radius:2px; color:var(--cream);
  transition:color .35s var(--ease), border-color .35s var(--ease), background .25s var(--ease);
}
.site-nav.is-solid .nav-burger{ color:var(--espresso-deep); border-color:var(--line); }
.nav-burger:hover{ background:rgba(130,147,106,.16); }
.nav-burger span{
  position:relative; display:block; width:19px; height:1.5px;
  background:currentColor; border-radius:1px;
  transition:transform .3s var(--ease), background-color .12s linear .16s;
}
.nav-burger span::before, .nav-burger span::after{
  content:""; position:absolute; left:0; width:19px; height:1.5px;
  background:currentColor; border-radius:1px;
  transition:transform .3s var(--ease), top .3s var(--ease);
}
.nav-burger span::before{ top:-6px; }
.nav-burger span::after{ top:6px; }
.nav-burger[aria-expanded="true"] span{ background-color:transparent; transition:background-color .1s linear; }
.nav-burger[aria-expanded="true"] span::before{ top:0; transform:rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after{ top:0; transform:rotate(-45deg); }

@media (max-width:900px){
  .nav-burger{ display:inline-flex; }
  .nav-cta .btn:not(.btn--nav-primary){ display:none; }
  .nav-links{
    position:absolute; left:0; right:0; top:100%;
    flex-direction:column; align-items:stretch; gap:0;
    background:var(--espresso-deep);
    border-top:1px solid rgba(243,233,216,.14);
    padding:6px 32px 20px;
    max-height:0; overflow:hidden;
    opacity:0; visibility:hidden;
    transition:max-height .38s var(--ease), opacity .28s var(--ease), visibility 0s linear .38s;
  }
  .nav-links.is-open{
    max-height:70vh; opacity:1; visibility:visible;
    transition:max-height .42s var(--ease), opacity .3s var(--ease), visibility 0s;
    overflow-y:auto;
  }
  .site-nav.is-solid .nav-links{ background:var(--espresso-deep); }
  .nav-links a, .site-nav.is-solid .nav-links a{
    color:var(--cream); font-size:1rem; padding:15px 0;
    border-bottom:1px solid rgba(243,233,216,.12);
  }
  .nav-links a:last-child{ border-bottom:none; }
  .nav-links a::after{ display:none; }
  .nav-links a:hover, .site-nav.is-solid .nav-links a:hover{ color:var(--sage-pale); }
}
@media (max-width:560px){
  .u-container{ padding:0 20px; }
  .nav-links{ padding:6px 20px 20px; }
  .nav-cta{ gap:10px; }
  .nav-cta .btn{ padding:10px 14px; font-size:.74rem; }
  .logo-word{ font-size:1rem; }
  .logo-mark{ width:28px; height:28px; }
  .nav-logo{ gap:9px; }
  .nav-burger{ width:38px; height:38px; }
}
@media (max-width:380px){
  .nav-cta .btn{ padding:9px 11px; font-size:.7rem; }
  .logo-word{ font-size:.94rem; }
}

/* ==========================================================================
   Hero — mosaic grid, headline carved into it
   ========================================================================== */
.hero{ position:relative; background:var(--espresso-deep); }
.hero-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, minmax(0,1fr));
  min-height:100vh;
  gap:2px;
}
.hero-cell{ position:relative; overflow:hidden; }
.hero-cell--photo-main{ grid-column:1 / 8; grid-row:1 / 13; }
.hero-cell--photo-main img{
  width:100%; height:100%; object-fit:cover;
  transform:scale(1.06);
  will-change:transform;
}
/* Light scrim only. No text sits on this photograph — it exists to tie the tile
   into the espresso grid, not to hide it. Keep the room readable. */
.hero-photo-scrim{
  position:absolute; inset:0;
  background:linear-gradient(200deg, rgba(20,12,6,0) 30%, rgba(20,12,6,.34) 100%);
}
.hero-cell--text{
  grid-column:8 / 13; grid-row:1 / 7;
  background:var(--espresso-deep);
  color:var(--cream);
  display:flex; flex-direction:column; justify-content:center;
  padding:60px 42px 26px;
}
.hero-cell--photo-a{ grid-column:8 / 10; grid-row:7 / 10; }
.hero-cell--photo-b{ grid-column:10 / 13; grid-row:7 / 10; }
.hero-cell--photo-a img, .hero-cell--photo-b img{ width:100%; height:100%; object-fit:cover; }
.hero-cell--signature{
  grid-column:8 / 13; grid-row:10 / 13;
  background:var(--cream);
  display:flex; align-items:center; justify-content:center;
  padding:10px;
}
.hero-eyebrow{
  color:var(--sage-pale);
  font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.28em;
  margin-bottom:18px;
  display:inline-flex; align-items:center; gap:10px;
}
.hero-eyebrow::before{ content:""; width:22px; height:1px; background:var(--sage-pale); }
.hero-headline{
  font-size:clamp(2rem, 3.4vw, 3.2rem);
  color:var(--cream-soft);
  margin-bottom:20px;
}
.hero-headline .word{ display:inline-block; overflow:hidden; }
.hero-headline .word span{ display:inline-block; }
.hero-sub{
  font-size:1rem; line-height:1.6;
  color:var(--sage-pale);
  max-width:36ch;
  margin-bottom:28px;
}
.hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:32px; }
.trust-row{ display:flex; flex-direction:column; gap:11px; }
.trust-item{ display:flex; align-items:flex-start; gap:10px; font-size:.84rem; color:var(--cream-soft); }
.trust-item svg{ flex:0 0 auto; margin-top:2px; color:var(--sage); }

/* The injected .pthumb helper forces height:auto and a 4/3 box. On a hero tile
   that stops the cell filling its grid row — undo it for the hero only. */
.hero-cell.pthumb{ height:100% !important; margin:0; aspect-ratio:auto; }

.signature-svg{ width:100%; height:100%; max-width:210px; }
.signature-svg .sig-blade{ transform-box:fill-box; transform-origin:0% 50%; }
.signature-svg .sig-glow{ transform-box:fill-box; transform-origin:50% 50%; filter:blur(16px); }

@media (max-width:980px){
  /* Two columns so the pair of small tiles sits side by side. float/inline-block
     are ignored on grid items — the old rule left two orphaned half-width boxes. */
  .hero-grid{ grid-template-columns:1fr 1fr; grid-template-rows:none; min-height:auto; }
  .hero-cell--photo-main{ grid-column:1 / -1; grid-row:auto; height:52vh; min-height:300px; }
  .hero-cell--text{ grid-column:1 / -1; grid-row:auto; padding:50px 24px 38px; }
  .hero-cell--photo-a{ grid-column:1 / 2; grid-row:auto; height:172px !important; }
  .hero-cell--photo-b{ grid-column:2 / 3; grid-row:auto; height:172px !important; }
  .hero-cell--signature{ grid-column:1 / -1; grid-row:auto; height:140px; }
  .hero-sub{ max-width:46ch; }
}
@media (max-width:520px){
  .hero-cell--photo-a, .hero-cell--photo-b{ height:132px; }
  .hero-cell--text{ padding:42px 20px 34px; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee{
  background:var(--sage-deep);
  color:var(--cream-soft);
  overflow:hidden;
  padding:14px 0;
  border-top:1px solid rgba(243,233,216,.15);
  border-bottom:1px solid rgba(243,233,216,.15);
}
.marquee-track{
  display:flex; width:max-content;
  animation:marquee 40s linear infinite;
}
.marquee-track span{
  font-family:"Zilla Slab", serif;
  font-style:italic;
  font-size:1rem;
  white-space:nowrap;
  padding:0 28px;
  opacity:.92;
}
.marquee-track span::after{ content:"—"; margin-left:28px; opacity:.55; font-style:normal; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ==========================================================================
   Sections generic
   ========================================================================== */
.section{ padding:100px 0; }
.section--tight{ padding:80px 0; }
.section--cream{ background:var(--cream); }
.section--soft{ background:var(--cream-soft); }
.section--espresso{ background:var(--espresso-deep); color:var(--cream); }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head h2{ font-size:clamp(1.9rem,2.6vw,2.6rem); margin-top:14px; }
.section-head p{ margin-top:16px; font-size:1.02rem; color:var(--espresso-soft); max-width:56ch; }
.section--espresso .section-head p{ color:var(--sage-pale); }

/* ==========================================================================
   Products grid
   ========================================================================== */
.products-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.product-card{
  background:var(--cream-soft);
  padding:0;
  display:flex; flex-direction:column;
  transition:background .3s var(--ease), transform .3s var(--ease);
}
.product-card:hover{ background:var(--sage-pale); transform:translateY(-3px); }
.product-card > .pthumb{ margin:0; flex:0 0 auto; }
.product-body{
  padding:22px 24px 26px;
  display:flex; flex-direction:column; gap:12px; flex:1 1 auto;
}
.product-icon{ width:46px; height:46px; color:var(--espresso); transition:color .3s var(--ease); }
.product-card:hover .product-icon{ color:var(--sage-deep); }
.product-name{ font-family:"Zilla Slab", serif; font-size:1.12rem; font-weight:700; color:var(--espresso-deep); }
.product-benefit{ font-size:.9rem; line-height:1.55; color:var(--espresso-soft); flex-grow:1; }
.product-link{ align-self:flex-start; }
.product-link{
  font-size:.82rem; font-weight:700; letter-spacing:.02em;
  color:var(--sage-deep); display:inline-flex; align-items:center; gap:6px;
}
.product-link svg{ transition:transform .25s var(--ease); }
.product-card:hover .product-link svg{ transform:translateX(4px); }

@media (max-width:980px){ .products-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .products-grid{ grid-template-columns:1fr; } }

/* ==========================================================================
   Editorial photo section
   ========================================================================== */
.editorial-grid{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:20px;
  align-items:start;
}
.editorial-item{ position:relative; overflow:hidden; }
.editorial-item img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .8s cubic-bezier(.2,.7,.2,1);
}
.editorial-item:hover img{ transform:scale(1.04); }
.editorial-item:hover .editorial-caption{ padding-bottom:26px; }
.editorial-caption{ transition:padding-bottom .35s var(--ease); }
.editorial-item--a{ grid-column:1 / 6; grid-row:1 / 3; aspect-ratio:4/5; margin-top:60px; }
.editorial-item--b{ grid-column:6 / 13; grid-row:1 / 2; aspect-ratio:16/10; }
.editorial-item--c{ grid-column:6 / 13; grid-row:2 / 3; aspect-ratio:16/9; }
.editorial-caption{
  position:absolute; left:0; right:0; bottom:0;
  padding:20px 22px;
  background:linear-gradient(0deg, rgba(20,12,6,.82), transparent);
  color:var(--cream-soft);
  font-size:.88rem; line-height:1.5;
}
@media (max-width:900px){
  .editorial-grid{ grid-template-columns:1fr; gap:18px; }
  .editorial-item--a, .editorial-item--b, .editorial-item--c{ grid-column:1; margin-top:0; aspect-ratio:4/3; }
}

/* ==========================================================================
   Locale storytelling
   ========================================================================== */
.locale-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:70px; align-items:center; }
.locale-text p + p{ margin-top:18px; }
.locale-text p{ color:var(--sage-pale); font-size:1.01rem; }
.locale-facts{ display:flex; flex-direction:column; gap:0; margin-top:8px; }
.fact-item{ display:flex; gap:20px; padding:20px 0; border-top:1px solid rgba(243,233,216,.16); }
.fact-item:last-child{ border-bottom:1px solid rgba(243,233,216,.16); }
.fact-num{ font-family:"Zilla Slab", serif; font-size:1.55rem; color:var(--sage); flex:0 0 46px; }
.fact-body h3{ color:var(--cream-soft); font-size:1.02rem; font-weight:700; margin-bottom:6px; }
.fact-body p{ color:var(--sage-pale); font-size:.92rem; }
@media (max-width:900px){ .locale-grid{ grid-template-columns:1fr; gap:40px; } }

/* ==========================================================================
   Process
   ========================================================================== */
.process-list{ display:grid; grid-template-columns:repeat(4,1fr); gap:36px; margin-top:10px; }
.process-item{ padding-top:26px; border-top:1px solid var(--line); }
.process-num{ font-family:"Zilla Slab", serif; font-size:2rem; color:var(--sage-deep); display:block; margin-bottom:14px; }
.process-item h3{ font-size:1.06rem; margin-bottom:10px; }
.process-item p{ font-size:.9rem; color:var(--espresso-soft); }
@media (max-width:900px){ .process-list{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .process-list{ grid-template-columns:1fr; } }

/* ==========================================================================
   Area chips
   ========================================================================== */
.areas-chips{ display:flex; flex-wrap:wrap; gap:14px; margin-top:10px; }
.chip{
  padding:14px 24px;
  border:1px solid var(--line);
  border-radius:2px;
  font-size:.92rem; font-weight:700; color:var(--espresso);
  display:inline-flex; align-items:center; gap:10px;
  transition:border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.chip:hover{ background:var(--espresso-deep); border-color:var(--espresso-deep); color:var(--cream); }
.chip svg{ color:var(--sage-deep); transition:color .25s var(--ease); }
.chip:hover svg{ color:var(--sage-pale); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list{ border-top:1px solid var(--line); }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-item summary{
  list-style:none;
  cursor:pointer;
  display:flex; align-items:center; justify-content:space-between;
  gap:20px;
  padding:26px 4px;
  font-family:"Zilla Slab", serif;
  font-size:1.1rem; font-weight:700;
  color:var(--espresso-deep);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-icon{ position:relative; width:20px; height:20px; flex:0 0 auto; }
.faq-icon::before, .faq-icon::after{
  content:""; position:absolute; background:var(--sage-deep);
  transition:transform .3s var(--ease);
}
.faq-icon::before{ left:0; top:9px; width:20px; height:2px; }
.faq-icon::after{ left:9px; top:0; width:2px; height:20px; }
.faq-item[open] .faq-icon::after{ transform:rotate(90deg) scaleY(0); }
.faq-answer{ padding:0 4px 28px; max-width:66ch; color:var(--espresso-soft); font-size:.96rem; }

/* ==========================================================================
   Closing CTA — animated drifting glow
   ========================================================================== */
.cta-close{
  position:relative; overflow:hidden;
  background:var(--espresso-deep);
  color:var(--cream-soft);
  padding:120px 0;
  text-align:center;
}
.cta-bg{ position:absolute; inset:0; z-index:0; }
.cta-blob{
  position:absolute; border-radius:50%; filter:blur(70px); opacity:.5;
}
.cta-blob--1{ width:520px; height:520px; background:var(--sage-deep); top:-160px; left:-120px; animation:drift1 22s ease-in-out infinite alternate; }
.cta-blob--2{ width:460px; height:460px; background:var(--espresso-soft); bottom:-180px; right:-100px; animation:drift2 26s ease-in-out infinite alternate; }
@keyframes drift1{ from{ transform:translate(0,0) scale(1);} to{ transform:translate(80px,60px) scale(1.15);} }
@keyframes drift2{ from{ transform:translate(0,0) scale(1);} to{ transform:translate(-70px,-50px) scale(1.1);} }
.cta-inner{ position:relative; z-index:1; max-width:680px; margin:0 auto; }
.cta-inner .eyebrow{ color:var(--sage-pale); justify-content:center; }
.cta-inner .eyebrow::before{ background:var(--sage-pale); }
.cta-inner h2{ color:var(--cream-soft); font-size:clamp(2rem,3.4vw,3rem); margin:18px 0 20px; }
.cta-inner p{ color:var(--sage-pale); max-width:52ch; margin:0 auto 34px; }
.cta-inner .hero-ctas{ justify-content:center; margin-bottom:0; }

/* ==========================================================================
   Enquiry form
   ========================================================================== */
.enquiry-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:64px; }
.enquiry-side p{ color:var(--espresso-soft); margin-top:16px; }
.enquiry-side .fact-item{ border-color:var(--line); }
.enquiry-side .fact-body h3{ color:var(--espresso-deep); }
.enquiry-side .fact-body p{ color:var(--espresso-soft); }
.enquiry-side .fact-num{ color:var(--sage-deep); }
form#enquiry-form{ background:var(--cream-soft); border:1px solid var(--line); padding:40px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ margin-bottom:18px; display:flex; flex-direction:column; gap:8px; }
.field label{ font-size:.82rem; font-weight:700; letter-spacing:.02em; color:var(--espresso); }
.field-hint{ font-weight:400; color:var(--espresso-soft); letter-spacing:0; }
.field input::placeholder, .field textarea::placeholder{ color:rgba(116,80,58,.55); }
.field input, .field select, .field textarea{
  font-family:inherit; font-size:.96rem;
  padding:13px 14px;
  border:1px solid var(--cream-line);
  background:#fff;
  color:var(--ink);
  border-radius:2px;
  transition:border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color:var(--sage-deep);
  box-shadow:0 0 0 3px rgba(86,98,56,.18);
  outline:none;
}
.field textarea{ resize:vertical; min-height:100px; }
.popia-note{ font-size:.8rem; color:var(--espresso-soft); line-height:1.55; margin:18px 0 22px; padding:14px 16px; background:var(--sage-pale); border-radius:2px; }
.form-success{
  display:none; text-align:center; padding:40px 20px;
}
.form-success.is-visible{ display:block; }
.form-success svg{ color:var(--sage-deep); margin:0 auto 16px; }
.form-success h3{ font-size:1.3rem; margin-bottom:10px; }
.form-success p{ color:var(--espresso-soft); }
@media (max-width:900px){ .enquiry-grid{ grid-template-columns:1fr; gap:40px; } form#enquiry-form{ padding:26px; } .form-row{ grid-template-columns:1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
footer{ background:var(--espresso-deep); color:var(--sage-pale); padding:64px 0 34px; }
.footer-top{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; padding-bottom:40px; border-bottom:1px solid rgba(243,233,216,.14); }
.footer-brand{ display:flex; align-items:center; gap:12px; }
.footer-brand .logo-word{ color:var(--cream-soft); }
.footer-statement{ max-width:34ch; font-size:.92rem; }
.footer-links{ display:flex; gap:48px; flex-wrap:wrap; }
.footer-col h4{ font-size:.74rem; text-transform:uppercase; letter-spacing:.2em; color:var(--sage); margin-bottom:14px; }
.footer-col a{ display:block; font-size:.9rem; padding:5px 0; color:var(--sage-pale); transition:color .25s; }
.footer-col a:hover{ color:var(--cream-soft); }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-top:26px; font-size:.78rem; color:var(--espresso-soft); }

/* ==========================================================================
   Page hero (inner pages: products / areas)
   ========================================================================== */
.page-hero{ position:relative; padding:180px 0 90px; background:var(--espresso-deep); color:var(--cream); overflow:hidden; }
.page-hero-photo{ position:absolute; inset:0; }
/* Photo readable behind the headline: lift the image, then lay a directional
   scrim under the text column rather than dimming the whole photograph. */
.page-hero-photo img{ width:100%; height:100%; object-fit:cover; opacity:.8; }
.page-hero-photo::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(96deg, rgba(20,12,6,.88) 0%, rgba(20,12,6,.68) 46%, rgba(20,12,6,.14) 100%);
}

/* Lead product figure on inner pages */
.product-lead{ margin:0 0 34px; }
.product-lead .pthumb{ aspect-ratio:16/9; margin:0; }
.product-lead figcaption{
  margin-top:12px; font-size:.85rem; line-height:1.55;
  color:var(--espresso-soft); border-left:2px solid var(--sage); padding-left:12px;
}
.page-hero-inner{ position:relative; max-width:760px; }
.page-hero .eyebrow{ color:var(--sage-pale); }
.page-hero .eyebrow::before{ background:var(--sage-pale); }
.page-hero h1{ color:var(--cream-soft); font-size:clamp(2rem,3.4vw,3rem); margin-top:16px; }
.page-hero p{ color:var(--sage-pale); margin-top:18px; max-width:58ch; font-size:1.02rem; }
.breadcrumb{ font-size:.78rem; letter-spacing:.05em; color:var(--sage-pale); margin-bottom:20px; }
.breadcrumb a{ text-decoration:underline; text-underline-offset:3px; }
.breadcrumb a:hover{ color:var(--cream-soft); }

.content-block{ max-width:760px; }
.content-block h2{ font-size:1.65rem; margin:44px 0 16px; }
.content-block h2:first-child{ margin-top:0; }
.content-block .product-lead + h2{ margin-top:0; }
.content-block p{ margin-bottom:16px; color:var(--espresso-soft); font-size:1.02rem; }
.content-block ul{ margin:0 0 20px; display:flex; flex-direction:column; gap:10px; }
.content-block ul li{ padding-left:22px; position:relative; color:var(--espresso-soft); }
.content-block ul li::before{ content:""; position:absolute; left:0; top:11px; width:8px; height:1px; background:var(--sage-deep); }
.two-col{ display:grid; grid-template-columns:1.2fr .8fr; gap:60px; }
.side-card{ background:var(--cream); border:1px solid var(--line); padding:30px; align-self:start; position:sticky; top:110px; }
.side-card h3{ font-size:1.08rem; margin-bottom:14px; }
.side-card p{ font-size:.9rem; color:var(--espresso-soft); margin-bottom:18px; }
@media (max-width:900px){ .two-col{ grid-template-columns:1fr; } .side-card{ position:static; } }

/* Fade/rise scroll reveal */
[data-reveal]{ opacity:0; transform:translateY(28px); }
[data-reveal].is-revealed{ opacity:1; transform:translateY(0); transition:opacity .9s var(--ease), transform .9s var(--ease); }

/* ==========================================================================
   Chat widget
   ========================================================================== */
.chat-toggle{
  position:fixed; right:26px; bottom:26px; z-index:1000;
  width:60px; height:60px; border-radius:50%;
  background:var(--sage-deep); color:var(--cream-soft);
  display:flex; align-items:center; justify-content:center;
  border:none; box-shadow:0 12px 30px rgba(20,12,6,.32);
  transition:transform .3s var(--ease), background .3s var(--ease);
}
.chat-toggle:hover{ transform:scale(1.06); background:var(--espresso-deep); }
.chat-toggle svg{ width:26px; height:26px; }
.chat-toggle .icon-close{ display:none; }
.chat-toggle.is-open .icon-chat{ display:none; }
.chat-toggle.is-open .icon-close{ display:block; }

.chat-panel{
  position:fixed; right:26px; bottom:98px; z-index:1000;
  width:360px; max-width:calc(100vw - 40px);
  max-height:min(560px, 70vh);
  background:var(--cream-soft);
  border:1px solid var(--line);
  border-radius:8px;
  box-shadow:0 26px 60px rgba(20,12,6,.34);
  display:flex; flex-direction:column;
  opacity:0; transform:translateY(16px) scale(.98);
  pointer-events:none; visibility:hidden;
  transition:opacity .28s var(--ease), transform .28s var(--ease), visibility 0s linear .28s;
  overflow:hidden;
}
.chat-panel.is-open{
  opacity:1; transform:translateY(0) scale(1);
  pointer-events:auto; visibility:visible;
  transition:opacity .28s var(--ease), transform .28s var(--ease), visibility 0s;
}
.chat-header{ background:var(--espresso-deep); color:var(--cream-soft); padding:18px 20px; }
.chat-header strong{ display:block; font-family:"Zilla Slab",serif; font-size:1.05rem; }
.chat-header span{ font-size:.78rem; color:var(--sage-pale); }
.chat-body{ flex:1; overflow-y:auto; padding:18px 16px; display:flex; flex-direction:column; gap:12px; }
.chat-msg{ max-width:86%; padding:11px 14px; border-radius:10px; font-size:.88rem; line-height:1.5; }
.chat-msg--bot{ background:var(--sage-pale); color:var(--espresso-deep); align-self:flex-start; border-bottom-left-radius:2px; }
.chat-msg--user{ background:var(--espresso-deep); color:var(--cream-soft); align-self:flex-end; border-bottom-right-radius:2px; }
.chat-popia{ font-size:.72rem; color:var(--espresso-soft); background:var(--cream); border:1px solid var(--line); padding:10px 12px; border-radius:6px; align-self:flex-start; }
.chat-chips{ display:flex; flex-wrap:wrap; gap:8px; padding:0 16px 14px; }
.chat-chip{
  border:1px solid var(--sage-deep); color:var(--sage-deep);
  background:transparent; padding:8px 14px; border-radius:20px;
  font-size:.8rem; font-weight:700; transition:background .2s, color .2s;
}
.chat-chip:hover{ background:var(--sage-deep); color:var(--cream-soft); }
.chat-form{ display:none; flex-direction:column; gap:8px; padding:14px 16px; border-top:1px solid var(--line); background:var(--cream); }
.chat-form.is-visible{ display:flex; }
.chat-form input{ padding:10px 12px; border:1px solid var(--cream-line); border-radius:6px; font-size:.88rem; font-family:inherit; }
.chat-form input:focus{ outline:2px solid var(--sage-deep); border-color:var(--sage-deep); }
.chat-input-row{ display:flex; gap:8px; padding:12px 16px 16px; border-top:1px solid var(--line); }
.chat-input-row input{ flex:1; padding:10px 12px; border:1px solid var(--cream-line); border-radius:20px; font-size:.86rem; font-family:inherit; }
.chat-input-row button{ background:var(--sage-deep); color:#fff; border:none; width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex:0 0 auto; }

@media (max-width:480px){
  .chat-panel{ right:16px; left:16px; width:auto; bottom:92px; }
  .chat-toggle{ right:16px; bottom:16px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
  html{ scroll-behavior:auto; }
  .marquee-track{ animation:none !important; transform:none !important; }
  .cta-blob{ animation:none !important; }
  /* Content must never be left invisible. These win over any inline opacity
     GSAP may have written before the media query took effect. */
  [data-reveal]{ opacity:1 !important; transform:none !important; }
  .hero-headline .word span, .hero-sub, .hero-ctas .btn, .trust-item{
    opacity:1 !important; transform:none !important;
  }
  .hero-cell--photo-main img{ transform:none !important; }
  .rule{ transform:scaleX(1) !important; }
  .pthumb img{ transition:none !important; }
}

/* 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}
