/* ==========================================================================
   Lynnwood Blinds — stylesheet
   Theme: family-suburb · "diagonal energy" · cocoa + eggshell + verdigris
   Fonts: Lora (display) + Manrope (body/UI)
   ========================================================================== */

:root {
  --cocoa: #7d5c44;
  --cocoa-dark: #5c3a22;
  --cocoa-deep: #2c1e14;
  --cocoa-tint: #dcb999;
  --eggshell: #f7f2e6;
  --eggshell-deep: #ece1c9;
  --verdigris: #4c8d7c;
  --verdigris-dark: #326156;
  --verdigris-tint: #b8d8cd;
  --ink: #241a12;
  --ink-soft: #5f5041;
  --white: #ffffff;
  --line: rgba(44, 30, 20, 0.15);
  --shadow: 0 26px 60px -30px rgba(44, 30, 20, 0.5);
  --radius-lg: 24px;
  --radius-md: 15px;
  --radius-sm: 9px;
  --section-pad: 6.5rem;
  --skew: 3.4vw;
  --ff-display: "Lora", Georgia, serif;
  --ff-body: "Manrope", "Segoe UI", sans-serif;
}

@media (max-width: 720px) {
  :root { --section-pad: 3.75rem; --skew: 7vw; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--eggshell);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { 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; }
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--cocoa-dark);
  line-height: 1.09;
  letter-spacing: -0.012em;
  margin: 0;
  font-weight: 600;
}
p { max-width: 62ch; margin: 0 0 1em; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

:focus-visible { outline: 2.5px solid var(--verdigris); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--ff-body); font-weight: 800; font-size: 0.75rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--verdigris-dark);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--cocoa); display: inline-block; transform: skewX(-24deg); }
.rule-draw {
  width: 60px; height: 2px; background: var(--cocoa);
  transform-origin: left; transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1) 0.1s;
  margin-bottom: 1.3rem;
}
.reveal.is-visible .rule-draw { transform: scaleX(1); }

.section { padding: var(--section-pad) 0; }
.section-deep { background: var(--eggshell-deep); }
.section-head { max-width: 720px; margin-bottom: 2.75rem; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-top: 0.55em; }
.section-head p { margin-top: 0.9em; color: var(--ink-soft); }
.on-dark h2, .on-dark .eyebrow { color: var(--eggshell); }
.on-dark .eyebrow::before { background: var(--verdigris-tint); }

/* ---------- diagonal seams ("diagonal energy") ---------- */
.skew-top {
  clip-path: polygon(0 var(--skew), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--skew) * -1);
  padding-top: calc(var(--section-pad) + var(--skew));
}
.skew-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--skew)), 0 100%);
  margin-bottom: calc(var(--skew) * -1);
  padding-bottom: calc(var(--section-pad) + 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);
  margin-bottom: calc(var(--skew) * -1);
  padding-top: calc(var(--section-pad) + var(--skew));
  padding-bottom: calc(var(--section-pad) + var(--skew));
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--ff-body); font-weight: 700; font-size: 0.94rem;
  letter-spacing: 0.01em; padding: 0.95em 1.8em; border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.25s cubic-bezier(.2,.8,.3,1), background 0.25s, color 0.25s, border-color 0.25s, box-shadow .25s;
  white-space: nowrap;
}
.btn-solid { background: var(--cocoa); color: var(--white); box-shadow: 0 14px 30px -14px rgba(138, 90, 55, 0.7); }
.btn-solid:hover { background: var(--cocoa-dark); transform: translateY(-2px); }
.btn-outline { border-color: currentColor; color: var(--cocoa-dark); background: transparent; }
.btn-outline:hover { background: var(--cocoa-dark); color: var(--eggshell); transform: translateY(-2px); }
.btn-dark { background: var(--cocoa-deep); color: var(--eggshell); }
.btn-dark:hover { background: var(--verdigris-dark); transform: translateY(-2px); }
.on-dark .btn-outline { color: var(--eggshell); }
.on-dark .btn-outline:hover { background: var(--eggshell); color: var(--cocoa-deep); }
/* over the photograph, in the dark closing band, and in the nav while it is still
   transparent — the outline button has to read light, or it is cocoa-on-cocoa and
   effectively invisible */
.hero .btn-outline,
.cta-close .btn-outline,
.site-nav:not(.is-solid) .btn-outline { color: var(--eggshell); border-color: rgba(247,242,230,0.7); }
.hero .btn-outline:hover,
.cta-close .btn-outline:hover,
.site-nav:not(.is-solid) .btn-outline:hover { background: var(--eggshell); color: var(--cocoa-deep); border-color: var(--eggshell); }
.btn svg { width: 16px; height: 16px; }

/* ---------- nav ---------- */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 22px 0; transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease; }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; }
.site-nav.is-solid { background: rgba(247, 242, 230, 0.94); backdrop-filter: blur(10px); padding: 13px 0; box-shadow: 0 8px 30px -18px rgba(44,30,20,0.35); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--ff-display); font-weight: 700; font-size: 1.28rem; color: var(--eggshell); transition: color .3s ease; }
.site-nav.is-solid .brand, .site-nav.is-solid .nav-links a, .site-nav.is-solid .nav-toggle { color: var(--cocoa-dark); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-word { letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 2.1rem; font-weight: 600; font-size: 0.95rem; }
.nav-links a { position: relative; padding: 4px 0; color: var(--eggshell); transition: color .3s ease; }
.site-nav.is-solid .nav-links a { color: var(--cocoa-dark); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px; background: var(--verdigris); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 1.4rem; }
.nav-toggle { display: none; background: none; border: none; color: var(--eggshell); width: 40px; height: 40px; }
.site-nav.is-solid .nav-toggle { color: var(--cocoa-dark); }
.nav-toggle svg { width: 24px; height: 24px; }

/* Interior pages open on a light band, not a photograph, so the eggshell nav
   would be near-white on near-white until the first scroll. Those pages get the
   solid treatment from the first pixel. (main.js sets .is-solid too — this is the
   no-JS safety net, and it has to outrank the over-the-hero rules above.) */
body:has(.page-hero) .site-nav:not(.is-solid) {
  background: rgba(247, 242, 230, 0.94); backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px -18px rgba(44,30,20,0.35); }
body:has(.page-hero) .site-nav:not(.is-solid) .brand,
body:has(.page-hero) .site-nav:not(.is-solid) .nav-links a,
body:has(.page-hero) .site-nav:not(.is-solid) .nav-toggle,
body:has(.page-hero) .site-nav:not(.is-solid) .btn-outline { color: var(--cocoa-dark); }
body:has(.page-hero) .site-nav:not(.is-solid) .btn-outline { border-color: currentColor; }
body:has(.page-hero) .site-nav:not(.is-solid) .btn-outline:hover { background: var(--cocoa-dark); color: var(--eggshell); }

@media (max-width: 880px) {
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; height: 100svh; width: min(78vw, 340px);
    background: var(--eggshell); flex-direction: column; align-items: flex-start;
    padding: 110px 32px 40px; gap: 1.6rem; transform: translateX(100%); visibility: hidden;
    /* visibility flips instantly on open and only after the slide-out on close, so
       the panel is never keyboard-reachable while it is off-screen */
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1), visibility 0s linear 0.4s;
    box-shadow: -20px 0 50px -30px rgba(0,0,0,.4); }
  .nav-links.is-open { transform: translateX(0); visibility: visible;
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1), visibility 0s linear 0s; }
  body.nav-open { overflow: hidden; }
  .nav-links a { color: var(--cocoa-dark) !important; font-size: 1.1rem; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 96svh; display: flex; align-items: flex-end; color: var(--eggshell); overflow: hidden; }
.hero-media { position: absolute; inset: -6% -2%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
/* Scrim: weighted to the LEFT (the text column) rather than flooding the whole
   frame, so the photograph — garden, jacaranda, pool — stays clearly visible on
   the right while eggshell text keeps its contrast on the left. */
.hero-scrim { position: absolute; inset: 0;
  background: linear-gradient(6deg, rgba(28,19,12,.55) 0%, rgba(28,19,12,.28) 34%, rgba(28,19,12,.05) 70%, rgba(28,19,12,0) 88%),
              linear-gradient(100deg, rgba(28,19,12,.86) 0%, rgba(28,19,12,.66) 26%, rgba(28,19,12,.30) 52%, rgba(28,19,12,.05) 72%, rgba(28,19,12,0) 82%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 172px 0 8.5vh; }
.hero-eyebrow { color: var(--verdigris-tint); margin-bottom: 1.1rem; }
.hero-eyebrow::before { background: var(--verdigris-tint); }
.hero-headline-wrap { max-width: 800px; }
.hero-headline { font-size: clamp(2.5rem, 5.4vw, 4.7rem); font-weight: 600; color: var(--eggshell); text-shadow: 0 1px 30px rgba(28,19,12,0.5); }
.hero-headline .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero-headline .word > span { display: inline-block; }
.hero-sub { margin-top: 1.5rem; font-size: 1.12rem; color: rgba(247,242,230,0.9); max-width: 50ch; text-shadow: 0 1px 20px rgba(28,19,12,0.45); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-trust { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1.8rem 2.4rem; }
.trust-item { display: flex; align-items: center; gap: 0.7em; font-size: 0.9rem; font-weight: 600; color: var(--eggshell); text-shadow: 0 1px 16px rgba(28,19,12,0.5); }
.trust-item svg { width: 19px; height: 19px; color: var(--verdigris-tint); flex: none; }
.scrolldown { position: absolute; right: clamp(20px,4vw,48px); bottom: 34px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(247,242,230,.7); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; }
.scrolldown .dot { width: 1.5px; height: 50px; background: linear-gradient(var(--verdigris-tint), transparent); writing-mode: horizontal-tb; }
@media (max-width: 700px) { .scrolldown { display: none; } }

@media (max-width: 900px) { .hero-inner { padding: 130px 0 7vh; } }
/* narrow screens: the copy runs the full width, so the side-weighted scrim has
   nowhere to hide — swap to an even vertical one, still light enough to read the
   room behind it */
@media (max-width: 760px) {
  .hero-scrim { background: linear-gradient(6deg, rgba(28,19,12,.74) 0%, rgba(28,19,12,.50) 45%, rgba(28,19,12,.30) 78%, rgba(28,19,12,.24) 100%); }
}

/* ---------- marquee ---------- */
.marquee { background: var(--cocoa-deep); color: var(--eggshell-deep); overflow: hidden; padding: 1.05rem 0; position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; gap: 3rem; }
.marquee-track span { font-family: var(--ff-display); font-style: italic; font-size: 1.05rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: "—"; color: var(--verdigris-tint); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- micro-trust row (standalone band) ---------- */
.trust-band { background: var(--eggshell); padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; justify-content: center; }
.trust-row .trust-item { color: var(--cocoa-dark); }
.trust-row .trust-item svg { color: var(--verdigris); }

/* ---------- product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.product-card { background: var(--white); padding: 0 0 1.9rem; display: flex; flex-direction: column; position: relative; transition: background 0.3s ease, transform .3s ease; }
.product-card::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--verdigris); transform: scaleY(0); transform-origin: top; transition: transform .35s cubic-bezier(.22,1,.36,1); z-index: 2; }
.product-card:hover { background: var(--eggshell); }
.product-card:hover::before { transform: scaleY(1); }
/* photo bleeds to the card edges; all copy is padded inside .pc-body */
.product-card .pthumb { margin: 0; }
.pc-body { display: flex; flex-direction: column; gap: 0.85rem; flex: 1; padding: 1.5rem 1.7rem 0; }
.product-icon { width: 52px; height: 52px; color: var(--cocoa-dark); transition: transform .4s cubic-bezier(.22,1,.36,1); }
.product-card:hover .product-icon { transform: rotate(-3deg) translateY(-2px); }
.product-icon .accent { stroke: var(--verdigris); }
.product-card h3 { font-size: 1.1rem; font-weight: 600; }
.product-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
.product-link { margin-top: auto; padding-top: 0.4rem; font-weight: 700; font-size: 0.85rem; color: var(--verdigris-dark); display: inline-flex; align-items: center; gap: 0.4em; transition: color .25s ease, gap .25s ease; }
.product-link:hover { color: var(--cocoa-dark); gap: 0.65em; }
.product-link svg { width: 14px; height: 14px; transition: transform .25s ease; }
.product-card:hover .product-link svg { transform: translateX(4px); }

/* the repairs card — one service, deliberately laid out wide across the grid
   so twelve product cards stay a clean 4×3 and this reads as the extra it is */
.product-card.is-service { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 320px) 1fr; align-items: stretch; padding: 0; background: var(--eggshell); }
.product-card.is-service .pthumb { aspect-ratio: auto; min-height: 200px; }
.product-card.is-service .pc-body { padding: 1.9rem 2rem; justify-content: center; }
.product-card.is-service p { max-width: 68ch; }
.product-card.is-service .product-link { margin-top: 0.3rem; }
@media (max-width: 620px) { .product-card.is-service { grid-template-columns: 1fr; } .product-card.is-service .pthumb { aspect-ratio: 4/3; min-height: 0; } .product-card.is-service .pc-body { padding: 1.5rem 1.7rem 1.9rem; } }

@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------- editorial photo section (rotated cards) ---------- */
.editorial-grid { display: grid; grid-template-columns: 1.05fr 0.95fr 0.85fr; gap: 2rem; align-items: center; }
.ed-item { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s cubic-bezier(.22,1,.36,1); }
.ed-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.ed-1 { transform: rotate(-2.2deg); }
.ed-2 { transform: rotate(1.6deg) translateY(18px); }
.ed-3 { transform: rotate(-1deg) translateY(-10px); }
.ed-item:hover { transform: rotate(0) translateY(0) scale(1.02); z-index: 2; }
.ed-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 1.3rem; background: linear-gradient(0deg, rgba(28,19,12,0.86), transparent); color: var(--eggshell); font-size: 0.85rem; font-weight: 600; }
@media (max-width: 900px) { .editorial-grid { grid-template-columns: 1fr; } .ed-item { transform: none !important; } .ed-item img { aspect-ratio: 16/10; } }

/* ---------- locale / signature "afternoon cut" section ---------- */
.locale { position: relative; background: var(--cocoa-deep); color: var(--eggshell); }
.locale .section-head p { color: rgba(247,242,230,0.75); }
.locale-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem; align-items: start; }
.locale-copy p { color: rgba(247,242,230,0.82); }
.locale-stage { position: relative; border-radius: var(--radius-lg); background: linear-gradient(160deg, #3a2a1c 0%, var(--cocoa-deep) 100%); padding: 1.8rem 1.6rem 1.4rem; overflow: hidden; box-shadow: var(--shadow); }
.locale-stage svg { width: 100%; height: auto; display: block; }
.beam-rect { mix-blend-mode: screen; }
.locale-zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-top: 1.4rem; }
.locale-zone { padding: 1rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid rgba(247,242,230,0.14); background: rgba(247,242,230,0.04); opacity: 0.4; transition: opacity .5s ease, border-color .5s ease, background .5s ease; }
.locale-zone.is-active { opacity: 1; border-color: var(--verdigris-tint); background: rgba(76,141,124,0.14); }
.locale-zone .tag { display: block; font-family: var(--ff-body); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--verdigris-tint); margin-bottom: 0.5em; }
.locale-zone h3 { color: var(--eggshell); font-size: 1rem; margin-bottom: 0.35em; }
.locale-zone p { font-size: 0.85rem; color: rgba(247,242,230,0.72); margin: 0; }
@media (max-width: 960px) { .locale-grid { grid-template-columns: 1fr; } .locale-zones { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.process { background: var(--verdigris-dark); color: var(--eggshell); }
.process .eyebrow { color: var(--eggshell); }
.process .eyebrow::before { background: var(--eggshell); }
.process .section-head h2 { color: var(--eggshell); }
.process .section-head p { color: rgba(247,242,230,0.78); }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; }
.process-item { position: relative; padding-top: 1rem; border-top: 2px solid rgba(247,242,230,0.28); transform: rotate(0deg); }
.process-item:nth-child(2) { transform: translateY(10px); }
.process-item:nth-child(4) { transform: translateY(-6px); }
.process-item .num { font-family: var(--ff-display); font-style: italic; font-size: 2.5rem; color: var(--cocoa-tint); display: block; margin-bottom: 0.4rem; line-height: 1; }
.process-item h3 { font-size: 1.06rem; margin-bottom: 0.4em; color: var(--eggshell); }
.process-item p { font-size: 0.92rem; color: rgba(247,242,230,0.78); margin: 0; }
@media (max-width: 900px) { .process-list { grid-template-columns: repeat(2, 1fr); } .process-item { transform: none !important; } }
@media (max-width: 540px) { .process-list { grid-template-columns: 1fr; } }

/* ---------- area chips ---------- */
.area-chip-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.area-chip { display: inline-flex; align-items: center; gap: 0.6em; padding: 0.85em 1.4em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 700; font-size: 0.92rem; color: var(--cocoa-dark); transition: border-color .25s ease, transform .25s ease, background .25s ease; }
.area-chip:hover { border-color: var(--verdigris); transform: translateY(-2px) rotate(-1deg); background: var(--eggshell); }
.area-chip svg { width: 15px; height: 15px; color: var(--verdigris); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; cursor: pointer; font-family: var(--ff-display); font-size: 1.14rem; color: var(--cocoa-dark); font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { position: relative; width: 22px; height: 22px; flex: none; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; background: var(--verdigris); border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-toggle::before { width: 16px; height: 2px; }
.faq-toggle::after { width: 2px; height: 16px; transition: transform 0.3s ease; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item .faq-body { margin-top: 1rem; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- closing CTA ---------- */
.cta-close { position: relative; background: var(--cocoa-deep); padding: clamp(3rem, 7vw, 5.4rem) 0; text-align: center; isolation: isolate; overflow: hidden; }
.cta-glow { position: absolute; inset: 0; z-index: -1; }
.cta-glow span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.cta-glow .glow-1 { width: 440px; height: 440px; background: var(--verdigris); top: -180px; left: -120px; animation: drift1 22s ease-in-out infinite; }
.cta-glow .glow-2 { width: 360px; height: 360px; background: var(--cocoa); bottom: -160px; right: -100px; animation: drift2 26s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(60px, 40px); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-50px, -30px); } }
@media (prefers-reduced-motion: reduce) { .cta-glow span { animation: none; } }
.cta-close h2 { color: var(--eggshell); font-size: clamp(2rem, 4vw, 3.2rem); max-width: 20ch; margin: 0.4em auto 0.6em; }
.cta-close p { color: rgba(247,242,230,0.8); max-width: 52ch; margin: 0 auto 2rem; }
.cta-close .eyebrow { justify-content: center; color: var(--verdigris-tint); }
.cta-close .hero-ctas { justify-content: center; }

/* ---------- form ---------- */
.enquiry-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-points li { display: flex; gap: 0.7em; padding: 0.6em 0; font-size: 0.94rem; align-items: flex-start; }
.contact-points svg { width: 17px; height: 17px; color: var(--verdigris); flex: none; margin-top: 3px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 0.5em; color: var(--cocoa-dark); }
.field input, .field select, .field textarea { width: 100%; padding: 0.85em 1em; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--eggshell); font-family: inherit; font-size: 0.98rem; color: var(--ink); transition: border-color .25s ease, background .25s ease; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--verdigris); background: var(--white); outline: none; }
.field textarea { resize: vertical; min-height: 100px; }
.popia-line { font-size: 0.82rem; color: var(--ink-soft); margin-top: 1rem; line-height: 1.6; }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success.is-visible { display: block; }
.form-success svg { width: 46px; height: 46px; color: var(--verdigris); margin: 0 auto 1rem; }
@media (max-width: 900px) { .enquiry-wrap { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--cocoa-deep); color: rgba(247,242,230,0.82); padding: 3.6rem 0 2.2rem; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2.4rem; padding-bottom: 2.4rem; border-bottom: 1px solid rgba(247,242,230,0.12); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { color: var(--eggshell); }
.footer-brand .brand-word { font-family: var(--ff-display); font-size: 1.2rem; color: var(--eggshell); }
.footer-statement { max-width: 34ch; margin-top: 1rem; font-size: 0.92rem; color: rgba(247,242,230,0.7); }
.footer-cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.footer-col h4 { color: var(--eggshell); font-family: var(--ff-body); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a, .footer-col span { display: block; font-size: 0.92rem; margin-bottom: 0.6rem; color: rgba(247,242,230,0.78); transition: color .25s ease; }
.footer-col a:hover { color: var(--verdigris-tint); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.8rem; font-size: 0.82rem; color: rgba(247,242,230,0.55); }
.footer-bottom p, .footer-bottom span { margin: 0; max-width: 60ch; }
.legal-links a { color: rgba(247,242,230,0.7); }

/* ---------- reveal-on-scroll base state ----------
   Gated behind .js (set by a one-line inline script in <head>). If scripting is
   off, or main.js never loads, every reveal target renders visible — content is
   never left stranded at opacity 0. */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ed-item { transform: none !important; }
  .hero-headline .word > span { transform: none !important; }
  .hero-media img { transform: none !important; }
  .beam-rect { display: none; }
  .blind-slat { transform: scaleY(1) !important; }
  .locale-zone { opacity: 1 !important; }
  .btn, .product-card, .area-chip, .related-card, .ed-item { transition: none !important; }
}

/* ---------- chat widget ---------- */
.chat-launcher { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 62px; height: 62px; border-radius: 50%; background: var(--cocoa); color: var(--white); border: none; box-shadow: 0 16px 34px -12px rgba(138,90,55,0.65); display: flex; align-items: center; justify-content: center; transition: transform .25s cubic-bezier(.3,.8,.3,1.3), background .25s ease; }
.chat-launcher:hover { transform: scale(1.06); background: var(--cocoa-dark); }
.chat-launcher svg { width: 26px; height: 26px; }
.chat-launcher .icon-close { display: none; }
.chat-launcher.is-open .icon-chat { display: none; }
.chat-launcher.is-open .icon-close { display: block; }

.chat-panel { position: fixed; right: 22px; bottom: 96px; z-index: 90; width: min(360px, calc(100vw - 44px)); max-height: min(560px, calc(100vh - 150px)); background: var(--eggshell); border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 30px 70px -20px rgba(44,30,20,0.5); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(16px) scale(0.98); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.chat-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chat-head { background: var(--cocoa-deep); color: var(--eggshell); padding: 1.1rem 1.3rem; }
.chat-head strong { font-family: var(--ff-display); font-size: 1.05rem; display: block; margin-bottom: 0.2rem; }
.chat-head span { font-size: 0.78rem; color: rgba(247,242,230,0.72); }
.chat-body { flex: 1; overflow-y: auto; padding: 1.1rem 1.1rem 0.6rem; display: flex; flex-direction: column; gap: 0.7rem; }
.chat-msg { max-width: 86%; padding: 0.7em 0.95em; border-radius: 14px; font-size: 0.88rem; line-height: 1.5; }
.chat-msg.bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--cocoa); color: var(--white); border-bottom-right-radius: 4px; }
.chat-msg.popia { font-size: 0.76rem; color: var(--ink-soft); background: transparent; border: none; padding: 0 0.2em; }
.chat-msg.bot strong { color: var(--cocoa-dark); font-weight: 700; }
.chat-typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 0.85em 1em; background: var(--white); border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px; }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--verdigris); opacity: 0.45; animation: chatdot 1.1s ease-in-out infinite; }
.chat-typing i:nth-child(2) { animation-delay: 0.16s; }
.chat-typing i:nth-child(3) { animation-delay: 0.32s; }
@keyframes chatdot { 0%, 100% { transform: translateY(0); opacity: 0.35; } 50% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chat-typing i { animation: none; opacity: 0.6; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.2rem 1.1rem 0.9rem; }
.chat-chip { border: 1.5px solid var(--verdigris); color: var(--verdigris-dark); background: var(--white); border-radius: 999px; padding: 0.5em 1em; font-size: 0.82rem; font-weight: 700; transition: background .2s ease, color .2s ease; }
.chat-chip:hover { background: var(--verdigris); color: var(--white); }
.chat-input-row { display: flex; gap: 0.5rem; padding: 0.8rem 1rem; border-top: 1px solid var(--line); background: var(--white); }
.chat-input-row input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 0.65em 1em; font-family: inherit; font-size: 0.9rem; }
.chat-input-row input:focus { outline: none; border-color: var(--verdigris); }
.chat-input-row button { background: var(--cocoa-deep); color: var(--eggshell); border: none; border-radius: 999px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex: none; }
.chat-input-row button svg { width: 17px; height: 17px; }
.chat-input-row.is-hidden { display: none; }

@media (max-width: 480px) {
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 92px; }
  .chat-launcher { right: 14px; bottom: 14px; }
}

/* ---------- simple page hero (product/area pages) ---------- */
.page-hero { padding: 150px 0 4.5rem; background: var(--eggshell); position: relative; }
.page-hero-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/7; box-shadow: var(--shadow); position: relative; margin-top: 2.4rem; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(44,30,20,0.55), transparent 55%); }
.breadcrumb { font-size: 0.84rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 1.4rem; display:flex; gap:0.5em; align-items:center; }
.breadcrumb a { color: var(--verdigris-dark); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 20ch; }
.page-hero .hero-sub { max-width: 60ch; color: var(--ink-soft); }

.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.spec-list li { display: flex; gap: 0.8em; padding: 0.85em 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.spec-list li svg { width: 18px; height: 18px; color: var(--verdigris); flex: none; margin-top: 3px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.pill { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 0.5em 1.1em; font-size: 0.82rem; font-weight: 700; color: var(--cocoa-dark); }

.related-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 820px) { .related-strip { grid-template-columns: 1fr; } }
.related-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.6rem; transition: transform .25s ease, box-shadow .25s ease; }
.related-card:hover { transform: translateY(-4px) rotate(-0.6deg); box-shadow: var(--shadow); }
.related-card h3 { font-size: 1.05rem; margin-bottom: 0.5em; }
.related-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* 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}}


/* .pthumb is a PRODUCT-THUMB utility. The hero and the page-hero band are sized by
   their own rules, so the utility's !important width/height clamps and its 4:3 ratio
   must not apply to them — left alone, the hero photo stopped short of the fold on
   narrow screens and the page-hero lost its top margin. */
.hero-media.pthumb { width: auto !important; height: auto !important; aspect-ratio: auto; margin: 0; background: none; }
.page-hero-media.pthumb { aspect-ratio: 16/7; margin: 2.4rem 0 0; background: none; }

/* roller shutters are shading products, not security products — see design-brief.md */
.rs-note{font-size:.94rem;line-height:1.6;opacity:.85;margin:14px 0 0;
  padding:12px 14px;border-left:2px solid currentColor}
.rs-note strong{font-weight:600}

/* ==========================================================================
   THE LEAD LADDER — guide.html (Rung 1 field guide, Rung 2 ballpark schedule,
   Rung 3 free-measure close). Same cocoa / eggshell / verdigris design
   language, same fonts and diagonal-energy motif as the rest of the site.
   ========================================================================== */

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-999px;top:0;z-index:200;background:var(--cocoa-deep);
  color:var(--eggshell);padding:10px 16px;border-radius:0 0 8px 0}
.skip-link:focus{left:0}

/* ---------- guide head (interior page-hero, triggers solid nav via :has) ---------- */
.guide-head{padding:150px 0 2.4rem;background:var(--eggshell);position:relative;overflow:hidden}
.guide-head .breadcrumb{margin-bottom:1.4rem}
.guide-head h1{font-size:clamp(2.3rem,5vw,4rem);max-width:17ch;margin-top:.5em;color:var(--cocoa-dark)}
.guide-head .hero-headline .word{display:inline-block;overflow:hidden;vertical-align:bottom}
.guide-head .hero-headline .word>span{display:inline-block}
.g-lede{font-size:clamp(1.12rem,1.7vw,1.32rem);line-height:1.6;color:var(--ink-soft);
  max-width:64ch;margin-top:1.3rem}
.g-lede strong{color:var(--cocoa-dark);font-weight:700}

/* the big hero figure under the head */
.g-hero-fig{margin:0 0 1rem}
.g-hero-fig .g-hero-media{border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:16/8;
  box-shadow:var(--shadow);position:relative;transform:rotate(-.6deg)}
.g-hero-fig img{width:100%;height:100%;object-fit:cover}
.g-hero-fig figcaption{font-size:.86rem;color:var(--ink-soft);margin-top:1.1rem;
  padding-left:1rem;border-left:2px solid var(--verdigris);max-width:60ch}
.g-hero-fig figcaption b{color:var(--cocoa-dark);display:block;font-weight:700;font-family:var(--ff-display)}

/* ---------- shared guide typography ---------- */
.g-wrap{max-width:940px;margin:0 auto;padding:0 clamp(20px,5vw,48px)}
.g-intro{font-size:1.08rem;color:var(--ink-soft);max-width:66ch}
.g-intro strong{color:var(--cocoa-dark);font-weight:700}

.g-toc{margin:2.4rem 0 0;border:1px solid var(--line);border-radius:var(--radius-md);
  background:var(--white);padding:1.5rem 1.7rem}
.g-toc b{display:block;font-family:var(--ff-body);font-weight:800;font-size:.72rem;
  letter-spacing:.2em;text-transform:uppercase;color:var(--verdigris-dark);margin-bottom:1rem}
.g-toc ol{list-style:none;counter-reset:toc;display:grid;grid-template-columns:1fr 1fr;gap:.5rem 2rem}
.g-toc li{border-bottom:1px dashed var(--line)}
.g-toc a{display:flex;gap:.8em;align-items:baseline;padding:.55em 0;font-size:.96rem;
  color:var(--cocoa-dark);font-weight:600;transition:color .2s ease,padding .2s ease}
.g-toc a:hover{color:var(--verdigris-dark);padding-left:.3em}
.g-toc a span{font-family:var(--ff-display);font-style:italic;color:var(--verdigris);font-size:.9rem;flex:none}
@media(max-width:640px){.g-toc ol{grid-template-columns:1fr}}

.g-sec{margin:0;padding:0}
.g-sec .kicker{display:inline-block;font-family:var(--ff-display);font-style:italic;
  font-size:1.05rem;color:var(--verdigris-dark);margin-bottom:.4rem}
.g-sec h2{font-size:clamp(1.7rem,3vw,2.4rem);margin-bottom:.8rem;color:var(--cocoa-dark)}
.g-sec h3{font-size:1.2rem;margin:1.6rem 0 .5rem;color:var(--cocoa-dark)}
.g-sec p{color:var(--ink);max-width:66ch}
.g-sec p sup a{color:var(--verdigris-dark);font-weight:700;text-decoration:none;padding:0 1px}
.g-sec ul,.g-sec ol{max-width:66ch;margin:1rem 0;padding-left:0}
.g-sec ul li,.g-sec ol li{position:relative;padding:.35em 0 .35em 1.6em;color:var(--ink);
  border-bottom:1px solid var(--line)}
.g-sec ul li::before{content:"";position:absolute;left:0;top:.95em;width:9px;height:9px;
  background:var(--verdigris);transform:skewX(-18deg)}
.g-sec ol{counter-reset:gnum;list-style:none}
.g-sec ol li{counter-increment:gnum}
.g-sec ol li::before{content:counter(gnum);position:absolute;left:0;top:.35em;
  font-family:var(--ff-display);font-style:italic;color:var(--verdigris);font-weight:600}
.g-sec strong{color:var(--cocoa-dark);font-weight:700}
.g-pull{font-family:var(--ff-display);font-size:clamp(1.3rem,2.4vw,1.7rem);line-height:1.35;
  color:var(--cocoa-dark);border-left:3px solid var(--verdigris);padding:.2em 0 .2em 1.1em;
  margin:1.8rem 0;max-width:40ch;font-style:italic}
.g-hr{border:none;border-top:1px solid var(--line);margin:3.2rem 0;position:relative}
.g-hr::after{content:"";position:absolute;left:0;top:-1px;width:56px;height:2px;background:var(--verdigris);
  transform:skewX(-24deg)}

/* ---------- sun-angle diagram ---------- */
.g-sun{margin:2rem 0;background:var(--cocoa-deep);border-radius:var(--radius-lg);
  padding:1.6rem 1.6rem 1.2rem;box-shadow:var(--shadow)}
.g-sun svg{width:100%;height:auto;display:block}
.g-sun .arc{stroke-dasharray:1;stroke-dashoffset:1;transition:none}
.g-sun.in .arc{animation:gArc 1.4s cubic-bezier(.2,.7,.2,1) forwards}
.g-sun.in .arc.d2{animation-delay:.45s}
@keyframes gArc{to{stroke-dashoffset:0}}
.g-sun figcaption{color:rgba(247,242,230,.72);font-size:.85rem;margin-top:1rem}
@media(prefers-reduced-motion:reduce){.g-sun .arc{stroke-dasharray:none;stroke-dashoffset:0}
  .g-sun.in .arc{animation:none}}

/* ---------- elevation cards ---------- */
.g-elev{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem;margin:1.6rem 0}
.g-elev article{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-md);
  padding:1.4rem 1.5rem;transition:transform .3s ease,box-shadow .3s ease}
.g-elev article:nth-child(even){transform:translateY(12px)}
.g-elev article:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.g-elev article:nth-child(even):hover{transform:translateY(6px)}
.g-elev .tag{display:inline-block;font-family:var(--ff-body);font-weight:800;font-size:.68rem;
  letter-spacing:.18em;text-transform:uppercase;color:var(--white);background:var(--verdigris-dark);
  padding:.35em .9em;border-radius:999px;margin-bottom:.7rem}
.g-elev h3{margin:0 0 .5rem;font-size:1.12rem}
.g-elev p{font-size:.92rem;color:var(--ink-soft);margin:0}
@media(max-width:640px){.g-elev{grid-template-columns:1fr}.g-elev article:nth-child(even){transform:none}}

/* ---------- wide figures ---------- */
.g-fig{margin:2.4rem 0}
.g-fig img{width:100%;border-radius:var(--radius-md);box-shadow:var(--shadow);display:block}
.g-fig figcaption{font-size:.86rem;color:var(--ink-soft);margin-top:.9rem;padding-left:1rem;
  border-left:2px solid var(--verdigris);max-width:62ch}

/* ---------- recommendation cards + "add to schedule" pick buttons ---------- */
.g-rec{background:var(--white);border:1px solid var(--line);border-left:4px solid var(--verdigris);
  border-radius:var(--radius-md);padding:1.7rem 1.8rem;margin:1.3rem 0;box-shadow:0 20px 40px -34px rgba(44,30,20,.55)}
.g-rec .where{display:inline-block;font-family:var(--ff-body);font-weight:800;font-size:.7rem;
  letter-spacing:.16em;text-transform:uppercase;color:var(--verdigris-dark);margin-bottom:.5rem}
.g-rec h3{font-size:1.25rem;margin:0 0 .7rem;color:var(--cocoa-dark)}
.g-rec p{color:var(--ink);max-width:68ch;font-size:.97rem;margin:0 0 .8rem}
.g-rec .tradeoff{color:var(--ink-soft);font-size:.93rem;background:rgba(76,141,124,.07);
  border-radius:var(--radius-sm);padding:.85em 1em;margin:.8rem 0 0}
.g-rec .tradeoff b{color:var(--cocoa-dark)}
.g-pick{display:inline-flex;align-items:center;gap:.6em;margin-top:1.1rem;
  background:var(--eggshell);color:var(--cocoa-dark);border:1.5px solid var(--verdigris);
  border-radius:999px;padding:.62em 1.25em;font-family:var(--ff-body);font-weight:700;font-size:.9rem;
  transition:background .22s ease,color .22s ease,transform .22s ease}
.g-pick:hover{transform:translateY(-2px)}
.g-pick .ic{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;
  stroke-linecap:round;stroke-linejoin:round;flex:none}
.g-pick .ic-done{display:none}
.g-pick[aria-pressed=true]{background:var(--verdigris);color:var(--white);border-color:var(--verdigris)}
.g-pick[aria-pressed=true] .ic-add{display:none}
.g-pick[aria-pressed=true] .ic-done{display:block}
.g-pick+.g-pick{margin-left:.6rem}
@media(max-width:520px){.g-pick+.g-pick{margin-left:0;margin-top:.6rem}}

.g-counter{display:none;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;
  margin:1.8rem 0 0;background:var(--cocoa-deep);color:var(--eggshell);border-radius:var(--radius-md);
  padding:1.1rem 1.5rem}
.g-counter b{color:var(--verdigris-tint)}
.g-counter a{color:var(--eggshell);font-weight:700;border-bottom:1.5px solid var(--verdigris);padding-bottom:2px}
.g-counter a:hover{color:var(--verdigris-tint)}

/* ---------- mid-page capture form ---------- */
.g-cap{background:var(--eggshell-deep);border-radius:var(--radius-lg);padding:clamp(1.6rem,3vw,2.4rem);
  margin:2.4rem 0;border:1px solid var(--line)}
.g-cap h3{font-size:1.4rem;margin:0 0 .5rem;color:var(--cocoa-dark)}
.g-cap .intro{color:var(--ink-soft);max-width:64ch;margin-bottom:1.4rem;font-size:.98rem}
.g-form-row{margin-bottom:1rem}
.g-form-row label{display:block;font-weight:700;font-size:.82rem;margin-bottom:.45em;color:var(--cocoa-dark)}
.g-form-row input,.g-form-row select,.g-form-row textarea{width:100%;padding:.8em 1em;
  border-radius:var(--radius-sm);border:1.5px solid var(--line);background:var(--white);
  font-family:inherit;font-size:.96rem;color:var(--ink);transition:border-color .2s ease}
.g-form-row input:focus,.g-form-row select:focus,.g-form-row textarea:focus{outline:none;border-color:var(--verdigris)}
.g-two{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media(max-width:560px){.g-two{grid-template-columns:1fr}}
.g-cap .popia,.lad .popia{font-size:.8rem;color:var(--ink-soft);line-height:1.55;margin:.8rem 0 1rem}
.g-done p:first-child{font-family:var(--ff-display);font-size:1.4rem;color:var(--cocoa-dark);margin-bottom:.4rem}
.g-done p{color:var(--ink-soft)}

/* ---------- two ways forward (Rung 3 close + Rung 2 pointer) ---------- */
.band-deep{background:var(--cocoa-deep);color:var(--eggshell)}
.band-deep h2,.band-deep .eyebrow{color:var(--eggshell)}
.band-deep .eyebrow::before{background:var(--verdigris-tint)}
.band-deep .g-lede{color:rgba(247,242,230,.82)}
.lad{display:grid;grid-template-columns:1.35fr .9fr;gap:1.6rem;margin-top:2.2rem;align-items:start}
@media(max-width:860px){.lad{grid-template-columns:1fr}}
.lad-primary{background:var(--eggshell);color:var(--ink);border-radius:var(--radius-lg);
  padding:clamp(1.6rem,3vw,2.4rem);box-shadow:var(--shadow)}
.lad-primary .eyebrow{color:var(--verdigris-dark)}
.lad-primary h3{font-size:clamp(1.5rem,2.6vw,2rem);margin:.3rem 0 .7rem;color:var(--cocoa-dark)}
.lad-primary>p{color:var(--ink-soft);font-size:.98rem;margin-bottom:1.3rem}
.lad-secondary{background:rgba(247,242,230,.06);border:1px solid rgba(247,242,230,.16);
  border-radius:var(--radius-lg);padding:clamp(1.5rem,2.6vw,2rem)}
.lad-secondary .eyebrow{color:var(--verdigris-tint)}
.lad-secondary h3{font-size:1.35rem;margin:.3rem 0 .7rem;color:var(--eggshell)}
.lad-secondary p{color:rgba(247,242,230,.8);font-size:.95rem}
.lad-secondary .btn-ghost{display:inline-flex;align-items:center;gap:.5em;margin-top:.6rem;
  border:1.5px solid var(--verdigris-tint);color:var(--eggshell);background:transparent;
  border-radius:999px;padding:.8em 1.5em;font-weight:700;font-size:.92rem;transition:background .22s ease,color .22s ease}
.lad-secondary .btn-ghost:hover{background:var(--verdigris-tint);color:var(--cocoa-deep)}
.lad-int{display:grid;grid-template-columns:1fr 1fr;gap:.35rem .9rem;margin:.3rem 0 .2rem}
@media(max-width:520px){.lad-int{grid-template-columns:1fr}}
.lad-int label{display:flex;align-items:flex-start;gap:.5em;font-size:.88rem;font-weight:500;
  color:var(--ink);cursor:pointer;padding:.2em 0}
.lad-int input{margin-top:.2em;accent-color:var(--verdigris-dark);flex:none}
.lad-carried{font-size:.82rem;color:var(--verdigris-dark);font-weight:700;margin:.5rem 0 0;display:none}
.lad-carried.show{display:block}

/* ---------- Rung 2: ballpark window schedule ---------- */
.bp{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:clamp(1.6rem,3vw,2.6rem);box-shadow:var(--shadow)}
.bp .eyebrow{color:var(--verdigris-dark)}
.bp h2{font-size:clamp(1.7rem,3vw,2.3rem);margin:.4rem 0 .6rem;color:var(--cocoa-dark)}
.bp>p{color:var(--ink-soft);max-width:70ch}
.bp-print-head{display:none}
.bp-scroll{overflow-x:auto;margin:1.6rem 0 0;-webkit-overflow-scrolling:touch}
.bp-table{width:100%;border-collapse:collapse;min-width:720px}
.bp-table th{text-align:left;font-family:var(--ff-body);font-weight:800;font-size:.7rem;
  letter-spacing:.12em;text-transform:uppercase;color:var(--verdigris-dark);
  padding:0 .6rem .7rem;border-bottom:2px solid var(--line)}
.bp-table td{padding:.5rem .6rem;vertical-align:top}
.bp-table input,.bp-table select{width:100%;padding:.6em .7em;border-radius:var(--radius-sm);
  border:1.5px solid var(--line);background:var(--eggshell);font-family:inherit;font-size:.9rem;color:var(--ink)}
.bp-table input:focus,.bp-table select:focus{outline:none;border-color:var(--verdigris);background:var(--white)}
.bp-table td.num input{max-width:120px}
.bp-rm{background:none;border:1.5px solid var(--line);border-radius:8px;width:34px;height:34px;
  display:inline-flex;align-items:center;justify-content:center;color:var(--cocoa);transition:border-color .2s,color .2s,background .2s}
.bp-rm:hover{border-color:#a8412c;color:#a8412c;background:rgba(168,65,44,.06)}
.bp-rm svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.bp-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-top:1.3rem}
.btn-ghost-lite{display:inline-flex;align-items:center;gap:.4em;border:1.5px solid var(--verdigris);
  color:var(--verdigris-dark);background:var(--white);border-radius:999px;padding:.7em 1.3em;
  font-weight:700;font-size:.9rem;transition:background .2s ease,color .2s ease}
.btn-ghost-lite:hover{background:var(--verdigris);color:var(--white)}
.bp-tally{font-size:.9rem;color:var(--ink-soft);font-weight:600;margin:0}
.bp-send{margin-top:1.6rem;padding-top:1.5rem;border-top:1px solid var(--line);
  display:flex;flex-wrap:wrap;gap:1rem 1.4rem;align-items:center}
.bp-send .btn{flex:none}
.bp-send p{font-size:.88rem;color:var(--ink-soft);margin:0;max-width:52ch}
.bp-send a{color:var(--verdigris-dark);font-weight:700;border-bottom:1px solid var(--verdigris)}
.bp-hint{font-size:.82rem;color:var(--ink-soft);margin:1.2rem 0 0;font-style:italic}

/* mobile: rows become stacked cards under 640px */
@media(max-width:640px){
  .bp-scroll{overflow-x:visible}
  .bp-table{min-width:0}
  .bp-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .bp-table,.bp-table tbody,.bp-table tr,.bp-table td{display:block;width:100%}
  .bp-table tr{border:1px solid var(--line);border-radius:var(--radius-md);padding:.8rem;margin-bottom:1rem;background:var(--eggshell)}
  .bp-table td{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.8rem;padding:.35rem 0}
  .bp-table td::before{content:attr(data-label);font-weight:700;font-size:.78rem;color:var(--cocoa-dark)}
  .bp-table td.num input{max-width:none}
  .bp-table td.act{justify-content:end}
  .bp-table td.act::before{content:""}
}

/* ---------- sources ---------- */
.g-src{counter-reset:src;list-style:none;padding:0;max-width:78ch;margin:1.4rem 0 0}
.g-src li{counter-increment:src;position:relative;padding:.6em 0 .6em 2.4em;border-bottom:1px solid rgba(247,242,230,.14);
  font-size:.9rem;color:rgba(247,242,230,.82)}
.g-src li::before{content:counter(src);position:absolute;left:0;top:.6em;font-family:var(--ff-display);
  font-style:italic;color:var(--verdigris-tint);font-weight:600}
.g-src a{color:var(--eggshell);border-bottom:1px solid var(--verdigris-tint);word-break:break-word}
.g-src a:hover{color:var(--verdigris-tint)}

/* ---------- homepage → guide hooks ---------- */
.hero-textlink{display:inline-flex;align-items:center;gap:.5em;margin-top:1.5rem;
  color:var(--eggshell);font-weight:600;font-size:.95rem;border-bottom:1.5px solid var(--verdigris-tint);
  padding-bottom:3px;text-shadow:0 1px 16px rgba(28,19,12,.5);transition:gap .25s ease,color .25s ease}
.hero-textlink:hover{gap:.85em;color:var(--verdigris-tint)}
.hero-textlink svg{width:15px;height:15px}

/* homepage field-guide feature band */
.guide-feature{background:var(--eggshell-deep)}
.guide-feature .gf-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center}
@media(max-width:900px){.guide-feature .gf-grid{grid-template-columns:1fr;gap:2rem}}
.guide-feature h2{font-size:clamp(1.9rem,3.2vw,2.7rem);margin:.5em 0 .6em}
.guide-feature p{color:var(--ink-soft)}
.gf-points{margin:1.4rem 0 1.8rem;display:grid;gap:.7rem}
.gf-points li{display:flex;gap:.7em;align-items:flex-start;font-size:.95rem;color:var(--ink)}
.gf-points svg{width:18px;height:18px;color:var(--verdigris);flex:none;margin-top:3px}
.gf-card{background:var(--cocoa-deep);color:var(--eggshell);border-radius:var(--radius-lg);
  padding:clamp(1.7rem,3vw,2.6rem);box-shadow:var(--shadow);transform:rotate(-1.2deg);position:relative;overflow:hidden}
.gf-card::before{content:"";position:absolute;inset:0;background:
  radial-gradient(120px 120px at 82% 12%,rgba(76,141,124,.4),transparent 70%);opacity:.7}
.gf-card .gf-eyebrow{position:relative;font-family:var(--ff-body);font-weight:800;font-size:.72rem;
  letter-spacing:.22em;text-transform:uppercase;color:var(--verdigris-tint)}
.gf-card h3{position:relative;color:var(--eggshell);font-size:1.5rem;margin:.6rem 0 .5rem}
.gf-card p{position:relative;color:rgba(247,242,230,.82);font-size:.95rem;margin-bottom:1.4rem}
.gf-card .btn{position:relative}
.gf-svg{position:relative;display:flex;gap:6px;align-items:flex-end;height:60px;margin-bottom:1.2rem}
.gf-svg span{flex:1;background:linear-gradient(var(--verdigris-tint),var(--verdigris));border-radius:3px 3px 0 0;opacity:.85}
.gf-svg span:nth-child(1){height:34%}.gf-svg span:nth-child(2){height:58%}
.gf-svg span:nth-child(3){height:80%}.gf-svg span:nth-child(4){height:100%}
.gf-svg span:nth-child(5){height:72%}.gf-svg span:nth-child(6){height:46%}

/* area-page guide banner */
.area-guide-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:1.2rem;background:var(--cocoa-deep);color:var(--eggshell);border-radius:var(--radius-lg);
  padding:1.5rem 1.8rem;margin-top:3rem}
.area-guide-banner p{margin:0;max-width:52ch}
.area-guide-banner .agb-t{font-family:var(--ff-display);font-size:1.2rem;color:var(--eggshell);margin-bottom:.2rem}
.area-guide-banner .agb-s{font-size:.9rem;color:rgba(247,242,230,.78)}
.area-guide-banner .btn{flex:none}

/* ---------- print (Rung 2 schedule walks the house on paper) ---------- */
@media print{
  .site-nav,.chat-launcher,.chat-panel,.marquee,.scrolldown,.site-footer,
  .guide-head,.g-hero-fig,.g-toc,.g-sun,.g-fig,.g-rec,.g-cap,.g-counter,
  .band-deep,.g-src,.cta-close,.g-sec,.g-hr,.g-intro,.g-lede{display:none!important}
  body{background:#fff;color:#000;font-size:12pt}
  .bp{box-shadow:none;border:none;padding:0}
  .bp .eyebrow,.bp>p,.bp-actions,.bp-send,.bp-hint{display:none!important}
  .bp-print-head{display:block;margin-bottom:16px}
  .bp-print-head b{font-size:16pt;display:block;margin-bottom:4px}
  .bp-print-head span{font-size:10pt;color:#333}
  .bp h2{display:block;color:#000;font-size:18pt;margin-bottom:10px}
  .bp-scroll{overflow:visible}
  .bp-table{min-width:0;width:100%}
  .bp-table th{color:#000;border-bottom:1.5px solid #000}
  .bp-table td{border-bottom:1px solid #999}
  .bp-table input,.bp-table select{border:none;background:none;color:#000;min-height:30px}
  .bp-rm,.bp-table td.act{display:none!important}
}
