/* ==========================================================================
   Featherbrooke Blinds — stylesheet
   Palette: harbour blue + cloud + mustard (warm-cream variant)
   Fonts: Bodoni Moda + Figtree | Theme: family-estate
   Layout: grid-first mosaic hero, headline carved across three word-tiles
   Signature moment: "Blinds for the afternoon" — scroll-scrubbed staggered
   blind-close across the hero mosaic as you scroll from hero into the page.
   ========================================================================== */

:root {
  --harbour-deep: #16324a;
  --harbour: #1f4060;
  --harbour-mid: #3f7196;
  --harbour-soft: #d9e5ee;
  --cloud: #faf7f0;
  --cloud-dim: #efe8d8;
  --cloud-line: #e2d9c3;
  --mustard: #cf9a3c;
  --mustard-deep: #877048;
  --mustard-soft: #e8dec6;
  --ink: #1a2530;
  --ink-soft: #56646d;
  --white: #ffffff;

  --font-display: "Bodoni Moda", "Times New Roman", serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1280px;
  --gap: clamp(1rem, 2vw, 1.75rem);
  --section-pad: clamp(4rem, 8vw, 6.5rem);
  --radius: 6px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
svg { display: block; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cloud);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--harbour-deep);
}

h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }

p { max-width: 62ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mustard-deep);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--mustard-deep);
}

.rule {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--mustard) 0 64px, var(--cloud-line) 64px);
  transform: scaleX(0);
  transform-origin: left;
}
.js .rule { transition: transform 1.1s var(--ease); }
.rule.is-drawn { transform: scaleX(1); }
/* no-JS and motion-off both need the rule simply present */
html:not(.js) .rule { transform: scaleX(1); }
.locale-section .rule { background: linear-gradient(90deg, var(--mustard) 0 64px, rgba(250, 247, 240, 0.18) 64px); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--mustard-deep);
  outline-offset: 3px;
}

/* ---------- Screen-reader-only ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Progressive-enhancement reveal states ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
}
.js .reveal-scale {
  opacity: 0;
  transform: scale(1.08);
}
/* Motion off — either the visitor asked for less motion, or GSAP never arrived.
   Content must ALWAYS end up visible; nothing may be left stranded at opacity 0. */
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-scale { opacity: 1; transform: none; }
  .rule { transform: none; }
  .tile-photo:hover .tile-img { transform: none; }
  .btn { transition: none; }
}
.js.motion-off .reveal,
.js.motion-off .reveal-scale { opacity: 1 !important; transform: none !important; }
.js.motion-off .rule { transform: none; }
.js.motion-off .hero-grid .tile { opacity: 1 !important; transform: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: var(--mustard);
  color: var(--harbour-deep);
  box-shadow: 0 10px 24px -12px rgba(207, 154, 60, 0.65);
}
.btn-primary:hover { background: var(--mustard-deep); color: var(--white); }
.btn-outline {
  border: 1.5px solid rgba(250, 247, 240, 0.6);
  color: var(--cloud);
}
.btn-outline:hover { background: rgba(250, 247, 240, 0.14); border-color: var(--cloud); }
.btn-outline.on-light {
  border-color: var(--harbour);
  color: var(--harbour);
}
.btn-outline.on-light:hover { background: var(--harbour); color: var(--cloud); }
.btn-block { width: 100%; }
.btn-dark { background: var(--harbour-deep); color: var(--cloud); }
.btn-dark:hover { background: var(--harbour); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  padding: 1.1rem 0;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
}
.site-header .nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-mark .mark-frame { stroke: var(--cloud); transition: stroke 0.3s var(--ease); }
.brand-mark .mark-blind { fill: var(--mustard); stroke: var(--mustard); }
.site-header.is-solid .brand-mark .mark-frame { stroke: var(--harbour-deep); }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cloud);
  letter-spacing: -0.01em;
  transition: color 0.35s var(--ease);
}
.brand-word em { font-style: italic; color: var(--mustard); }
.site-header.is-solid .brand-word { color: var(--harbour-deep); }

.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a:not(.nav-cta) {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cloud);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-solid .nav-links a:not(.nav-cta) { color: var(--ink); }
.nav-links a:not(.nav-cta):hover { border-color: var(--mustard); color: var(--mustard-deep); }
.nav-cta {
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: var(--mustard);
  color: var(--harbour-deep);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-cta:hover { background: var(--mustard-deep); color: var(--white); transform: translateY(-1px); }

.site-header.is-solid {
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--cloud-line);
  padding: 0.75rem 0;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 30px; }
.nav-toggle span { height: 2px; width: 100%; background: var(--cloud); transition: background 0.3s var(--ease); }
.site-header.is-solid .nav-toggle span { background: var(--harbour); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--harbour-deep);
  padding: 6.5rem 1.75rem 2rem;
  flex-direction: column;
  gap: 1.75rem;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { color: var(--cloud); font-size: 1.2rem; font-family: var(--font-display); }
.mobile-nav .nav-cta { align-self: flex-start; }
.mobile-nav-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 34px; height: 34px; color: var(--cloud); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Hero — mosaic grid, headline carved across three word-tiles
   ========================================================================== */
.hero { position: relative; background: var(--harbour-deep); padding-top: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, minmax(110px, 1fr));
  gap: 3px;
  height: 94vh;
  min-height: 680px;
}
.tile { position: relative; overflow: hidden; }

.tile-photo-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.tile-photo-2 { grid-column: 5 / 7; grid-row: 1 / 4; }
.tile-photo-3 { grid-column: 1 / 2; grid-row: 3 / 5; }

.tile-word {
  background: var(--harbour);
  color: var(--cloud);
  display: flex;
  align-items: center;
  padding: clamp(1rem, 2vw, 1.75rem);
}
.tile-word-1 { grid-column: 3 / 5; grid-row: 1 / 2; background: var(--harbour-deep); }
.tile-word-2 { grid-column: 3 / 4; grid-row: 2 / 3; background: var(--mustard); color: var(--harbour-deep); }
.tile-word-3 { grid-column: 4 / 5; grid-row: 2 / 3; background: var(--harbour); }

.tile-copy {
  grid-column: 2 / 5;
  grid-row: 3 / 4;
  background: var(--cloud);
  color: var(--ink);
  padding: clamp(1.25rem, 2.4vw, 2rem);
  display: flex;
  align-items: center;
}
.tile-trust {
  grid-column: 2 / 5;
  grid-row: 4 / 5;
  background: var(--harbour-deep);
  padding: clamp(1rem, 2vw, 1.5rem);
  display: flex;
  align-items: center;
}
.tile-cta {
  grid-column: 5 / 7;
  grid-row: 4 / 5;
  background: var(--mustard);
  color: var(--harbour-deep);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tile-word-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.tile-word-text .word-wrap { display: inline-block; overflow: hidden; vertical-align: top; }
.tile-word-text .word { display: inline-block; will-change: transform; }

.tile-sub { color: var(--ink-soft); font-size: 0.98rem; max-width: 42ch; }

.tile-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-photo-1 .tile-img { object-position: 30% 35%; }
.tile-photo-2 .tile-img { object-position: 55% 30%; }
.tile-photo-3 .tile-img { object-position: 50% 70%; }

/* Signature moment — "blinds for the afternoon": scroll-scrubbed close */
.tile-blind {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    var(--harbour-deep) 0px, var(--harbour-deep) 9px,
    var(--harbour) 9px, var(--harbour) 10px,
    transparent 10px, transparent 13px
  );
  transform: translateY(-102%);
}
.tile-blind::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--mustard);
}
.tile-photo .tile-img { transition: transform 1.3s var(--ease); }
.tile-photo:hover .tile-img { transform: scale(1.045); }

.tile-cta-label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.tile-cta-copy p { font-size: 0.82rem; margin-top: 0.35rem; max-width: 20ch; }

.hero-bar { background: var(--harbour-deep); border-top: 1px solid rgba(250, 247, 240, 0.12); padding: 1.75rem 0; }
.hero-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.trust-item { display: flex; align-items: center; gap: 0.55rem; font-size: 0.86rem; color: var(--cloud-dim); }
.trust-item svg { width: 17px; height: 17px; color: var(--mustard); flex: none; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto auto auto auto auto; height: auto; }
  .tile-photo-1 { grid-column: 1 / 3; grid-row: 1; height: 40vh; min-height: 300px; }
  .tile-word-1, .tile-word-2, .tile-word-3 { grid-column: span 1; grid-row: auto; min-height: 110px; }
  .tile-word-1 { grid-column: 1 / 3; }
  .tile-photo-2 { grid-column: 1 / 3; grid-row: auto; height: 260px; }
  .tile-photo-3 { grid-column: 1 / 3; grid-row: auto; height: 220px; }
  .tile-copy, .tile-trust, .tile-cta { grid-column: 1 / 3; }
  .hero-bar-inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { background: var(--ink); color: var(--cloud-dim); overflow: hidden; padding: 0.9rem 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 3rem; animation: marquee 34s linear infinite; }
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--cloud-dim);
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.marquee-track span::after { content: "—"; color: var(--mustard); margin-left: 3rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ==========================================================================
   Section shells
   ========================================================================== */
section { padding: var(--section-pad) 0; }
.section-head { max-width: 58ch; margin-bottom: 3rem; display: flex; flex-direction: column; gap: 1rem; }
.section-head p { color: var(--ink-soft); }
.section-alt { background: var(--white); }

/* ==========================================================================
   Product grid
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--cloud-line); border: 1px solid var(--cloud-line); }
.product-card { background: var(--white); padding: 2.1rem 1.9rem; display: flex; flex-direction: column; gap: 1.1rem; transition: background 0.3s var(--ease); }
.product-card:hover { background: var(--cloud-dim); }
.product-icon { width: 44px; height: 44px; color: var(--harbour); transition: color 0.3s var(--ease); }
.product-card:hover .product-icon { color: var(--mustard-deep); }
.product-card h3 { font-size: 1.12rem; }
.product-card p { font-size: 0.92rem; color: var(--ink-soft); }
.product-link { margin-top: auto; font-size: 0.84rem; font-weight: 600; color: var(--harbour); display: inline-flex; align-items: center; gap: 0.4rem; }
.product-link svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.product-card:hover .product-link svg { transform: translateX(4px); }

@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Editorial photo section
   ========================================================================== */
.editorial-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, minmax(180px, auto)); gap: var(--gap); }
.ed-figure { position: relative; overflow: hidden; border-radius: var(--radius); }
.ed-figure img { width: 100%; height: 100%; object-fit: cover; }
.ed-1 { grid-column: 3 / 7; grid-row: 1 / 3; min-height: 460px; }
.ed-2 { grid-column: 1 / 3; grid-row: 1 / 2; }
.ed-3 { grid-column: 1 / 3; grid-row: 2 / 3; }
.ed-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem;
  background: linear-gradient(0deg, rgba(22, 50, 74, 0.82), transparent 70%);
  color: var(--cloud); font-size: 0.92rem; max-width: 42ch;
}
.ed-figure figcaption strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; margin-bottom: 0.2rem; }

@media (max-width: 900px) {
  .editorial-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .ed-1, .ed-2, .ed-3 { grid-column: 1; grid-row: auto; min-height: 320px; }
}

/* ==========================================================================
   Locale storytelling
   ========================================================================== */
.locale-section { background: var(--harbour-deep); color: var(--cloud); }
.locale-section .eyebrow { color: var(--mustard); }
.locale-section .eyebrow::before { background: var(--mustard); }
.locale-section h2 { color: var(--cloud); }
.locale-section .section-head p { color: var(--cloud-dim); }
.locale-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; }
.locale-item { display: flex; gap: 1.1rem; }
.locale-item .num { font-family: var(--font-display); font-size: 1.6rem; color: var(--mustard); flex: none; width: 2.2rem; }
.locale-item h3 { color: var(--cloud); font-size: 1.08rem; margin-bottom: 0.4rem; }
.locale-item p { color: var(--cloud-dim); font-size: 0.95rem; }
@media (max-width: 760px) { .locale-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Process
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.process-step { position: relative; padding-top: 2.5rem; border-top: 1px solid var(--cloud-line); }
.process-step .num { font-family: var(--font-display); font-size: 2.6rem; color: var(--mustard); line-height: 1; margin-bottom: 1rem; display: block; }
.process-step h3 { margin-bottom: 0.6rem; }
.process-step p { font-size: 0.94rem; color: var(--ink-soft); }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Area chips
   ========================================================================== */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.area-chip { display: block; border: 1px solid var(--cloud-line); border-radius: var(--radius); padding: 1.6rem 1.5rem; background: var(--white); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.area-chip:hover { border-color: var(--mustard); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(22, 50, 74, 0.35); }
.area-chip .eyebrow { margin-bottom: 0.75rem; }
.area-chip h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.area-chip p { font-size: 0.88rem; color: var(--ink-soft); }
.area-chip .go { margin-top: 1rem; font-size: 0.82rem; font-weight: 600; color: var(--harbour); display: inline-flex; align-items: center; gap: 0.35rem; }
@media (max-width: 900px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .areas-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--cloud-line); padding: 1.6rem 0; }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; cursor: pointer;
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; color: var(--harbour-deep);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--mustard-deep); transition: transform 0.3s var(--ease); }
.faq-icon::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-icon::after { top: 0; left: 50%; height: 100%; width: 2px; transform: translateX(-50%); }
.faq-item[open] .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item[open] summary { color: var(--mustard-deep); }
.faq-item p { padding-top: 1rem; font-size: 0.96rem; color: var(--ink-soft); }

/* ==========================================================================
   Closing CTA — animated drifting glow
   ========================================================================== */
.closing-cta { position: relative; overflow: hidden; background: var(--harbour-deep); color: var(--cloud); text-align: center; }
.closing-cta .glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; pointer-events: none; }
.glow-1 { width: 480px; height: 480px; background: var(--mustard); top: -160px; left: -120px; animation: drift-a 22s ease-in-out infinite alternate; }
.glow-2 { width: 420px; height: 420px; background: var(--harbour-mid); bottom: -180px; right: -100px; animation: drift-b 26s ease-in-out infinite alternate; }
@keyframes drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(80px, 60px) scale(1.15); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1); } to { transform: translate(-70px, -40px) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .glow-1, .glow-2 { animation: none; } }
.closing-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.closing-cta h2 { color: var(--cloud); }
.closing-cta p { color: var(--cloud-dim); }
.closing-ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ==========================================================================
   Enquiry form
   ========================================================================== */
.enquiry-section { background: var(--white); }
.enquiry-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.enquiry-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--harbour-deep); }
.field input, .field select, .field textarea {
  border: 1px solid var(--cloud-line); border-radius: 4px; padding: 0.85rem 1rem; background: var(--cloud);
  font-size: 0.95rem; transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--mustard-deep); background: var(--white); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-popia { font-size: 0.82rem; color: var(--ink-soft); border-left: 2px solid var(--mustard); padding-left: 0.85rem; }
.form-success { display: none; border: 1px solid var(--mustard); background: var(--mustard-soft); border-radius: var(--radius); padding: 1.1rem 1.3rem; font-size: 0.92rem; color: var(--harbour-deep); }
.form-success.is-visible { display: block; }
.enquiry-form.is-sent { display: none; }
@media (max-width: 900px) { .enquiry-wrap { grid-template-columns: 1fr; gap: 2.5rem; } .field-row { grid-template-columns: 1fr; } }

.enquiry-aside { display: flex; flex-direction: column; gap: 1.5rem; }
.aside-card { background: var(--cloud); border: 1px solid var(--cloud-line); border-radius: var(--radius); padding: 1.75rem; }
.aside-card h3 { font-size: 1.02rem; margin-bottom: 0.6rem; }
.aside-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--cloud-dim); padding: 4.5rem 0 2.25rem; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
.footer-brand .brand-word { color: var(--cloud); }
.footer-brand .brand-mark .mark-frame { stroke: var(--cloud); }
.footer-tagline { margin-top: 1rem; font-size: 0.92rem; max-width: 34ch; color: var(--cloud-dim); }
.footer-links { display: grid; gap: 0.65rem; }
.footer-links a { font-size: 0.9rem; color: var(--cloud-dim); transition: color 0.25s var(--ease); }
.footer-links a:hover { color: var(--mustard); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cloud); margin-bottom: 1rem; font-weight: 600; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(250, 247, 240, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.8rem; color: rgba(239, 232, 216, 0.55); }
.footer-popia { max-width: 60ch; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* ==========================================================================
   Chat widget
   ========================================================================== */
.chat-widget { position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 120; }
.chat-toggle {
  width: 58px; height: 58px; border-radius: 50%; background: var(--mustard); color: var(--harbour-deep);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(22, 50, 74, 0.55);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.chat-toggle:hover { transform: scale(1.06); background: var(--mustard-deep); color: var(--white); }
.chat-toggle svg { width: 26px; height: 26px; }
.chat-toggle .icon-close { display: none; }
.chat-widget.is-open .chat-toggle .icon-open { display: none; }
.chat-widget.is-open .chat-toggle .icon-close { display: block; }

.chat-panel {
  position: absolute; right: 0; bottom: 74px; width: min(370px, calc(100vw - 2.5rem)); max-height: min(560px, 72vh);
  background: var(--white); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(22, 34, 48, 0.4);
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--cloud-line);
}
.chat-panel[hidden] { display: none; }
.chat-header { background: var(--harbour-deep); color: var(--cloud); padding: 1rem 1.1rem; display: flex; align-items: center; gap: 0.75rem; }
.chat-header-mark { width: 28px; height: 28px; flex: none; }
.chat-header-mark .mark-frame { stroke: var(--cloud); }
.chat-title { font-family: var(--font-display); font-size: 1rem; font-weight: 500; }
.chat-sub { font-size: 0.74rem; color: var(--cloud-dim); }
.chat-close { margin-left: auto; width: 26px; height: 26px; font-size: 1.3rem; color: var(--cloud-dim); }
.chat-close:hover { color: var(--cloud); }

.chat-body { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; background: var(--cloud); }
.chat-msg { max-width: 84%; padding: 0.7rem 0.95rem; border-radius: 12px; font-size: 0.88rem; line-height: 1.5; }
.chat-msg.bot { align-self: flex-start; background: var(--white); border: 1px solid var(--cloud-line); border-bottom-left-radius: 3px; color: var(--ink); }
.chat-msg.user { align-self: flex-end; background: var(--harbour); color: var(--cloud); border-bottom-right-radius: 3px; }
.chat-popia { font-size: 0.76rem; color: var(--ink-soft); background: transparent; border: none; padding: 0 0.2rem; max-width: 100%; }

/* the markup calls this container .chat-quick — it needs the flex row, not .chat-chips */
.chat-quick { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem 1.1rem 0.25rem; background: var(--cloud); }
.chat-quick:empty { display: none; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.2rem 0; }
.chat-chip { border: 1px solid var(--harbour); color: var(--harbour); border-radius: 999px; padding: 0.45rem 0.9rem; font-size: 0.82rem; font-weight: 500; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.chat-chip:hover { background: var(--harbour); color: var(--cloud); }

.chat-input-row { display: flex; border-top: 1px solid var(--cloud-line); background: var(--white); }
.chat-input-row input { flex: 1; border: none; padding: 0.9rem 1rem; font-size: 0.9rem; background: transparent; }
.chat-input-row input:focus { outline: none; }
.chat-input-row button { padding: 0 1.2rem; font-weight: 600; font-size: 0.85rem; color: var(--harbour); }
.chat-input-row button:hover { color: var(--mustard-deep); }
.chat-input-row input:disabled { opacity: 0.6; }

/* ==========================================================================
   Sub-page hero (products / areas)
   ========================================================================== */
.sub-hero { position: relative; padding-top: 9.5rem; padding-bottom: 5rem; background: var(--harbour-deep); color: var(--cloud); overflow: hidden; }
.sub-hero .eyebrow { color: var(--mustard); }
.sub-hero .eyebrow::before { background: var(--mustard); }
.sub-hero h1 { color: var(--cloud); font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 18ch; margin: 1rem 0 1.25rem; }
.sub-hero p.lede { color: var(--cloud-dim); font-size: 1.08rem; max-width: 56ch; }
.sub-hero-media { position: absolute; inset: 0; z-index: 0; }
.sub-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.sub-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 50, 74, 0.65), var(--harbour-deep) 92%); }
.sub-hero .container { position: relative; z-index: 1; }

.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.82rem; color: var(--cloud-dim); margin-bottom: 1.75rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--cloud-dim); border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: var(--mustard); border-color: var(--mustard); }

.content-block { max-width: 72ch; }
.content-block h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.content-block h2:first-child { margin-top: 0; }
.content-block p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.content-block ul { display: grid; gap: 0.65rem; margin-bottom: 1.3rem; }
.content-block ul li { padding-left: 1.3rem; position: relative; color: var(--ink-soft); font-size: 0.96rem; }
.content-block ul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--mustard); }

.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.callout { background: var(--cloud); border-left: 3px solid var(--mustard); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.5rem 1.75rem; margin: 1.5rem 0; }
.callout p { margin: 0; color: var(--ink); font-size: 0.92rem; }
.callout .callout-label { display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mustard-deep); font-weight: 600; margin-bottom: 0.5rem; }

.side-card { background: var(--harbour-deep); color: var(--cloud); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 6.5rem; }
.side-card h3 { color: var(--cloud); font-size: 1.15rem; }
.side-card p { color: var(--cloud-dim); font-size: 0.9rem; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { border: 1px solid var(--cloud-line); border-radius: var(--radius); padding: 1.5rem; background: var(--white); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.related-card:hover { border-color: var(--mustard); transform: translateY(-3px); }
.related-card svg { width: 34px; height: 34px; color: var(--harbour); margin-bottom: 0.9rem; }
.related-card h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--harbour-deep); font-weight: 500; }
.related-card p { font-size: 0.88rem; color: var(--ink-soft); }

/* Area page specifics */
.area-hero-figure { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.area-hero-figure img { width: 100%; height: 360px; object-fit: cover; }
.spec-list { display: grid; gap: 1.4rem; }
.spec-list li { display: flex; gap: 1rem; }
.spec-list .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mustard); margin-top: 0.5em; flex: none; }

/* 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}

/* ==========================================================================
   Review pass — card thumbnails, wide repairs card, sub-hero legibility
   ========================================================================== */

/* The card already spaces its children with flex gap, so the injected
   bottom margin on .pthumb would double it up. */
.product-card > .pthumb,
.related-card > .pthumb { margin: 0; border-radius: 2px; }
.related-card > .pthumb { margin-bottom: 0.9rem; }

/* Blind repairs — one wide card closing the fourth row of the grid. */
.product-card-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}
.product-card-wide > .pthumb {
  width: min(330px, 32%) !important;
  flex: none;
  align-self: stretch;
  aspect-ratio: auto;
  min-height: 190px;
}
.product-card-wide .wide-copy { display: flex; flex-direction: column; gap: 0.9rem; }
.product-card-wide .wide-copy p { max-width: 78ch; }
.product-card-wide .product-link { margin-top: 0.2rem; }
@media (max-width: 760px) {
  .product-card-wide { flex-direction: column; align-items: stretch; }
  .product-card-wide > .pthumb { width: 100% !important; aspect-ratio: 4/3; min-height: 0; }
}

/* Sub-page hero: the photo was washed out to near-invisibility behind the scrim.
   Lift the image and grade the scrim so the photograph reads while the white
   headline keeps a wide contrast margin. */
.sub-hero-media.pthumb {
  aspect-ratio: auto;
  height: 100% !important;   /* .pthumb ships height:auto!important — this must win */
  margin: 0;
  background: none;
}
.sub-hero-media img { opacity: 0.5; }   /* was 0.22 — the photograph was invisible */
.sub-hero-media::after {
  background: linear-gradient(180deg,
    rgba(22, 50, 74, 0.52) 0%,
    rgba(22, 50, 74, 0.74) 52%,
    var(--harbour-deep) 96%);
}

/* Mobile nav open — stop the page scrolling behind the panel. */
body.nav-open { overflow: hidden; }
.mobile-nav a { transition: color 0.25s var(--ease); }
.mobile-nav a:not(.nav-cta):hover { color: var(--mustard); }
.mobile-nav-close { transition: transform 0.25s var(--ease), color 0.25s var(--ease); }
.mobile-nav-close:hover { color: var(--mustard); transform: rotate(90deg); }

/* ==========================================================================
   THE LEAD LADDER — Featherbrooke
   Rung 1  guide.html — "The Featherbrooke Afternoon Playbook"
   Rung 2  the ballpark window list
   Rung 3  the free expert measure
   Same harbour / cloud / mustard tokens, same mosaic-grid and blind-close
   language as the homepage. No new custom properties, so the network colour
   law still holds.
   ========================================================================== */

/* ---------- Guide hero: the homepage mosaic, re-cut ---------- */
.hero--guide .hero-grid {
  grid-template-rows: repeat(3, minmax(120px, 1fr));
  height: 80vh;
  min-height: 580px;
}
.hero--guide .tile-photo-1 { grid-column: 4 / 7; grid-row: 1 / 3; }
.hero--guide .tile-photo-2 { grid-column: 1 / 3; grid-row: 3 / 4; }
.hero--guide .tile-photo-3 { grid-column: 3 / 5; grid-row: 3 / 4; }
.hero--guide .tile-copy    { grid-column: 1 / 4; grid-row: 1 / 3; }
.hero--guide .tile-cta     { grid-column: 5 / 7; grid-row: 3 / 4; }
.hero--guide .tile-headline { font-size: clamp(1.9rem, 3.4vw, 3.3rem); }
/* the copy tile starts at the top of the page, so it has to clear the fixed nav */
.hero--guide .tile-copy { padding-top: clamp(5.6rem, 7vw, 7rem); }
/* and the nav sits over a bright photograph here, so give it a scrim */
.hero--guide::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(22, 50, 74, 0.78), rgba(22, 50, 74, 0));
  z-index: 5;
  pointer-events: none;
}
.hero--guide .tile-sub { max-width: 52ch; }
.hero--guide .tile-photo-1 .tile-img { object-position: 50% 45%; }
.hero--guide .tile-photo-2 .tile-img { object-position: 50% 50%; }
.hero--guide .tile-photo-3 .tile-img { object-position: 60% 40%; }
.guide-kicker {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.02rem, 1.5vw, 1.35rem);
  line-height: 1.3;
  color: var(--mustard);
  margin: 0.1rem 0 0.2rem;
  max-width: 34ch;
}
.hero--guide .tile-copy { gap: 0.55rem; }
.hero--guide .tile-copy .eyebrow { margin-bottom: 0.15rem; }
.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-size: 0.8rem;
  color: var(--cloud-dim);
  margin-top: 0.4rem;
}
.guide-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.guide-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mustard); flex: none; }
.hero--guide .breadcrumb { margin-bottom: 0.85rem; color: var(--cloud-dim); }
.hero--guide .breadcrumb a { color: var(--cloud-dim); border-bottom: 1px solid transparent; }
.hero--guide .breadcrumb a:hover { color: var(--mustard); border-color: var(--mustard); }

@media (max-width: 980px) {
  .hero--guide .hero-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto auto auto; height: auto; }
  .hero--guide .tile-copy { grid-column: 1 / 3; grid-row: 1; }
  .hero--guide .tile-photo-1 { grid-column: 1 / 3; grid-row: 2; height: 38vh; min-height: 260px; }
  .hero--guide .tile-photo-2 { grid-column: 1 / 2; grid-row: 3; height: 190px; }
  .hero--guide .tile-photo-3 { grid-column: 2 / 3; grid-row: 3; height: 190px; }
  .hero--guide .tile-cta { grid-column: 1 / 3; grid-row: 4; }
}

/* ---------- Contents strip ---------- */
.guide-toc { background: var(--white); border-bottom: 1px solid var(--cloud-line); padding: 1.3rem 0; }
.guide-toc-inner { display: flex; flex-wrap: wrap; gap: 0.5rem 1.35rem; align-items: center; }
.guide-toc-inner .eyebrow { margin-right: 0.4rem; }
.guide-toc a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.guide-toc a:hover { color: var(--harbour); border-color: var(--mustard); }

/* ---------- Guide prose ---------- */
.guide-prose { max-width: 68ch; }
.guide-prose p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.guide-prose p strong { color: var(--harbour-deep); font-weight: 600; }
.guide-prose .lead-para { font-size: 1.08rem; color: var(--ink); }
.section-ink { background: var(--harbour-deep); color: var(--cloud); }
.section-ink h2, .section-ink h3 { color: var(--cloud); }
.section-ink .eyebrow { color: var(--mustard); }
.section-ink .eyebrow::before { background: var(--mustard); }
.section-ink .section-head p { color: var(--cloud-dim); }
.section-ink .guide-prose p { color: var(--cloud-dim); }
.section-ink .guide-prose p strong { color: var(--cloud); }
.section-ink .rule { background: rgba(250, 247, 240, 0.22); }

/* ---------- The sun-arc signature (draws itself once, in view) ---------- */
.sunarc { margin: 2.5rem 0 0; max-width: 660px; }
.sunarc svg { width: 100%; height: auto; overflow: visible; }
.sunarc .arc-line { fill: none; stroke: var(--mustard); stroke-width: 2; stroke-linecap: round; }
.sunarc .arc-faint { fill: none; stroke: var(--harbour-mid); stroke-width: 1.2; stroke-dasharray: 3 5; }
.sunarc .arc-label { font-family: var(--font-body); font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--cloud-dim); }
.sunarc .arc-sun { fill: var(--mustard); }
.js .sunarc [data-draw] { stroke-dasharray: 460; stroke-dashoffset: 460; }
.js .sunarc.is-drawn [data-draw] { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease); }
.js .sunarc .arc-sun { opacity: 0; }
.js .sunarc.is-drawn .arc-sun { opacity: 1; transition: opacity 0.5s var(--ease) 1.2s; }
@media (prefers-reduced-motion: reduce) {
  .js .sunarc [data-draw] { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
  .js .sunarc .arc-sun { opacity: 1; transition: none; }
}

/* ---------- Elevation cards ---------- */
.elev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.elev-card {
  background: var(--white);
  border: 1px solid var(--cloud-line);
  border-top: 3px solid var(--mustard);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
}
.elev-card .compass { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; color: var(--harbour); }
.elev-card .compass svg { width: 30px; height: 30px; flex: none; }
.elev-card .compass b { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--harbour-deep); }
.elev-card p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 0.8rem; }
.elev-card .verdict {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--cloud-line);
  font-size: 0.9rem;
  color: var(--harbour-deep);
}
.elev-card .verdict em { font-style: normal; font-weight: 600; color: var(--mustard-deep); }
@media (max-width: 760px) { .elev-grid { grid-template-columns: 1fr; } }

/* ---------- Recommendation cards ---------- */
.rec-list { display: grid; gap: 1px; background: var(--cloud-line); border: 1px solid var(--cloud-line); border-radius: var(--radius); overflow: hidden; max-width: 1020px; }
.rec {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 1.4rem 2rem;
  background: var(--white);
  padding: 1.85rem 1.8rem;
  align-items: start;
  transition: background 0.3s var(--ease);
}
.rec:hover { background: var(--cloud); }
.rec h3 { font-size: 1.14rem; margin-bottom: 0.5rem; }
.rec p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 0.7rem; }
.rec p:last-of-type { margin-bottom: 0; }
.rec .tradeoff {
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--mustard);
  padding-left: 0.85rem;
  margin-top: 0.9rem;
  margin-bottom: 0;
}
.rec .tradeoff b { color: var(--harbour-deep); font-weight: 600; }
.rec-side { display: flex; flex-direction: column; gap: 0.65rem; }
.rec-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1.5px solid var(--harbour);
  color: var(--harbour);
  border-radius: 999px;
  padding: 0.6rem 1.05rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.rec-add svg { width: 14px; height: 14px; flex: none; }
.rec-add:hover { background: var(--harbour); color: var(--cloud); }
.rec-add.is-added { background: var(--mustard-soft); border-color: var(--mustard); color: var(--mustard-deep); cursor: default; }
.rec-tag { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--mustard-deep); }
.rec-brief { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--cloud-line); border: 1px solid var(--cloud-line); border-radius: var(--radius); overflow: hidden; margin-top: var(--gap); max-width: 1020px; }
.rec-brief .rec { grid-template-columns: 1fr; padding: 1.45rem 1.55rem; }
.rec-brief .rec h3 { font-size: 1.02rem; }
.rec-brief .rec p { font-size: 0.9rem; }
.rec-brief .rec-side { flex-direction: row; flex-wrap: wrap; align-items: center; }
@media (max-width: 860px) {
  .rec { grid-template-columns: 1fr; }
  .rec-brief { grid-template-columns: 1fr; }
}

/* ---------- Guide figures ---------- */
.guide-figure { margin: var(--gap) 0 0; border-radius: var(--radius); overflow: hidden; background: var(--harbour-deep); max-width: 1020px; }
.guide-figure img { width: 100%; height: auto; display: block; }
.guide-figure figcaption { padding: 1.05rem 1.35rem; font-size: 0.88rem; color: var(--cloud-dim); }
.guide-figure figcaption b { color: var(--cloud); font-family: var(--font-display); font-weight: 600; }

/* ---------- What we would still check ---------- */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
.check-item { display: flex; gap: 1.05rem; }
.check-item .num { font-family: var(--font-display); font-size: 1.5rem; color: var(--mustard); flex: none; width: 2rem; line-height: 1.2; }
.check-item h3 { font-size: 1.04rem; margin-bottom: 0.4rem; }
.check-item p { font-size: 0.93rem; }
@media (max-width: 760px) { .check-grid { grid-template-columns: 1fr; } }

/* ---------- Ladder layout + forms ---------- */
.ladder-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 980px) { .ladder-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.form-card {
  background: var(--white);
  border: 1px solid var(--cloud-line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: 0 28px 50px -34px rgba(22, 50, 74, 0.5);
}
.form-card .field { margin-bottom: 1.05rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.legend {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--harbour-deep);
  margin-bottom: 0.6rem;
  padding: 0;
}
.interest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; }
.interest-grid label { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.87rem; color: var(--ink); cursor: pointer; line-height: 1.4; }
.interest-grid input { margin: 0.22rem 0 0; accent-color: var(--mustard-deep); flex: none; }
@media (max-width: 620px) { .interest-grid { grid-template-columns: 1fr; } }
.popia-note { font-size: 0.8rem; color: var(--ink-soft); border-left: 2px solid var(--mustard); padding-left: 0.85rem; margin-top: 1rem; }
.section-ink .popia-note { color: var(--cloud-dim); }
.capacity-note { font-size: 0.88rem; color: var(--ink-soft); border-left: 2px solid var(--mustard); padding-left: 1rem; margin-top: 1.6rem; }
.section-ink .capacity-note { color: var(--cloud-dim); }
.promise { display: grid; gap: 0.85rem; margin-top: 1.4rem; }
.promise-item { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.93rem; color: var(--ink-soft); }
.promise-item svg { width: 19px; height: 19px; flex: none; margin-top: 0.15rem; color: var(--mustard-deep); }
.section-ink .promise-item { color: var(--cloud-dim); }
.section-ink .promise-item svg { color: var(--mustard); }
.carry-note {
  font-size: 0.84rem;
  color: var(--ink-soft);
  background: var(--mustard-soft);
  border-left: 2px solid var(--mustard);
  padding: 0.7rem 0.95rem;
  margin: 0.7rem 0 0;
  border-radius: 0 3px 3px 0;
}
.carry-note strong { color: var(--harbour-deep); }
.lead-thanks {
  background: var(--cloud);
  border: 1px solid var(--cloud-line);
  border-left: 3px solid var(--mustard);
  border-radius: var(--radius);
  padding: 1.55rem 1.7rem;
  margin-top: 1.1rem;
}
.lead-thanks h3, .form-success h3 { font-size: 1.22rem; margin-bottom: 0.6rem; }
.lead-thanks p, .form-success p { font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 0.65rem; }
.lead-thanks p:last-child, .form-success p:last-child { margin-bottom: 0; }
.lead-thanks a, .form-success a { color: var(--mustard-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-success.show { display: block; }
form.is-sent, form.is-hidden { display: none; }

/* ---------- Rung 2: the window list ---------- */
.ballpark { margin: 0.4rem 0 1.15rem; border: 1px dashed var(--cloud-line); background: var(--cloud); border-radius: var(--radius); }
.ballpark > summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--harbour-deep);
  transition: color 0.25s var(--ease);
}
.ballpark > summary::-webkit-details-marker { display: none; }
.ballpark > summary:hover { color: var(--mustard-deep); }
.ballpark > summary .chev { width: 15px; height: 15px; flex: none; color: var(--mustard-deep); transition: transform 0.3s var(--ease); }
.ballpark[open] > summary .chev { transform: rotate(180deg); }
.bp-inner { padding: 0 1.15rem 1.3rem; }
.bp-print-head { display: none; }
.bp-pairing { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 1.1rem; max-width: 64ch; }
.bp-pairing strong { color: var(--harbour-deep); }
.bp-scroll { overflow-x: auto; }
.bp-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.bp-table th {
  text-align: left;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  padding: 0 0.5rem 0.55rem 0;
  border-bottom: 1px solid var(--cloud-line);
  white-space: nowrap;
}
.bp-table td { padding: 0.45rem 0.5rem 0.45rem 0; vertical-align: middle; }
.bp-table input, .bp-table select {
  width: 100%;
  min-width: 100px;
  border: 1px solid var(--cloud-line);
  background: var(--white);
  border-radius: 3px;
  padding: 0.55rem 0.6rem;
  color: var(--ink);
  font-size: 0.88rem;
  transition: border-color 0.25s var(--ease);
}
.bp-table input:focus, .bp-table select:focus { outline: none; border-color: var(--mustard-deep); }
.bp-table td[data-lbl="Product"] select { min-width: 176px; }
.bp-table td[data-lbl="Inside or outside"] select { min-width: 156px; }
.bp-table td.bp-rm { width: 34px; padding-right: 0; }
.bp-remove {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--cloud-line);
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.bp-remove:hover { background: var(--harbour-deep); color: var(--cloud); border-color: var(--harbour-deep); }
.bp-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
.bp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--harbour);
  color: var(--harbour);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.bp-btn svg { width: 14px; height: 14px; }
.bp-btn:hover { background: var(--harbour); color: var(--cloud); }
.bp-count { font-size: 0.84rem; color: var(--harbour-deep); font-weight: 500; margin: 0.9rem 0 0; }
.bp-foot { font-size: 0.78rem; color: var(--ink-soft); margin: 0.6rem 0 0; max-width: 64ch; }
.bp-holder { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 640px) {
  /* every window row becomes its own stacked card */
  .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(--white);
    border: 1px solid var(--cloud-line);
    border-radius: var(--radius);
    padding: 0.9rem 0.9rem 0.35rem;
    margin-bottom: 0.75rem;
    position: relative;
  }
  .bp-table td { padding: 0 0 0.65rem; }
  .bp-table td[data-lbl]::before {
    content: attr(data-lbl);
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 600;
    margin-bottom: 0.3rem;
  }
  .bp-table td.bp-rm { position: absolute; top: 0.6rem; right: 0.6rem; width: auto; padding: 0; }
  .bp-table td.bp-rm::before { content: none; }
  .bp-inner { padding: 0 0.9rem 1.1rem; }
  .ballpark > summary { padding: 0.95rem 0.9rem; }
}

/* ---------- Sources ---------- */
.sources { background: var(--white); border: 1px solid var(--cloud-line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); }
.sources ol { list-style: decimal; padding-left: 1.4rem; display: grid; gap: 0.85rem; }
.sources li { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }
.sources a { color: var(--harbour); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.sources a:hover { color: var(--mustard-deep); }
.sources .note { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--cloud-line); font-size: 0.84rem; color: var(--ink-soft); max-width: 80ch; }

/* ---------- Homepage guide promo ---------- */
.guide-promo { background: var(--white); }
.guide-promo-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
@media (max-width: 900px) { .guide-promo-grid { grid-template-columns: 1fr; gap: 2rem; } }
.guide-promo-figure { border-radius: var(--radius); overflow: hidden; }
.guide-promo-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-promo ul { display: grid; gap: 0.7rem; margin: 1.4rem 0 1.85rem; }
.guide-promo ul li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.94rem; color: var(--ink-soft); }
.guide-promo ul li svg { width: 19px; height: 19px; flex: none; margin-top: 0.15rem; color: var(--mustard-deep); }
.guide-promo-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--cloud);
  border-bottom: 1px solid var(--mustard);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease);
}
.hero-textlink:hover { color: var(--mustard); }
.guide-inline-link { color: var(--harbour); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.guide-inline-link:hover { color: var(--mustard-deep); }

/* ---------- Print: walk the house with paper ---------- */
@media print {
  html, body { background: #ffffff; color: #000000; }
  .js .reveal, .js .reveal-scale { opacity: 1 !important; transform: none !important; }
  .site-header, .mobile-nav, .marquee, .site-footer, .chat-widget, .hero, .guide-toc,
  .guide-figure, .hero-ctas, .bp-actions, .bp-remove, .ballpark > summary,
  .bp-pairing, .popia-note, .bp-foot, .bp-count, .closing-cta, .sunarc { display: none !important; }
  .ballpark { border: none; background: transparent; margin: 0; }
  .bp-inner { padding: 0; }
  .bp-print-head { display: block; margin-bottom: 1rem; }
  .bp-print-head h2 { font-size: 1.4rem; margin-bottom: 0.4rem; color: #000000; }
  .bp-print-head p { font-size: 0.8rem; color: #333333; }
  .bp-table th { border-bottom: 1px solid #666666; color: #333333; }
  .bp-table input, .bp-table select { border: 1px solid #999999; background: #ffffff; }
  .form-card { border: none; box-shadow: none; padding: 0; }
  body.bp-printing section, body.bp-printing .guide-toc { padding: 0 !important; }
  body.bp-printing .guide-prose, body.bp-printing .rec-list, body.bp-printing .rec-brief,
  body.bp-printing .elev-grid, body.bp-printing .check-grid, 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, body.bp-printing .promise,
  body.bp-printing .capacity-note, body.bp-printing .enquiry-aside { display: none !important; }
  body.bp-printing .ladder-grid, body.bp-printing .enquiry-wrap { display: block !important; }
}

/* Chat — typing indicator and the lead summary card */
.chat-typing { display: inline-flex; gap: 4px; align-items: center; }
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--harbour-mid);
  animation: chat-bounce 1.1s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chat-typing span { animation: none; opacity: 0.7; } }

.chat-summary {
  align-self: stretch; max-width: 100%;
  background: var(--mustard-soft); border: 1px solid var(--mustard);
  border-radius: 10px; padding: 0.8rem 0.95rem; font-size: 0.82rem; color: var(--harbour-deep);
}
.chat-summary strong { display: block; font-family: var(--font-display); font-size: 0.95rem; font-weight: 500; margin-bottom: 0.4rem; }
.chat-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.7rem; margin: 0; }
.chat-summary dt { font-weight: 600; opacity: 0.75; }
.chat-summary dd { margin: 0; }
