/* ==========================================================================
   Baronetcy Blinds — stylesheet
   Theme: modern-mansion · Palette: olive + ivory + rust
   Fonts: Playfair Display (display) + Inter Tight (sans/body)
   Signature moment: "The Sightline" — cantilever elevation + sun arc + louvre
   ========================================================================== */

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

:root {
  --ivory: #F7F1E3;          /* canvas */
  --ivory-deep: #ECE1C6;     /* section-alt / card backgrounds */
  --cream: #FFFCF4;          /* lightest surface, form fields */
  --ink: #23241C;            /* body text, warm near-black */
  --ink-deep: #171810;       /* hero / dark sections */
  --ink-soft: #55584A;
  --olive: #767C47;          /* primary accent */
  --olive-deep: #565C33;     /* accent hover / pressed */
  --olive-soft: #B7BC96;     /* accent tint on dark */
  --rust: #B04E28;           /* accent-deep / CTA */
  --rust-deep: #8F3F21;      /* CTA hover */
  --rust-soft: #E3A67E;      /* soft tint on dark */
  --line: rgba(35, 36, 28, 0.14);
  --line-soft: rgba(35, 36, 28, 0.08);
  --line-on-dark: rgba(247, 241, 227, 0.2);
  --shadow-lg: 0 30px 70px rgba(15, 14, 9, 0.24);
  --shadow-sm: 0 10px 26px rgba(15, 14, 9, 0.12);
  --radius: 3px;
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --maxw: 1300px;
  --pad: clamp(20px, 5vw, 64px);
}

html, body { margin: 0; padding: 0; }
body {
  background: var(--ivory);
  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: 600; 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(--rust); outline-offset: 3px; }
.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--ink); color: var(--ivory); padding: 12px 18px; z-index: 2000;
  border-radius: var(--radius);
}
.skip-link:focus { left: 16px; top: 16px; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--olive);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--olive); 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.01em;
  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(--rust); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--rust-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, .enquiry .btn-outline:hover { background: rgba(35,36,28,0.06); }
.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- nav ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 22px var(--pad); display: flex; align-items: center; justify-content: space-between;
  color: var(--ivory); transition: background 0.4s ease, padding 0.4s ease, box-shadow .4s ease, color .4s ease;
}
.site-nav.is-solid {
  background: rgba(247, 241, 227, 0.94); backdrop-filter: blur(10px); color: var(--ink);
  padding-top: 13px; padding-bottom: 13px; box-shadow: 0 1px 0 var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-mark { flex: none; display: block; }
.nav-mark svg, .footer-brand svg { width: 36px; height: 36px; display: block; }

/* ---------- brand mark: "the cantilever" ---------- */
.mark-bg { fill: var(--ink-deep); }
.mark-roof { fill: none; stroke: var(--ivory); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mark-mullions line { stroke: var(--olive-soft); stroke-width: 1.5; stroke-linecap: round; }
.mark-ground { stroke: var(--ivory-deep); stroke-width: 1.3; opacity: .55; }
.mark-ray { stroke: var(--rust); stroke-width: 1.4; stroke-linecap: round; opacity: .9; }
.chat-head .mark-bg { fill: rgba(247,241,227,0.08); }
.nav-wordmark { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.13em; 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(--ivory); 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, wide text side ---------- */
.hero { display: grid; grid-template-columns: minmax(360px, 47%) 1fr; min-height: 100vh; background: var(--ink-deep); }
.hero-panel {
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: 150px var(--pad) 74px; color: var(--ivory); position: relative; overflow: hidden;
}
.hero-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, var(--line-on-dark) 0 1px, transparent 1px 96px);
}
.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-panel > * { position: relative; z-index: 1; }
.hero-kicker { color: var(--rust-soft); }
.hero-kicker .eyebrow::before { background: var(--rust-soft); }
.hero h1 { font-size: clamp(2.5rem, 4.4vw, 4.1rem); 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(247,241,227,0.8); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 4px; }
.hero-trust { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--line-on-dark); }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: rgba(247,241,227,0.9); }
.trust-item svg { flex: none; width: 20px; height: 20px; color: var(--rust-soft); }
.enquiry-list .trust-item, .enquiry-list.trust-item { color: var(--ink-soft); }
.enquiry-list .trust-item svg { color: var(--rust); }

.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(17,16,10,0.46), rgba(17,16,10,0) 42%); }
.hero-photo .tag {
  position: absolute; left: 26px; bottom: 26px; z-index: 2; color: var(--ivory); 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(17, 16, 10, 0.4); backdrop-filter: blur(6px);
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { height: 50vh; order: -1; }
  .hero-panel { padding-top: 112px; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--ivory-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 44s linear infinite; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.marquee span { font-family: var(--font-display); font-style: italic; font-size: 1.04rem; padding: 16px 2.4rem; white-space: nowrap; opacity: 0.9; }
.marquee span::after { content: "—"; margin-left: 2.4rem; color: var(--rust-soft); opacity: 0.8; }
@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.85rem); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.02rem; max-width: 58ch; }
.reveal { opacity: 0; transform: translateY(26px); }
.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; } }
.section-alt { background: var(--ivory-deep); }

/* ---------- manifesto strip ---------- */
.manifesto { padding: clamp(50px, 7vw, 78px) 0; border-bottom: 1px solid var(--line); }
.manifesto .pq { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.35; max-width: 22ch; font-weight: 500; }
.manifesto .pq em { color: var(--rust); font-style: italic; }
.manifesto-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: start; }
.manifesto-grid .body p { color: var(--ink-soft); }
@media (max-width: 860px) { .manifesto-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- product grid: hand-drawn SVG icon cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.product-card { background: var(--ivory); padding: 34px 28px 30px; display: flex; flex-direction: column; gap: 15px; transition: background .3s ease, transform .3s ease; position: relative; }
.product-card:hover { background: var(--cream); transform: translateY(-3px); }
.p-icon { color: var(--olive); }
.p-icon svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.product-card h3 { font-size: 1.12rem; 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.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--rust); display: inline-flex; align-items: center; gap: 6px; }
.product-link .arr { transition: transform .25s ease; }
.product-card:hover .product-link .arr { transform: translateX(4px); }
.rs-note { font-size: .86rem; line-height: 1.6; opacity: .85; margin: 2px 0 0; padding: 10px 12px; border-left: 2px solid var(--rust); background: rgba(176,78,40,0.06); }
.rs-note strong { font-weight: 700; }
@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: 0.9fr 1.1fr; 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(17,16,10,0.74), transparent); color: var(--ivory); font-size: 0.86rem; letter-spacing: 0.02em; }
.editorial-figure figcaption b { display: block; font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; margin-bottom: 3px; }
.editorial-main { grid-row: span 2; aspect-ratio: 4 / 5; }
.editorial-stack { display: flex; flex-direction: column; gap: 22px; }
.editorial-mini { aspect-ratio: 4 / 2.6; }
@media (max-width: 900px) { .editorial { grid-template-columns: 1fr; } .editorial-main { grid-row: auto; aspect-ratio: 4/3; } }

/* ---------- locale storytelling + signature moment: "The Sightline" ---------- */
.locale { background: var(--ink-deep); color: var(--ivory); position: relative; overflow: hidden; }
.locale .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; position: relative; z-index: 2; }
.locale .eyebrow { color: var(--rust-soft); }
.locale .eyebrow::before { background: var(--rust-soft); }
.locale h2 { color: var(--cream); font-size: clamp(2rem, 3.2vw, 2.7rem); margin-top: 14px; }
.locale-list { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.locale-item { display: flex; gap: 18px; }
.locale-item .num { font-family: var(--font-display); font-size: 1rem; color: var(--rust-soft); flex: none; width: 2ch; padding-top: 2px; }
.locale-item h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--olive-soft); margin-bottom: 6px; font-weight: 600; }
.locale-item p { color: rgba(247,241,227,0.82); font-size: 0.96rem; }

.sightline-wrap { position: relative; }
.sightline-frame {
  border: 1px solid var(--line-on-dark); border-radius: var(--radius); background: rgba(247,241,227,0.03);
  padding: 22px 22px 18px; position: sticky; top: 110px;
}
.sightline-scene { width: 100%; height: auto; display: block; overflow: visible; }
.scene-roofline { fill: none; stroke: var(--cream); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 620; stroke-dashoffset: 620; }
.scene-mullion { stroke: rgba(247,241,227,0.5); stroke-width: 1.4; }
.scene-glass { fill: rgba(183,188,150,0.14); }
.scene-ground { stroke: rgba(247,241,227,0.35); stroke-width: 1.2; }
.scene-sun { fill: var(--rust-soft); }
.scene-ray { stroke: var(--rust-soft); stroke-width: 1; stroke-dasharray: 2 4; opacity: .55; }
.scene-louvre rect { fill: rgba(23,24,16,0.72); }
.scene-louvre line { stroke: rgba(23,24,16,0.9); stroke-width: 1; }
.sightline-caption { margin-top: 16px; font-size: 0.86rem; color: rgba(247,241,227,0.62); text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .scene-roofline { stroke-dashoffset: 0; }
}

/* small roofline divider reused between sections */
.roof-divider { width: 100%; height: 40px; color: var(--rust); opacity: 0.5; }
.roof-divider path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 900; stroke-dashoffset: 900; }
.roof-divider path.is-drawn { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) { .roof-divider path { stroke-dashoffset: 0; } }
.roof-divider-wrap { padding: 6px 0; background: var(--ivory); }
.section-alt + .roof-divider-wrap, .roof-divider-wrap + .section-alt { background: var(--ivory-deep); }

/* ---------- process ---------- */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-item { position: relative; padding-top: 18px; border-top: 1px solid var(--line); }
.process-num { font-family: var(--font-display); font-size: 2.5rem; -webkit-text-stroke: 1.2px var(--rust); color: transparent; display: block; margin-bottom: 14px; }
.process-item h3 { font-size: 1.08rem; 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(--ivory); transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.area-chip:hover { border-color: var(--rust); background: var(--cream); transform: translateY(-2px); }
.area-chip svg { width: 16px; height: 16px; flex: none; color: var(--rust); }
.area-chip.is-current { background: var(--ink); color: var(--ivory); 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.16rem; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { position: relative; width: 20px; height: 20px; flex: none; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; background: var(--rust); top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform .3s ease; }
.faq-toggle::before { width: 16px; height: 2px; }
.faq-toggle::after { width: 2px; height: 16px; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item[open] summary { color: var(--rust-deep); }
.faq-body { padding: 0 4px 28px; color: var(--ink-soft); max-width: 68ch; }

/* ---------- closing CTA ---------- */
.cta-close { position: relative; overflow: hidden; background: var(--ink-deep); color: var(--ivory); text-align: center; }
.cta-glow { position: absolute; inset: 0; z-index: 0; }
.cta-glow i { position: absolute; display: block; width: 58vw; height: 58vw; max-width: 780px; max-height: 780px; border-radius: 50%; filter: blur(90px); opacity: 0.32; }
.cta-glow i:first-child { background: radial-gradient(circle, var(--olive), transparent 70%); top: -14%; left: -8%; animation: drift 22s ease-in-out infinite alternate; }
.cta-glow i:last-child { background: radial-gradient(circle, var(--rust), transparent 70%); bottom: -18%; right: -6%; opacity: 0.24; animation: drift 27s ease-in-out infinite alternate-reverse; }
@keyframes drift { 0% { transform: translate(-6%, -6%) scale(1); } 50% { transform: translate(10%, 8%) scale(1.14); } 100% { transform: translate(-4%, 14%) scale(0.95); } }
@media (prefers-reduced-motion: reduce) { .cta-glow i { animation: none; } }
.cta-close .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta-close h2 { color: var(--cream); font-size: clamp(2.1rem, 4vw, 3.2rem); max-width: 20ch; }
.cta-close p { color: rgba(247,241,227,0.78); max-width: 52ch; font-size: 1.05rem; }

/* ---------- enquiry form ---------- */
.enquire { background: var(--ivory-deep); }
.enquire-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.enquire-side p { color: var(--ink-soft); }
.enquire-list { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.form-card { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.8rem; 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(--rust); outline: none; }
.field textarea { resize: vertical; min-height: 96px; }
.form-popia { font-size: 0.82rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 16px; }
.form-note { font-size: 0.88rem; color: var(--olive-deep); min-height: 1em; }
@media (max-width: 860px) { .enquire-wrap { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--ivory); padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 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 .brand-word, .footer-brand .nav-wordmark { color: var(--cream); font-family: var(--font-display); font-size: 1.2rem; }
.footer-brand p { color: rgba(247,241,227,0.72); max-width: 40ch; font-size: 0.96rem; }
.footer-col h5 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--rust-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(247,241,227,0.82); transition: color .2s ease; }
.footer-col a:hover { color: var(--rust-soft); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 0.82rem; color: rgba(247,241,227,0.56); }
.footer-bottom .popia { max-width: 62ch; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- chat widget ---------- */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 900; }
.chat-launch {
  width: 60px; height: 60px; border-radius: 50%; background: var(--rust); 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; position: relative; z-index: 2;
}
.chat-launch:hover { transform: scale(1.06); background: var(--rust-deep); }
.chat-launch svg { width: 25px; height: 25px; position: absolute; transition: opacity .2s ease, transform .2s ease; }
.chat-launch .chat-x { opacity: 0; transform: scale(0.7); }
.chat-launch[aria-expanded="true"] .chat-bubble { opacity: 0; transform: scale(0.7); }
.chat-launch[aria-expanded="true"] .chat-x { opacity: 1; transform: scale(1); }

.chat-panel {
  position: absolute; right: 0; bottom: 76px; width: min(376px, calc(100vw - 40px));
  max-height: min(600px, calc(100vh - 140px)); background: var(--ivory); 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(--ivory); padding: 18px 20px; display: flex; align-items: center; gap: 12px; }
.chat-head svg { width: 30px; height: 30px; flex: none; }
.chat-head-text strong { font-family: var(--font-display); font-size: 1.04rem; display: block; font-weight: 600; }
.chat-head-text span { font-size: 0.78rem; color: var(--rust-soft); }
.chat-body { flex: 1; overflow-y: auto; padding: 18px 18px 6px; display: flex; flex-direction: column; gap: 12px; min-height: 220px; }
.chat-msg { max-width: 86%; padding: 12px 14px; border-radius: 12px; font-size: 0.92rem; line-height: 1.5; }
.chat-msg.bot { background: var(--ivory-deep); color: var(--ink); border-bottom-left-radius: 3px; align-self: flex-start; }
.chat-msg.user { background: var(--ink); color: var(--ivory); border-bottom-right-radius: 3px; align-self: flex-end; }
.chat-msg.popia { font-size: 0.74rem; color: var(--ink-soft); background: var(--ivory-deep); border-radius: 10px; align-self: flex-start; max-width: 94%; }
.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(--rust); background: var(--ivory-deep); }
.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(--ivory); color: var(--ink); }
.chat-input-row input:focus { outline: none; border-color: var(--rust); }
.chat-send { width: 40px; height: 40px; border-radius: 50%; background: var(--rust); color: var(--cream); border: none; display: flex; align-items: center; justify-content: center; flex: none; }
.chat-send svg { width: 17px; height: 17px; }
.chat-foot { font-size: 0.72rem; color: var(--ink-soft); text-align: center; padding: 8px 14px 12px; }

/* ---------- callouts (product pages) ---------- */
.callout { border: 1px solid var(--line); border-left: 3px solid var(--rust); border-radius: var(--radius); padding: 22px 24px; background: var(--ivory-deep); margin: 8px 0; }
.callout h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--rust-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: 54vh; 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.74; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,14,9,0.9), rgba(15,14,9,0.26) 60%, rgba(15,14,9,0.5)); }
.page-hero .wrap { position: relative; z-index: 2; padding-top: 156px; padding-bottom: 54px; }
.page-hero .eyebrow { color: var(--rust-soft); }
.page-hero .eyebrow::before { background: var(--rust-soft); }
.page-hero h1 { color: var(--cream); font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin-top: 14px; max-width: 19ch; }
.page-hero p { color: rgba(247,241,227,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.55rem, 2.6vw, 2.15rem); 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(--rust); }
.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(--ivory-deep); }
.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(--ivory); transition: border-color .25s ease, transform .25s ease; display: block; }
.related-card:hover { border-color: var(--rust); transform: translateY(-3px); }
.related-card .p-icon svg { 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 */
.center { text-align: center; }
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
