/* ================================================================
   Mooikloof Blinds — stylesheet
   Theme: equestrian-estate · basalt + dune + burnished orange
   Fonts: Libre Caslon Text (display) + Karla (body)
   Layout: split hero (text left / full-height photo right), vertical rhythm
   ================================================================ */

:root {
  --ink: #1f1d1a;
  --basalt: #2b2926;
  --basalt-2: #38352f;
  --basalt-line: rgba(246, 240, 226, 0.14);
  --dune: #e8dcc2;
  --dune-mid: #d8c69d;
  --dune-light: #f5efe0;
  --paper: #fbf7ee;
  --white: #ffffff;
  --orange: #92694f;
  --orange-deep: #6d4d3a;
  --orange-glow: #d98a4f;
  --text-soft: #6b6457;
  --text-on-dark: #efe6d3;
  --text-on-dark-soft: #b6ab92;

  --font-display: "Libre Caslon Text", Georgia, "Iowan Old Style", serif;
  --font-body: "Karla", "Segoe UI", Arial, sans-serif;

  --section-pad: clamp(64px, 9vw, 104px);
  --max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: inherit;
}

p { margin: 0 0 1em; max-width: 66ch; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

.wrap, .container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 56px);
  padding-right: clamp(20px, 5vw, 56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--orange);
}

.rule {
  height: 1px;
  width: 100%;
  background: var(--basalt-line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease);
}
.rule.on-light { background: var(--dune-mid); }
.rule.in-view { transform: scaleX(1); }
/* accent rule that draws itself under a section heading */
.rule-accent {
  height: 2px;
  width: 92px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.95s var(--ease) 0.1s;
  margin: 0 0 30px;
}
.rule-accent.in-view { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .rule, .rule-accent { transform: none; transition: none; }
}

section { padding: var(--section-pad) 0; }
.section-alt { background: var(--dune-light); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.section-head p { color: var(--text-soft); font-size: 1.05rem; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2.5px solid var(--orange);
  outline-offset: 3px;
}

/* ---------------- reveal hooks ----------------
   Every hidden start-state is scoped to .js, which is only set by the inline
   head script. No script, no hiding — the page is fully readable with
   JavaScript switched off, and nothing can strand content at opacity 0. */
.js .reveal-item, .js .gate-wrap { opacity: 0; transform: translateY(26px); }
.reveal-item.in-view, .gate-wrap.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal-item, .js .gate-wrap,
  .js .hero-title .word, .js .hero-sub, .js .hero-ctas,
  .js .hero-trust, .js .hero-tag {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 3px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-solid { background: var(--orange); color: var(--white); }
.btn-solid:hover { background: var(--orange-deep); }
.btn-outline {
  border: 1.5px solid currentColor;
  color: inherit;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-block { width: 100%; justify-content: center; }

/* ================= NAV ================= */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 22px 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-nav.solid {
  background: rgba(251, 247, 238, 0.94);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(43,41,38,0.08);
}
.site-nav.solid, .site-nav.solid .nav-links a, .site-nav.solid .brand { color: var(--basalt); }
.site-nav:not(.solid) { color: var(--white); }
.site-nav:not(.solid) .brand, .site-nav:not(.solid) .nav-links a { color: var(--white); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}
.brand-mark .m-accent { stroke: var(--orange); }
.brand-mark .m-sun { fill: var(--orange); }
.brand-mark .m-line { stroke: currentColor; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-links a { position: relative; padding: 4px 0; transition: opacity 0.2s; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--orange-glow); }
.site-nav.solid .nav-links a.active { color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  color: inherit;
  padding: 6px;
}
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--basalt);
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 100px 32px 40px;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
}
.mobile-panel.open { transform: translateY(0); }
.mobile-panel a { font-family: var(--font-display); font-size: 1.6rem; }
.mobile-panel .btn { align-self: flex-start; margin-top: 10px; }
.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  color: var(--text-on-dark);
}

@media (max-width: 900px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: block; }
}

/* ================= HERO (split) ================= */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 44%) 1fr;
  min-height: 100vh;
  background: var(--basalt);
}
.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(120px, 16vh, 180px) clamp(28px, 6vw, 72px) 64px;
  position: relative;
  z-index: 2;
}
.hero-panel .eyebrow { color: var(--orange-glow); }
.hero-title {
  color: var(--white);
  font-size: clamp(2.5rem, 4.6vw, 4.4rem);
  margin-bottom: 0.42em;
}
.hero-title .word { display: inline-block; }
.js .hero-title .word { opacity: 0; transform: translateY(22px); }
.hero-sub {
  color: var(--text-on-dark);
  font-size: 1.12rem;
  max-width: 46ch;
}
.js .hero-sub { opacity: 0; transform: translateY(18px); }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 10px 0 34px;
}
.js .hero-ctas { opacity: 0; transform: translateY(18px); }
.hero-ctas .btn-outline { border-color: var(--text-on-dark-soft); color: var(--white); }
.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.js .hero-trust { opacity: 0; transform: translateY(18px); }
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-on-dark);
  font-size: 0.94rem;
}
.trust-item svg { flex: none; margin-top: 2px; color: var(--orange-glow); }

.hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 46vh;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(43,41,38,0.6) 0%, rgba(43,41,38,0.05) 30%, rgba(43,41,38,0) 55%),
              linear-gradient(0deg, rgba(43,41,38,0.55) 0%, rgba(43,41,38,0) 32%);
  pointer-events: none;
}
.hero-tag {
  position: absolute;
  right: clamp(20px, 4vw, 44px);
  bottom: clamp(24px, 5vh, 44px);
  z-index: 3;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.js .hero-tag { opacity: 0; }
.hero-tag::before { content:""; width: 22px; height: 1.5px; background: var(--orange-glow); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { min-height: 46vh; order: -1; }
  .hero-panel { padding-top: 48px; }
}

/* ================= MARQUEE ================= */
.marquee {
  background: var(--basalt);
  color: var(--text-on-dark);
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--basalt-line);
  border-bottom: 1px solid var(--basalt-line);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-on-dark-soft);
  padding: 0 28px;
  white-space: nowrap;
}
.marquee-item svg { width: 6px; height: 6px; color: var(--orange); flex: none; }

/* ================= PRODUCT GRID ================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--dune-mid);
  border: 1px solid var(--dune-mid);
}
.product-card {
  background: var(--paper);
  padding: 26px 24px 26px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.product-card:hover { background: var(--dune-light); transform: translateY(-3px); }
.product-icon { width: 46px; height: 46px; color: var(--basalt); margin-bottom: 18px; }

/* product photo frame — the card's photo pushes in slightly on hover */
.pthumb {
  display: block;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--dune-light);
  aspect-ratio: 4 / 3;
}
.pthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}
.product-card:hover .pthumb img { transform: scale(1.065); }
.product-card:focus-within .pthumb img { transform: scale(1.065); }
@media (prefers-reduced-motion: reduce) {
  .pthumb img { transition: none; }
  .product-card:hover .pthumb img, .product-card:focus-within .pthumb img { transform: none; }
}

/* Blind repairs closes the grid as a full-width band */
.product-card.card-repairs {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  background: var(--dune-light);
}
.product-card.card-repairs .pthumb {
  flex: none;
  width: min(38%, 320px);
  margin: 0;
  aspect-ratio: 4 / 3;
}
.product-card.card-repairs .repairs-body { flex: 1; min-width: 0; }
.product-card.card-repairs h3 { font-size: 1.34rem; }
.product-card.card-repairs p { margin-bottom: 14px; max-width: 62ch; }
.product-card.card-repairs:hover { background: var(--paper); }
@media (max-width: 700px) {
  .product-card.card-repairs { flex-direction: column; align-items: stretch; gap: 0; }
  .product-card.card-repairs .pthumb { width: 100%; margin-bottom: 18px; }
}

.product-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.product-card p { font-size: 0.93rem; color: var(--text-soft); flex: 1; margin-bottom: 16px; }
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--orange);
}
.product-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.product-link:hover svg { transform: translateX(4px); }

@media (max-width: 1080px) { .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.3fr 1fr;
  gap: 20px;
}
.editorial-stack { display: flex; flex-direction: column; gap: 20px; }
.ed-figure { position: relative; overflow: hidden; border-radius: 2px; }
.ed-figure.tall { min-height: 100%; }
.ed-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.ed-figure.tall img { aspect-ratio: 3/4; }
.ed-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 22px 20px;
  background: linear-gradient(0deg, rgba(31,29,26,0.82) 0%, rgba(31,29,26,0) 65%);
  color: var(--white);
}
.ed-cap .eyebrow { color: var(--orange-glow); margin-bottom: 8px; font-size: 11px; }
.ed-cap p { margin: 0; font-size: 1rem; font-family: var(--font-display); max-width: 30ch; }

@media (max-width: 800px) {
  .editorial { grid-template-columns: 1fr; }
}

/* ================= LOCALE / SIGNATURE ================= */
.locale-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.locale-list { display: flex; flex-direction: column; gap: 30px; }
.locale-item { display: flex; gap: 20px; }
.locale-item .num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--orange);
  flex: none;
  width: 34px;
}
.locale-item h4 { font-size: 1.08rem; margin-bottom: 6px; }
.locale-item p { font-size: 0.96rem; color: var(--text-soft); margin: 0; }

/* --- Signature moment: The Estate Gate --- */
.gate-wrap {
  background: var(--basalt);
  border-radius: 3px;
  padding: 40px 32px 30px;
  position: relative;
  overflow: hidden;
}
.gate-scene {
  perspective: 900px;
  position: relative;
  height: 260px;
  margin-bottom: 22px;
}
.gate-backdrop {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.gate-leaf {
  position: absolute;
  top: 6%; bottom: 6%;
  width: 50%;
  transform-style: preserve-3d;
  will-change: transform;
}
.gate-leaf.left { left: 0; transform-origin: left center; }
.gate-leaf.right { right: 0; transform-origin: right center; }
.gate-leaf svg { width: 100%; height: 100%; color: var(--dune); }
.gate-caption {
  color: var(--text-on-dark-soft);
  font-size: 0.9rem;
  font-style: italic;
  font-family: var(--font-display);
  margin: 0;
  text-align: center;
}

@media (max-width: 900px) {
  .locale-grid { grid-template-columns: 1fr; }
}

/* ================= PROCESS ================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}
.process-step { border-top: 2px solid var(--orange); padding-top: 20px; }
.process-num { font-family: var(--font-display); font-size: 2.1rem; color: var(--dune-mid); display: block; margin-bottom: 10px; }
.process-step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.process-step p { font-size: 0.94rem; color: var(--text-soft); }

@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ================= AREA CHIPS ================= */
.area-chip-row { display: flex; flex-wrap: wrap; gap: 14px; }
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1.5px solid var(--dune-mid);
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.area-chip:hover { border-color: var(--orange); background: var(--dune-light); transform: translateY(-2px); }
.area-chip svg { width: 15px; height: 15px; color: var(--orange); }

/* ================= FAQ ================= */
.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--dune-mid); }
.faq-item { border-bottom: 1px solid var(--dune-mid); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-size: 1.14rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  flex: none;
  width: 24px; height: 24px;
  position: relative;
}
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--orange);
  transition: transform 0.3s var(--ease);
}
.faq-toggle::before { width: 16px; height: 2px; transform: translate(-50%,-50%); }
.faq-toggle::after { width: 2px; height: 16px; transform: translate(-50%,-50%); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-body { padding: 0 4px 26px; color: var(--text-soft); font-size: 0.98rem; max-width: 66ch; }

/* ================= CLOSING CTA ================= */
.cta-close {
  position: relative;
  background: var(--basalt);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta-close .eyebrow { color: var(--orange-glow); justify-content: center; }
.cta-close .eyebrow::before { display: none; }
.cta-close h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); max-width: 18ch; margin-inline: auto; }
.cta-close p { color: var(--text-on-dark); max-width: 52ch; margin-inline: auto; }
.cta-close .hero-ctas { justify-content: center; opacity: 1; transform: none; }
.cta-close .container { position: relative; z-index: 2; }
.cta-glow {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 800px; max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange-glow) 0%, rgba(217,138,79,0) 70%);
  opacity: 0.28;
  top: -20%; left: -10%;
  animation: drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(18vw, 12vh) scale(1.18); }
}
@media (prefers-reduced-motion: reduce) { .cta-glow { animation: none; } }

/* ================= ENQUIRY FORM ================= */
.enquire-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.enquire-side .locale-list { margin-top: 34px; }
.form-card {
  background: var(--dune-light);
  border: 1px solid var(--dune-mid);
  border-radius: 4px;
  padding: clamp(24px, 4vw, 40px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field.full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--basalt);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1.5px solid var(--dune-mid);
  background: var(--white);
  border-radius: 3px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); }
.field input[aria-invalid="true"] {
  border-color: var(--orange-deep);
  background: var(--dune-light);
}
.field textarea { min-height: 108px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a79c88; }
.form-foot { margin-top: 22px; }
.popia {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin: 14px 0 0;
  max-width: 60ch;
}
.enquiry-form.hide { display: none; }
.form-success {
  display: none;
  background: var(--dune-light);
  border: 1px solid var(--dune-mid);
  border-radius: 4px;
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
}
.form-success.show { display: block; }
.form-success h3 { color: var(--orange-deep); }
.form-success:focus { outline: none; }
.form-success:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; }
.form-success p { margin-inline: auto; }

@media (max-width: 900px) {
  .enquire-wrap { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--basalt);
  color: var(--text-on-dark);
  padding: 76px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand .brand { color: var(--white); margin-bottom: 14px; }
.footer-brand p { color: var(--text-on-dark-soft); font-size: 0.92rem; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dune-mid);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--text-on-dark-soft); font-size: 0.93rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--basalt-line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-on-dark-soft);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  /* leave room so the floating chat button never covers a footer link */
  .site-footer { padding-bottom: 96px; }
}

/* ================= PAGE BANNER (product / area sub-pages) ================= */
.page-banner {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  background: var(--basalt);
  overflow: hidden;
}
/* The photograph carries this banner — the scrim only has to make the text
   legible over its lower third, never hide the picture. */
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg,
                rgba(31,29,26,0.90) 0%,
                rgba(31,29,26,0.60) 34%,
                rgba(31,29,26,0.20) 70%,
                rgba(31,29,26,0.08) 100%),
              linear-gradient(90deg, rgba(31,29,26,0.34) 0%, rgba(31,29,26,0) 46%);
}
.page-banner .wrap { position: relative; z-index: 2; padding-bottom: 56px; padding-top: 140px; }
/* the shadow does the legibility work so the scrim doesn't have to */
.page-banner .eyebrow,
.page-banner h1,
.page-banner p { text-shadow: 0 1px 16px rgba(31,29,26,0.72), 0 1px 3px rgba(31,29,26,0.5); }
.page-banner .eyebrow { color: var(--orange-glow); }
.page-banner .eyebrow::before { background: var(--orange-glow); }
.page-banner h1 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.6rem); max-width: 20ch; }
.page-banner p { color: var(--text-on-dark); max-width: 56ch; }

.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.6em; }
.prose p { color: var(--text-soft); font-size: 1.02rem; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1.2em; }
.prose li { margin-bottom: 0.5em; color: var(--text-soft); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a:not(.btn) {
  color: var(--orange-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(146,105,79,0.45);
  transition: color 0.22s var(--ease), text-decoration-color 0.22s var(--ease);
}
.prose a:not(.btn):hover { color: var(--orange); text-decoration-color: currentColor; }

/* lead photo inside a product page's prose */
.prose-figure { margin: 34px 0 8px; }
.prose-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 3px;
}
.prose-figure figcaption {
  margin-top: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.mini-cta {
  background: var(--dune-light);
  border: 1px solid var(--dune-mid);
  border-radius: 4px;
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.mini-cta h3 { margin: 0; font-size: 1.3rem; }
.mini-cta p { margin: 4px 0 0; color: var(--text-soft); }

/* ================= CHAT WIDGET ================= */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 90; }
.chat-launcher {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(31,29,26,0.28);
  position: relative;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.chat-launcher:hover { transform: scale(1.06); background: var(--orange-deep); }
.chat-launcher .icon-close { display: none; }
.chat-launcher.open .icon-chat { display: none; }
.chat-launcher.open .icon-close { display: block; }

.chat-panel {
  position: absolute;
  right: 0; bottom: 76px;
  width: min(360px, calc(100vw - 44px));
  max-height: min(560px, 72vh);
  background: var(--paper);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(31,29,26,0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.chat-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.chat-head {
  background: var(--basalt);
  color: var(--white);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-head .brand { font-family: var(--font-display); font-size: 1.02rem; }
.chat-head .sub { font-size: 0.78rem; color: var(--text-on-dark-soft); }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--dune-light);
}
.chat-msg { padding: 10px 13px; border-radius: 12px; font-size: 0.92rem; max-width: 86%; line-height: 1.5; }
.chat-msg.bot { background: var(--white); border: 1px solid var(--dune-mid); align-self: flex-start; border-bottom-left-radius: 2px; }
.chat-msg.user { background: var(--orange); color: var(--white); align-self: flex-end; border-bottom-right-radius: 2px; }
.chat-msg.popia { background: transparent; border: none; color: var(--text-soft); font-size: 0.78rem; font-style: italic; max-width: 100%; padding: 0 2px; }

.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-chip {
  border: 1.5px solid var(--orange);
  color: var(--orange-deep);
  background: var(--white);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.chat-chip:hover { background: var(--orange); color: var(--white); }

.chat-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: var(--white);
  border-top: 1px solid var(--dune-mid);
}
.chat-foot input {
  flex: 1;
  border: 1.5px solid var(--dune-mid);
  border-radius: 20px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.chat-foot input:focus { outline: none; border-color: var(--orange); }
.chat-foot button {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.chat-foot button:hover { background: var(--orange-deep); }

@media (max-width: 480px) {
  .chat-panel { right: -6px; }
}


/* 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}

/* ================= REVIEW PASS ADDITIONS ================= */

/* signature moment — the sun only hides once JS is there to animate it in */
.gate-sun { opacity: 1; }
.js .gate-sun { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .js .gate-sun { opacity: 1; } }

/* stop the page scrolling behind the open mobile panel */
body.nav-open { overflow: hidden; }
/* and get the chat button out of the way while the menu is up */
body.nav-open .chat-widget { opacity: 0; pointer-events: none; }
.chat-widget { transition: opacity 0.25s var(--ease); }

/* the fixed nav must not sit on top of whatever an anchor jumps to */
[id] { scroll-margin-top: 96px; }
.anchor-alias { display: block; height: 0; }

/* FAQ body opens with a little settle rather than snapping */
.faq-item[open] .faq-body { animation: faqIn 0.35s var(--ease) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-item summary { transition: color 0.22s var(--ease); }
.faq-item summary:hover { color: var(--orange-deep); }
.faq-toggle::before, .faq-toggle::after { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .faq-item[open] .faq-body { animation: none; }
}

/* editorial figures get the same slow push-in as the product photos */
.ed-figure img { transition: transform 0.9s var(--ease); }
.ed-figure:hover img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) { .ed-figure:hover img { transform: none; } }

/* process steps: the accent rule above each step draws in with the section */
.process-step { position: relative; }
.process-step::after {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  height: 2px; width: 0;
  background: var(--orange-glow);
  transition: width 0.5s var(--ease);
}
.process-step:hover::after { width: 100%; }

/* chat: typing indicator + suburb / window chips */
.chat-typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--dune-mid);
  border-radius: 12px;
  border-bottom-left-radius: 2px;
  align-self: flex-start;
}
.chat-typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-soft);
  display: block;
  animation: chatDot 1.1s var(--ease) infinite;
}
.chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatDot { 0%,60%,100% { opacity: 0.28; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .chat-typing i { animation: none; opacity: 0.6; } }
.chat-msg.bot strong { color: var(--orange-deep); }
.chat-launcher:focus-visible { outline: 2.5px solid var(--basalt); outline-offset: 3px; }
.chat-body { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { .chat-body { scroll-behavior: auto; } }

/* keyboard users must always see where they are on dark panels */
.mobile-panel a:focus-visible,
.site-footer a:focus-visible,
.cta-close a:focus-visible,
.hero a:focus-visible { outline-color: var(--orange-glow); }

/* ---- reduced motion: the last word ----
   Everything above is individually guarded, but this catch-all makes sure a
   transition added later can never sneak past. Nothing on this site listens
   for transitionend or animationend, so collapsing the durations is safe. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================================================================
   LEAD LADDER — "The Mooikloof Stand & Sun Field Guide" (guide.html)
   Rung 1 the field guide · Rung 2 the ballpark window list ·
   Rung 3 the free measure. Built on the same tokens as the rest of
   the site: basalt / dune / burnished orange, Libre Caslon + Karla.
   ================================================================ */

/* --- guide hero meta chips + kicker --- */
.guide-kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  color: var(--text-on-dark);
  margin: 0 0 18px;
  max-width: 46ch;
}
.page-crumb { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-on-dark-soft); }
.page-crumb a { color: var(--orange-glow); }
.page-crumb a:hover { text-decoration: underline; }
.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 10px 0 26px;
  font-size: 0.84rem;
  color: var(--text-on-dark-soft);
}
.guide-meta span { display: inline-flex; align-items: center; gap: 8px; }
.guide-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange-glow); }
.page-banner .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.page-banner .cta-row .btn-outline { border-color: var(--text-on-dark-soft); color: var(--white); }

/* --- sticky contents nav --- */
.guide-toc {
  position: sticky;
  top: 66px;
  z-index: 40;
  background: rgba(251, 247, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--dune-mid);
}
.guide-toc-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px clamp(20px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  overflow-x: auto;
}
.guide-toc .eyebrow { margin: 0 6px 0 0; }
.guide-toc a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-soft);
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.guide-toc a:hover { color: var(--orange-deep); border-color: var(--orange); }
@media (prefers-reduced-motion: reduce) { .guide-toc { position: static; } }

/* --- dark band inside the guide (reuses basalt) --- */
.guide-ink { background: var(--basalt); color: var(--text-on-dark); }
.guide-ink h2, .guide-ink h3, .guide-ink h4 { color: var(--white); }
.guide-ink .eyebrow { color: var(--orange-glow); }
.guide-ink .section-head p { color: var(--text-on-dark-soft); }

/* --- guide prose --- */
.guide-prose { max-width: 70ch; }
.guide-prose p { color: var(--text-soft); font-size: 1.04rem; margin-bottom: 1.1em; }
.guide-ink .guide-prose p { color: var(--text-on-dark); }
.guide-prose .lead-para {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  line-height: 1.32;
  color: var(--ink);
  margin-bottom: 0.9em;
}
.guide-ink .guide-prose .lead-para { color: var(--white); }
.guide-prose strong { color: var(--ink); font-weight: 700; }
.guide-ink .guide-prose strong { color: var(--white); }
.guide-prose sup { font-size: 0.68em; color: var(--orange-deep); font-weight: 700; }
.guide-ink .guide-prose sup { color: var(--orange-glow); }
.guide-prose a:not(.btn) {
  color: var(--orange-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(146, 105, 79, 0.45);
  text-underline-offset: 3px;
}
.guide-ink .guide-prose a:not(.btn) { color: var(--orange-glow); text-decoration-color: rgba(217, 138, 79, 0.5); }
.guide-prose a:not(.btn):hover { text-decoration-color: currentColor; }

/* --- afternoon sun-arc diagram --- */
.sunarc { margin: 30px 0 6px; max-width: 560px; }
.sunarc svg { width: 100%; height: auto; }
.sunarc .arc-faint { stroke: var(--text-on-dark-soft); opacity: 0.35; fill: none; stroke-width: 1; }
.sunarc .arc-line { stroke: var(--orange-glow); stroke-width: 2.4; fill: none; }
.sunarc .arc-sun { fill: var(--orange-glow); }
.sunarc .arc-label { fill: var(--text-on-dark-soft); font-family: var(--font-body); font-size: 12px; }

/* --- elevation cards --- */
.elev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.elev-card {
  background: var(--paper);
  border: 1px solid var(--dune-mid);
  border-radius: 4px;
  padding: 26px 24px;
}
.section-alt .elev-card { background: var(--white); }
.elev-card .compass { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.elev-card .compass svg { width: 30px; height: 30px; flex: none; color: var(--orange); margin-top: 2px; }
.elev-card .compass b { font-family: var(--font-display); font-weight: 400; font-size: 1.16rem; line-height: 1.2; }
.elev-card p { font-size: 0.96rem; color: var(--text-soft); margin: 0 0 14px; }
.elev-card .verdict { font-size: 0.92rem; color: var(--ink); border-top: 1px solid var(--dune-mid); padding-top: 12px; }
.elev-card .verdict em { color: var(--orange-deep); font-style: normal; font-weight: 700; }
@media (max-width: 720px) { .elev-grid { grid-template-columns: 1fr; } }

/* --- recommendation cards --- */
.rec-list, .rec-brief { display: flex; flex-direction: column; gap: 18px; }
.rec-brief { margin-top: 8px; }
.rec {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--dune-mid);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  padding: 26px 26px;
}
.section-alt .rec { background: var(--white); }
.rec-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin: 0 0 8px;
}
.rec h3 { font-size: 1.3rem; margin-bottom: 10px; }
.rec p { font-size: 0.98rem; color: var(--text-soft); margin: 0 0 12px; max-width: 62ch; }
.rec .tradeoff { font-size: 0.92rem; color: var(--ink); background: var(--dune-light); border-radius: 3px; padding: 12px 14px; margin-bottom: 0; }
.section-alt .rec .tradeoff { background: var(--dune-light); }
.rec .tradeoff b { color: var(--orange-deep); font-weight: 700; }
.rec-side { display: flex; align-items: flex-start; }
.rec-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--orange);
  color: var(--orange-deep);
  background: var(--white);
  border-radius: 40px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.84rem;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.rec-add svg { width: 15px; height: 15px; }
.rec-add:hover { background: var(--orange); color: var(--white); }
.rec-add.is-added { background: var(--basalt); border-color: var(--basalt); color: var(--text-on-dark); cursor: default; }
@media (max-width: 640px) {
  .rec { grid-template-columns: 1fr; }
  .rec-side { justify-content: flex-start; }
}

/* --- full-width guide figures --- */
.guide-figure { margin: 30px 0 0; }
.guide-figure img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; }
.guide-figure figcaption {
  margin-top: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.96rem;
  color: var(--text-soft);
  max-width: 62ch;
}
.guide-figure figcaption b { font-style: normal; color: var(--orange-deep); }
.guide-ink .guide-figure figcaption { color: var(--text-on-dark-soft); }

/* --- on-site checks --- */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 30px; }
.check-item { display: flex; gap: 16px; }
.check-item .num { font-family: var(--font-display); font-size: 1.2rem; color: var(--orange-glow); flex: none; width: 30px; }
.check-item h3 { font-size: 1.08rem; margin-bottom: 5px; }
.check-item p { font-size: 0.95rem; color: var(--text-on-dark-soft); margin: 0; }
@media (max-width: 720px) { .check-grid { grid-template-columns: 1fr; } }

/* --- the ladder two-up (measure + capture) --- */
.ladder-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.ladder-side .promise { display: flex; flex-direction: column; gap: 14px; margin: 4px 0 22px; }
.promise-item { display: flex; align-items: flex-start; gap: 11px; font-size: 0.98rem; }
.promise-item svg { width: 22px; height: 22px; flex: none; color: var(--orange-glow); margin-top: 1px; }
.guide-ink .promise-item { color: var(--text-on-dark); }
.capacity-note {
  font-size: 0.92rem;
  color: var(--text-on-dark-soft);
  border-left: 2px solid var(--orange-glow);
  padding-left: 14px;
  margin: 0;
}
@media (max-width: 860px) { .ladder-grid { grid-template-columns: 1fr; gap: 30px; } }

/* --- guide forms (share .form-card / .field with the site) --- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 16px; }
.form-card .field { margin-bottom: 16px; }
.form-card .form-row .field { margin-bottom: 0; }
.legend { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--basalt); margin-bottom: 10px; }
.interest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.interest-grid label { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; color: var(--ink); cursor: pointer; }
.interest-grid input[type="checkbox"] { width: 17px; height: 17px; flex: none; accent-color: var(--orange); }
.carry-note { font-size: 0.86rem; color: var(--orange-deep); background: var(--dune-light); border-radius: 3px; padding: 10px 12px; margin: 10px 0 0; }
.popia-note { font-size: 0.8rem; color: var(--text-soft); margin: 14px 0 0; max-width: 62ch; }
[data-lead-form].is-hidden { display: none; }
.form-success.is-visible { display: block; }
.form-success.is-visible h3 { color: var(--orange-deep); }
.form-success.is-visible a { color: var(--orange-deep); font-weight: 600; text-decoration: underline; }
@media (max-width: 560px) { .form-row, .interest-grid { grid-template-columns: 1fr; } }

/* --- Rung 2: the ballpark window list --- */
.ballpark {
  border: 1px solid var(--dune-mid);
  border-radius: 4px;
  background: var(--paper);
  margin: 8px 0 18px;
  overflow: hidden;
}
.ballpark > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--basalt);
}
.ballpark > summary::-webkit-details-marker { display: none; }
.ballpark > summary .chev { width: 16px; height: 16px; flex: none; color: var(--orange); transition: transform 0.3s var(--ease); }
.ballpark[open] > summary .chev { transform: rotate(180deg); }
.bp-inner { padding: 0 18px 20px; }
.bp-print-head { display: none; }
.bp-pairing { font-size: 0.92rem; color: var(--text-soft); margin: 6px 0 16px; }
.bp-pairing strong { color: var(--ink); }
.bp-scroll { overflow-x: auto; }
.bp-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
.bp-table th {
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 700;
  padding: 0 10px 8px 0;
  border-bottom: 1px solid var(--dune-mid);
}
.bp-table td { padding: 8px 10px 8px 0; vertical-align: middle; }
.bp-table input, .bp-table select {
  width: 100%;
  border: 1.5px solid var(--dune-mid);
  background: var(--white);
  border-radius: 3px;
  padding: 9px 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
}
.bp-table input:focus, .bp-table select:focus { outline: none; border-color: var(--orange); }
.bp-rm { width: 34px; text-align: center; }
.bp-remove {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--dune-mid);
  color: var(--orange-deep);
  font-size: 1.1rem;
  line-height: 1;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.bp-remove:hover { border-color: var(--orange); background: var(--dune-light); }
.bp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.bp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--orange);
  color: var(--orange-deep);
  background: var(--white);
  border-radius: 3px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.86rem;
  transition: background 0.2s, color 0.2s;
}
.bp-btn svg { width: 15px; height: 15px; }
.bp-btn:hover { background: var(--orange); color: var(--white); }
.bp-count { font-size: 0.88rem; color: var(--text-soft); margin: 12px 0 0; font-weight: 700; }
.bp-foot { font-size: 0.8rem; color: var(--text-soft); margin: 8px 0 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* mobile: ballpark rows become stacked cards */
@media (max-width: 640px) {
  .bp-table { min-width: 0; }
  .bp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bp-table tr { display: block; border: 1px solid var(--dune-mid); border-radius: 4px; padding: 10px 12px; margin-bottom: 12px; background: var(--white); }
  .bp-table td { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
  .bp-table td::before { content: attr(data-lbl); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-soft); font-weight: 700; flex: none; }
  .bp-table td.bp-rm { justify-content: flex-end; }
  .bp-table td.bp-rm::before { content: none; }
  .bp-table input, .bp-table select { max-width: 62%; }
}

/* --- print: a clean blank window list on paper --- */
@media print {
  body.bp-printing .site-nav,
  body.bp-printing .guide-toc,
  body.bp-printing .marquee,
  body.bp-printing .chat-widget,
  body.bp-printing .site-footer,
  body.bp-printing .closing,
  body.bp-printing main > section:not(#measure) { display: none !important; }
  body.bp-printing #measure .ladder-side,
  body.bp-printing #measure form > *:not(.ballpark),
  body.bp-printing #measure .section__head,
  body.bp-printing #measure .form-success { display: none !important; }
  body.bp-printing .ballpark { border: none; }
  body.bp-printing .ballpark[open] > summary,
  body.bp-printing .bp-actions,
  body.bp-printing .bp-pairing,
  body.bp-printing .bp-count,
  body.bp-printing .bp-foot { display: none !important; }
  body.bp-printing .bp-print-head { display: block; margin-bottom: 16px; }
  body.bp-printing .bp-table { min-width: 0; width: 100%; }
  body.bp-printing .bp-table th { color: #000; }
  body.bp-printing .bp-table input, body.bp-printing .bp-table select { border: 1px solid #999; }
  body.bp-printing .bp-rm, body.bp-printing .bp-remove { display: none !important; }
}

/* --- sources --- */
.sources ol { max-width: 78ch; padding-left: 22px; }
.sources li { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 12px; line-height: 1.6; }
.sources a { color: var(--orange-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.sources .note { max-width: 78ch; font-size: 0.86rem; color: var(--text-soft); margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--dune-mid); }

/* --- guide closing CTA (reuses cta-close look) --- */
.closing { position: relative; background: var(--basalt); color: var(--white); text-align: center; overflow: hidden; padding: var(--section-pad) 0; }
.closing__glow {
  position: absolute; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange-glow) 0%, rgba(217, 138, 79, 0) 70%);
  opacity: 0.26; top: -20%; right: -10%;
  animation: drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}
.closing__content { position: relative; z-index: 2; }
.closing .eyebrow { color: var(--orange-glow); justify-content: center; }
.closing .eyebrow::before { display: none; }
.closing h2 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: 20ch; margin-inline: auto; }
.closing p { color: var(--text-on-dark); max-width: 52ch; margin-inline: auto; }
.closing .cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.closing .cta-row .btn-outline { border-color: var(--text-on-dark-soft); color: var(--white); }
@media (prefers-reduced-motion: reduce) { .closing__glow { animation: none; } }

/* --- homepage: secondary link to the field guide under the hero CTAs --- */
.hero-guide-link { margin: -14px 0 30px; font-size: 0.92rem; }
.hero-guide-link a {
  color: var(--orange-glow);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.hero-guide-link a:hover { border-color: var(--orange-glow); }

/* --- homepage: the field-guide promo band --- */
.guide-promo { background: var(--basalt); color: var(--text-on-dark); }
.guide-promo .promo-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.guide-promo .eyebrow { color: var(--orange-glow); }
.guide-promo h2 { color: var(--white); font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.guide-promo p { color: var(--text-on-dark); }
.guide-promo .promo-list { display: grid; gap: 14px; margin: 0 0 4px; }
.guide-promo .promo-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-on-dark); font-size: 0.98rem; }
.guide-promo .promo-list svg { width: 20px; height: 20px; flex: none; color: var(--orange-glow); margin-top: 2px; }
.guide-promo .promo-list b { color: var(--white); font-weight: 700; }
.guide-promo .hero-ctas { margin-top: 26px; }
.guide-promo .btn-outline { border-color: var(--text-on-dark-soft); color: var(--white); }
@media (max-width: 860px) { .guide-promo .promo-grid { grid-template-columns: 1fr; gap: 30px; } }
