/* Fortress Gutter Co. — home services funnel (redesign 2026-11-01)
   Cinematic / flagship standard. Standalone stylesheet for this funnel only.
   Palette: deep evergreen, warm cream, brass. Type: Fraunces display + Inter. */

:root {
  --ink: #1c2a20;
  --ink-soft: #4c5c50;
  --deep: #1e3d2a;
  --deep-2: #122619;
  --deep-3: #0c1f13;
  --paper: #faf7f0;
  --cream: #f4efe2;
  --card: #ffffff;
  --line: #e4ddcb;
  --brass: #b08d4f;
  --brass-hi: #cda861;
  --brass-dark: #8a6c38;
  --radius: 20px;
  --wrap: 1160px;
  --shadow-lg: 0 30px 60px -18px rgba(12, 31, 19, .28), 0 12px 24px -12px rgba(12, 31, 19, .18);
  --shadow-md: 0 18px 36px -14px rgba(12, 31, 19, .22), 0 6px 14px -8px rgba(12, 31, 19, .12);
  --ease: cubic-bezier(.22, .8, .28, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--brass); color: #fff; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brass-hi); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

h1, h2 {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.015em;
}
h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 18px; }
h3 { font-size: 1.08rem; font-weight: 650; margin-bottom: 8px; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.74rem; font-weight: 700; color: var(--brass-dark);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .7; }

/* ---------- frosted sticky header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 240, .78);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid rgba(228, 221, 203, .8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 15px; padding-bottom: 15px; }
.brand { display: flex; flex-direction: row; align-items: center; line-height: 1.25; text-decoration: none; color: inherit; }
.brand-mark{height:34px;width:auto;margin-right:10px;vertical-align:middle}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: "Fraunces", Georgia, serif; font-size: 1.38rem; font-weight: 650; letter-spacing: -0.01em; }
.brand-place { font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.05em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 550; transition: color .2s var(--ease); }
.site-nav a:hover { color: var(--brass-dark); }
.site-nav a.nav-cta {
  background: var(--ink); color: #fff; border-radius: 999px;
  padding: 10px 20px; font-weight: 600;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.site-nav a.nav-cta:hover { background: var(--deep); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(12,31,19,.5); }

/* ---------- cinematic hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: #f6f2e7; background: var(--deep-3);
  padding: clamp(96px, 14vh, 148px) 0 clamp(88px, 12vh, 128px);
}
.hero-media { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  animation: kenburns 30s var(--ease) infinite alternate;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,31,19,.55) 0%, rgba(12,31,19,.34) 42%, rgba(12,31,19,.82) 100%),
    linear-gradient(96deg, rgba(12,31,19,.78) 0%, rgba(12,31,19,.38) 55%, rgba(12,31,19,.12) 100%);
}
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14); } }

.hero .eyebrow { color: #e3c98f; }
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.6rem);
  max-width: 13.5em; margin-bottom: 24px;
  text-shadow: 0 4px 34px rgba(0,0,0,.35);
}
.hero h1 em { font-style: italic; font-weight: 550; color: #ecd9a8; }
.hero-sub { max-width: 620px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.6; color: #e2e9dc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 22px; }
.hero-note { font-size: 0.92rem; color: #bccdb4; letter-spacing: .01em; }
.hero-note strong { color: #e9dfc4; font-weight: 650; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  text-decoration: none; font-weight: 650; font-size: 1.02rem;
  padding: 16px 32px; border-radius: 999px; min-height: 54px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(160deg, var(--brass-hi), var(--brass) 55%, var(--brass-dark));
  color: #fff; box-shadow: 0 16px 32px -12px rgba(138, 108, 56, .65), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -12px rgba(138,108,56,.7), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-deep { background: var(--deep); color: #fff; box-shadow: 0 16px 30px -14px rgba(12,31,19,.55), inset 0 1px 0 rgba(255,255,255,.14); }
.btn-deep:hover { transform: translateY(-2px); background: var(--deep-2); }
.btn-ghost {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

/* ---------- sections ---------- */
.path { padding: clamp(84px, 11vw, 128px) 0; }
.path-lede, .area-text, .contact-lede { max-width: 700px; color: var(--ink-soft); font-size: 1.06rem; }
.section-head { max-width: 760px; }
.tint { background: linear-gradient(180deg, var(--cream), var(--paper)); }
.tint .card { background: #fff; }

/* ---------- 3D photo cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin: 44px 0 40px;
  perspective: 1400px;
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 14px -8px rgba(12,31,19,.12);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12,31,19,.22)); }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card-link { margin-top: auto; padding-top: 14px; font-weight: 650; color: var(--brass-dark); text-decoration: none; font-size: .96rem; }
.card-link:hover { color: var(--deep); }

/* ---------- cinematic split band ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; color: #f4f1e6; padding: clamp(84px, 11vw, 124px) 0; background: var(--deep-3); }
.band-media { position: absolute; inset: -10% 0; z-index: 0; will-change: transform; }
.band-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12,31,19,.88), rgba(12,31,19,.55) 60%, rgba(12,31,19,.35)); }
.band .eyebrow { color: #e3c98f; }
.band h2 { color: #fff; }
.band .path-lede { color: #d7e2d2; }
.glass-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 42px; max-width: 900px; }
.glass {
  background: rgba(250, 247, 240, .08);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius); padding: 28px;
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 24px 44px -20px rgba(0,0,0,.5);
}
.glass h3 { color: #fff; font-size: 1.15rem; }
.glass p { color: #dde6d8; font-size: .98rem; }

/* ---------- steps ---------- */
.how { padding: clamp(84px, 11vw, 128px) 0; }
.steps { list-style: none; max-width: 780px; margin-top: 36px; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, var(--brass-hi), var(--line)); }
.steps li { display: flex; gap: 26px; padding: 22px 0; position: relative; }
.step-num {
  flex: 0 0 auto; width: 56px; height: 56px; z-index: 1;
  border-radius: 50%; color: #fff; font-weight: 700; font-size: 1.12rem;
  background: linear-gradient(150deg, var(--deep), var(--deep-2));
  border: 2px solid var(--brass-hi);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 22px -10px rgba(12,31,19,.5);
}
.steps h3 { font-size: 1.14rem; margin-bottom: 5px; padding-top: 4px; }
.steps p { color: var(--ink-soft); max-width: 560px; }

/* ---------- service area ---------- */
.area { position: relative; overflow: hidden; isolation: isolate; background: var(--deep-3); color: #f4f1e6; padding: clamp(84px, 11vw, 124px) 0; }
.area-media { position: absolute; inset: -10% 0; z-index: 0; will-change: transform; }
.area-media img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .5; }
.area-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,31,19,.88), rgba(18,38,25,.78) 55%, rgba(12,31,19,.92)); }
.area .eyebrow { color: #e3c98f; }
.area h2 { color: #fff; }
.area-text { color: #d7e2d2; font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; max-width: 860px; }
.chip {
  padding: 9px 17px; border-radius: 999px; font-size: .92rem; font-weight: 550; color: #eef2e6;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.24);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.chip-note { margin-top: 20px; font-size: .95rem; color: #bccdb4; }
.chip-label {
  align-self: center; font-size: .76rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: #e3c98f;
}
a.chip { text-decoration: none; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
a.chip:hover { background: rgba(176, 141, 79, .38); border-color: rgba(227, 201, 143, .75); color: #fff; }

/* ---------- quote page ---------- */
.quote-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--deep-3); color: #f6f2e7; padding: clamp(72px, 10vh, 104px) 0 150px; }
.quote-hero .eyebrow { color: #e3c98f; }
.quote-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); max-width: 14em; margin-bottom: 20px; }
.quote-hero .hero-sub { max-width: 640px; }
.quote-main { margin-top: -104px; padding-bottom: clamp(80px, 10vw, 116px); position: relative; z-index: 3; }
.quote-grid { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start; }
.quote-aside {
  background: linear-gradient(165deg, var(--deep), var(--deep-2));
  color: #eef2e6; border-radius: var(--radius); padding: 32px 30px;
  box-shadow: var(--shadow-md);
}
.quote-aside h3 { color: #fff; font-size: 1.2rem; font-family: "Fraunces", Georgia, serif; font-weight: 600; margin-bottom: 16px; }
.quote-aside ol { list-style: none; counter-reset: qa; }
.quote-aside li { counter-increment: qa; padding: 13px 0 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .96rem; color: #d7e2d2; display: flex; gap: 13px; }
.quote-aside li:last-child { border-bottom: none; }
.quote-aside li::before {
  content: counter(qa); flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--brass-hi); color: #ecd9a8; font-size: .82rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.quote-aside li strong { color: #fff; display: block; font-size: .99rem; }
.form-shell {
  background: #fff; border-radius: 24px; padding: 14px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(228,221,203,.7);
}
.form-frame { width: 100%; border: 0; border-radius: 16px; background: #fff; min-height: 1200px; display: block; }
.form-fallback { margin-top: 18px; color: var(--ink-soft); font-size: .97rem; }
.form-fallback a { color: var(--brass-dark); font-weight: 600; }

/* ---------- thanks ---------- */
.thanks-badge {
  width: 84px; height: 84px; border-radius: 50%; margin-bottom: 28px;
  background: linear-gradient(150deg, var(--brass-hi), var(--brass-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 36px -12px rgba(138,108,56,.65), inset 0 1px 0 rgba(255,255,255,.4);
}
.thanks-badge svg { width: 40px; height: 40px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 54px 0 60px; color: var(--ink-soft); background: var(--paper); }
.footer-honest { max-width: 760px; font-size: 0.95rem; margin-bottom: 18px; }
.footer-small { font-size: 0.9rem; }
.footer-draft { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 8px; }
.placeholder {
  font-weight: 600; color: var(--brass-dark);
  background: #f7efdd; border: 1px dashed var(--brass-dark);
  border-radius: 8px; padding: 2px 10px;
}

/* ---------- sticky mobile CTA ---------- */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(12, 31, 19, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-top: 1px solid rgba(255,255,255,.16);
}
.mobile-cta a {
  display: flex; align-items: center; justify-content: center; min-height: 52px;
  border-radius: 999px; text-decoration: none; color: #fff; font-weight: 700; font-size: 1.02rem;
  background: linear-gradient(160deg, var(--brass-hi), var(--brass) 55%, var(--brass-dark));
  box-shadow: 0 12px 24px -10px rgba(0,0,0,.55);
}

/* ---------- scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="2"] { transition-delay: .12s; }
[data-reveal="3"] { transition-delay: .24s; }

@media (max-width: 980px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote-aside { order: 2; }
}
@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .glass-grid { grid-template-columns: 1fr; }
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { padding: 84px 0 92px; }
  .mobile-cta { display: block; }
  body { padding-bottom: 78px; }
  .form-shell { padding: 8px; }
  .steps::before { left: 26px; }
}
@media (max-width: 640px) {
  .brand-place { display: none; }
  .brand-name { font-size: 1.3rem; }
  .brand-mark { height: 32px; margin-right: 9px; }
  .header-inner { flex-wrap: wrap; row-gap: 10px; }
  .site-nav { margin-left: auto; }
  .nav-cta { white-space: nowrap; padding: .62rem 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .card, .btn, .card-media img { transition: none; }
}

/* ---------- compat: city pages authored against the previous stylesheet ---------- */
.card:not(:has(> .card-body)) { padding: 26px 24px; }
.hero:not(:has(> .hero-media)) { background: linear-gradient(160deg, var(--deep) 0%, var(--deep-3) 90%); }

/* ---------- native quote form (posts to the same Google backend) ---------- */
.quote-form { padding: 26px 26px 10px; }
.field { margin-bottom: 22px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label, .field legend {
  display: block; font-weight: 650; font-size: .96rem; color: var(--ink);
  margin-bottom: 9px; letter-spacing: -0.005em;
}
.field legend { float: left; width: 100%; }
.field legend + .pill-group { clear: both; }
.input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fffdf8; border: 1.5px solid var(--line); border-radius: 13px;
  padding: 14px 16px; min-height: 52px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  appearance: none; -webkit-appearance: none;
}
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%238a6c38' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
textarea.input { min-height: 110px; resize: vertical; }
.input:hover { border-color: #cfc39f; }
.input:focus { outline: none; border-color: var(--brass); background: #fff; box-shadow: 0 0 0 4px rgba(176, 141, 79, .18); }
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; margin: 0 !important; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; min-height: 48px;
  padding: 11px 19px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fffdf8;
  font-weight: 550; font-size: .96rem; color: var(--ink);
  transition: all .22s var(--ease);
}
.pill:hover span { border-color: var(--brass); }
.pill input:checked + span {
  background: linear-gradient(150deg, var(--deep), var(--deep-2)); color: #fff;
  border-color: var(--deep); box-shadow: 0 10px 20px -10px rgba(12,31,19,.55);
}
.pill input:focus-visible + span { outline: 3px solid var(--brass-hi); outline-offset: 2px; }
.form-submit { width: 100%; margin-top: 4px; font-size: 1.06rem; }
.form-note { text-align: center; color: var(--ink-soft); font-size: .92rem; margin: 14px 6px 10px; }
.sink { display: none; width: 0; height: 0; border: 0; }

/* ---------- interactive roofline estimator ---------- */
.estimator {
  margin-top: 44px; background: var(--card); border: 1px solid var(--line);
  border-radius: 24px; box-shadow: var(--shadow-md); overflow: hidden;
  display: grid; grid-template-columns: 1.15fr .85fr;
}
.est-controls { padding: 36px 38px; }
.est-controls h3 { font-family: "Fraunces", Georgia, serif; font-size: 1.45rem; font-weight: 600; margin-bottom: 6px; }
.est-controls > p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 26px; }
.est-group { margin-bottom: 24px; }
.est-group:last-child { margin-bottom: 0; }
.est-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 650; font-size: .95rem; margin-bottom: 10px; }
.est-label output { font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; color: var(--brass-dark); font-weight: 700; }
input[type="range"] { width: 100%; accent-color: var(--brass-dark); height: 32px; cursor: pointer; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg .pill span { min-height: 44px; padding: 9px 17px; }
.est-result {
  background: linear-gradient(165deg, var(--deep), var(--deep-2)); color: #eef2e6;
  padding: 36px 38px; display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.est-result .eyebrow { color: #e3c98f; margin-bottom: 4px; }
.est-big { font-family: "Fraunces", Georgia, serif; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 650; line-height: 1.05; color: #fff; }
.est-result p { color: #cfdcc9; font-size: .95rem; }
.est-result .btn { margin-top: 16px; align-self: flex-start; }

@media (max-width: 820px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 20px 16px 6px; }
  .estimator { grid-template-columns: 1fr; }
  .est-controls, .est-result { padding: 28px 24px; }
  .est-result .btn { align-self: stretch; }
}

/* =====================================================================
   Interactive widgets (2026-11-01): clog demo + project planner.
   Additive only — uses the site palette/type system above.
   ===================================================================== */

/* ---------- Widget A: "Why gutters clog" cross-section demo ---------- */
.clog-panel {
  margin-top: 40px;
  background: linear-gradient(165deg, var(--deep-2), var(--deep-3));
  border: 1px solid rgba(205, 168, 97, .35);
  border-radius: 26px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
  color: #eef2e6;
}
.clog-toggle {
  display: flex; gap: 8px; flex-wrap: wrap;
  background: rgba(250, 247, 240, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px; padding: 7px;
  max-width: 560px; margin: 0 auto 26px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.clog-btn {
  flex: 1 1 200px; min-height: 56px; border: 0; cursor: pointer;
  border-radius: 999px; padding: 12px 22px;
  font: inherit; font-weight: 650; font-size: 1.02rem;
  color: #dfe8d8; background: transparent;
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.clog-btn:hover { color: #fff; background: rgba(250, 247, 240, .12); }
.clog-btn.is-active {
  background: linear-gradient(160deg, var(--brass-hi), var(--brass) 55%, var(--brass-dark));
  color: #fff; box-shadow: 0 12px 24px -10px rgba(138, 108, 56, .7), inset 0 1px 0 rgba(255,255,255,.35);
}
.clog-btn:focus-visible { outline: 3px solid var(--brass-hi); outline-offset: 3px; }
.clog-stage {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 48px -24px rgba(0,0,0,.6);
  background: #0c1f13;
}
.clog-stage svg { display: block; width: 100%; height: auto; }
.clog-stage canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.clog-status {
  margin: 24px auto 4px; max-width: 640px; text-align: center;
  font-family: "Fraunces", Georgia, serif; font-size: clamp(1.12rem, 2.2vw, 1.4rem);
  font-weight: 600; line-height: 1.35; color: #f4efe2; min-height: 2.7em;
  display: flex; align-items: center; justify-content: center;
}
.clog-actions { text-align: center; margin-top: 14px; }
.clog-note { margin-top: 14px; font-size: .92rem; color: #bccdb4; }
.clog-scene .pile { transform-origin: 448px 262px; transition: transform .9s var(--ease), opacity .6s var(--ease); }
.clog-scene[data-mode="open"] .pile { transform: scaleY(.92); opacity: 1; }
.clog-scene[data-mode="guards"] .pile { transform: scaleY(0); opacity: 0; }
.clog-scene .guard { opacity: 0; transition: opacity .55s var(--ease); }
.clog-scene[data-mode="guards"] .guard { opacity: 1; }
.clog-scene .pool-full { opacity: 0; transition: opacity .8s var(--ease) .35s; }
.clog-scene.is-full .pool-full { opacity: .95; }
.clog-scene .pool-flow, .clog-scene .spout-flow, .clog-scene .ground-leaves { opacity: 0; transition: opacity .6s var(--ease); }
.clog-scene[data-mode="guards"] .pool-flow { opacity: .9; }
.clog-scene[data-mode="guards"] .spout-flow { opacity: .95; }
.clog-scene[data-mode="guards"] .ground-leaves { opacity: 1; }
.clog-scene .ovf { opacity: 0; transition: opacity .7s var(--ease); }
.clog-scene.is-full .ovf { opacity: 1; }
.clog-scene .stain { opacity: 0; transition: opacity 1.2s var(--ease) .5s; }
.clog-scene.is-full .stain { opacity: .55; }
.clog-scene .flowdash { stroke-dasharray: 13 11; animation: clogdash 1.1s linear infinite; }
.clog-scene .flowdash-slow { stroke-dasharray: 10 9; animation: clogdash 1.8s linear infinite; }
@keyframes clogdash { to { stroke-dashoffset: -48; } }

/* ---------- Widget B: "Plan your project" planner ---------- */
.plan-band {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(176, 141, 79, .22), transparent 60%),
    linear-gradient(170deg, var(--deep-2), var(--deep-3));
  color: #f4f1e6; padding: clamp(84px, 11vw, 128px) 0;
}
.plan-band .eyebrow { color: #e3c98f; }
.plan-band h2 { color: #fff; }
.plan-band .path-lede { color: #d7e2d2; }
.plan-grid {
  display: grid; grid-template-columns: .92fr 1.08fr; gap: 26px;
  margin-top: 44px; align-items: start;
}
.plan-controls {
  background: var(--card); color: var(--ink);
  border-radius: 24px; padding: 34px 34px 30px;
  box-shadow: var(--shadow-lg);
}
.plan-controls h3 { font-family: "Fraunces", Georgia, serif; font-size: 1.4rem; font-weight: 600; margin-bottom: 4px; }
.plan-controls > p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 24px; }
.plan-group { margin-bottom: 22px; }
.plan-group:last-child { margin-bottom: 0; }
.plan-group .input { margin-top: 2px; }
.plan-side { display: flex; flex-direction: column; gap: 26px; }
.plan-stage {
  border-radius: 24px; overflow: hidden; position: relative;
  border: 1px solid rgba(205, 168, 97, .4);
  box-shadow: var(--shadow-lg);
  background: #0c1f13;
}
.plan-stage svg { display: block; width: 100%; height: auto; }
.plan-stage-tag {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #e3c98f; background: rgba(12, 31, 19, .66);
  border: 1px solid rgba(227, 201, 143, .4); border-radius: 999px; padding: 6px 13px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.plan-result {
  background: rgba(250, 247, 240, .07);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 24px; padding: 30px 32px;
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 24px 44px -20px rgba(0,0,0,.5);
}
.plan-result .eyebrow { margin-bottom: 10px; }
.plan-summary { font-size: 1.06rem; line-height: 1.6; color: #eef2e6; }
.plan-includes { margin-top: 12px; font-size: .94rem; color: #c9d6c2; }
.plan-result .btn { margin-top: 20px; }
/* stage state styling (driven by data-* on .plan-stage) */
.plan-stage .svg-gutter { transition: fill .5s var(--ease), stroke .5s var(--ease), filter .5s var(--ease); }
.plan-stage .svg-spout { transition: stroke .5s var(--ease); }
.plan-stage .svg-guardcap { opacity: 0; transition: opacity .5s var(--ease); }
.plan-stage .svg-rldots circle { opacity: 0; transition: opacity .5s var(--ease); }
.plan-stage .svg-win { transition: fill .5s var(--ease); }
.plan-stage .ls-glow, .plan-stage .ls-dots { opacity: 0; transition: opacity .7s var(--ease); }
.plan-stage[data-service="guards"] .svg-gutter { fill: #cda861; stroke: #ecd9a8; filter: drop-shadow(0 0 7px rgba(205, 168, 97, .9)); }
.plan-stage[data-service="guards"] .svg-guardcap { opacity: 1; }
.plan-stage[data-service="new"] .svg-gutter { fill: #e9edef; stroke: #ffffff; filter: drop-shadow(0 0 5px rgba(255, 255, 255, .55)); }
.plan-stage[data-service="new"] .svg-spout { stroke: #e9edef; }
.plan-stage[data-service="roofline"] .svg-rldots circle,
.plan-stage[data-service="combo"] .svg-rldots circle { opacity: 1; }
.plan-stage[data-service="roofline"] .svg-win,
.plan-stage[data-service="combo"] .svg-win,
.plan-stage[data-service="landscape"] .svg-win { fill: #ffca7a; }
.plan-stage[data-service="combo"] .svg-gutter { fill: #cda861; stroke: #ecd9a8; filter: drop-shadow(0 0 7px rgba(205, 168, 97, .9)); }
.plan-stage[data-service="combo"] .svg-guardcap { opacity: 1; }
.plan-stage[data-service="landscape"] .ls-glow { opacity: .85; }
.plan-stage[data-service="landscape"] .ls-dots { opacity: 1; }
.plan-stage[data-service="holiday"] .svg-rldots circle { opacity: 1; animation: plantwinkle 1.7s ease-in-out infinite; }
.plan-stage[data-service="holiday"] .svg-rldots circle:nth-child(4n+2) { fill: #d96a5a; animation-delay: .4s; }
.plan-stage[data-service="holiday"] .svg-rldots circle:nth-child(4n+3) { fill: #8fbf7f; animation-delay: .8s; }
.plan-stage[data-service="holiday"] .svg-rldots circle:nth-child(4n) { fill: #f4efe2; animation-delay: 1.2s; }
@keyframes plantwinkle { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.plan-stage .roofmove { transition: transform .65s var(--ease); }
.plan-stage[data-size="1"] .roofmove { transform: translateY(72px); }
.plan-stage[data-size="1"] .f2 { display: none; }
.plan-stage #pvWing { opacity: 0; visibility: hidden; transition: opacity .55s var(--ease), visibility .55s; }
.plan-stage[data-size="large"] #pvWing { opacity: 1; visibility: visible; }
.plan-stage #pvCondo { opacity: 0; visibility: hidden; transition: opacity .55s var(--ease), visibility .55s; }
.plan-stage[data-property="condo"] #pvCondo { opacity: 1; visibility: visible; }
.plan-stage #pvComm { opacity: 0; visibility: hidden; transition: opacity .55s var(--ease), visibility .55s; }
.plan-stage #pvHome { transition: opacity .45s var(--ease), visibility .45s; }
.plan-stage[data-property="commercial"] #pvHome,
.plan-stage[data-property="commercial"] #pvCondo { opacity: 0; visibility: hidden; }
.plan-stage[data-property="commercial"] #pvComm { opacity: 1; visibility: visible; }

@media (max-width: 900px) {
  .plan-grid { grid-template-columns: 1fr; }
  .plan-controls { padding: 28px 24px 24px; }
  .plan-result { padding: 26px 24px; }
  .plan-result .btn { width: 100%; }
  .clog-status { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .clog-scene .flowdash, .clog-scene .flowdash-slow,
  .plan-stage[data-service="holiday"] .svg-rldots circle { animation: none; }
  .clog-scene .pile, .clog-scene .guard, .clog-scene .pool-full,
  .clog-scene .pool-flow, .clog-scene .spout-flow, .clog-scene .ovf,
  .clog-scene .stain, .clog-scene .ground-leaves,
  .plan-stage .roofmove, .plan-stage #pvWing, .plan-stage #pvCondo,
  .plan-stage #pvComm, .plan-stage #pvHome, .plan-stage .svg-gutter,
  .plan-stage .svg-guardcap, .plan-stage .svg-rldots circle,
  .plan-stage .ls-glow, .plan-stage .ls-dots { transition: none; }
}

/* ---------- live project summary (quote form, added 2026-11-01) ---------- */
/* Visual only: driven by the visitor's own form inputs; never touches field names, order, or the submit. */
.live-summary {
  margin: 4px 0 20px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(30, 61, 42, .06), rgba(176, 141, 79, .10));
  border: 1px solid rgba(176, 141, 79, .35);
  display: flex; gap: 14px; align-items: flex-start;
}
.live-summary-dot {
  flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%;
  background: var(--brass); margin-top: 7px;
  box-shadow: 0 0 0 0 rgba(176, 141, 79, .45);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.live-summary.ready .live-summary-dot { background: var(--deep); box-shadow: 0 0 0 5px rgba(30, 61, 42, .14); }
.live-summary-label {
  display: block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .68rem; font-weight: 700; color: var(--brass-dark); margin-bottom: 2px;
}
.live-summary-text { font-size: .99rem; font-weight: 550; color: var(--ink); line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .live-summary-dot { transition: none; } }
