/* Supreme Roof Replacement Inc. — site styles
   Brand: dark green #064312 · leaf green #429D16 · sun gold #E7B524
   Type: Montserrat (brand) · Instrument Serif (italic accents) · JetBrains Mono (technical labels)
   Direction: rounded panels + floating nav, editorial serif accents, mono "figure" labels */

:root {
  --green-950: #06140a;
  --green-900: #042d0c;
  --green-800: #064312;
  --green-600: #2f7a12;
  --leaf: #429D16;
  --gold: #E7B524;
  --ink: #142017;
  --muted: #5b675e;
  --line: #e2ddcf;
  --cream: #f6f3ea;
  --cream-2: #efeadd;
  --paper: #fffdf8;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 18px 50px rgba(6, 67, 18, .12);
  --max: 1200px;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--cream);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green-800); }
h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; color: var(--green-800); }
h1 { font-weight: 800; font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -.035em; }
h2 { font-weight: 800; font-size: clamp(1.9rem, 3.8vw, 3.1rem); letter-spacing: -.03em; }
h3 { font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.25; }
h1 em, h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -.01em; color: var(--leaf);
}
h2 em { font-size: 1.08em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--green-900); padding: 10px 14px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[id] { scroll-margin-top: 100px; }

/* Mono "figure" labels (Norrvik-style) */
.mono-label {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px;
}
.mono-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(66,157,22,.18); }

/* Buttons (pill) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 700 .98rem/1 var(--sans); padding: 16px 24px; border-radius: 999px;
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s, background .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-gold { background: var(--gold); color: var(--green-900); box-shadow: 0 8px 22px rgba(231,181,36,.35); }
.btn-gold:hover { background: #f0c23b; }
.btn-green { background: var(--green-800); color: #fff; box-shadow: 0 8px 22px rgba(6,67,18,.22); }
.btn-green:hover { background: var(--green-600); }
.btn-ghost { background: rgba(255,255,255,.6); border-color: rgba(6,67,18,.18); color: var(--green-800); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-block { width: 100%; }

/* Placeholder markers — remove when real content is added */
.ph {
  background: #fff3c4; color: #6b4e00; border-radius: 4px; padding: 0 .25em;
  outline: 1px dashed #d9a400; font-weight: 600; font-family: var(--sans); font-style: normal;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.dark .ph { background: rgba(231,181,36,.18); color: #ffe39a; outline-color: rgba(231,181,36,.6); }
h2 .ph { font-size: .8em; vertical-align: .08em; }

/* Floating pill header (Gridora-style) */
.site-header { position: sticky; top: 14px; z-index: 50; padding: 0 12px; margin-top: 14px; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 68px; max-width: var(--max); margin: 0 auto; padding: 0 10px 0 22px;
  background: rgba(255,253,248,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid rgba(6,67,18,.08); border-radius: 999px; box-shadow: 0 10px 30px rgba(6,67,18,.08);
}
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; padding: 9px 14px; border-radius: 999px; white-space: nowrap; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(66,157,22,.1); color: var(--green-800); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 800; color: var(--green-800); text-decoration: none; font-size: 1rem; line-height: 1.2; text-align: right; }
.header-phone small { display: block; font-family: var(--mono); font-weight: 500; font-size: .62rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.header-cta .btn { padding: 13px 20px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--green-800); }
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero: big rounded panel with illustration */
.hero { padding: 14px 12px 0; margin-top: -82px; }
.hero-panel {
  position: relative; overflow: hidden; max-width: 1400px; margin: 0 auto;
  border-radius: var(--radius-lg); padding: 150px 0 0;
  background:
    radial-gradient(ellipse 60% 55% at 72% 70%, rgba(243,204,85,.45), transparent 70%),
    linear-gradient(180deg, #fbf7ea 0%, #f4efdc 55%, #e9eedc 100%);
}
.hero-grid {
  position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: start;
}
.hero-copy { padding-top: 24px; }
.hero h1 { color: var(--green-800); max-width: 11ch; }
.hero-lead { font-size: 1.15rem; color: #3f4b42; max-width: 32em; margin-top: 10px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { position: relative; z-index: 1; margin-top: -240px; pointer-events: none; }
.hero-art img { width: 100%; height: auto; }

/* Quote form card (glassy) */
.quote-card {
  background: rgba(255,253,248,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.9); border-radius: 26px; padding: 28px;
  box-shadow: 0 30px 70px rgba(6,67,18,.18); position: relative; z-index: 3;
}
.quote-head .mono-label { margin-bottom: 10px; color: var(--leaf); }
.quote-card h2 { font-size: 1.55rem; margin-bottom: 4px; letter-spacing: -.02em; }
.quote-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 700; font-size: .8rem; margin-bottom: 5px; color: var(--green-800); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem var(--sans); color: var(--ink);
  padding: 12px 14px; border: 1.5px solid #d9d3c3; border-radius: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(66,157,22,.15); }
.hidden-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 9px; align-items: flex-start; font-size: .76rem; color: var(--muted); margin: 4px 0 14px; line-height: 1.5; }
.consent input { margin-top: 2px; accent-color: var(--leaf); flex: none; }
.form-note { font-size: .76rem; color: var(--muted); margin: 10px 0 0; text-align: center; }

/* Data strip */
.data-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0;
  border-bottom: 1px solid var(--line);
}
.data-strip > div { padding: 22px 20px 22px 0; border-right: 1px solid var(--line); margin-right: 20px; }
.data-strip > div:last-child { border-right: 0; margin-right: 0; }
.data-strip dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.data-strip dd { margin: 0; font-weight: 700; color: var(--green-800); font-size: 1rem; }

/* Manifesto (scroll-fill words) */
.manifesto { padding: 110px 0 90px; }
.manifesto-text {
  font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.22; font-weight: 600; letter-spacing: -.025em;
  color: var(--green-800); max-width: 22em; margin: 0;
}
.js .manifesto-text .w { color: rgba(6,67,18,.16); transition: color .35s ease; }
.js .manifesto-text .w.on { color: var(--green-800); }
.js .manifesto-text .w.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.js .manifesto-text .w.serif.on { color: var(--leaf); }

/* Sections */
.section { padding: 100px 0; }
.section.alt { background: var(--cream-2); }
.section.alt + .section.alt { padding-top: 0; }
.section-head { margin: 0 0 52px; }
.section-head.split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.section-head.split > p { color: var(--muted); font-size: 1.05rem; margin: 0 0 .6em; }
.section-head h2 { margin: 0; }

/* Services bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; min-height: 250px;
  transition: transform .3s, box-shadow .3s, border-color .3s, opacity .8s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.tile p { color: var(--muted); margin: 0; font-size: .96rem; }
.tile-num { position: absolute; top: 26px; right: 28px; font-family: var(--mono); font-size: .75rem; color: var(--muted); letter-spacing: .1em; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px;
  background: rgba(66,157,22,.12); color: var(--green-800);
}
.icon-badge svg { width: 26px; height: 26px; }
.tile-feature {
  grid-column: span 2; background: linear-gradient(150deg, var(--green-800), var(--green-900)); border: 0; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; min-height: 320px;
}
.tile-feature h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.03em; position: relative; z-index: 1; }
.tile-feature p { color: rgba(255,255,255,.78); max-width: 30em; position: relative; z-index: 1; }
.tile-feature .tile-num { color: rgba(255,255,255,.55); }
.tile-feature .icon-badge { background: var(--gold); color: var(--green-900); position: absolute; top: 30px; left: 30px; }
.tile-lines { position: absolute; right: -20px; top: 40px; width: 55%; color: rgba(231,181,36,.28); }
.tile-link { position: relative; z-index: 1; margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; text-decoration: none; }
.tile-link svg { width: 18px; height: 18px; }
.tile-cta { grid-column: span 2; background: var(--gold); border: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 0; }
.tile-cta .mono-label { color: var(--green-900); margin-bottom: 8px; }
.tile-cta h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.03em; color: var(--green-900); }
.tile-cta .btn-gold { background: var(--green-800); color: #fff; box-shadow: none; }
.tile-cta .btn-gold:hover { background: var(--green-600); }

/* Energy */
.energy-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 56px;
}
.energy-copy > p { color: var(--muted); font-size: 1.05rem; }
.toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; border-radius: 22px; background: var(--cream-2); margin: 26px 0 30px; }
.toggle button {
  display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px 14px; border: 0; border-radius: 16px;
  background: transparent; cursor: pointer; font: inherit; color: var(--muted); transition: background .25s, box-shadow .25s, color .25s;
}
.toggle button svg { width: 22px; height: 22px; flex: none; }
.toggle button strong { display: block; font-size: .92rem; color: inherit; }
.toggle button small { display: block; font-size: .74rem; }
.toggle button[aria-selected="true"] { background: #fff; color: var(--green-800); box-shadow: 0 6px 18px rgba(6,67,18,.1); }
.energy-points { list-style: none; padding: 0; margin: 0; }
.energy-points li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.energy-points .mono-label { margin: 3px 0 0; color: var(--leaf); }
.energy-points strong { color: var(--green-800); display: block; margin-bottom: 2px; }
.energy-points p { margin: 0; color: var(--muted); font-size: .94rem; }
.energy-demo {
  margin: 0; border-radius: 26px; padding: 26px 26px 22px; overflow: hidden;
  background: linear-gradient(180deg, #fbf3d9, #f2f6ea); transition: background .5s;
}
.energy-demo[data-mode="standard"] { background: linear-gradient(180deg, #fde6c3, #f8efe0); }
.energy-demo svg { width: 100%; height: auto; }
.energy-demo .attic { fill: url(#atticCool); }
.energy-demo[data-mode="standard"] .attic { fill: url(#atticWarm); }
.energy-demo .roof { fill: #c9d6bf; stroke: #064312; stroke-width: 3; transition: fill .5s; }
.energy-demo[data-mode="standard"] .roof { fill: #23302a; }
.energy-demo .heat, .energy-demo .rays-out, .energy-demo .air { transition: opacity .5s; }
.energy-demo .heat { opacity: 0; }
.energy-demo[data-mode="standard"] .heat { opacity: 1; }
.energy-demo[data-mode="standard"] .rays-out, .energy-demo[data-mode="standard"] .air { opacity: 0; }
.energy-demo .air path { animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -36; } }
.energy-demo figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 10px; }
.energy-demo figcaption .mono-label { margin: 0; flex: none; }
.energy-demo figcaption strong { color: var(--green-800); font-size: .95rem; font-weight: 600; }
.energy-demo .cap-standard { display: none; }
.energy-demo[data-mode="standard"] .cap-standard { display: inline; }
.energy-demo[data-mode="standard"] .cap-cool { display: none; }
.energy-note { margin: 22px auto 0; font-size: .8rem; color: var(--muted); text-align: center; max-width: 760px; }

/* Why us (editorial) */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.why-intro { position: sticky; top: 120px; }
.why-intro > p:not(.mono-label) { color: var(--muted); font-size: 1.05rem; margin-bottom: 26px; }
.why-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.why-list li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.why-list .mono-label { margin: 6px 0 0; color: var(--leaf); }
.why-list h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; letter-spacing: -.01em; margin-bottom: 4px; }
.why-list p { margin: 0; color: var(--muted); }

/* Placeholders for photos / reviews / map */
.ph-box {
  border: 2px dashed #cdc6b2; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #faf7ee, #faf7ee 12px, #f3efe3 12px, #f3efe3 24px);
  display: grid; place-items: center; text-align: center; color: var(--muted); padding: 24px; min-height: 220px; font-size: .9rem;
}
.ph-box strong { display: block; color: var(--green-800); margin-bottom: 4px; }
.ph-box svg { width: 34px; height: 34px; margin: 0 auto 8px; color: #a59d86; }
.work-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.work-grid .work-lg { grid-row: span 2; min-height: 460px; }
.work-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-ph { min-height: 190px; }
.reviews-cta { text-align: center; margin-top: 34px; }

/* Service area */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.chips { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.map-ph { min-height: 380px; border-radius: var(--radius-lg); }

/* FAQ (thin rules) */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq { border-top: 1px solid #d6cfbd; }
.faq details { border-bottom: 1px solid #d6cfbd; }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 56px 24px 0; font-weight: 700; font-size: 1.05rem;
  color: var(--green-800); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
  border: 1px solid #cfc7b2; transition: transform .3s, background-color .3s;
  background:
    linear-gradient(var(--green-800), var(--green-800)) center/12px 2px no-repeat,
    linear-gradient(var(--green-800), var(--green-800)) center/2px 12px no-repeat;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--gold); border-color: var(--gold); }
.faq .answer { padding: 0 56px 24px 0; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* Final CTA */
.final-cta { padding: 0 12px 12px; }
.final-panel {
  max-width: 1400px; margin: 0 auto; border-radius: var(--radius-lg); text-align: center; color: #fff;
  padding: 110px 24px;
  background:
    radial-gradient(circle at 50% 120%, rgba(231,181,36,.45), transparent 45%),
    linear-gradient(160deg, var(--green-800), var(--green-900));
}
.final-panel .mono-label { color: rgba(255,255,255,.55); }
.final-panel h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); max-width: 14ch; margin: 0 auto .4em; }
.final-panel h2 em { color: var(--gold); }
.final-panel p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.final-panel .hero-actions { justify-content: center; }

/* Footer */
.site-footer { background: var(--green-950); color: rgba(255,255,255,.7); padding: 64px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 46px; width: auto; margin-bottom: 18px; }
.site-footer h3 { color: #fff; font-family: var(--mono); font-weight: 500; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.site-footer .mono-label { color: rgba(255,255,255,.5); }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; font-family: var(--mono); letter-spacing: .04em; }

/* Mobile sticky bar */
.mobile-bar { display: none; }

/* Simple content pages (thank-you, privacy, 404) */
.page-hero { padding: 14px 12px 0; margin-top: -82px; }
.page-hero > .container {
  max-width: 1400px; border-radius: var(--radius-lg); padding: 150px 48px 72px;
  background:
    radial-gradient(ellipse 50% 70% at 85% 100%, rgba(243,204,85,.45), transparent 70%),
    linear-gradient(180deg, #fbf7ea, #ece9d8);
}
.page-hero h1 { max-width: 16ch; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 640px; }
.page-hero .eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); }
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; letter-spacing: -.02em; }
.prose ul { padding-left: 1.2em; }

/* Reveal on scroll (only when JS runs) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .tile[data-reveal].in:hover { transform: translateY(-4px); }

/* Responsive */
@media (max-width: 1180px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 78px; left: 12px; right: 12px; padding: 10px;
    background: var(--paper); border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(6,67,18,.12);
  }
  .nav.open a { padding: 14px 16px; }
  .nav-toggle { display: block; }
}
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { max-width: 14ch; }
  .hero-art { margin-top: -40px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-cta { grid-column: span 2; }
  .energy-panel { grid-template-columns: 1fr; padding: 40px; gap: 36px; }
  .why-grid, .area-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-intro { position: static; }
  .section-head.split { grid-template-columns: 1fr; gap: 14px; }
  .data-strip { grid-template-columns: repeat(2, 1fr); }
  .data-strip > div:nth-child(2) { border-right: 0; margin-right: 0; }
  .data-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .container { padding: 0 18px; }
  [id] { scroll-margin-top: 86px; }
  .site-header { top: 8px; margin-top: 8px; padding: 0 8px; }
  .header-inner { height: 60px; padding: 0 6px 0 16px; }
  .brand img { height: 32px; }
  .header-phone, .header-cta .btn { display: none; }
  .nav.open { top: 68px; left: 8px; right: 8px; }
  .hero { padding: 8px 8px 0; margin-top: -68px; }
  .hero-panel { padding-top: 104px; border-radius: 26px; }
  .hero-grid { padding: 0 18px; }
  .hero-lead { font-size: 1.02rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-art { margin-top: 0; }
  .quote-card { padding: 22px 18px; border-radius: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .data-strip > div { padding: 16px 12px 16px 0; margin-right: 12px; }
  .data-strip dd { font-size: .9rem; }
  .manifesto { padding: 72px 0 56px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 34px; }
  .bento, .grid-3 { grid-template-columns: 1fr; }
  .tile-feature, .tile-cta { grid-column: auto; }
  .tile { min-height: 0; padding: 26px; }
  .tile-feature { min-height: 340px; }
  .energy-panel { padding: 24px 18px; border-radius: 24px; }
  .toggle button { padding: 10px; gap: 8px; }
  .toggle button small { display: none; }
  .why-list h3 { font-size: 1.6rem; }
  .why-list li { grid-template-columns: 40px 1fr; }
  .work-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .work-grid .work-lg { grid-row: auto; min-height: 260px; }
  .faq summary { font-size: 1rem; }
  .final-cta { padding: 0 8px 8px; }
  .final-panel { padding: 80px 20px; border-radius: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero { padding: 8px 8px 0; margin-top: -68px; }
  .page-hero > .container { padding: 110px 20px 48px; border-radius: 26px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 60;
    padding: 7px; margin-bottom: env(safe-area-inset-bottom);
    background: rgba(255,253,248,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 30px rgba(6,67,18,.16);
  }
  .mobile-bar .btn { padding: 14px 10px; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .tile { transition: none; }
  .energy-demo .air path { animation: none; }
  .js .manifesto-text .w { color: var(--green-800); }
}

/* ============ Richer layer (v3) ============ */

/* Subtle film grain over everything (depth, Aerive-like) */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Hero: bigger type, clouds, callouts */
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
.clouds { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.cloud { position: absolute; width: 220px; opacity: .85; filter: drop-shadow(0 8px 18px rgba(6,67,18,.06)); animation: drift linear infinite; }
.cloud.c1 { top: 18%; left: -240px; animation-duration: 70s; }
.cloud.c2 { top: 34%; left: -240px; width: 150px; opacity: .65; animation-duration: 95s; animation-delay: -40s; }
.cloud.c3 { top: 10%; left: -240px; width: 120px; opacity: .55; animation-duration: 120s; animation-delay: -80s; }
@keyframes drift { to { transform: translateX(calc(1400px + 480px)); } }
.callouts { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.callouts li { position: absolute; transform: translate(-7px, -7px); display: flex; align-items: center; gap: 10px; pointer-events: auto; }
.callouts li.left { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -7px); }
.pin { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255,255,255,.85), 0 0 0 5px rgba(6,67,18,.25); position: relative; flex: none; }
.pin::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--gold); animation: ping 2.4s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 80%, 100% { transform: scale(1.4); opacity: 0; } }
.tag {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  background: rgba(255,253,248,.92); backdrop-filter: blur(8px); color: var(--green-800);
  padding: 7px 12px; border-radius: 999px; box-shadow: 0 8px 20px rgba(6,67,18,.14); border: 1px solid rgba(6,67,18,.08);
}
.tag b { color: var(--leaf); font-weight: 500; margin-right: 4px; }

/* Marquee */
.marquee { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -.03em; color: var(--green-800); white-space: nowrap; }
.marquee span:nth-of-type(even) { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--leaf); letter-spacing: 0; }
.marquee i { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Roof anatomy (dark technical) */
.anatomy {
  background-color: var(--green-950); color: rgba(255,255,255,.72);
  background-image:
    radial-gradient(ellipse 50% 60% at 25% 55%, rgba(66,157,22,.18), transparent 70%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}
.anatomy h2, .anatomy h3 { color: #fff; }
.anatomy h2 em { color: var(--gold); }
.anatomy .mono-label { color: rgba(255,255,255,.5); }
.anatomy .section-head.split > p { color: rgba(255,255,255,.65); }
.anatomy-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.anatomy-figure { margin: 0; }
.anatomy-figure svg { width: 100%; height: auto; overflow: visible; }
.anatomy-figure .layer { transition: opacity .45s, transform .45s; }
.anatomy-figure .lead { stroke: rgba(255,255,255,.35); stroke-width: 1.5; stroke-dasharray: 3 4; fill: none; }
.anatomy-figure text { font-family: var(--mono); font-size: 13px; fill: rgba(255,255,255,.55); }
.anatomy-figure.has-active .layer { opacity: .28; }
.anatomy-figure.has-active .layer.active { opacity: 1; }
.anatomy-figure .layer.active .lead { stroke: var(--gold); stroke-dasharray: none; }
.anatomy-figure .layer.active text { fill: var(--gold); }
.anatomy-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.anatomy-list li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); cursor: pointer; transition: background .3s, padding .3s; border-radius: 4px; }
.anatomy-list li .mono-label { margin: 3px 0 0; color: rgba(255,255,255,.45); }
.anatomy-list h3 { margin: 0 0 2px; font-size: 1.05rem; color: rgba(255,255,255,.75); transition: color .3s; }
.anatomy-list p { margin: 0; font-size: .92rem; color: rgba(255,255,255,.5); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s, opacity .45s, margin .45s; }
.anatomy-list li.active h3 { color: #fff; }
.anatomy-list li.active .mono-label { color: var(--gold); }
.anatomy-list li.active p { max-height: 6em; opacity: 1; margin-top: 4px; }
.anatomy-list li:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Process: sticky stacking cards (Gridora-like) */
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.process-intro { position: sticky; top: 130px; }
.process-intro .muted { font-size: 1.05rem; margin-bottom: 26px; }
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.stack-card {
  position: sticky; top: calc(120px + var(--i) * 22px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 36px;
  box-shadow: 0 -10px 40px rgba(6,67,18,.08); min-height: 270px; display: flex; flex-direction: column;
}
.stack-card:nth-child(2) { background: #f9f4e4; }
.stack-card:nth-child(3) { background: linear-gradient(150deg, var(--green-800), var(--green-900)); color: rgba(255,255,255,.78); border: 0; }
.stack-card:nth-child(4) { background: var(--gold); border: 0; }
.stack-card:nth-child(3) h3 { color: #fff; }
.stack-card:nth-child(3) .mono-label, .stack-card:nth-child(3) .stack-num { color: rgba(255,255,255,.55); }
.stack-card:nth-child(4) .mono-label, .stack-card:nth-child(4) p, .stack-card:nth-child(4) .stack-foot { color: var(--green-900); }
.stack-top { display: flex; justify-content: space-between; align-items: flex-start; }
.stack-top .mono-label { margin: 0; }
.stack-num { font-family: var(--serif); font-style: italic; font-size: 4.2rem; line-height: .8; color: rgba(6,67,18,.18); }
.stack-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.03em; margin: 22px 0 10px; }
.stack-card p { margin: 0 0 22px; max-width: 34em; }
.stack-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 18px; border-top: 1px solid rgba(6,67,18,.12); }
.stack-card:nth-child(3) .stack-foot { border-color: rgba(255,255,255,.15); }
.stack-foot svg { width: 18px; height: 18px; }

/* Signs */
.signs { padding-top: 40px; }
.signs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sign { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px 28px; }
.sign-art { width: 100%; height: 110px; color: var(--green-800); background: var(--cream-2); border-radius: 16px; padding: 12px 20px; margin-bottom: 20px; }
.sign h3 { margin-bottom: 6px; }
.sign p { margin: 0; color: var(--muted); font-size: .94rem; }
.signs-cta { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 26px; border-radius: var(--radius); background: var(--green-800); color: rgba(255,255,255,.85); }
.signs-cta p { margin: 0; }
.signs-cta strong { color: #fff; }

/* Storm band */
.storm { padding: 0 12px; }
.storm-panel {
  position: relative; overflow: hidden; max-width: 1400px; margin: 0 auto; border-radius: var(--radius-lg); padding: 100px 0 36px;
  background: radial-gradient(ellipse 60% 70% at 85% 0%, rgba(124,150,170,.35), transparent 70%), linear-gradient(170deg, #1c2a27 0%, #0b1a12 70%);
  color: rgba(255,255,255,.75);
}
.rain {
  position: absolute; inset: -40px 0 0; pointer-events: none; opacity: .35;
  background-image: repeating-linear-gradient(105deg, transparent 0 22px, rgba(200,220,235,.55) 22px 23px, transparent 23px 46px);
  background-size: 120px 120px; animation: rain .8s linear infinite;
}
@keyframes rain { to { background-position: -30px 120px; } }
.storm-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.storm h2 { color: #fff; }
.storm h2 em { color: var(--gold); }
.storm .mono-label { color: rgba(255,255,255,.5); }
.storm-lead { font-size: 1.08rem; margin-bottom: 28px; }
.claim-steps { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.claim-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 20px 22px; margin-bottom: 10px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.claim-steps .mono-label { margin: 4px 0 0; color: var(--gold); }
.claim-steps h3 { color: #fff; margin-bottom: 4px; font-size: 1.05rem; }
.claim-steps p { margin: 0; font-size: .93rem; color: rgba(255,255,255,.62); }
.storm-note { position: relative; margin-top: 36px; font-size: .78rem; color: rgba(255,255,255,.45); font-family: var(--mono); letter-spacing: .04em; }

@media (max-width: 1020px) {
  .anatomy-grid, .process-grid, .storm-grid { grid-template-columns: 1fr; gap: 36px; }
  .process-intro { position: static; }
  .signs-grid { grid-template-columns: repeat(2, 1fr); }
  .anatomy-figure { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .callouts { display: none; }
  .cloud.c1 { width: 140px; }
  .marquee { padding: 18px 0; }
  .signs-grid { grid-template-columns: 1fr; }
  .stack-card { top: calc(90px + var(--i) * 14px); padding: 26px 22px; min-height: 0; border-radius: 24px; }
  .stack-num { font-size: 3rem; }
  .storm { padding: 0 8px; }
  .storm-panel { padding: 64px 0 28px; border-radius: 26px; }
  .claim-steps li { grid-template-columns: 40px 1fr; padding: 16px; }
  .anatomy-list p { max-height: none; opacity: 1; margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .cloud, .marquee-track, .rain, .pin::after { animation: none; }
}

/* Hero with real project photo */
.hero-photo { margin-top: -220px; }
.hero-photo picture, .hero-photo img { display: block; width: 100%; height: auto; }
.hero-photo::before {
  /* blend the photo's sky into the cream panel */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 38%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, #f2eedc 0%, rgba(242,238,220,.75) 35%, rgba(242,238,220,0) 100%);
}
.hero-photo .callouts { z-index: 2; }
.photo-badge {
  position: absolute; left: 24px; bottom: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: rgba(6,20,10,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
}
.photo-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
@media (max-width: 1020px) { .hero-photo { margin-top: 24px; } .hero-photo::before { height: 30%; } }
@media (max-width: 720px) { .hero-photo { margin-top: 20px; } .photo-badge { left: 12px; bottom: 12px; } }

/* Real project photos in "Our work" */
.work-photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 300px; background: var(--green-950); }
.work-photo picture, .work-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-photo figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 18px; border-radius: 16px;
  background: rgba(6,20,10,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff;
}
.work-photo figcaption .mono-label { color: var(--gold); margin: 0 0 4px; }
.work-photo figcaption strong { display: block; font-size: 1rem; }
@media (max-width: 720px) { .work-photo { min-height: 240px; } }
