/* ==========================================================================
   Plattekloof Blinds — stylesheet
   Theme: view-manor · Palette: basalt + dune + burnished orange
   Fonts: EB Garamond (display) + Outfit (sans/body)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:root {
  --ink: #23262b;            /* basalt */
  --ink-deep: #14161a;       /* deeper basalt, hero / dark sections */
  --ink-soft: #4b4f57;
  --dune: #f4ecdd;           /* warm sand */
  --dune-deep: #e6d8bd;      /* card / section alt */
  --paper: #fbf7ef;          /* page background */
  --cream: #fffdf8;
  --accent: #bb5a2c;         /* burnished orange */
  --accent-deep: #94441f;
  --accent-soft: #e8c7a3;
  --line: rgba(35, 38, 43, 0.14);
  --line-soft: rgba(35, 38, 43, 0.08);
  --line-on-dark: rgba(244, 236, 221, 0.22);
  --shadow-lg: 0 30px 70px rgba(20, 18, 14, 0.22);
  --shadow-sm: 0 10px 26px rgba(20, 18, 14, 0.12);
  --radius: 4px;
  --font-display: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 64px);
}

html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 500; letter-spacing: -0.015em; line-height: 1.08; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.rule {
  height: 1px;
  background: var(--line);
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(.22,.9,.3,1);
}
.rule.is-in { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.95em 1.7em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(.2,.8,.3,1), background 0.25s ease, color 0.25s ease, border-color .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.btn-primary { background: var(--accent); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-outline { background: transparent; color: inherit; border-color: currentColor; }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.on-light .btn-outline:hover { background: rgba(35,38,43,0.06); }
.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 20px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--dune);
  transition: background 0.4s ease, padding 0.4s ease, box-shadow .4s ease, color .4s ease;
}
.site-nav.is-solid {
  background: rgba(244, 236, 221, 0.94);
  backdrop-filter: blur(10px);
  color: var(--ink);
  padding-top: 12px; padding-bottom: 12px;
  box-shadow: 0 1px 0 var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-mark { flex: none; }
.nav-wordmark { font-family: var(--font-display); font-size: 1.32rem; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; position: relative; padding-bottom: 4px; }
.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 ease;
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  border: 1px solid currentColor; border-radius: var(--radius);
  padding: 0.6em 1.3em !important; font-weight: 600 !important;
}
.nav-toggle {
  display: none; background: none; border: none; color: inherit; width: 30px; height: 22px;
  position: relative;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle::before { top: 0; }
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle::after { bottom: 0; }
.nav-toggle.is-open::before { transform: translateY(10px) rotate(45deg); }
.nav-toggle.is-open::after { transform: translateY(-10px) rotate(-45deg); }
.nav-toggle.is-open span { opacity: 0; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); height: 100vh;
    background: var(--ink-deep); color: var(--dune); flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 26px; padding: 40px var(--pad);
    transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; }
}

/* ---------- hero: split panel ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(340px, 42%) 1fr;
  min-height: 100vh;
  background: var(--ink-deep);
}
.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  padding: 140px var(--pad) 70px;
  color: var(--dune);
  position: relative;
}
.hero-panel::after {
  content: "";
  position: absolute; right: 0; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line-on-dark), transparent);
}
.hero-kicker { color: var(--accent-soft); }
.hero-kicker .eyebrow::before { background: var(--accent-soft); }
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  color: var(--cream);
}
.hero h1 .word { display: inline-block; will-change: transform, opacity; }
.hero-sub {
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 42ch;
  color: rgba(244,236,221,0.82);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 6px; }
.hero-trust { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; padding-top: 26px; border-top: 1px solid var(--line-on-dark); }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: rgba(244,236,221,0.92); }
.trust-item svg { flex: none; width: 20px; height: 20px; color: var(--accent-soft); }
/* trust-item reused on light backgrounds (e.g. the enquiry list) needs dark text, not the hero's pale-on-dark styling */
.enquiry-list.trust-item, .enquiry-list .trust-item { color: var(--ink-soft); }
.enquiry-list .trust-item svg { color: var(--accent); }

.hero-photo { position: relative; overflow: hidden; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  transform: scale(1.06);
}
.hero-photo::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(20,22,26,0.42), rgba(20,22,26,0) 40%);
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { height: 52vh; order: -1; }
  .hero-panel { padding-top: 110px; }
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--ink);
  color: var(--dune-deep);
  overflow: hidden;
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 42s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.marquee span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  padding: 16px 2.4rem;
  white-space: nowrap;
  opacity: 0.88;
}
.marquee span::after { content: "—"; margin-left: 2.4rem; color: var(--accent); opacity: 0.7; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- generic section scaffolding ---------- */
section { padding: clamp(64px, 9vw, 104px) 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.02rem; max-width: 56ch; }
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in { opacity: 1; transform: translateY(0); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- product grid ---------- */
.section-alt { background: var(--dune); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.product-card {
  background: var(--paper);
  padding: 34px 28px 30px;
  display: flex; flex-direction: column; gap: 16px;
  transition: background .3s ease, transform .3s ease;
}
.product-card:hover { background: var(--cream); transform: translateY(-3px); }
.product-icon { color: var(--accent); }
.product-icon svg { width: 44px; height: 44px; }
.product-card h3 { font-size: 1.14rem; font-weight: 600; font-family: var(--font-body); letter-spacing: -0.005em; }
.product-card p { font-size: 0.92rem; color: var(--ink-soft); flex: 1; }
.product-link { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.product-link svg { width: 16px; height: 16px; flex: none; transition: transform .25s ease; }
.product-card:hover .product-link svg { transform: translateX(4px); }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------- editorial photo section ---------- */
.editorial {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}
.editorial-figure { position: relative; overflow: hidden; border-radius: var(--radius); }
.editorial-figure img { width: 100%; height: 100%; object-fit: cover; }
.editorial-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px;
  background: linear-gradient(to top, rgba(20,18,14,0.72), transparent);
  color: var(--dune); font-size: 0.86rem; letter-spacing: 0.02em;
}
.editorial-main { grid-row: span 2; aspect-ratio: 4 / 5; }
.editorial-side { aspect-ratio: 16 / 10.4; }
.editorial-copy {
  align-self: center;
  padding: 10px 4px;
}
.editorial-copy p { color: var(--ink-soft); }
@media (max-width: 900px) {
  .editorial { grid-template-columns: 1fr; }
  .editorial-main { grid-row: auto; aspect-ratio: 4/3; }
}

/* ---------- locale storytelling ---------- */
.locale {
  background: var(--ink-deep);
  color: var(--dune);
  position: relative;
  overflow: hidden;
}
.locale .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; position: relative; z-index: 2; }
.locale .eyebrow { color: var(--accent-soft); }
.locale .eyebrow::before { background: var(--accent-soft); }
.locale h2 { color: var(--cream); font-size: clamp(2rem, 3.2vw, 2.7rem); margin-top: 14px; }
.locale-copy p { color: rgba(244,236,221,0.82); font-size: 1.02rem; }
.locale-facts { display: flex; flex-direction: column; gap: 22px; }
.locale-fact { padding: 20px 22px; border: 1px solid var(--line-on-dark); border-radius: var(--radius); background: rgba(244,236,221,0.04); }
.locale-fact h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-soft); margin-bottom: 8px; font-weight: 600; }
.locale-fact p { color: rgba(244,236,221,0.85); font-size: 0.94rem; }

/* ridge-line signature svg */
.ridgeline-wrap { position: absolute; inset: auto 0 0 0; height: 40%; z-index: 1; pointer-events: none; opacity: 0.9; }
.ridgeline-wrap svg { width: 100%; height: 100%; display: block; }
.ridgeline-path {
  fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1800; stroke-dashoffset: 1800;
}
.ridgeline-path.is-drawn { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s cubic-bezier(.2,.7,.2,1); }
.ridgeline-fill { fill: rgba(187,90,44,0.06); opacity: 0; transition: opacity 1.6s ease 0.6s; }
.ridgeline-fill.is-drawn { opacity: 1; }
.ridgeline-sun { fill: var(--accent-soft); opacity: 0; transform-origin: center; }
.ridgeline-sun.is-drawn { animation: sunrise 2.4s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes sunrise { from { opacity: 0; transform: translateY(14px);} to { opacity: 0.9; transform: translateY(0);} }
@media (prefers-reduced-motion: reduce) {
  .ridgeline-path { stroke-dashoffset: 0; }
  .ridgeline-fill, .ridgeline-sun { opacity: 1; transform: none; }
}

/* small ridge divider reused between sections */
.ridge-divider { width: 100%; height: 46px; color: var(--accent); opacity: 0.55; }
.ridge-divider path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 1300; stroke-dashoffset: 1300; }
.ridge-divider path.is-drawn { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) { .ridge-divider path { stroke-dashoffset: 0; } }

/* ---------- process ---------- */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.process-item { position: relative; padding-top: 18px; border-top: 1px solid var(--line); }
.process-num {
  font-family: var(--font-display); font-size: 2.6rem; color: var(--accent-soft);
  -webkit-text-stroke: 1.2px var(--accent);
  color: transparent;
  display: block; margin-bottom: 14px;
}
.process-item h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 10px; }
.process-item p { color: var(--ink-soft); font-size: 0.94rem; }
@media (max-width: 900px) { .process-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }

/* ---------- service area chips ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 14px; }
.area-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 0.85em 1.3em;
  border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; font-weight: 600;
  background: var(--paper); transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.area-chip:hover { border-color: var(--accent); background: var(--cream); transform: translateY(-2px); }
.area-chip svg { width: 16px; height: 16px; flex: none; color: var(--accent); }
.area-chip.is-current { background: var(--ink); color: var(--dune); border-color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  padding: 26px 4px; font-family: var(--font-display); font-size: 1.18rem; gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-indicator { position: relative; width: 20px; height: 20px; flex: none; }
.faq-indicator::before, .faq-indicator::after {
  content: ""; position: absolute; background: var(--accent); top: 50%; left: 50%;
  transform: translate(-50%, -50%); transition: transform .3s ease;
}
.faq-indicator::before { width: 16px; height: 2px; }
.faq-indicator::after { width: 2px; height: 16px; }
.faq-item[open] .faq-indicator::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item[open] summary { color: var(--accent-deep); }
.faq-body { padding: 0 4px 28px; color: var(--ink-soft); max-width: 68ch; }

/* ---------- closing CTA ---------- */
.closing-cta {
  position: relative; overflow: hidden;
  background: var(--ink-deep); color: var(--dune); text-align: center;
}
.closing-cta .glow {
  position: absolute; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  border-radius: 50%; filter: blur(90px); opacity: 0.35; z-index: 0;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate;
}
.closing-cta .glow.g2 { background: radial-gradient(circle, #6b5a3d, transparent 70%); animation-duration: 28s; animation-delay: -6s; opacity: 0.25; }
@keyframes drift {
  0% { transform: translate(-10%, -10%) scale(1); }
  50% { transform: translate(20%, 10%) scale(1.15); }
  100% { transform: translate(-5%, 18%) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) { .closing-cta .glow { animation: none; } }
.closing-cta .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.closing-cta h2 { color: var(--cream); font-size: clamp(2.1rem, 4vw, 3.3rem); max-width: 18ch; }
.closing-cta p { color: rgba(244,236,221,0.78); max-width: 52ch; font-size: 1.05rem; }

/* ---------- enquiry form ---------- */
.enquiry { background: var(--dune); }
.enquiry-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.enquiry-copy p { color: var(--ink-soft); }
.enquiry-list { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
form.enquiry-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 0.9em 1em; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--cream); color: var(--ink); transition: border-color .25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-popia { font-size: 0.82rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 16px; }
.form-confirm { display: none; padding: 20px; border: 1px solid var(--accent); border-radius: var(--radius); background: rgba(187,90,44,0.08); font-size: 0.95rem; }
.form-confirm.is-shown { display: block; }
@media (max-width: 860px) { .enquiry-grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer.site-footer { background: var(--ink-deep); color: var(--dune); padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line-on-dark); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .nav-wordmark { color: var(--cream); }
.footer-statement { color: rgba(244,236,221,0.72); max-width: 40ch; font-size: 0.96rem; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-soft); margin-bottom: 16px; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: rgba(244,236,221,0.82); transition: color .2s ease; }
.footer-col a:hover { color: var(--accent-soft); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 0.82rem; color: rgba(244,236,221,0.58); }
.footer-popia { max-width: 62ch; }
@media (max-width: 780px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- chat widget ---------- */
.chat-launcher {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--cream);
  display: flex; align-items: center; justify-content: center; border: none; box-shadow: var(--shadow-lg);
  transition: transform .25s cubic-bezier(.3,.8,.3,1.4), background .25s ease;
}
.chat-launcher:hover { transform: scale(1.06); background: var(--accent-deep); }
.chat-launcher svg { width: 26px; height: 26px; }
.chat-launcher .icon-close { display: none; }
.chat-launcher.is-open .icon-chat { display: none; }
.chat-launcher.is-open .icon-close { display: block; }

.chat-panel {
  position: fixed; right: 24px; bottom: 96px; z-index: 900;
  width: min(370px, calc(100vw - 40px)); max-height: min(600px, calc(100vh - 140px));
  background: var(--paper); border-radius: 14px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(0.98); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  border: 1px solid var(--line);
}
.chat-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chat-head { background: var(--ink-deep); color: var(--dune); padding: 18px 20px; display: flex; align-items: center; gap: 12px; }
.chat-head-text .chat-name { font-family: var(--font-display); font-size: 1.06rem; }
.chat-head-text .chat-status { font-size: 0.78rem; color: var(--accent-soft); display: flex; align-items: center; gap: 6px; }
.chat-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #7cb283; display: inline-block; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px 18px 6px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 85%; padding: 12px 14px; border-radius: 12px; font-size: 0.92rem; line-height: 1.5; }
.chat-msg.bot { background: var(--dune); color: var(--ink); border-bottom-left-radius: 3px; align-self: flex-start; }
.chat-msg.user { background: var(--ink); color: var(--dune); border-bottom-right-radius: 3px; align-self: flex-end; }
.chat-popia { font-size: 0.74rem; color: var(--ink-soft); background: var(--dune); border-radius: 10px; padding: 10px 12px; align-self: flex-start; max-width: 92%; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 18px 14px; }
.chat-chip {
  border: 1px solid var(--line); background: var(--cream); border-radius: 999px; padding: 0.55em 1em;
  font-size: 0.82rem; font-weight: 600; transition: border-color .2s ease, background .2s ease;
}
.chat-chip:hover { border-color: var(--accent); background: var(--dune); }
.chat-input-row { display: flex; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--line); background: var(--cream); }
.chat-input-row input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 0.72em 1.1em; font-family: var(--font-body); font-size: 0.9rem; background: var(--paper); color: var(--ink); }
.chat-input-row input:focus { outline: none; border-color: var(--accent); }
.chat-send { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--cream); border: none; display: flex; align-items: center; justify-content: center; flex: none; }
.chat-send svg { width: 17px; height: 17px; }

/* ---------- callouts (product pages) ---------- */
.callout {
  border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius);
  padding: 22px 24px; background: var(--dune); margin: 8px 0;
}
.callout h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-deep); margin-bottom: 8px; font-weight: 700; }
.callout p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- inner page hero (products/areas) ---------- */
.page-hero {
  position: relative; min-height: 56vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink-deep);
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.72; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,14,11,0.88), rgba(15,14,11,0.28) 60%, rgba(15,14,11,0.5)); }
.page-hero .wrap { position: relative; z-index: 2; padding-top: 160px; padding-bottom: 56px; }
.page-hero .eyebrow { color: var(--accent-soft); }
.page-hero .eyebrow::before { background: var(--accent-soft); }
.page-hero h1 { color: var(--cream); font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-top: 14px; max-width: 18ch; }
.page-hero p { color: rgba(244,236,221,0.82); max-width: 56ch; margin-top: 16px; font-size: 1.02rem; }

.article-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: start; }
.article-grid img { border-radius: var(--radius); }
.article-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0.4em 0 0.5em; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { color: var(--ink-soft); }
.spec-list { display: flex; flex-direction: column; gap: 14px; margin: 20px 0; }
.spec-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; color: var(--ink-soft); }
.spec-list svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.article-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--dune); }
.aside-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.aside-card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 16px; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } .article-aside { position: static; } }

.related-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--paper); transition: border-color .25s ease, transform .25s ease; }
.related-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.related-card svg { color: var(--accent); width: 34px; height: 34px; margin-bottom: 14px; }
.related-card h4 { font-family: var(--font-body); font-weight: 600; margin-bottom: 8px; }
.related-card p { font-size: 0.88rem; color: var(--ink-soft); }
@media (max-width: 780px) { .related-products { grid-template-columns: 1fr; } }

/* utility */
.mt-lg { margin-top: 60px; }
.center { text-align: center; }
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- editorial stack (secondary photo pairing) ---------- */
.editorial-stack { display: flex; flex-direction: column; gap: 22px; }
.editorial-mini { aspect-ratio: 4 / 2.6; }

/* ---------- hero photo tag ---------- */
.hero-photo { position: relative; }
.hero-photo .tag {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  color: var(--dune); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.18em;
  border: 1px solid var(--line-on-dark); padding: 0.6em 1.1em; border-radius: 999px;
  background: rgba(20, 22, 26, 0.4); backdrop-filter: blur(6px);
}

/* ---------- brand mark sizing (nav + footer + chat head) ---------- */
.nav-mark svg, .footer-brand svg { width: 34px; height: 34px; display: block; }
.chat-head > svg { width: 30px; height: 30px; flex: none; }

/* ---------- ridge divider spacing when used between sections ---------- */
.ridge-divider-wrap { padding: 6px 0; background: var(--paper); }
.section-alt + .ridge-divider-wrap,
.ridge-divider-wrap + .section-alt { background: var(--dune); }

/* 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}

/* ---------- homepage guide (Ridge Playbook) promo + hero link ---------- */
.hero-guide-link{
  display:inline-flex;align-items:center;gap:8px;margin-top:2px;
  color:var(--accent-soft);font-size:.9rem;font-weight:600;
  text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;
  transition:color .2s ease;
}
.hero-guide-link:hover{color:var(--cream)}
.hero-guide-link .arw{transition:transform .25s ease}
.hero-guide-link:hover .arw{transform:translateX(3px)}

.playbook-band{
  border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:var(--radius);
  background:var(--dune);padding:clamp(30px,5vw,54px);max-width:900px;
  display:flex;flex-direction:column;gap:18px;
}
.playbook-band h2{font-size:clamp(1.8rem,3vw,2.5rem)}
.playbook-band p{color:var(--ink-soft);max-width:60ch}
.playbook-band .btn-outline{color:var(--ink)}
.playbook-band .btn-outline:hover{background:rgba(35,38,43,0.06)}
