:root {
  --black: #000;
  --ink: #0a0a0a;
  --white: #fff;
  --paper: #f4f3ef;
  --muted: #8a8a8a;
  --line: rgba(255,255,255,.14);
  --line-dark: rgba(0,0,0,.12);
  --display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.2,.8,.2,1);
  /* Classic six-color palette, used only for small accents */
  --c-green: #61bb46; --c-yellow: #fdb827; --c-orange: #f5821f;
  --c-red: #e03a3e; --c-purple: #963d97; --c-blue: #009ddc;
  --rainbow: linear-gradient(90deg, var(--c-green) 0 16.66%, var(--c-yellow) 0 33.33%, var(--c-orange) 0 50%, var(--c-red) 0 66.66%, var(--c-purple) 0 83.33%, var(--c-blue) 0);
}
.accent-dot { color: var(--c-orange); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
p { margin: 0; }
img, svg { display: block; }
::selection { background: var(--white); color: var(--black); }
.light ::selection { background: var(--black); color: var(--white); }

.ast { color: currentColor; overflow: visible; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--black);
  display: grid; place-items: center;
}
.loader-ast { width: 84px; height: 84px; color: var(--white); animation: spin 1.6s linear infinite; }
.loader-count {
  position: absolute; bottom: var(--pad); right: var(--pad);
  font-family: var(--display); font-size: clamp(48px, 10vw, 140px); font-weight: 700; letter-spacing: -.05em; line-height: 1;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; --c: #fff; --ci: #000; }
.cursor.on-light { --c: #000; --ci: #fff; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--c); transition: background .3s; }
.cursor-ring {
  width: 92px; height: 92px; margin: -46px 0 0 -46px; display: grid; place-items: center;
}
.cursor-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c);
  transform: scale(.41); transition: transform .4s var(--ease), background .3s, border-color .3s;
}
.cursor-label { position: relative; font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--ci); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-hover .cursor-ring::before { transform: scale(.7); }
.cursor.is-label .cursor-ring::before { transform: scale(1); background: var(--c); }
.cursor.is-label .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor summary { cursor: none; } }

.grain {
  position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  transform: translateZ(0);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 28px; border-radius: 999px; overflow: hidden;
  font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  border: 1px solid currentColor; background: none; color: inherit; cursor: pointer; isolation: isolate;
  transition: color .45s var(--ease);
}
.btn span { position: relative; z-index: 1; display: inline-block; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn-light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-light::before { background: var(--black); }
.btn-light:hover { color: var(--white); }
.btn-ghost::before { background: currentColor; }
.btn:hover::before { transform: translateY(0); }
.btn-ghost:hover span { color: var(--black); }
.light .btn-ghost:hover span { color: var(--white); }
.light .btn-light { background: var(--black); color: var(--white); border-color: var(--black); }
.light .btn-light::before { background: var(--white); }
.light .btn-light:hover { color: var(--black); }
.btn-xl { height: 68px; font-size: 18px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--pad); color: #fff; transition: color .35s; will-change: transform;
}
.nav .btn { height: 44px; padding: 0 20px; font-size: 14px; transition: color .45s, background .35s, border-color .35s; }
.nav.on-light { color: #000; }
.nav.on-light .btn-light { background: #000; color: #fff; border-color: #000; }
.nav.on-light .btn-light::before { background: #fff; }
.nav.on-light .btn-light:hover { color: #000; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.brand-ast { width: 26px; height: 26px; transition: transform .8s var(--ease); }
.brand:hover .brand-ast { transform: rotate(180deg); }
.nav-links { display: flex; gap: 34px; font-size: 15px; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- Common ---------- */
section { position: relative; }
.light { background: var(--paper); color: var(--black); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, currentColor); }
.section-head { text-align: center; max-width: 900px; margin: 0 auto clamp(48px, 7vw, 96px); display: grid; gap: 22px; justify-items: center; }
.section-head.left { text-align: left; justify-items: start; margin: 0; }
.section-head h2 { font-size: clamp(40px, 6.4vw, 96px); }
.section-sub { color: var(--muted); max-width: 520px; font-size: 18px; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.word { display: inline-block; }
/* Fill with the background color and paint the stroke underneath, so overlapping glyph contours (the line inside "e") stay hidden */
.outline { color: var(--black); -webkit-text-stroke: 4px var(--white); paint-order: stroke fill; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px var(--pad) clamp(40px, 7vh, 80px); overflow: hidden; }
.hero-inner { position: relative; width: 100%; }
.hero-title { position: relative; z-index: 2; mix-blend-mode: difference;font-size: clamp(52px, 10.4vw, 190px); line-height: .92; letter-spacing: -.055em; margin: 26px 0 clamp(32px, 5vh, 56px); font-weight: 700; }
.hero-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hero-sub { max-width: 440px; font-size: clamp(17px, 1.4vw, 20px); color: #bdbdbd; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ast-wrap { position: absolute; top: 50%; right: 8vw; z-index: 1; transform: translateY(-62%); pointer-events: none; }
.hero-ast { width: clamp(180px, 28vw, 460px); height: auto; aspect-ratio: 1; color: var(--paper); will-change: transform; }
.hero-cover { position: absolute; inset: 0; z-index: 3; background: var(--paper); opacity: 0; pointer-events: none; will-change: opacity; }
.ast-a { font-family: var(--body); font-weight: 500; font-size: 18px; fill: #000; text-anchor: middle; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); z-index: 2; }
.scroll-hint i { width: 1px; height: 36px; background: linear-gradient(var(--muted), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0%{transform:scaleY(0)} 50%{transform:scaleY(1)} 100%{transform:scaleY(1); opacity:0} }
@media (max-width: 860px) {
  .hero-ast-wrap { top: 110px; right: -40px; transform: none; opacity: .9; }
  .hero-ast { width: 210px; }
  .scroll-hint { display: none; }
}

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(120px, 20vh, 220px) var(--pad); }
.manifesto-text { max-width: 1200px; margin: 0 auto; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4.6vw, 72px); line-height: 1.08; letter-spacing: -.035em; }
.manifesto-text .w { opacity: .14; transition: opacity .1s; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 26px 0; }
.marquee-track { display: flex; align-items: center; gap: 44px; width: max-content; font-family: var(--display); font-size: clamp(40px, 6vw, 92px); font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.marquee-track .ast { width: .6em; height: .6em; }
.marquee-track .ast:nth-of-type(6n+1) { color: var(--c-green); }
.marquee-track .ast:nth-of-type(6n+2) { color: var(--c-yellow); }
.marquee-track .ast:nth-of-type(6n+3) { color: var(--c-orange); }
.marquee-track .ast:nth-of-type(6n+4) { color: var(--c-red); }
.marquee-track .ast:nth-of-type(6n+5) { color: var(--c-purple); }
.marquee-track .ast:nth-of-type(6n+6) { color: var(--c-blue); }

/* ---------- Numbers ---------- */
.numbers { padding: clamp(80px, 12vw, 160px) var(--pad); }
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.num { padding: 36px 24px 0 0; border-right: 1px solid var(--line); padding-left: 24px; }
.num:first-child { padding-left: 0; }
.num:last-child { border-right: 0; }
.num-val { font-family: var(--display); font-size: clamp(56px, 7vw, 120px); font-weight: 700; letter-spacing: -.06em; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.num-val small { font-size: .38em; letter-spacing: -.02em; color: var(--muted); }
.num:nth-child(1) small { color: var(--c-green); }
.num:nth-child(2) small { color: var(--c-yellow); }
.num:nth-child(3) small { color: var(--c-orange); }
.num:nth-child(4) small { color: var(--c-blue); }
.num p { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 200px; }
@media (max-width: 860px) {
  .num-grid { grid-template-columns: 1fr 1fr; }
  .num { padding: 28px 16px 28px 0; border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
}

/* ---------- Process ---------- */
.process { overflow: hidden; }
.process-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 100px 0 60px; }
.process-head { padding: 0 var(--pad); margin-bottom: 56px; display: grid; gap: 22px; }
.process-head h2 { font-size: clamp(44px, 6.4vw, 104px); }
.process-track { display: flex; gap: 24px; padding: 0 var(--pad); width: max-content; }
.step {
  position: relative; width: min(440px, 82vw); min-height: 440px; padding: 34px; border-radius: 28px;
  border: 1px solid var(--line); background: linear-gradient(160deg, #121212, #050505);
  display: flex; flex-direction: column; gap: 16px; overflow: hidden;
}
.step-num { font-family: var(--display); font-size: 15px; color: var(--muted); font-weight: 600; }
.step:nth-child(1) .step-num { color: var(--c-green); }
.step:nth-child(2) .step-num { color: var(--c-yellow); }
.step:nth-child(3) .step-num { color: var(--c-orange); }
.step:nth-child(4) .step-num { color: var(--c-red); }
.step h3 { font-size: 34px; letter-spacing: -.035em; }
.step p { color: #a8a8a8; max-width: 340px; }
.step-visual { margin-top: auto; height: 150px; position: relative; }
.v1 i { position: absolute; left: 0; height: 14px; border-radius: 8px; background: #2a2a2a; }
.v1 i:nth-child(1) { top: 20px; width: 70%; background: #fff; }
.v1 i:nth-child(2) { top: 50px; width: 52%; }
.v1 i:nth-child(3) { top: 80px; width: 38%; }
.v1 i:nth-child(1) { width: 78%; transform-origin: left; animation: grow 2.6s var(--ease) infinite alternate; }
@keyframes grow { from { transform: scaleX(.26); } to { transform: scaleX(1); } }
.v2 i { position: absolute; left: 50%; top: 0; width: 82px; height: 150px; margin-left: -41px; border-radius: 18px; border: 2px solid #fff; }
.v2 i::before { content: ""; position: absolute; inset: 14px 10px auto; height: 40px; border-radius: 6px; background: #2a2a2a; animation: scrollphone 3s var(--ease) infinite; }
@keyframes scrollphone { 0%,100%{ transform: translateY(0);} 50% { transform: translateY(70px);} }
.v3 i { position: absolute; top: 50%; width: 70px; height: 70px; margin-top: -35px; border-radius: 50%; border: 2px solid #fff; }
.v3 i:nth-child(1) { left: 20%; }
.v3 i:nth-child(2) { left: 20%; background: #fff; animation: slide 2.4s var(--ease) infinite alternate; }
@keyframes slide { to { transform: translateX(160px); } }
.process:not(.in-view) .step-visual *, .process:not(.in-view) .step-visual i::before { animation-play-state: paused; }
.v4 { display: grid; place-items: center; }
.v4 .ast { width: 120px; height: 120px; color: #fff; animation: ring 1.4s var(--ease) infinite; }
@keyframes ring { 0%,100%{ transform: rotate(0);} 10%{ transform: rotate(-14deg);} 20%{ transform: rotate(12deg);} 30%{ transform: rotate(-8deg);} 40%{ transform: rotate(0);} }
@media (max-width: 860px) {
  .process-track { flex-direction: column; width: auto; }
  .step { width: 100%; min-height: 360px; }
}

/* ---------- Work ---------- */
.work { padding: clamp(100px, 14vw, 180px) var(--pad); }
.work { overflow: hidden; }
.work .section-head { margin-bottom: clamp(24px, 4vw, 48px); }
.cyl-stage {
  position: relative; height: clamp(460px, 64vh, 640px);
  perspective: 1400px; perspective-origin: 50% 35%;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
}
.cyl-stage.dragging { cursor: grabbing; }
.cyl {
  --cw: 330px;
  position: absolute; left: 50%; top: 50%; width: var(--cw); margin-left: calc(var(--cw) / -2);
  transform-style: preserve-3d; will-change: transform;
}
.cyl .mock { position: absolute; left: 0; top: 0; width: 100%; transform: translateY(-50%); }
.mock { display: block; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line-dark); backface-visibility: visible; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.cyl-hint { text-align: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: -10px; }
@media (max-width: 700px) { .cyl { --cw: 220px; } .cyl-stage { height: 470px; perspective: 1100px; } .cyl-hint { margin-top: 12px; } }
/* ===== Concept cards (v2): distinct layouts + "build" stages ===== */
.mock { container-type: inline-size; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 3.4cqw 4cqw; border-bottom: 1px solid var(--line-dark); background: #fff; }
.mock-bar i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #ddd; flex: none; }
.mock-bar span { margin-left: 2.4cqw; font-size: 3.4cqw; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body {
  position: relative; aspect-ratio: 4/3.35; overflow: hidden; padding: 4.5cqw;
  display: flex; flex-direction: column; gap: 2.6cqw;
  font-family: var(--body); font-size: 3.1cqw; line-height: 1.25; transition: background-color .6s;
}
.mock-body h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.045em; line-height: .96; margin: 0; font-size: 7.6cqw; }
.mock-body p { margin: 0; }
.mock-body small { font-size: .85em; }
.mock-body > * { position: relative; z-index: 1; transition: opacity .45s, transform .7s var(--ease); }
.mock-body::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,122,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(0,122,255,.13) 1px, transparent 1px);
  background-size: 6cqw 6cqw; transition: opacity .6s;
}
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 1.4cqw; border-radius: 99px; padding: 1.8cqw 3.4cqw; font-weight: 600; font-size: 2.9cqw; white-space: nowrap; }
.k, .sf, .im { transition: color .45s, background-color .6s, box-shadow .6s, border-color .6s, outline-color .4s; }
.fx { transition: opacity .55s, transform .7s var(--ease); }
.stars { color: #f5b301; font-size: 3cqw; letter-spacing: .05em; }
.stars small { color: inherit; opacity: .75; margin-left: 1.2cqw; letter-spacing: 0; }

/* ---- Build stages: 0 blank grid → 1 wireframe → 2 color → 3 type → 4 details ---- */
.mock:not(.st-1) .mock-body > * { opacity: 0; transform: translateY(3cqw); }
.mock:not(.st-1) .mock-body > :nth-child(2) { transition-delay: .05s; }
.mock.st-1 .mock-body > :nth-child(2) { transition-delay: .08s; }
.mock.st-1 .mock-body > :nth-child(3) { transition-delay: .16s; }
.mock.st-1 .mock-body > :nth-child(4) { transition-delay: .24s; }
.mock.st-1 .mock-body > :nth-child(5) { transition-delay: .32s; }
.mock.st-2 .mock-body::before { opacity: 0; }
.mock:not(.st-2) .mock-body { background: #fff !important; color: #222 !important; }
.mock:not(.st-2) .sf { background: #fff !important; outline: 1px dashed #c6c6c6; outline-offset: -1px; box-shadow: none !important; border-color: transparent !important; }
.mock:not(.st-2) .im {
  background: #f5f5f5 linear-gradient(to top right, transparent calc(50% - .6px), #cfcfcf calc(50% - .6px), #cfcfcf calc(50% + .6px), transparent calc(50% + .6px)) !important;
  outline: 1px dashed #c6c6c6; outline-offset: -1px; box-shadow: none !important; border-color: transparent !important;
}
.mock:not(.st-2) .im > * { opacity: 0; }
.im > * { transition: opacity .6s .1s; }
.mock:not(.st-3) .k { color: transparent !important; background-color: #e2e2e2 !important; border-radius: .8cqw; -webkit-text-stroke: 0 !important; text-shadow: none !important; }
.mock.st-2:not(.st-3) .k { background-color: rgba(140,140,140,.3) !important; }
.mock:not(.st-4) .fx { opacity: 0 !important; transform: translateY(2cqw) scale(.94); }

/* Build meta strip */
.mock-meta { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 3.6cqw 4.6cqw; font-size: 3.6cqw; font-weight: 600; color: #000; background: #fff; }
.mock-meta::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: var(--p, 0%); background: var(--rainbow); transition: width .45s var(--ease); }
.stage-label { color: var(--muted); font-weight: 500; display: inline-flex; align-items: center; gap: 1.6cqw; }
.stage-label::before { content: ""; width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: var(--c-orange); animation: pulse 1s ease-in-out infinite; }
.mock.st-4 .stage-label::before { background: var(--c-green); animation: none; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- 1. Roofing: split hero + floating quote card ---------- */
.d-roof { background: #17130f; color: #fff; }
.d-roof .r-nav { display: flex; justify-content: space-between; align-items: center; font-size: 2.8cqw; letter-spacing: .08em; }
.d-roof .r-nav b { font-family: var(--display); font-size: 3.6cqw; letter-spacing: .02em; }
.d-roof .r-main { flex: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 3cqw; align-items: center; }
.d-roof .r-copy { display: grid; gap: 2.4cqw; align-content: center; }
.d-roof .r-tag { justify-self: start; font-size: 2.5cqw; padding: 1cqw 2.4cqw; border-radius: 99px; background: rgba(245,130,31,.18); color: #f9a35a; }
.d-roof h4 { font-size: 7cqw; }
.d-roof p { color: #bfb5aa; }
.d-roof .btn-a { background: #f5821f; color: #1b0f05; justify-self: start; }
.d-roof .r-visual { position: relative; height: 100%; min-height: 34cqw; border-radius: 3cqw; background: linear-gradient(180deg, #3a2a1c, #1f1610); overflow: hidden; }
.house { position: absolute; left: 50%; top: 12%; width: 66%; transform: translateX(-50%); height: 52%; }
.house .roof { position: absolute; left: -8%; right: -8%; top: 0; height: 45%; background: #f5821f; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.house .wall { position: absolute; left: 6%; right: 6%; top: 44%; bottom: 0; background: #efe6da; }
.house .door { position: absolute; left: 42%; width: 16%; bottom: 0; height: 30%; background: #5a3a22; border-radius: 1cqw 1cqw 0 0; }
.d-roof .r-form { position: absolute; right: 2.5cqw; bottom: 3cqw; width: 28cqw; padding: 2.6cqw; border-radius: 2.4cqw; background: #fff; color: #111; display: grid; gap: 1.4cqw; box-shadow: 0 3cqw 6cqw -2cqw rgba(0,0,0,.6); font-size: 2.6cqw; font-weight: 600; }
.d-roof .r-form i { display: block; height: 3.4cqw; border-radius: 1cqw; background: #f0ece7; }
.d-roof .r-form i:last-child { background: #f5821f; }

/* ---------- 2. HVAC: centered thermostat dial ---------- */
.d-hvac { background: #edf4fa; color: #0b2236; align-items: center; text-align: center; }
.d-hvac .h-nav { align-self: stretch; display: flex; justify-content: space-between; align-items: center; font-size: 3cqw; font-weight: 700; }
.d-hvac .h-nav .pill { background: #0b2236; color: #fff; }
.d-hvac .dial { position: relative; width: 34cqw; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 210deg, #009ddc, #61bb46 35%, #fdb827 55%, #f5821f 75%, #e6eef5 75%); display: grid; place-items: center; margin-top: 1cqw; }
.d-hvac .dial-in { width: 80%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-content: center; box-shadow: inset 0 0 0 1px #e2eaf2; }
.d-hvac .dial-in b { font-family: var(--display); font-size: 9cqw; letter-spacing: -.05em; line-height: 1; }
.d-hvac .dial-in small { font-size: 2.4cqw; color: #4b6b84; }
.d-hvac .h-badge { position: absolute; left: 4.5cqw; top: 13cqw; background: #fff; color: #0b2236; padding: 1.4cqw 2.4cqw; border-radius: 99px; font-size: 2.4cqw; font-weight: 600; box-shadow: 0 1.6cqw 4cqw -1cqw rgba(11,34,54,.25); }
.d-hvac h4 { font-size: 6.6cqw; }
.d-hvac .chips { display: flex; gap: 1.6cqw; }
.d-hvac .chips .pill { background: #fff; color: #0b2236; box-shadow: 0 0 0 1px #d6e2ec; }

/* ---------- 3. Plumbing: emergency bar + call block + service grid ---------- */
.d-plumb { background: #fff; color: #0f2a1d; padding-top: 0; }
.d-plumb .p-alert { margin: 0 -4.5cqw; padding: 2cqw 4.5cqw; background: #1f8a5b; color: #fff; font-size: 2.6cqw; font-weight: 600; display: flex; justify-content: space-between; }
.d-plumb .p-main { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3cqw; align-items: center; flex: 1; }
.d-plumb h4 { font-size: 8cqw; }
.d-plumb p { color: #4d6a5b; margin-top: 1.6cqw; }
.d-plumb .p-call { aspect-ratio: 1; border-radius: 4cqw; background: #61bb46; color: #fff; display: grid; place-content: center; justify-items: center; gap: 1.4cqw; font-weight: 700; font-size: 3cqw; box-shadow: 0 2cqw 5cqw -1cqw rgba(97,187,70,.55); }
.d-plumb .p-call svg { width: 9cqw; height: 9cqw; fill: none; stroke: #fff; stroke-width: 1.8; }
.d-plumb .p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6cqw; }
.d-plumb .p-grid div { background: #eef7f1; border-radius: 2cqw; padding: 2.2cqw 1.6cqw; display: grid; gap: 1.2cqw; font-size: 2.4cqw; font-weight: 600; }
.d-plumb .p-grid i { width: 3cqw; height: 3cqw; border-radius: 50%; background: #61bb46; }

/* ---------- 4. Electrical: dark tech + bolt + stats ---------- */
.d-elec { background: #0b0e13; color: #fff; }
.d-elec .e-nav { display: flex; justify-content: space-between; font-size: 2.8cqw; font-weight: 700; letter-spacing: .06em; }
.d-elec .e-nav span:last-child { color: #fdb827; }
.d-elec .e-main { flex: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3cqw; align-items: center; }
.d-elec .e-copy { display: grid; gap: 2.6cqw; }
.d-elec h4 { font-size: 8.4cqw; }
.d-elec .btn-y { justify-self: start; background: #fdb827; color: #17120a; }
.d-elec .bolt { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(253,184,39,.35), rgba(253,184,39,0) 68%), #121821; display: grid; place-items: center; border: 1px solid #222b36; }
.d-elec .bolt svg { width: 52%; height: 52%; fill: #fdb827; filter: drop-shadow(0 0 3cqw rgba(253,184,39,.7)); }
.d-elec .e-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #222b36; padding-top: 2.4cqw; }
.d-elec .e-stats div { display: grid; gap: .6cqw; padding-left: 2cqw; border-left: 1px solid #222b36; }
.d-elec .e-stats div:first-child { padding-left: 0; border-left: 0; }
.d-elec .e-stats b { font-family: var(--display); font-size: 4.6cqw; letter-spacing: -.03em; }
.d-elec .e-stats small { color: #8592a3; font-size: 2.4cqw; }

/* ---------- 5. Garage doors: before / after slider ---------- */
.d-garage { background: #fff; color: #1a1a1a; text-align: center; }
.d-garage h4 { font-size: 6.6cqw; }
.d-garage .ba { position: relative; flex: 1; border-radius: 3cqw; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; background: #ddd; }
.d-garage .ba > div { position: relative; display: grid; place-items: end center; padding-bottom: 0; }
.d-garage .before { background: #cfc9c0; }
.d-garage .after { background: #2b2f36; }
.d-garage .door { width: 78%; height: 70%; display: grid; grid-template-rows: repeat(4, 1fr); gap: 3%; padding: 3%; }
.d-garage .before .door { background: #b3aca2; transform: rotate(-1.2deg); }
.d-garage .before .door i { background: #a39b90; }
.d-garage .after .door { background: #e03a3e; }
.d-garage .after .door i { background: #c92f33; border-radius: .6cqw; }
.d-garage .lbl { position: absolute; top: 2.4cqw; font-size: 2.2cqw; font-weight: 700; letter-spacing: .1em; padding: .8cqw 2cqw; border-radius: 99px; background: rgba(0,0,0,.55); color: #fff; }
.d-garage .before .lbl { left: 2.4cqw; } .d-garage .after .lbl { right: 2.4cqw; }
.d-garage .handle { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: #fff; transform: translateX(-50%); }
.d-garage .handle::after { content: "‹ ›"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 7.5cqw; height: 7.5cqw; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-size: 3cqw; font-weight: 700; box-shadow: 0 1cqw 3cqw rgba(0,0,0,.3); }
.mock.st-4 .d-garage .handle { animation: sway 3s ease-in-out infinite; }
@keyframes sway { 0%,100% { transform: translateX(-50%); } 50% { transform: translateX(calc(-50% + 4cqw)); } }
.d-garage .g-cta { border-radius: 2.4cqw; background: #e03a3e; color: #fff; padding: 2.6cqw; font-weight: 700; font-size: 3cqw; display: flex; justify-content: center; gap: 2cqw; }

/* ---------- 6. Pest control: pricing plans ---------- */
.d-pest { background: #f6f0f7; color: #2a1030; text-align: center; }
.d-pest .s-nav { display: flex; justify-content: space-between; font-size: 2.8cqw; font-weight: 700; text-align: left; }
.d-pest h4 { font-size: 6.4cqw; margin-top: 1cqw; }
.d-pest .plans { flex: 1; margin-top: 3cqw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; align-items: stretch; }
.d-pest .plan { position: relative; border-radius: 3cqw; background: #fff; padding: 3cqw 2cqw; display: grid; gap: 1.2cqw; align-content: start; text-align: left; box-shadow: 0 0 0 1px #ead9ec; }
.d-pest .plan b { font-family: var(--display); font-size: 6cqw; letter-spacing: -.04em; }
.d-pest .plan b small { font-size: 2.4cqw; font-weight: 500; letter-spacing: 0; opacity: .7; }
.d-pest .plan i { display: block; height: 1.4cqw; border-radius: 1cqw; background: #f1e6f2; }
.d-pest .plan.hot { background: #963d97; color: #fff; box-shadow: 0 2cqw 5cqw -1cqw rgba(150,61,151,.55); transform: translateY(-2cqw); }
.d-pest .plan.hot i { background: rgba(255,255,255,.25); }
.d-pest .tag { position: absolute; top: -2.4cqw; left: 50%; transform: translateX(-50%); background: #fdb827; color: #2a1030; font-size: 2.1cqw; font-weight: 700; padding: .8cqw 2cqw; border-radius: 99px; white-space: nowrap; }

/* ---------- 7. Tree service: editorial serif + masonry ---------- */
.d-tree { background: #f2eee4; color: #1d2a1e; }
.d-tree .t-nav { display: flex; justify-content: space-between; font-size: 2.4cqw; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid #d8d0bf; padding-bottom: 2cqw; }
.d-tree h4 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; letter-spacing: -.03em; font-size: 8.4cqw; line-height: 1; }
.d-tree .gal { flex: 1; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.8cqw; align-items: end; }
.d-tree .tile { position: relative; border-radius: 2cqw; overflow: hidden; background: #c9d6c1; height: 100%; }
.d-tree .tile:nth-child(2) { height: 75%; background: #b7c9ad; }
.d-tree .tile:nth-child(3) { height: 88%; background: #d5dccb; }
.tree { position: absolute; left: 50%; bottom: 0; width: 60%; height: 85%; transform: translateX(-50%); }
.tree::before { content: ""; position: absolute; left: 44%; width: 12%; bottom: 0; height: 40%; background: #5b3f28; }
.tree::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 70%; border-radius: 50%; background: #2f6b3a; }
.d-tree .seal { position: absolute; right: 3cqw; top: 29cqw; width: 14cqw; aspect-ratio: 1; border-radius: 50%; border: 1px solid #1d2a1e; display: grid; place-items: center; font-size: 1.9cqw; text-align: center; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-12deg); background: #f2eee4; }

/* ---------- 8. Painting: big type + swatches + sample wall ---------- */
.d-paint { background: #fff; color: #111; }
.d-paint .pa-nav { display: flex; justify-content: space-between; font-size: 2.8cqw; font-weight: 700; }
.d-paint .pa-main { flex: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 3cqw; align-items: center; }
.d-paint h4 { font-size: 8.6cqw; }
.d-paint .stroke { display: block; width: 70%; height: 2cqw; margin-top: 1.4cqw; border-radius: 2cqw; background: var(--c-orange); transform: rotate(-2deg); }
.d-paint .wall { height: 100%; min-height: 30cqw; border-radius: 2.4cqw; background: linear-gradient(90deg, #009ddc 0 55%, #f4f1ea 55%); position: relative; overflow: hidden; }
.d-paint .wall::after { content: ""; position: absolute; top: 0; bottom: 0; left: 53%; width: 4%; background: repeating-linear-gradient(0deg, #e8d36b 0 6px, #ddc75c 6px 12px); }
.d-paint .sw { display: flex; gap: 1.4cqw; align-items: center; }
.d-paint .sw i { width: 6cqw; height: 6cqw; border-radius: 1.4cqw; }
.d-paint .sw i:nth-child(1) { background: #61bb46; } .d-paint .sw i:nth-child(2) { background: #fdb827; }
.d-paint .sw i:nth-child(3) { background: #f5821f; } .d-paint .sw i:nth-child(4) { background: #e03a3e; }
.d-paint .sw i:nth-child(5) { background: #963d97; } .d-paint .sw i:nth-child(6) { background: #009ddc; }
.d-paint .sw .pill { margin-left: auto; background: #111; color: #fff; }

/* ---------- Features ---------- */
.features { padding: 0 var(--pad) clamp(100px, 14vw, 180px); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 26px; overflow: hidden; }
.feat { position: relative; background: var(--paper); padding: 40px 34px; display: grid; gap: 12px; align-content: start; min-height: 260px; overflow: hidden; }
.feat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx, -100px) var(--my, -100px), rgba(0,0,0,.08), transparent 60%); opacity: 0; transition: opacity .3s; }
.feat:hover::before { opacity: 1; }
.feat > * { position: relative; }
.feat svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; transition: transform .6s var(--ease); }
.feat:hover svg { transform: translateY(-4px) rotate(-8deg); }
.feat h3 { font-size: 24px; letter-spacing: -.03em; }
.feat p { color: #6a6a6a; font-size: 16px; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .feat-grid { grid-template-columns: 1fr; } .feat { min-height: 0; } }

/* ---------- Pricing ---------- */
.pricing { padding: clamp(100px, 14vw, 180px) var(--pad); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; align-items: stretch; perspective: 1200px; }
.price { position: relative; padding: 40px 34px; border-radius: 26px; border: 1px solid var(--line); background: #070707; display: flex; flex-direction: column; gap: 18px; transform-style: preserve-3d; will-change: transform; }
.price h3 { font-size: 22px; letter-spacing: -.02em; }
.price-val { font-family: var(--display); font-size: clamp(60px, 6vw, 88px); font-weight: 700; letter-spacing: -.06em; line-height: 1; display: flex; align-items: flex-start; gap: 4px; }
.price-val small { font-size: .4em; margin-top: .25em; }
.price-desc { color: #a0a0a0; }
.price ul { list-style: none; padding: 18px 0 0; margin: 0 0 12px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.price li { display: flex; gap: 12px; align-items: center; font-size: 16px; }
.price li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat, linear-gradient(#000,#000); -webkit-mask-composite: xor; mask-composite: exclude; }
.price .btn { margin-top: auto; width: 100%; }
.price.featured { background: var(--white); color: var(--black); border-color: var(--white); overflow: hidden; }
.price.featured::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--rainbow); }
.price.featured .price-desc { color: #555; }
.price.featured ul { border-top-color: var(--line-dark); }
.price.featured li::before { background: #000; }
.price.featured .btn-light { background: var(--black); color: var(--white); border-color: var(--black); }
.price.featured .btn-light::before { background: #333; }
.badge { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #000; color: #fff; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; max-width: 480px; } }

/* ---------- FAQ ---------- */
.faq { padding: clamp(100px, 14vw, 180px) var(--pad); }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 120px); max-width: 1300px; margin: 0 auto; align-items: start; }
.faq-list { border-top: 1px solid var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; font-family: var(--display); font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.02em; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; transition: transform .5s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%,-50%); transition: transform .5s var(--ease); }
.faq summary i::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(180deg); background: #000; color: #fff; }
.faq details[open] summary i::after { transform: translate(-50%,-50%) rotate(0); }
.faq details > div { overflow: hidden; }
.faq details p { padding: 0 60px 28px 0; color: #5a5a5a; font-size: 17px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq details p { padding-right: 0; } }

/* ---------- Contact ---------- */
.contact { padding: clamp(110px, 15vw, 200px) var(--pad); display: grid; gap: clamp(48px, 6vw, 80px); }
.contact-title { font-size: clamp(60px, 12vw, 220px); line-height: .9; letter-spacing: -.06em; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; max-width: 1100px; width: 100%; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field select {
  width: 100%; height: 66px; padding: 22px 0 6px; background: transparent; border: 0; border-bottom: 1px solid #3a3a3a;
  color: #fff; font: 500 19px var(--body); outline: none; border-radius: 0; -webkit-appearance: none; appearance: none;
  transition: border-color .3s;
}
.field select { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center/12px no-repeat; }
.field select option { background: #111; color: #fff; }
.field input:focus, .field select:focus { border-bottom-color: #fff; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rainbow); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); pointer-events: none; }
.field:focus-within::after { transform: scaleX(1); }
.field label { position: absolute; left: 0; top: 24px; color: #7c7c7c; font-size: 18px; pointer-events: none; transform-origin: left; transition: transform .35s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field label.static { transform: translateY(-20px) scale(.72); color: #bbb; }
.form .btn { margin-top: 18px; }
.form-note { color: var(--muted); font-size: 15px; }
.form-note a { color: #fff; border-bottom: 1px solid #555; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { padding: 0 var(--pad) 32px; overflow: hidden; }
.footer-big { display: flex; align-items: center; gap: .08em; font-family: var(--display); font-weight: 800; font-size: clamp(90px, 23vw, 400px); letter-spacing: -.07em; line-height: .8; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer-big .ast { width: .5em; height: .5em; flex: none; margin-top: -.3em; }
.footer-big .ast line { stroke-width: 34; stroke-linecap: round; }
.footer-rainbow { height: 3px; background: var(--rainbow); margin-top: -1px; opacity: .9; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 24px; font-size: 15px; color: var(--muted); }
.footer-row a:hover { color: #fff; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .manifesto-text .w { opacity: 1; }
}
