/* =========================================================
   Parktown Blinds — shared stylesheet
   Theme: heritage-parks / "diagonal energy"
   Palette: cocoa + eggshell + verdigris
   Fonts: DM Serif Display (display) + DM Sans (body)
   ========================================================= */

:root{
  --ink:        #241a12;
  --cocoa:      #6b4a34;
  --cocoa-deep: #46301f;
  --cocoa-night:#2c1e14;
  --cocoa-pale: #eee1cd;
  --eggshell:   #f7f1e5;
  --eggshell-2: #efe3cd;
  --white:      #fffdf8;
  --verdigris:      #4f8a76;
  --verdigris-deep: #34594a;
  --verdigris-pale: #dde9e1;
  --verdigris-glow: #6fa993;

  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --skew: 2.4vw;
  --maxw: 1240px;
  --pad-desktop: 100px;
  --pad-mobile: 56px;

  --ease: cubic-bezier(.4,.08,.2,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

body{
  margin: 0;
  background: var(--eggshell);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }
input, select, textarea{ font-family: inherit; font-size: 16px; }

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px){
  .container{ padding: 0 20px; }
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
  color: var(--cocoa-night);
}
h2{ font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3{ font-size: clamp(1.3rem, 2vw, 1.7rem); }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--verdigris-deep);
  margin-bottom: 18px;
}
.eyebrow::before{
  content: "";
  width: 26px;
  height: 1px;
  background: var(--verdigris);
}

.rule{
  height: 1px;
  background: var(--cocoa-pale);
  transform-origin: left center;
}
/* Pre-animation hidden states only apply once main.js confirms GSAP is live
   (html.anim) — without JS the page renders fully visible and static. */
html.anim .rule:not(.in-view){ transform: scaleX(0); }
.rule.in-view{ transform: scaleX(1); transition: transform 1.1s var(--ease); }
@media (prefers-reduced-motion: reduce){
  .rule{ transform: scaleX(1) !important; transition: none !important; }
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 3px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 260ms var(--ease), background 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease), box-shadow 320ms var(--ease);
  position: relative;
  box-shadow: 0 0 0 0 rgba(44,30,20,0);
}
.btn-primary{
  background: var(--verdigris-deep);
  color: var(--white);
  border-color: var(--verdigris-deep);
  overflow: hidden;
}
/* Signature moment: on hover a fill rises from the bottom edge instead of
   an instant colour swap — transform only, no layout shift. */
.btn-primary::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--verdigris);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 340ms var(--ease);
}
.btn-primary:hover::before, .btn-primary:focus-visible::before{ transform: scaleY(1); }
/* Signature moment: CTA buttons lift with a growing shadow and nudge
   sideways on hover, rather than a plain vertical lift — transform and
   box-shadow only, no layout shift. */
.btn-primary:hover, .btn-primary:focus-visible{
  border-color: var(--verdigris);
  transform: translateY(-4px) translateX(5px);
  box-shadow: 0 22px 32px -16px rgba(44,30,20,0.5);
}
.btn-outline{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover, .btn-outline:focus-visible{
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-4px) translateX(-5px);
  box-shadow: 0 18px 28px -18px rgba(44,30,20,0.4);
}
.btn-outline.on-light{ color: var(--cocoa-night); border-color: var(--cocoa); }
.btn-outline.on-light:hover{ background: var(--cocoa-pale); }
.btn:focus-visible{ outline: 2px solid var(--verdigris); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce){
  .btn-primary:hover, .btn-primary:focus-visible,
  .btn-outline:hover, .btn-outline:focus-visible{ transform: none !important; }
}

/* ---------- Nav ---------- */
.site-nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: background 320ms var(--ease), padding 320ms var(--ease), box-shadow 320ms var(--ease);
}
.site-nav.solid{
  background: rgba(247,241,229,0.94);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(43,30,18,0.08);
}
.site-nav .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--white);
  transition: color 320ms var(--ease);
}
.site-nav.solid .brand{ color: var(--cocoa-night); }
.brand svg{ width: 36px; height: 36px; flex: none; }
.brand .mark-ink{ fill: var(--white); transition: fill 320ms var(--ease); }
.brand .mark-accent{ fill: var(--verdigris-glow); }
.site-nav.solid .brand .mark-ink{ fill: var(--cocoa-night); }

.nav-links{
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a{
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.92;
  position: relative;
  padding: 4px 0;
  transition: color 320ms var(--ease), opacity 240ms var(--ease);
}
.site-nav.solid .nav-links a{ color: var(--cocoa-night); }
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--verdigris-glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}
.site-nav.solid .nav-links a::after{ background: var(--verdigris); }
.nav-links a:hover{ opacity: 1; }
.nav-links a:hover::after{ transform: scaleX(1); }
.nav-links .btn{ padding: 11px 22px; font-size: 12.5px; }

.nav-toggle{
  display: none;
  background: none;
  border: none;
  width: 34px; height: 26px;
  position: relative;
}
.nav-toggle span{
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--white);
  transition: transform 260ms var(--ease), opacity 260ms var(--ease), background 260ms var(--ease);
}
.site-nav.solid .nav-toggle span{ background: var(--cocoa-night); }
.nav-toggle span:nth-child(1){ top: 4px; }
.nav-toggle span:nth-child(2){ top: 12px; }
.nav-toggle span:nth-child(3){ top: 20px; }
.nav-open .nav-toggle span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
.nav-open .nav-toggle span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px){
  .nav-links{
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    height: 100vh;
    background: var(--cocoa-night);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 380ms var(--ease);
  }
  .nav-open .nav-links{ transform: translateX(0); }
  .nav-links a, .site-nav.solid .nav-links a{ color: var(--eggshell); }
  .nav-toggle{ display: block; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--cocoa-night);
}
.hero-media{
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.06);
  will-change: transform;
}
/* Signature moment: the hero loads duotone (cocoa/verdigris wash over the
   photo via mix-blend-mode) then fades to full colour — opacity only,
   no filter interpolation, no layout shift. Starts visible only when the
   animation engine is live (html.anim); otherwise the photo shows full colour. */
.hero-duotone{
  position: absolute; inset: 0;
  background: linear-gradient(155deg, var(--cocoa-night) 0%, var(--verdigris-deep) 100%);
  mix-blend-mode: color;
  opacity: 0;
  pointer-events: none;
}
html.anim .hero-duotone{ opacity: 1; }
@media (prefers-reduced-motion: reduce){
  .hero-duotone{ opacity: 0 !important; }
}
.hero-scrim{
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(28,19,12,0.88) 0%, rgba(28,19,12,0.52) 32%, rgba(28,19,12,0.14) 62%, rgba(28,19,12,0.32) 100%),
    linear-gradient(100deg, rgba(28,19,12,0.48) 0%, rgba(28,19,12,0.03) 46%);
}
.hero-inner{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 32px 108px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-eyebrow{
  color: var(--verdigris-glow);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.hero h1{
  color: var(--white);
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  max-width: 15ch;
  margin-bottom: 22px;
}
.hero h1 .word{ display: inline-block; }
.hero-sub{
  color: rgba(255,253,248,0.86);
  font-size: 18px;
  max-width: 46ch;
  margin-bottom: 38px;
}
.hero-ctas{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 46px;
}
.trust-row{
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.trust-row li{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.trust-row svg{ width: 18px; height: 18px; flex: none; color: var(--verdigris-glow); }

@media (max-width: 640px){
  .hero-inner{ padding: 0 20px 64px; }
}

/* ---------- Marquee ---------- */
.marquee{
  background: var(--cocoa-night);
  color: var(--eggshell-2);
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid rgba(255,253,248,0.08);
  border-bottom: 1px solid rgba(255,253,248,0.08);
}
.marquee-track{
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}
.marquee-track span{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--eggshell-2);
  padding: 0 28px;
  white-space: nowrap;
  opacity: 0.9;
}
.marquee-track span.dot{ color: var(--verdigris-glow); font-style: normal; }
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ---------- Section scaffolding / diagonal energy ---------- */
section{ position: relative; }
.section-pad{ padding: var(--pad-desktop) 0; }
@media (max-width: 780px){
  .section-pad{ padding: 64px 0; }
}
.band-eggshell{ background: var(--eggshell); }
.band-eggshell-2{ background: var(--eggshell-2); }
.band-cocoa{ background: var(--cocoa-night); color: var(--eggshell); }
.band-cocoa h2, .band-cocoa h3{ color: var(--white); }

.skew-top{
  clip-path: polygon(0 var(--skew), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--skew) * -1);
  padding-top: calc(var(--pad-desktop) + var(--skew));
}
.skew-bottom{
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--skew)), 0 100%);
  padding-bottom: calc(var(--pad-desktop) + var(--skew));
}
.skew-both{
  clip-path: polygon(0 var(--skew), 100% 0, 100% calc(100% - var(--skew)), 0 100%);
  margin-top: calc(var(--skew) * -1);
  padding-top: calc(var(--pad-desktop) + var(--skew));
  padding-bottom: calc(var(--pad-desktop) + var(--skew));
}
@media (max-width: 780px){
  .skew-top{ padding-top: calc(64px + var(--skew)); }
  .skew-bottom{ padding-bottom: calc(64px + var(--skew)); }
  .skew-both{ padding-top: calc(64px + var(--skew)); padding-bottom: calc(64px + var(--skew)); }
}

/* ---------- Reveal ---------- */
html.anim .reveal:not(.in-view){ opacity: 0; transform: translateY(28px); }
.reveal.in-view{
  opacity: 1; transform: translateY(0);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1 !important; transform: none !important; }
}

/* ---------- Section headers ---------- */
.section-head{
  max-width: 640px;
  margin-bottom: 56px;
  position: relative;
}
.section-head p{ color: var(--cocoa); font-size: 17px; max-width: 58ch; }
.band-cocoa .section-head p{ color: rgba(247,241,229,0.78); }

/* Signature moment: the section rule draws first, then the heading and
   copy fade up after it — a deliberate two-beat entrance, not a single
   simultaneous reveal. */
.section-head::after{
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 24px;
  background: var(--cocoa-pale);
  transform-origin: left center;
  transition: transform 650ms var(--ease);
}
html.anim .section-head:not(.content-in)::after{ transform: scaleX(0); }
.band-cocoa .section-head::after{ background: rgba(247,241,229,0.22); }
.section-head .eyebrow,
.section-head h2,
.section-head p{
  transition: opacity 700ms var(--ease) 380ms, transform 700ms var(--ease) 380ms;
}
html.anim .section-head:not(.content-in) .eyebrow,
html.anim .section-head:not(.content-in) h2,
html.anim .section-head:not(.content-in) p{
  opacity: 0;
  transform: translateY(20px);
}
.section-head.content-in::after{ transform: scaleX(1); }
.section-head.content-in .eyebrow,
.section-head.content-in h2,
.section-head.content-in p{
  opacity: 1;
  transform: translateY(0);
}
.section-head.content-in h2{ transition-delay: 460ms; }
.section-head.content-in p{ transition-delay: 540ms; }
@media (prefers-reduced-motion: reduce){
  .section-head::after{ transform: scaleX(1) !important; transition: none !important; }
  .section-head .eyebrow, .section-head h2, .section-head p{
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* ---------- Product grid ---------- */
.product-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--cocoa-pale);
  border: 1px solid var(--cocoa-pale);
}
@media (max-width: 980px){ .product-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .product-grid{ grid-template-columns: 1fr; } }

.product-card{
  background: var(--eggshell);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 260ms var(--ease), transform 260ms var(--ease);
}
.product-card:hover{ background: var(--white); transform: translateY(-4px); }
.product-card .p-photo{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
}
.product-card .p-photo img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}
.product-card:hover .p-photo img{ transform: scale(1.045); }
.product-card h4{
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--cocoa-night);
}
.product-card p{
  font-size: 15px;
  color: var(--cocoa);
  margin: 0;
  flex: 1;
}
.product-card .p-link{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--verdigris-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-card .p-link svg{ width: 14px; height: 14px; transition: transform 220ms var(--ease); }
.product-card:hover .p-link svg{ transform: translateX(4px); }

.product-card.cta-card{
  background: var(--verdigris-pale);
  border-left: 3px solid var(--verdigris);
}
.product-card.cta-card:hover{ background: var(--verdigris-pale); }
.product-card.cta-card .p-link{ color: var(--verdigris-deep); }

/* ---------- Editorial photo section ---------- */
.editorial{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px){ .editorial{ grid-template-columns: 1fr; } }

.photo-card{
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 26px 50px -20px rgba(43,30,18,0.35);
}
.photo-card img{ width: 100%; height: 100%; object-fit: cover; }
.photo-card figcaption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 24px;
  background: linear-gradient(0deg, rgba(28,19,12,0.86), rgba(28,19,12,0));
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.01em;
}
.photo-card.rot-l{ transform: rotate(-1.1deg); transition: transform 320ms var(--ease); }
.photo-card.rot-r{ transform: rotate(1.3deg); transition: transform 320ms var(--ease); }
.photo-card.rot-l:hover, .photo-card.rot-r:hover{ transform: rotate(0deg); }

.editorial-main{ aspect-ratio: 4/5; }
.editorial-stack{ display: flex; flex-direction: column; gap: 24px; margin-top: 46px; }
.editorial-stack .photo-card{ aspect-ratio: 5/4; }

/* ---------- Locale story ---------- */
.story-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px){ .story-grid{ grid-template-columns: 1fr; gap: 36px; } }
.story-copy p{ color: rgba(247,241,229,0.82); max-width: 60ch; }
.story-copy p + p{ margin-top: 18px; }
.story-facts{ display: grid; gap: 22px; }
.story-fact{
  border-left: 2px solid var(--verdigris);
  padding: 4px 0 4px 22px;
}
.story-fact strong{
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--white);
  margin-bottom: 6px;
}
.story-fact span{ color: rgba(247,241,229,0.72); font-size: 14.5px; }

/* ---------- Process ---------- */
.process-list{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media (max-width: 900px){ .process-list{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .process-list{ grid-template-columns: 1fr; } }
.process-item{
  padding: 30px 26px 26px;
  background: var(--white);
  border: 1px solid var(--cocoa-pale);
  position: relative;
}
.process-item .p-num{
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--verdigris-pale);
  -webkit-text-stroke: 1px var(--verdigris);
  margin-bottom: 14px;
  display: block;
}
.process-item h4{ font-size: 18px; margin-bottom: 10px; color: var(--cocoa-night); }
.process-item p{ font-size: 14.5px; color: var(--cocoa); margin: 0; }

/* ---------- Area chips ---------- */
.area-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.area-chip{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--cocoa-pale);
  background: var(--white);
  font-weight: 700;
  font-size: 14px;
  color: var(--cocoa-night);
  transition: border-color 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease);
}
.area-chip svg{ width: 15px; height: 15px; color: var(--verdigris-deep); }
.area-chip:hover{ border-color: var(--verdigris); color: var(--verdigris-deep); transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.faq-list{ max-width: 800px; }
.faq-item{
  border-bottom: 1px solid var(--cocoa-pale);
}
.faq-item summary{
  list-style: none;
  padding: 26px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--cocoa-night);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-icon{
  position: relative;
  width: 20px; height: 20px;
  flex: none;
}
.faq-icon::before, .faq-icon::after{
  content: "";
  position: absolute;
  background: var(--verdigris-deep);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  transition: transform 260ms var(--ease);
}
.faq-icon::before{ width: 16px; height: 2px; }
.faq-icon::after{ width: 2px; height: 16px; }
.faq-item[open] .faq-icon::after{ transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.faq-item[open] .faq-icon::before{ transform: translate(-50%,-50%) rotate(180deg); }
.faq-answer{
  padding: 0 4px 26px;
  color: var(--cocoa);
  max-width: 68ch;
  font-size: 15.5px;
}

/* ---------- Closing CTA ---------- */
.cta-close{
  position: relative;
  overflow: hidden;
  background: var(--cocoa-night);
  padding: 120px 0;
  text-align: center;
}
/* Signature moment: the CTA fill rises from the bottom edge as the
   section enters view — clip-path only, no layout shift. */
.cta-fill{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--verdigris-deep) 0%, var(--cocoa-night) 78%);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease);
}
html.anim .cta-close:not(.in-view) .cta-fill{ clip-path: inset(100% 0 0 0); }
.cta-close.in-view .cta-fill{ clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce){
  .cta-fill{ clip-path: inset(0 0 0 0) !important; transition: none !important; }
}
.cta-close .container{ position: relative; z-index: 2; }
.cta-close h2{ color: var(--white); max-width: 16ch; margin: 0 auto 20px; }
.cta-close p{ color: rgba(247,241,229,0.78); max-width: 50ch; margin: 0 auto 38px; }
.cta-close .hero-ctas{ justify-content: center; margin-bottom: 0; }

/* magnetic CTA target */
.magnetic{ display: inline-flex; }

/* ---------- Form ---------- */
.enquiry{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px){ .enquiry{ grid-template-columns: 1fr; gap: 40px; } }
.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px){ .form-grid{ grid-template-columns: 1fr; } }
.form-grid .full{ grid-column: 1 / -1; }
.field label{
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cocoa);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea{
  width: 100%;
  padding: 13px 14px;
  background: var(--white);
  border: 1px solid var(--cocoa-pale);
  border-radius: 2px;
  color: var(--ink);
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.field textarea{ resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--verdigris);
  box-shadow: 0 0 0 3px var(--verdigris-pale);
}
.popia-note{
  font-size: 13px;
  color: var(--cocoa);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 60ch;
}
.form-success{
  display: none;
  padding: 18px 20px;
  background: var(--verdigris-pale);
  border: 1px solid var(--verdigris);
  color: var(--verdigris-deep);
  font-weight: 700;
  font-size: 14.5px;
  margin-top: 20px;
}
.form-success.show{ display: block; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--cocoa-night);
  color: rgba(247,241,229,0.82);
  padding: 70px 0 34px;
}
.footer-top{
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(247,241,229,0.14);
  margin-bottom: 28px;
}
.footer-brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand svg{ width: 34px; height: 34px; }
.footer-brand .mark-ink{ fill: var(--eggshell); }
.footer-brand .mark-accent{ fill: var(--verdigris-glow); }
.chat-head .mark-ink{ fill: var(--eggshell); }
.chat-head .mark-accent{ fill: var(--verdigris-glow); }
.footer-tag{ max-width: 40ch; font-size: 14.5px; color: rgba(247,241,229,0.68); }
.footer-cols{ display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5{
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--verdigris-glow);
  margin-bottom: 16px;
}
.footer-col ul{ display: grid; gap: 10px; }
.footer-col a{ font-size: 14px; color: rgba(247,241,229,0.82); transition: color 220ms var(--ease); }
.footer-col a:hover{ color: var(--white); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(247,241,229,0.52);
}
.footer-bottom .popia-note{ color: rgba(247,241,229,0.52); margin: 0; }

/* ---------- Chat widget ---------- */
.chat-fab{
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 300;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--verdigris-deep);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(52,89,74,0.55);
  transition: transform 260ms var(--ease), background 260ms var(--ease);
}
.chat-fab:hover{ transform: translateY(-3px) scale(1.04); background: var(--verdigris); }
.chat-fab svg{ width: 26px; height: 26px; }
.chat-fab .icon-close{ display: none; }
.chat-open .chat-fab .icon-chat{ display: none; }
.chat-open .chat-fab .icon-close{ display: block; }

.chat-panel{
  position: fixed;
  right: 26px; bottom: 98px;
  z-index: 300;
  width: 360px;
  max-width: calc(100vw - 40px);
  max-height: min(72vh, 560px);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 34px 70px -18px rgba(43,30,18,0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.chat-open .chat-panel{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.chat-head{
  background: var(--cocoa-night);
  color: var(--white);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-head svg{ width: 28px; height: 28px; }
.chat-head strong{ font-family: var(--font-display); font-size: 16px; display: block; }
.chat-head span{ font-size: 12px; color: rgba(247,241,229,0.7); }
.chat-body{
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--eggshell);
}
.chat-msg{
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.55;
}
.chat-msg.bot{
  background: var(--white);
  border: 1px solid var(--cocoa-pale);
  color: var(--ink);
  border-bottom-left-radius: 3px;
  align-self: flex-start;
}
.chat-msg.user{
  background: var(--verdigris-deep);
  color: var(--white);
  border-bottom-right-radius: 3px;
  align-self: flex-end;
}
.chat-msg.popia{
  font-size: 11.5px;
  color: var(--cocoa);
  background: transparent;
  border: none;
  padding: 0 4px;
  max-width: 100%;
}
.chat-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: flex-start;
  max-width: 100%;
}
.chat-chip{
  border: 1px solid var(--verdigris);
  color: var(--verdigris-deep);
  background: var(--white);
  padding: 8px 13px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.chat-chip:hover{ background: var(--verdigris-deep); color: var(--white); }
.chat-foot{
  border-top: 1px solid var(--cocoa-pale);
  padding: 12px;
  display: flex;
  gap: 8px;
  background: var(--white);
}
.chat-foot input{
  flex: 1;
  border: 1px solid var(--cocoa-pale);
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 13.5px;
}
.chat-foot input:focus{ outline: none; border-color: var(--verdigris); }
.chat-foot button{
  background: var(--verdigris-deep);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background 200ms var(--ease);
}
.chat-foot button:hover{ background: var(--verdigris); }
.chat-foot button svg{ width: 16px; height: 16px; }

@media (max-width: 480px){
  .chat-panel{ right: 16px; left: 16px; width: auto; bottom: 92px; }
  .chat-fab{ right: 16px; bottom: 16px; }
}

/* ---------- Skip link ---------- */
.skip-link{
  position: fixed;
  top: -60px; left: 12px;
  z-index: 999;
  background: var(--verdigris-deep);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  transition: top 200ms var(--ease);
}
.skip-link:focus{ top: 12px; }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--verdigris);
  outline-offset: 3px;
}

/* ---------- Utility page header (products/areas) ---------- */
.page-header{
  padding: 168px 0 70px;
  background: var(--cocoa-night);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-header .container{ position: relative; z-index: 2; }
.page-header .eyebrow{ color: var(--verdigris-glow); }
.page-header .eyebrow::before{ background: var(--verdigris-glow); }
.page-header h1{ color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 18ch; }
.page-header p{ color: rgba(247,241,229,0.78); max-width: 56ch; margin-top: 18px; font-size: 17px; }
.breadcrumb{
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(247,241,229,0.6);
  margin-bottom: 22px;
}
.breadcrumb a{ color: rgba(247,241,229,0.85); }
.breadcrumb a:hover{ color: var(--verdigris-glow); }

.two-col{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px){ .two-col{ grid-template-columns: 1fr; gap: 36px; } }
.pros-list{ display: grid; gap: 16px; margin-top: 10px; }
.pros-list li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink);
}
.pros-list svg{ width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--verdigris-deep); }
.spec-box{
  background: var(--white);
  border: 1px solid var(--cocoa-pale);
  padding: 30px;
}
.spec-box h4{ margin-bottom: 16px; }
.spec-box dl{ display: grid; gap: 14px; margin: 0; }
.spec-box dt{ font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cocoa); }
.spec-box dd{ margin: 4px 0 0; font-size: 15px; color: var(--cocoa-night); }

.suit-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 640px){ .suit-grid{ grid-template-columns: 1fr; } }
.suit-card{
  background: var(--white);
  border: 1px solid var(--cocoa-pale);
  padding: 26px;
}
.suit-card h4{ font-size: 17px; margin-bottom: 8px; }
.suit-card p{ font-size: 14.5px; color: var(--cocoa); margin: 0; }

/* pthumb-injected */
/* --- product photo thumbnails (replaced the old line-drawn icons) --- */
.pthumb{width:100%!important;height:auto!important;max-width:none!important;
  aspect-ratio:4/3;overflow:hidden;display:block;margin:0 0 18px;
  background:rgba(0,0,0,.04)}
.pthumb img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.product-card:hover .pthumb img,.cell:hover .pthumb img,.card:hover .pthumb img,
.related-card:hover .pthumb img{transform:scale(1.045)}
@media (prefers-reduced-motion:reduce){
  .pthumb img{transition:none}
  .product-card:hover .pthumb img,.cell:hover .pthumb img,.card:hover .pthumb img,
  .related-card:hover .pthumb img{transform:none}}


/* roller shutters are shading products, not security products — see design-brief.md */
.rs-note{font-size:.94rem;line-height:1.6;opacity:.85;margin:14px 0 0;
  padding:12px 14px;border-left:2px solid currentColor}
.rs-note strong{font-weight:600}


/* The reveal signature parks elements at x: ±46 with a slight rotation before
   they enter view, which leaves the viewport horizontally scrollable by a few
   dozen pixels. `overflow-x: hidden` on <body> alone propagates to the viewport
   but still lets it scroll, so clip both — `clip` creates no scroll container,
   so sticky positioning and smooth scrolling are untouched. Older engines
   ignore `clip` and keep the existing hidden fallback. */
html, body{ overflow-x: clip; }

/* =========================================================
   THE LEAD LADDER — playbook page, ballpark window list, free measure
   Rung 1  guide.html  ·  Rung 2  the window list  ·  Rung 3  the measure
   Same cocoa / eggshell / verdigris palette, same diagonal energy.
   ========================================================= */

/* ---------- Rung 1: the playbook hero ---------- */
.guide-hero{
  background: var(--cocoa-night);
  color: var(--eggshell);
  padding: 168px 0 calc(88px + var(--skew));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--skew)), 0 100%);
  position: relative;
  overflow: hidden;
}
.guide-hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.guide-hero .breadcrumb{ margin-bottom: 20px; }
.guide-hero .eyebrow{ color: var(--verdigris-glow); }
.guide-hero .eyebrow::before{ background: var(--verdigris-glow); }
.guide-hero h1{
  color: var(--white);
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  max-width: 15ch;
}
.guide-hero h1 .lede{
  display: block;
  font-style: italic;
  font-size: 0.44em;
  color: var(--verdigris-glow);
  line-height: 1.3;
  margin-top: 16px;
  max-width: 26ch;
}
.guide-hero .sub{
  color: rgba(247,241,229,0.82);
  font-size: 18px;
  max-width: 50ch;
  margin: 24px 0 0;
}
.guide-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 28px 0 34px;
}
.guide-meta span{
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,241,229,0.68);
  border: 1px solid rgba(247,241,229,0.22);
  border-radius: 2px;
  padding: 7px 12px;
}
.guide-viewport{
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  transform: rotate(1.4deg);
  transition: transform 340ms var(--ease);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.6);
}
.guide-viewport:hover{ transform: rotate(0deg); }
.guide-viewport img{ width: 100%; height: 100%; object-fit: cover; }
.guide-viewport figcaption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 22px;
  background: linear-gradient(0deg, rgba(28,19,12,0.9), rgba(28,19,12,0));
  color: var(--white);
  font-size: 13.5px;
}

/* ---------- Contents strip ---------- */
.guide-contents{
  background: var(--eggshell-2);
  border-bottom: 1px solid var(--cocoa-pale);
  padding: 22px 0;
}
.guide-contents .container{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}
.guide-contents .lbl{
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verdigris-deep);
}
.guide-contents a{
  font-size: 14px;
  color: var(--cocoa);
  border-bottom: 1px solid transparent;
  transition: color 220ms var(--ease), border-color 220ms var(--ease);
}
.guide-contents a:hover{ color: var(--cocoa-night); border-bottom-color: var(--verdigris); }

/* ---------- Prose ---------- */
.guide-section{ padding: var(--pad-desktop) 0; position: relative; }
@media (max-width: 780px){ .guide-section{ padding: 64px 0; } }
.guide-prose{ max-width: 70ch; }
.guide-prose p{ color: var(--cocoa); margin: 0 0 18px; }
.guide-prose p strong{ color: var(--cocoa-night); font-weight: 700; }
.guide-prose h3{
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  margin: 34px 0 14px;
  color: var(--cocoa-night);
}
.guide-prose ul{ display: grid; gap: 14px; margin: 0 0 18px; }
.guide-prose ul li{
  position: relative;
  padding-left: 22px;
  color: var(--cocoa);
  font-size: 16px;
}
.guide-prose ul li::before{
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 10px; height: 1px;
  background: var(--verdigris);
}
.guide-prose sup{
  font-size: 11px;
  color: var(--verdigris-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.band-cocoa .guide-prose p,
.band-cocoa .guide-prose ul li{ color: rgba(247,241,229,0.82); }

.guide-figure{
  margin: 40px 0 0;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  transform: rotate(-0.9deg);
  transition: transform 340ms var(--ease);
  box-shadow: 0 26px 50px -22px rgba(43,30,18,0.4);
}
.guide-figure:hover{ transform: rotate(0deg); }
.guide-figure img{ width: 100%; height: auto; display: block; }
.guide-figure figcaption{
  background: var(--cocoa-night);
  color: rgba(247,241,229,0.82);
  font-size: 14px;
  padding: 16px 22px;
}
.guide-figure figcaption b{ color: var(--white); font-weight: 700; }

/* ---------- Elevation cards ---------- */
.elev-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.elev-card{
  background: var(--white);
  border: 1px solid var(--cocoa-pale);
  border-top: 3px solid var(--verdigris);
  padding: 28px 26px;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.elev-card:nth-child(odd){ transform: rotate(-0.5deg); }
.elev-card:nth-child(even){ transform: rotate(0.5deg); }
.elev-card:hover{ transform: rotate(0deg) translateY(-3px); box-shadow: 0 18px 34px -20px rgba(43,30,18,0.4); }
.elev-card .compass{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.elev-card .compass svg{ width: 30px; height: 30px; flex: none; color: var(--verdigris-deep); }
.elev-card .compass b{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--cocoa-night);
  line-height: 1.2;
}
.elev-card p{ font-size: 15px; color: var(--cocoa); margin: 0 0 12px; }
.elev-card .verdict{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--cocoa-pale);
  font-size: 14px;
  color: var(--cocoa-night);
}
.elev-card .verdict em{
  color: var(--verdigris-deep);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11.5px;
  margin-right: 8px;
}

/* ---------- Recommendation cards ---------- */
.rec-list{ display: grid; gap: 18px; }
.rec{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 28px;
  background: var(--white);
  border: 1px solid var(--cocoa-pale);
  border-left: 3px solid var(--verdigris);
  padding: 28px 30px;
  transition: box-shadow 260ms var(--ease), transform 260ms var(--ease);
}
.rec:hover{ box-shadow: 0 20px 38px -24px rgba(43,30,18,0.4); transform: translateX(3px); }
.rec-head{ grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.rec-head h3{ font-size: 21px; color: var(--cocoa-night); }
.rec-head .where{
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--verdigris-deep);
}
.rec-body p{ font-size: 15.5px; color: var(--cocoa); margin: 0 0 14px; }
.rec-body p:last-child{ margin-bottom: 0; }
.rec-trade{
  background: var(--eggshell-2);
  border-left: 2px solid var(--cocoa);
  padding: 14px 18px;
  margin-top: 6px;
}
.rec-trade b{
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cocoa-night);
  margin-bottom: 6px;
}
.rec-trade p{ font-size: 14.5px; color: var(--cocoa); margin: 0; }
.rec-side{ align-self: end; }
.rec-add{
  background: var(--verdigris-pale);
  border: 1px solid var(--verdigris);
  color: var(--verdigris-deep);
  border-radius: 2px;
  padding: 11px 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease);
}
.rec-add:hover{ background: var(--verdigris-deep); color: var(--white); transform: translateY(-2px); }
.rec-add.is-added{ background: var(--cocoa-pale); border-color: var(--cocoa); color: var(--cocoa-deep); cursor: default; }
.rec-add:disabled{ opacity: 1; }
@media (prefers-reduced-motion: reduce){
  .rec-add:hover, .rec:hover, .elev-card:hover{ transform: none; }
}

/* ---------- What we would check on site ---------- */
.check-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--cocoa-pale);
  border: 1px solid var(--cocoa-pale);
}
.check-item{ background: var(--eggshell); padding: 30px 28px; }
.check-item h4{ font-size: 18px; color: var(--cocoa-night); margin-bottom: 10px; }
.check-item p{ font-size: 15px; color: var(--cocoa); margin: 0; }

/* ---------- Ladder layout + forms ---------- */
.ladder-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.ladder-side p{ color: var(--cocoa); }
.band-cocoa .ladder-side p{ color: rgba(247,241,229,0.82); }
.form-card{
  background: var(--white);
  border: 1px solid var(--cocoa-pale);
  padding: 32px;
  box-shadow: 0 26px 50px -30px rgba(43,30,18,0.4);
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px){ .form-row{ grid-template-columns: 1fr; } }
.form-card .field{ margin-bottom: 18px; }
.legend{
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cocoa);
  margin-bottom: 10px;
  padding: 0;
}
.interest-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}
.interest-grid label{
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.4;
}
.interest-grid input{ margin: 3px 0 0; accent-color: var(--verdigris-deep); flex: none; }
.capacity-note{
  font-size: 14px;
  color: var(--cocoa);
  border-left: 2px solid var(--verdigris);
  padding: 4px 0 4px 16px;
  margin: 24px 0 0;
}
.band-cocoa .capacity-note{ color: rgba(247,241,229,0.82); }
.promise{ display: grid; gap: 14px; }
.promise-item{ display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--cocoa); }
.band-cocoa .promise-item{ color: rgba(247,241,229,0.85); }
.promise-item svg{ width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--verdigris); }
.carry-note{
  font-size: 13.5px;
  color: var(--cocoa);
  background: var(--verdigris-pale);
  border-left: 2px solid var(--verdigris);
  padding: 10px 14px;
  margin: 10px 0 0;
}
.carry-note strong{ color: var(--verdigris-deep); }
.lead-thanks{
  background: var(--verdigris-pale);
  border: 1px solid var(--verdigris);
  padding: 24px 26px;
  margin-top: 18px;
}
.lead-thanks h3, .form-success h3{ font-size: 20px; margin-bottom: 10px; color: var(--cocoa-night); }
.lead-thanks p, .form-success p{ font-size: 14.5px; color: var(--cocoa); margin: 0 0 10px; font-weight: 400; }
.lead-thanks p:last-child, .form-success p:last-child{ margin-bottom: 0; }
.lead-thanks a, .form-success a{ color: var(--verdigris-deep); text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
form.is-sent{ display: none; }

/* ---------- Rung 2: the window list ---------- */
.ballpark{
  margin-top: 6px;
  border: 1px dashed var(--cocoa-pale);
  background: var(--eggshell);
}
.ballpark > summary{
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cocoa-night);
  transition: color 220ms var(--ease);
}
.ballpark > summary::-webkit-details-marker{ display: none; }
.ballpark > summary:hover{ color: var(--verdigris-deep); }
.ballpark > summary .chev{ width: 15px; height: 15px; flex: none; color: var(--verdigris-deep); transition: transform 300ms var(--ease); }
.ballpark[open] > summary .chev{ transform: rotate(180deg); }
.bp-inner{ padding: 0 20px 22px; }
.bp-pairing{ font-size: 14.5px; color: var(--cocoa); margin: 0 0 18px; max-width: 62ch; }
.bp-pairing strong{ color: var(--cocoa-night); }
.bp-scroll{ overflow-x: auto; }
.bp-table{ width: 100%; border-collapse: collapse; font-size: 14px; }
.bp-table th{
  text-align: left;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cocoa);
  font-weight: 700;
  padding: 0 8px 9px 0;
  border-bottom: 1px solid var(--cocoa-pale);
  white-space: nowrap;
}
.bp-table td{ padding: 7px 8px 7px 0; vertical-align: middle; }
.bp-table input, .bp-table select{
  width: 100%;
  min-width: 96px;
  border: 1px solid var(--cocoa-pale);
  background: var(--white);
  border-radius: 2px;
  padding: 9px 10px;
  color: var(--ink);
  font-size: 14px;
  transition: border-color 220ms var(--ease);
}
.bp-table input:focus, .bp-table select:focus{ outline: none; border-color: var(--verdigris); }
.bp-table td.bp-rm{ width: 34px; padding-right: 0; }
.bp-remove{
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--cocoa-pale);
  background: var(--white);
  color: var(--cocoa);
  font-size: 17px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 220ms var(--ease), color 220ms var(--ease), background 220ms var(--ease);
}
.bp-remove:hover{ border-color: var(--verdigris); color: var(--verdigris-deep); background: var(--verdigris-pale); }
.bp-actions{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.bp-btn{
  background: var(--white);
  border: 1px solid var(--cocoa-pale);
  border-radius: 2px;
  padding: 10px 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cocoa-night);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease);
}
.bp-btn:hover{ border-color: var(--verdigris); color: var(--verdigris-deep); background: var(--verdigris-pale); }
.bp-btn svg{ width: 14px; height: 14px; }
.bp-count{ font-size: 13.5px; color: var(--cocoa); margin: 12px 0 0; }
.bp-foot{ font-size: 12.5px; color: var(--cocoa); margin: 12px 0 0; line-height: 1.6; }
.bp-print-head{ display: none; }
.bp-holder{ display: none; }

/* ---------- Sources ---------- */
.sources{
  background: var(--white);
  border: 1px solid var(--cocoa-pale);
  padding: 34px 38px;
}
.sources ol{ margin: 0; padding-left: 22px; display: grid; gap: 14px; list-style: decimal; }
.sources li{ font-size: 14.5px; color: var(--cocoa); line-height: 1.6; }
.sources a{ color: var(--verdigris-deep); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.sources .note{
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--cocoa-pale);
  font-size: 13.5px;
  color: var(--cocoa);
}

/* ---------- Homepage playbook block ---------- */
.playbook-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.playbook-figure{
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  transform: rotate(-1.2deg);
  transition: transform 340ms var(--ease);
  box-shadow: 0 26px 50px -22px rgba(43,30,18,0.4);
}
.playbook-figure:hover{ transform: rotate(0deg); }
.playbook-figure img{ width: 100%; height: 100%; object-fit: cover; }
.playbook-list{ display: grid; gap: 12px; margin: 24px 0 30px; }
.playbook-list li{ display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--cocoa); }
.playbook-list svg{ width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--verdigris-deep); }
.hero-textlink{
  display: inline-flex;
  align-items: center;
  /* .hero-ctas is a flex row: without this the link stretches to the button
     height and its underline detaches from the text. */
  align-self: center;
  gap: 8px;
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 3px;
  transition: border-color 220ms var(--ease), color 220ms var(--ease);
}
.hero-textlink:hover{ color: var(--verdigris-glow); border-bottom-color: var(--verdigris-glow); }
.area-guide-link{
  margin-top: 26px;
  padding: 20px 24px;
  background: var(--verdigris-pale);
  border-left: 3px solid var(--verdigris);
  font-size: 15px;
  color: var(--cocoa-deep);
}
.area-guide-link a{ color: var(--verdigris-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Ladder responsive ---------- */
@media (max-width: 1080px){
  .guide-hero-grid{ grid-template-columns: 1fr; gap: 40px; }
  .guide-hero{ padding-top: 140px; }
  .ladder-grid, .playbook-grid{ grid-template-columns: 1fr; gap: 40px; }
  .elev-grid, .check-list{ grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .guide-hero{ padding-top: 122px; }
  .rec{ grid-template-columns: 1fr; padding: 24px 22px; }
  .rec-side{ grid-column: 1; }
  .rec-add{ white-space: normal; }
  .sources{ padding: 26px 22px; }
  .interest-grid{ grid-template-columns: 1fr; }
  .form-card{ padding: 24px 20px; }
}
@media (max-width: 640px){
  /* Rung 2 on a phone: 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(--cocoa-pale);
    padding: 14px 14px 6px;
    margin-bottom: 12px;
    position: relative;
  }
  .bp-table td{ padding: 0 0 10px; }
  .bp-table td[data-lbl]::before{
    content: attr(data-lbl);
    display: block;
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cocoa);
    font-weight: 700;
    margin-bottom: 5px;
  }
  .bp-table td.bp-rm{ position: absolute; top: 10px; right: 10px; width: auto; padding: 0; }
  .bp-table td.bp-rm::before{ content: none; }
  .bp-inner{ padding: 0 14px 18px; }
  .ballpark > summary{ padding: 16px 14px; }
}

/* ---------- Print: walk the house with paper ---------- */
@media print{
  html, body{ background: #fff; }
  /* GSAP may have parked a reveal at opacity 0 — never let that reach paper. */
  .reveal, .section-head, .rule{ opacity: 1 !important; transform: none !important; }
  .site-nav, .marquee, .cta-close, .site-footer, .chat-widget, .skip-link,
  .guide-hero, .guide-contents, .guide-figure, .hero-ctas, .bp-actions,
  .bp-remove, .ballpark > summary, .bp-pairing, .popia-note, .bp-foot,
  .bp-count{ display: none !important; }
  .ballpark{ border: none; background: #fff; margin: 0; }
  .bp-inner{ padding: 0; }
  .bp-print-head{ display: block; margin-bottom: 16px; }
  .bp-print-head h2{ font-size: 1.5rem; margin-bottom: 6px; }
  .bp-print-head p{ font-size: 13px; color: #444; }
  .bp-table input, .bp-table select{ border: 1px solid #999; background: #fff; }
  .bp-table th{ border-bottom: 1px solid #666; }
  .form-card{ border: none; box-shadow: none; padding: 0; }
  body.bp-printing .guide-section, body.bp-printing .section-pad{ padding: 0 !important; }
  body.bp-printing .guide-prose, body.bp-printing .rec-list, body.bp-printing .elev-grid,
  body.bp-printing .check-list, body.bp-printing .sources, body.bp-printing .section-head,
  body.bp-printing .ladder-side, body.bp-printing .form-row, body.bp-printing .interest-grid,
  body.bp-printing .field:not(.bp-holder), body.bp-printing .form-success,
  body.bp-printing .lead-thanks, body.bp-printing .rule,
  body.bp-printing .enquiry > div:first-child,
  body.bp-printing form > button{ display: none !important; }
  body.bp-printing .ladder-grid, body.bp-printing .enquiry{ display: block !important; }
}

/* When the ladder lifts the success panel out of the enquiry form it becomes
   a child of the .enquiry grid — keep it in the form's column. */
.enquiry > .form-success{ grid-column: 2 / -1; }
@media (max-width: 900px){ .enquiry > .form-success{ grid-column: 1 / -1; } }
