/* ==========================================================================
   Forest Town Blinds — stylesheet
   Theme: heritage-parks · Palette: warm taupe + off-black + oxblood
   Fonts: Gelasio (display) + Red Hat Text (body)
   ========================================================================== */

:root {
  --ink: #241d18;
  --ink-soft: #4a3f37;
  --taupe: #c8b39a;
  --taupe-deep: #9c826a;
  --taupe-pale: #efe4d5;
  --oxblood: #7a2e28;
  --oxblood-deep: #5c221d;
  --cream: #faf5ec;
  --paper: #fffdfa;
  --line: rgba(36, 29, 24, 0.14);
  --shadow: 0 30px 60px -30px rgba(36, 29, 24, 0.35);

  --font-display: "Gelasio", "Iowan Old Style", serif;
  --font-body: "Red Hat Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --section-pad: 104px;
  --maxw: 1240px;

  color-scheme: light;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  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; }
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; color: var(--ink); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--oxblood);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--oxblood);
  transform-origin: left;
}

.rule {
  height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
}
.rule.in-view { transform: scaleX(1); transition: transform 900ms cubic-bezier(.4,0,.2,1); }

.section { padding: var(--section-pad) 0; }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head h2 { font-size: clamp(2rem, 3vw, 2.7rem); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem; }

.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in-view { opacity: 1; transform: translateY(0); transition: opacity 800ms ease, transform 800ms cubic-bezier(.4,0,.2,1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 260ms cubic-bezier(.4,0,.2,1), background 260ms ease, color 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  white-space: nowrap;
}
.btn-primary { background: var(--oxblood); color: var(--paper); box-shadow: 0 14px 30px -14px rgba(122,46,40,0.65); }
.btn-primary:hover { background: var(--oxblood-deep); box-shadow: 0 18px 34px -12px rgba(122,46,40,0.7); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: 11px 22px; font-size: 0.85rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: background 320ms ease, box-shadow 320ms ease, padding 320ms ease, border-color 320ms ease;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  border-bottom-color: var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 36px; height: 36px; flex-shrink: 0; color: var(--ink); }
.accent { stroke: var(--oxblood); }
.site-footer .accent, .chat-head .accent { stroke: var(--taupe); }
.brand-word { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-word .accent { color: var(--oxblood); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 3px;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--oxblood);
  transform: scaleX(0); transform-origin: right;
  transition: transform 260ms ease;
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:not(.btn):hover { color: var(--ink); }

.nav-toggle { display: none; background: none; border: none; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform 260ms ease, opacity 260ms ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 var(--section-pad);
  background:
    radial-gradient(760px 420px at 88% -8%, rgba(200,179,154,0.55), transparent 60%),
    radial-gradient(600px 500px at -10% 40%, rgba(122,46,40,0.08), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.5rem, 4.4vw, 4.3rem);
  margin-top: 18px;
}
.hero-copy h1 .word { display: inline-block; opacity: 0; transform: translateY(18px); }
.hero-copy .sub {
  margin-top: 22px;
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-ctas { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 0.87rem; color: var(--ink-soft); font-weight: 500; }
.trust-item svg { width: 17px; height: 17px; color: var(--oxblood); flex-shrink: 0; }

.hero-frame-wrap { position: relative; }
.hero-viewport {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow);
  border: 1px solid rgba(36,29,24,0.08);
  isolation: isolate;
}
.hero-viewport img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}
.hero-viewport::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(185deg, rgba(36,29,24,0.02) 0%, rgba(36,29,24,0.5) 100%);
  z-index: 1;
}
.viewport-caption {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  background: rgba(250,245,236,0.92);
  color: var(--ink);
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.viewport-caption .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--oxblood); }
.viewport-caption .dot.pulse { animation: dotpulse 2.4s ease-in-out infinite; }
@keyframes dotpulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* grain/noise fade-in + slow vertical drift — signature moment */
.hero-grain {
  position: absolute;
  inset: -10% 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* dappled canopy-light drift */
.canopy-light { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: soft-light; }
.canopy-light span {
  position: absolute;
  border-radius: 44% 56% 60% 40% / 50% 45% 55% 50%;
  background: radial-gradient(circle at 35% 35%, rgba(250,245,236,0.9), transparent 70%);
  filter: blur(10px);
  opacity: 0.55;
}
.canopy-light .c1 { width: 220px; height: 180px; top: -30px; left: 10%; animation: drift1 26s ease-in-out infinite; }
.canopy-light .c2 { width: 160px; height: 140px; top: 40%; left: 60%; animation: drift2 32s ease-in-out infinite; }
.canopy-light .c3 { width: 130px; height: 110px; top: 68%; left: 5%; animation: drift3 22s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-34px, 24px) scale(0.9); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(26px, -22px) scale(1.08); } }

.float-chip {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  box-shadow: 0 18px 34px -18px rgba(36,29,24,0.4);
  z-index: 3;
  max-width: 190px;
}
.float-chip .tag { display: block; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--oxblood); font-weight: 700; margin-bottom: 3px; }
.chip-a { left: -34px; bottom: 96px; }
.chip-b { right: -26px; top: 30%; }
.chip-c { left: 12%; bottom: -22px; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  color: var(--taupe-pale);
  overflow: hidden;
  padding: 17px 0;
  white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 46px; animation: marquee 42s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-style: italic; font-size: 1.02rem; font-weight: 500; opacity: 0.92; display: inline-flex; align-items: center; gap: 46px; }
.marquee-track span::after { content: "◆"; font-size: 0.6rem; color: var(--oxblood); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.product-card {
  background: var(--paper);
  padding: 34px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 260ms ease;
}
.product-card:hover { background: var(--taupe-pale); }
.product-card .card-photo { width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 28px -18px rgba(36,29,24,0.4); }
.product-card .card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 420ms cubic-bezier(.4,0,.2,1); }
.product-card:hover .card-photo img { transform: scale(1.05); }
.product-card h3 { font-size: 1.08rem; font-weight: 600; }
.product-card p { color: var(--ink-soft); font-size: 0.92rem; flex-grow: 1; }
.explore { font-size: 0.82rem; font-weight: 600; color: var(--oxblood); display: inline-flex; align-items: center; gap: 6px; transition: gap 220ms ease; }
.explore:hover { gap: 10px; }
.explore svg { width: 14px; height: 8px; }
.feature-item { flex-wrap: wrap; }
.feature-item .explore { margin-top: 8px; width: 100%; }
.product-card.repair-cta { background: var(--taupe-pale); border-left: 3px solid var(--oxblood); }
.product-card.repair-cta:hover { background: var(--taupe); }

/* ---------- Editorial photo section ---------- */
.editorial { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.editorial-figure { position: relative; border-radius: 18px; overflow: hidden; }
.editorial-figure img { width: 100%; height: 100%; object-fit: cover; }
.editorial-figure.tall { min-height: 560px; }
.editorial-right { display: flex; flex-direction: column; gap: 20px; }
.editorial-figure.short { min-height: 270px; }
.editorial-figure .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 18px;
  background: linear-gradient(180deg, rgba(36,29,24,0) 0%, rgba(36,29,24,0.78) 100%);
  color: var(--paper);
}
.editorial-figure .cap span.tag { display: block; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe); margin-bottom: 6px; font-weight: 600; }
.editorial-figure .cap p { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; }

/* ---------- Locale storytelling ---------- */
.locale { background: var(--ink); color: var(--taupe-pale); position: relative; overflow: hidden; }
.locale::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 90% 10%, rgba(122,46,40,0.35), transparent 65%);
}
.locale .container { position: relative; z-index: 1; }
.locale .eyebrow { color: var(--taupe); }
.locale .eyebrow::before { background: var(--taupe); }
.locale h2 { color: var(--paper); }
.locale-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 40px; }
.locale-grid p { color: rgba(250,245,236,0.82); margin-bottom: 18px; }
.locale-facts { display: flex; flex-direction: column; gap: 22px; }
.locale-fact { border-top: 1px solid rgba(250,245,236,0.16); padding-top: 16px; }
.locale-fact h4 { color: var(--paper); font-size: 1.02rem; margin-bottom: 6px; }
.locale-fact p { color: rgba(250,245,236,0.68); font-size: 0.92rem; margin: 0; }

/* ---------- Process ---------- */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.process-step { position: relative; padding-top: 8px; }
.process-step .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--oxblood);
  display: block;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Areas ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 14px; }
.area-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: border-color 260ms ease, transform 260ms ease, box-shadow 260ms ease;
}
.area-chip:hover { border-color: var(--oxblood); transform: translateY(-3px); box-shadow: 0 20px 34px -22px rgba(36,29,24,0.4); }
.area-chip .place { font-family: var(--font-display); font-size: 1.05rem; }
.area-chip svg { width: 16px; height: 16px; color: var(--oxblood); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; }
.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;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .indicator { position: relative; width: 20px; height: 20px; flex-shrink: 0; margin-left: 20px; }
.faq-item .indicator::before, .faq-item .indicator::after {
  content: ""; position: absolute; background: var(--oxblood); border-radius: 2px;
  transition: transform 320ms cubic-bezier(.4,0,.2,1);
}
.faq-item .indicator::before { width: 100%; height: 2px; top: 9px; left: 0; }
.faq-item .indicator::after { width: 2px; height: 100%; left: 9px; top: 0; }
.faq-item[open] .indicator::after { transform: rotate(90deg); }
.faq-item .faq-a { padding: 0 4px 26px; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Closing CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--oxblood); color: var(--paper); text-align: center; padding: 108px 0; }
.cta-glow { position: absolute; inset: -20%; z-index: 0; }
.cta-glow span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.45; }
.cta-glow .g1 { width: 420px; height: 420px; background: var(--taupe); top: -10%; left: 6%; animation: glow1 18s ease-in-out infinite; }
.cta-glow .g2 { width: 360px; height: 360px; background: var(--oxblood-deep); bottom: -12%; right: 8%; animation: glow2 22s ease-in-out infinite; }
.cta-glow .g3 { width: 280px; height: 280px; background: var(--cream); top: 30%; right: 30%; animation: glow3 26s ease-in-out infinite; opacity: 0.22; }
@keyframes glow1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(60px, 40px); } }
@keyframes glow2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-50px, -30px); } }
@keyframes glow3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px, 50px) scale(1.15); } }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--paper); font-size: clamp(2rem, 3.6vw, 3.1rem); max-width: 20ch; margin: 0 auto; }
.cta-band p { color: rgba(250,245,236,0.85); margin-top: 18px; font-size: 1.08rem; }
.cta-band .hero-ctas { justify-content: center; margin-top: 34px; }
.cta-band .btn-outline { border-color: rgba(250,245,236,0.6); color: var(--paper); }
.cta-band .btn-outline:hover { background: var(--paper); color: var(--oxblood); }
.cta-band .btn-primary { background: var(--paper); color: var(--oxblood); }
.cta-band .btn-primary:hover { background: var(--taupe-pale); }

/* ---------- Enquiry form ---------- */
.enquiry-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.enquiry-side p { color: var(--ink-soft); margin-top: 16px; }
.enquiry-side .promise { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.enquiry-side .promise-item { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); }
.enquiry-side .promise-item svg { width: 18px; height: 18px; color: var(--oxblood); flex-shrink: 0; margin-top: 2px; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  transition: border-color 220ms ease, background 220ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--oxblood); background: var(--paper);
}
.field textarea { resize: vertical; min-height: 100px; }
.popia { font-size: 0.8rem; color: var(--ink-soft); margin-top: 14px; line-height: 1.6; }
.form-success {
  display: none;
  background: var(--taupe-pale);
  border: 1px solid var(--taupe);
  border-radius: 14px;
  padding: 22px 24px;
  margin-top: 18px;
}
.form-success.show { display: block; }
.form-success h4 { font-family: var(--font-display); margin-bottom: 6px; }
.form-success p { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(250,245,236,0.72); padding: 64px 0 34px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(250,245,236,0.14); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand svg { width: 34px; height: 34px; color: var(--paper); }
.footer-brand .brand-word { color: var(--paper); }
.footer-tagline { color: rgba(250,245,236,0.6); font-size: 0.92rem; margin-top: 12px; max-width: 34ch; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe); margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; font-size: 0.9rem; color: rgba(250,245,236,0.72); margin-bottom: 11px; transition: color 220ms ease; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 0.8rem; color: rgba(250,245,236,0.5); }
.footer-bottom .popia-mini { max-width: 60ch; }

/* ---------- Chat widget ---------- */
.chat-launcher {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--oxblood); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  border: none; box-shadow: 0 18px 34px -12px rgba(122,46,40,0.6);
  transition: transform 260ms ease, background 260ms ease;
}
.chat-launcher:hover { transform: scale(1.06); background: var(--oxblood-deep); }
.chat-launcher svg { width: 26px; height: 26px; }
.chat-launcher .close-icon { display: none; }
.chat-launcher.open .chat-icon { display: none; }
.chat-launcher.open .close-icon { display: block; }
.chat-badge {
  position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--taupe); border: 2px solid var(--cream);
}

.chat-panel {
  position: fixed; right: 26px; bottom: 100px; z-index: 900;
  width: 368px; max-width: calc(100vw - 40px);
  max-height: min(72vh, 620px);
  background: var(--paper);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(36,29,24,0.5);
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 240ms ease, transform 240ms ease;
  overflow: hidden;
}
.chat-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chat-head { background: var(--ink); color: var(--paper); padding: 18px 20px; display: flex; gap: 12px; align-items: center; }
.chat-head svg { width: 30px; height: 30px; flex-shrink: 0; color: var(--paper); }
.chat-head .name { font-family: var(--font-display); font-size: 1.02rem; }
.chat-head .sub { font-size: 0.74rem; color: rgba(250,245,236,0.65); margin-top: 2px; }
.chat-body { padding: 18px 18px 8px; overflow-y: auto; flex-grow: 1; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 85%; padding: 11px 14px; border-radius: 14px; font-size: 0.88rem; line-height: 1.5; }
.chat-msg.bot { background: var(--taupe-pale); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.user { background: var(--oxblood); color: var(--paper); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-popia { font-size: 0.72rem; color: var(--ink-soft); background: var(--cream); border: 1px dashed var(--line); border-radius: 10px; padding: 9px 11px; align-self: stretch; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 2px; }
.chat-chip {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font-size: 0.82rem; font-weight: 500;
  transition: border-color 220ms ease, background 220ms ease;
}
.chat-chip:hover { border-color: var(--oxblood); background: var(--taupe-pale); }
.chat-input-row { display: none; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.chat-input-row.show { display: flex; }
.chat-input-row input { flex-grow: 1; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; background: var(--cream); }
.chat-input-row input:focus { outline: none; border-color: var(--oxblood); }
.chat-input-row button { background: var(--oxblood); color: var(--paper); border: none; border-radius: 999px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-input-row button svg { width: 17px; height: 17px; }

/* ---------- Inner page hero (products / areas) ---------- */
.page-hero {
  padding: 168px 0 76px;
  background:
    radial-gradient(700px 380px at 90% -10%, rgba(200,179,154,0.5), transparent 60%),
    var(--cream);
}
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--oxblood); }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-top: 14px; max-width: 18ch; }
.page-hero .sub { margin-top: 18px; font-size: 1.08rem; color: var(--ink-soft); max-width: 60ch; }
.page-media { border-radius: 22px; overflow: hidden; margin-top: 44px; box-shadow: var(--shadow); }
.page-media img { width: 100%; max-height: 480px; object-fit: cover; }

.content-block { max-width: 780px; }
.content-block h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 18px; }
.content-block p { color: var(--ink-soft); margin-bottom: 16px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }
.feature-item { display: flex; gap: 14px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.feature-item svg { width: 22px; height: 22px; color: var(--oxblood); flex-shrink: 0; margin-top: 2px; }
.feature-item h4 { font-size: 0.98rem; margin-bottom: 6px; }
.feature-item p { font-size: 0.88rem; margin: 0; color: var(--ink-soft); }
.feature-item .thumb { width: 74px; height: 74px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.feature-item .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.honest-note { background: var(--taupe-pale); border-left: 3px solid var(--oxblood); border-radius: 0 14px 14px 0; padding: 20px 24px; margin-top: 12px; }
.honest-note p { color: var(--ink-soft); margin: 0; font-size: 0.94rem; }
.honest-note span.tag { display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--oxblood); font-weight: 700; margin-bottom: 8px; }

.related-areas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .enquiry-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-frame-wrap { order: -1; }
  .hero-viewport { aspect-ratio: 16/11; }
  .float-chip { display: none; }
  .locale-grid { grid-template-columns: 1fr; gap: 30px; }
  .editorial { grid-template-columns: 1fr; }
  .editorial-figure.tall { min-height: 380px; }
  .footer-cols { gap: 40px; }
}

@media (max-width: 720px) {
  :root { --section-pad: 72px; }
  .container { padding: 0 22px; }
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 86vw);
    background: var(--paper); flex-direction: column; align-items: flex-start; padding: 100px 30px 30px;
    transform: translateX(100%); transition: transform 320ms cubic-bezier(.4,0,.2,1);
    box-shadow: -20px 0 50px rgba(0,0,0,0.15); gap: 22px;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; z-index: 501; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px; }
  .chat-panel { right: 14px; left: 14px; width: auto; bottom: 92px; }
  .chat-launcher { right: 18px; bottom: 18px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero-copy h1 .word { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .rule { transform: scaleX(1); }
  .marquee-track { animation: none; }
  .canopy-light span { animation: none; opacity: 0.3; }
  .cta-glow span { animation: none; }
  .hero-viewport img { transform: none; }
  .hero-grain { opacity: 0.05; }
  .hero, .hero-viewport, .btn { transform: none !important; }
  .product-card .card-photo img,
  .editorial-figure img,
  .page-media img,
  .feature-item .thumb img { clip-path: none !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 3px;
}

/* 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}


/* ==========================================================================
   THE LEAD LADDER — guide page, ballpark tool, free-measure form
   Rung 1 guide.html · Rung 2 ballpark window table · Rung 3 free expert measure
   Uses only the tokens declared at the top of this file.
   ========================================================================== */

/* ---------- Guide hero ---------- */
.guide-hero {
  padding: 156px 0 64px;
  background:
    radial-gradient(760px 420px at 88% -10%, rgba(200,179,154,0.5), transparent 62%),
    radial-gradient(560px 460px at -8% 46%, rgba(122,46,40,0.07), transparent 62%),
    var(--cream);
  overflow: hidden;
}
.guide-hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 52px; align-items: center; }
.guide-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); margin-top: 16px; }
.guide-hero h1 .lede { display: block; font-style: italic; font-weight: 400; font-size: 0.5em; color: var(--ink-soft); letter-spacing: -0.005em; margin-top: 14px; line-height: 1.3; }
.guide-hero .sub { margin-top: 22px; font-size: 1.1rem; color: var(--ink-soft); max-width: 52ch; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.guide-meta span {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; font-size: 0.78rem; font-weight: 500; color: var(--ink-soft);
}
.guide-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--oxblood); flex-shrink: 0; }
.guide-viewport {
  position: relative; border-radius: 26px; overflow: hidden; margin: 0;
  aspect-ratio: 16 / 11; box-shadow: var(--shadow); border: 1px solid rgba(36,29,24,0.08);
}
.guide-viewport img { width: 100%; height: 100%; object-fit: cover; }
.guide-viewport figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 22px 18px;
  background: linear-gradient(180deg, rgba(36,29,24,0) 0%, rgba(36,29,24,0.8) 100%);
  color: var(--paper); font-family: var(--font-display); font-style: italic; font-size: 0.96rem;
}

/* ---------- Contents rail ---------- */
.contents { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; background: var(--paper); }
.contents .container { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.contents .lbl { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; color: var(--oxblood); margin-right: 6px; }
.contents a {
  font-size: 0.84rem; font-weight: 500; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px;
  transition: border-color 240ms ease, color 240ms ease, background 240ms ease;
}
.contents a:hover { border-color: var(--oxblood); color: var(--ink); background: var(--taupe-pale); }

/* ---------- Guide prose ---------- */
.guide-prose { max-width: 68ch; }
.guide-prose p { color: var(--ink-soft); margin-bottom: 18px; }
.guide-prose p strong { color: var(--ink); font-weight: 600; }
.guide-prose h3 { font-size: 1.24rem; margin: 34px 0 12px; }
.guide-prose ul { margin: 0 0 18px; padding: 0; list-style: none; }
.guide-prose ul li { position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--ink-soft); }
.guide-prose ul li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 9px; height: 1px; background: var(--oxblood); }
.guide-section { padding: var(--section-pad) 0; }
.guide-section.tinted { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.guide-figure { margin: 40px 0 0; border-radius: 18px; overflow: hidden; position: relative; box-shadow: var(--shadow); }
.guide-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 24px 18px;
  background: linear-gradient(180deg, rgba(36,29,24,0) 0%, rgba(36,29,24,0.82) 100%);
  color: var(--paper); font-size: 0.87rem;
}
.guide-figure figcaption b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.02rem; margin-bottom: 3px; }

/* ---------- Elevation cards ---------- */
.elev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.elev-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; }
.elev-card .compass { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.elev-card .compass svg { width: 30px; height: 30px; flex-shrink: 0; color: var(--oxblood); }
.elev-card .compass b { font-family: var(--font-display); font-size: 1.14rem; font-weight: 600; }
.elev-card p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 12px; }
.elev-card p:last-child { margin-bottom: 0; }
.elev-card .verdict { border-top: 1px solid var(--line); padding-top: 13px; margin-top: 15px; font-size: 0.9rem; color: var(--ink-soft); }
.elev-card .verdict em { font-family: var(--font-display); font-style: italic; color: var(--oxblood); font-weight: 600; }

/* ---------- Product recommendations ---------- */
.rec-list { display: flex; flex-direction: column; gap: 18px; margin-top: 40px; }
.rec {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 30px; display: grid; grid-template-columns: 1fr auto; gap: 16px 30px; align-items: start;
}
.rec-head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.rec-head h3 { font-size: 1.18rem; }
.rec-head .where { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--oxblood); }
.rec-body { grid-column: 1; }
.rec-body p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 12px; }
.rec-body p:last-child { margin-bottom: 0; }
.rec-trade { background: var(--cream); border-left: 2px solid var(--taupe-deep); border-radius: 0 10px 10px 0; padding: 13px 16px; margin-top: 14px; }
.rec-trade b { display: block; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe-deep); font-weight: 700; margin-bottom: 5px; }
.rec-trade p { font-size: 0.89rem; margin: 0; }
.rec-side { grid-column: 2; grid-row: 2; align-self: start; }
.rec-add {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: transparent; color: var(--oxblood); border: 1px solid var(--oxblood);
  border-radius: 999px; padding: 11px 20px; font-size: 0.83rem; font-weight: 600;
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
}
.rec-add:hover { background: var(--oxblood); color: var(--paper); }
.rec-add::before { content: "+"; font-size: 1.05rem; line-height: 1; }
.rec-add.is-added { background: var(--taupe-pale); border-color: var(--taupe); color: var(--ink-soft); cursor: default; }
.rec-add.is-added::before { content: "✓"; font-size: 0.86rem; }
.rec-add[disabled] { opacity: 1; }

/* ---------- On-site checklist ---------- */
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 38px; counter-reset: chk; }
.check-item { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 22px; }
.check-item::before {
  counter-increment: chk; content: counter(chk, decimal-leading-zero);
  font-family: var(--font-display); font-size: 1.5rem; color: transparent;
  -webkit-text-stroke: 1.1px var(--oxblood); display: block; margin-bottom: 10px;
}
.check-item h4 { font-size: 1.01rem; margin-bottom: 7px; }
.check-item p { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Sources ---------- */
.sources { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 32px 34px; margin-top: 34px; }
.sources ol { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 0.89rem; }
.sources li { margin-bottom: 10px; }
.sources a { color: var(--oxblood); text-decoration: underline; text-underline-offset: 2px; }
.sources a:hover { color: var(--oxblood-deep); }
.sources .note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Rung 3: the close ---------- */
.ladder-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 56px; align-items: start; }
.ladder-side p { color: var(--ink-soft); margin-top: 16px; }
.interest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin-top: 2px; }
.interest-grid label {
  display: flex; align-items: flex-start; gap: 9px; font-size: 0.86rem; font-weight: 400;
  color: var(--ink-soft); letter-spacing: 0; margin: 0; padding: 5px 0; cursor: pointer;
}
.interest-grid input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; accent-color: var(--oxblood); }
.interest-grid input:checked + span { color: var(--ink); font-weight: 500; }
.field .legend { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 7px; color: var(--ink); }
.carry-note { font-size: 0.84rem; color: var(--ink-soft); background: var(--taupe-pale); border-radius: 10px; padding: 10px 13px; margin-top: 9px; }
.carry-note strong { color: var(--ink); }

.lead-thanks { background: var(--taupe-pale); border: 1px solid var(--taupe); border-radius: 16px; padding: 26px 28px; margin-top: 18px; }
.lead-thanks h3, .form-success h3 { font-size: 1.22rem; margin-bottom: 10px; font-family: var(--font-display); }
.lead-thanks p { color: var(--ink-soft); font-size: 0.93rem; margin-bottom: 10px; }
.lead-thanks p:last-child, .form-success p:last-child { margin-bottom: 0; }
.lead-thanks a, .form-success a { color: var(--oxblood); text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.form-success p { margin-bottom: 10px; }
form.is-sent { display: none; }

/* ---------- Rung 2: the ballpark table ---------- */
.ballpark { margin-top: 22px; border: 1px dashed var(--line); border-radius: 16px; background: var(--cream); }
.ballpark > summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 0.94rem; font-weight: 600; color: var(--ink);
  transition: color 240ms ease;
}
.ballpark > summary::-webkit-details-marker { display: none; }
.ballpark > summary .chev { width: 15px; height: 15px; flex-shrink: 0; color: var(--oxblood); transition: transform 300ms cubic-bezier(.4,0,.2,1); }
.ballpark[open] > summary .chev { transform: rotate(180deg); }
.ballpark > summary:hover { color: var(--oxblood); }
.bp-inner { padding: 0 22px 22px; }
.bp-pairing { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 18px; max-width: 64ch; }
.bp-pairing strong { color: var(--ink); font-weight: 600; }
.bp-scroll { overflow-x: auto; }
.bp-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.bp-table th {
  text-align: left; font-size: 0.64rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 700; padding: 0 8px 9px 0; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.bp-table td { padding: 7px 8px 7px 0; vertical-align: middle; }
.bp-table input, .bp-table select {
  width: 100%; min-width: 92px; border: 1px solid var(--line); background: var(--paper); border-radius: 8px;
  padding: 9px 10px; color: var(--ink); font-size: 0.85rem;
  transition: border-color 220ms ease;
}
.bp-table input:focus, .bp-table select:focus { outline: none; border-color: var(--oxblood); }
.bp-table td.bp-rm { width: 34px; padding-right: 0; }
.bp-remove {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-soft); font-size: 1.02rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}
.bp-remove:hover { border-color: var(--oxblood); color: var(--oxblood); background: var(--taupe-pale); }
.bp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.bp-btn {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; font-size: 0.82rem; font-weight: 600; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 220ms ease, background 220ms ease, color 220ms ease;
}
.bp-btn:hover { border-color: var(--oxblood); color: var(--oxblood); background: var(--taupe-pale); }
.bp-btn svg { width: 14px; height: 14px; }
.bp-count { font-size: 0.82rem; color: var(--ink-soft); margin-top: 12px; }
.bp-foot { font-size: 0.79rem; color: var(--ink-soft); margin-top: 12px; line-height: 1.6; }
.bp-print-head { display: none; }
.bp-holder { display: none; }

/* ---------- Ladder responsive ---------- */
@media (max-width: 1080px) {
  .guide-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .guide-hero { padding-top: 140px; }
  .ladder-grid { grid-template-columns: 1fr; gap: 40px; }
  .elev-grid, .check-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .guide-hero { padding-top: 118px; }
  .rec { grid-template-columns: 1fr; padding: 24px 22px; }
  .rec-side { grid-column: 1; grid-row: auto; }
  .sources { padding: 24px 22px; }
  .interest-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  /* window rows become stacked cards */
  .bp-scroll { overflow-x: visible; }
  .bp-table, .bp-table tbody, .bp-table tr, .bp-table td { display: block; width: 100%; }
  .bp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bp-table tr.bp-row {
    background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
    padding: 14px 14px 6px; margin-bottom: 12px; position: relative;
  }
  .bp-table td { padding: 0 0 10px; }
  .bp-table td[data-lbl]::before {
    content: attr(data-lbl); display: block; font-size: 0.63rem; letter-spacing: 0.13em;
    text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: 5px;
  }
  .bp-table td.bp-rm { position: absolute; top: 10px; right: 10px; width: auto; padding: 0; }
  .bp-table td.bp-rm::before { content: none; }
  .bp-inner { padding: 0 14px 18px; }
  .ballpark > summary { padding: 16px 14px; }
}

/* ---------- Print: walk the house with paper ---------- */
@media print {
  body { background: #fff; }
  .nav, .marquee, .cta-band, .site-footer, .chat-launcher, .chat-panel,
  .contents, .guide-hero, .guide-figure, .hero-ctas, .bp-actions,
  .bp-remove, .ballpark > summary, .bp-pairing, .popia { display: none !important; }
  .ballpark { border: none; background: #fff; margin: 0; }
  .bp-inner { padding: 0; }
  .bp-print-head { display: block; margin-bottom: 16px; }
  .bp-print-head h2 { font-size: 1.5rem; margin-bottom: 6px; }
  .bp-print-head p { font-size: 0.86rem; color: #444; }
  .bp-table input, .bp-table select { border: 1px solid #999; background: #fff; }
  .bp-table th { border-bottom: 1px solid #666; }
  .form-card { border: none; box-shadow: none; padding: 0; }
  body.bp-printing .guide-section, body.bp-printing .section { padding: 0 !important; }
  body.bp-printing .guide-prose, body.bp-printing .rec-list, body.bp-printing .elev-grid,
  body.bp-printing .check-list, body.bp-printing .sources, body.bp-printing .section-head,
  body.bp-printing .ladder-side, body.bp-printing .form-row, body.bp-printing .interest-grid,
  body.bp-printing .field:not(.bp-holder), body.bp-printing .form-success,
  body.bp-printing .lead-thanks, body.bp-printing .rule,
  body.bp-printing form > button { display: none !important; }
  body.bp-printing .ladder-grid { display: block !important; }
}

/* ---------- Ladder odds and ends ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ladder-side .promise { margin-top: 4px; display: flex; flex-direction: column; gap: 14px; }
.ladder-side .promise-item { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); }
.ladder-side .promise-item svg { width: 18px; height: 18px; color: var(--oxblood); flex-shrink: 0; margin-top: 2px; }
.ladder-side .eyebrow + h2 { margin-top: 14px; }
#handbook-form-end .btn { width: auto; }

/* ---------- Homepage: handbook hand-off ---------- */
.hero-guide-link {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 20px;
  font-size: 0.88rem; font-weight: 500; color: var(--ink-soft);
  border-bottom: 1px solid var(--line); padding-bottom: 5px;
  transition: color 240ms ease, border-color 240ms ease, gap 240ms ease;
}
.hero-guide-link em { font-family: var(--font-display); font-style: italic; color: var(--ink); }
.hero-guide-link svg { width: 15px; height: 9px; color: var(--oxblood); flex-shrink: 0; }
.hero-guide-link:hover { color: var(--ink); border-color: var(--oxblood); gap: 13px; }

.handbook-band {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
}
.handbook-figure { margin: 0; position: relative; min-height: 400px; }
.handbook-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.handbook-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(36,29,24,0.14) 0%, rgba(36,29,24,0) 60%);
}
.handbook-copy { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.handbook-copy h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-top: 14px; }
.handbook-lede { margin-top: 14px; color: var(--ink-soft); font-size: 1.04rem; }
.handbook-points { margin: 22px 0 0; padding: 0; list-style: none; }
.handbook-points li { position: relative; padding-left: 24px; margin-bottom: 11px; font-size: 0.93rem; color: var(--ink-soft); }
.handbook-points li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 12px; height: 1px; background: var(--oxblood);
}
.handbook-points em { font-family: var(--font-display); font-style: italic; color: var(--ink); }
.handbook-note { margin-top: 18px; font-size: 0.82rem; color: var(--ink-soft); }

@media (max-width: 920px) {
  .handbook-band { grid-template-columns: 1fr; }
  .handbook-figure { min-height: 240px; aspect-ratio: 16 / 9; }
  .handbook-copy { padding: 36px 28px 40px; }
}
