:root {
  --walnut: #1b2025;
  --gunmetal: #2b3239;
  --glass: rgba(43, 50, 57, .55);
  --glass-line: rgba(220, 228, 235, .14);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-sharp: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: .18s;
  --dur: .35s;
  --dur-slow: .6s;
  --bark: #3b444c;
  --cork: #47515a;
  --driftwood: #78838c;
  --cream: #ffedd7;
  --cream-2: #d9c6b0;
  --ember: #dc5000;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gut: 16px;
  --radius-card: 12px;
  --radius-pill: 36px;
  --radius-ghost: 22.5px;
  color-scheme: dark;
}
@media (min-width: 760px) { :root { --gut: 41px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 112px; }
body {
  margin: 0;
  background: radial-gradient(1200px 700px at 78% -10%, rgba(160, 174, 186, .16), transparent 60%), linear-gradient(180deg, var(--gunmetal) 0%, var(--walnut) 55%, #15191d 100%) fixed;
  background-color: var(--walnut);
  color: var(--cream);
  font-family: var(--font);
  font-feature-settings: "ss01" on;
  font-size: 19px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .label, .btn, .nav a, label, summary {
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0;
}
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--bark); padding: 10px 18px; border-radius: var(--radius-pill); }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 12px var(--gut);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--glass-line);
}
.head .brand { flex: none; display: block; }
.head .brand img { width: 92px; mix-blend-mode: lighten; }
@media (min-width: 900px) { .head .brand img { width: 132px; } }
.nav { display: none; gap: 24px; margin-left: auto; }
.nav a { font-size: 13px; text-decoration: none; padding: 6px 0; border-bottom: 1px dashed transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--cream); }
.head .call { margin-left: auto; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .head .call { margin-left: 24px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px; line-height: 1; text-decoration: none;
  border: 1px solid var(--bark);
  background: var(--bark); color: var(--cream);
  cursor: pointer; font-family: inherit;
  transition: transform var(--dur-fast) var(--ease-sharp), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover { background: #4a545d; border-color: var(--cream); transform: scale(1.02); }
.btn:active { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn.ghost { background: transparent; border-color: var(--cream); border-radius: var(--radius-ghost); }
.btn.ghost:hover { background: rgba(255, 237, 215, .08); }
.head .btn { min-height: 44px; padding: 12px 18px; font-size: 13px; white-space: nowrap; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- type ---------- */
.label { font-size: 13px; line-height: 1.2; color: var(--cream-2); margin: 0 0 18px; display: block; }
.label.ember { color: var(--ember); }
.display { font-size: clamp(40px, 9vw, 96px); line-height: .92; }
.heading { font-size: clamp(30px, 5.4vw, 51px); line-height: .94; }
h3 { font-size: 18px; line-height: 1.1; margin-bottom: 10px; }
.voice { font-size: clamp(19px, 2.3vw, 29px); line-height: 1.32; font-weight: 400; max-width: 30ch; }
.muted { color: var(--cream-2); }
.small { font-size: 16px; color: var(--cream-2); }
.claim {
  font-size: clamp(19px, 2vw, 24px); line-height: 1.35;
  border-top: 1px dashed var(--driftwood); border-bottom: 1px dashed var(--driftwood);
  padding: 18px 0; margin: 24px 0; max-width: 34ch;
}

/* ---------- layout ---------- */
.sec { padding: 96px var(--gut); border-top: 1px dashed var(--cork); }
@media (min-width: 900px) { .sec { padding: 160px var(--gut); } }
.grid3 { display: grid; gap: 41px; }
.split { display: grid; gap: 41px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: 68px; align-items: start; }
  .grid3 { grid-template-columns: 1fr 1fr 1fr; gap: 31px; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding: 140px var(--gut) 41px; isolation: isolate; }
.photo { filter: grayscale(.2) saturate(.85) contrast(1.06) brightness(.8); }
.hero .bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero .bg img { will-change: transform; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(27,32,37,.5) 0%, rgba(27,32,37,.3) 35%, rgba(27,32,37,.9) 78%, var(--walnut) 100%);
}
.hero .display { max-width: 12ch; }
.hero .voice { margin-top: 24px; }
.hero-row { display: grid; gap: 31px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 18px 0 0; margin: 24px 0 0; border-top: 1px dashed var(--driftwood); font-size: 13px; text-transform: uppercase; font-weight: 500; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
@media (min-width: 900px) { .hero-row { grid-template-columns: 1fr auto; align-items: end; } }

.serial {
  display: none; position: absolute; right: 18px; top: 50%;
  writing-mode: vertical-rl; font-size: 12px; text-transform: uppercase; font-weight: 500; color: var(--cream-2);
}
@media (min-width: 1100px) { .serial { display: block; } }

/* ---------- object reveal (void mode) ---------- */
.reveal-sec { display: grid; gap: 41px; align-items: center; }
.object { display: grid; place-items: center; }
.object img { mix-blend-mode: lighten; width: min(560px, 100%); }
.object.glow { background: radial-gradient(closest-side, rgba(120, 134, 146, .32), rgba(27, 32, 37, 0)); padding: 24px 0; }
@media (min-width: 1000px) {
  .reveal-sec { grid-template-columns: 1fr 1.3fr 1fr; gap: 18px; min-height: 80vh; }
  .reveal-sec > :last-child { align-self: end; }
}

/* ---------- lists ---------- */
.rows { list-style: none; padding: 0; margin: 0; }
.rows li { padding: 18px 0; border-top: 1px dashed var(--cork); display: grid; gap: 6px; }
.rows li:last-child { border-bottom: 1px dashed var(--cork); }
.rows li span { font-size: 17px; color: var(--cream-2); }
.cities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.cities li { font-size: clamp(20px, 3vw, 29px); text-transform: uppercase; font-weight: 500; padding: 18px 0; border-top: 1px dashed var(--cork); }
.cities a { color: inherit; text-decoration: none; }
.cities a:hover { text-decoration: underline; text-underline-offset: 4px; }
.steps { list-style: none; padding: 0; margin: 41px 0 0; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; padding: 24px 0; border-top: 1px dashed var(--cork); display: grid; gap: 8px; }
.steps li::before { content: "0" counter(s); font-size: 13px; font-weight: 500; color: var(--cream-2); }
.steps p { margin: 0; color: var(--cream-2); font-size: 18px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 31px; } }

.card { border: 1px solid var(--cork); border-radius: var(--radius-card); padding: 24px; }
.card p { color: var(--cream-2); font-size: 18px; }
.card .btn { margin-top: 8px; }

.wide-photo { margin: 0; }
.wide-photo img { width: 100%; max-height: 70vh; object-fit: cover; }

/* ---------- faq ---------- */
.faq details { border-top: 1px dashed var(--cork); }
.faq details:last-child { border-bottom: 1px dashed var(--cork); }
.faq summary { cursor: pointer; padding: 20px 32px 20px 0; font-size: 17px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 22px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--cream-2); font-size: 18px; }

/* ---------- form ---------- */
.estimate { background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border: 1px solid var(--glass-line); border-radius: var(--radius-card); padding: 24px; display: grid; gap: 22px; }
@media (min-width: 760px) { .estimate { padding: 41px; } }
.estimate .two { display: grid; gap: 22px; }
@media (min-width: 640px) { .estimate .two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
label { font-size: 13px; color: var(--cream-2); }
input, select, textarea {
  font: inherit; font-size: 19px; color: var(--cream);
  background: transparent; border: 0; border-bottom: 1px solid var(--cream);
  border-radius: 0; padding: 8px 2px; width: 100%;
}
select option { background: var(--gunmetal); color: var(--cream); }
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
.estimate .btn { background: var(--cream); color: var(--walnut); border-color: var(--cream); justify-self: start; }
.estimate .btn:hover { background: #fff6ea; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 18px; padding: 14px 0 0; border-top: 1px dashed var(--driftwood); }
.form-status a { font-weight: 500; }

/* ---------- final + footer ---------- */
.final { text-align: left; }
.final .display { max-width: 16ch; }
.foot { padding: 68px var(--gut) 41px; border-top: 1px dashed var(--cork); display: grid; gap: 31px; font-size: 16px; color: var(--cream-2); }
.foot img { width: 200px; mix-blend-mode: lighten; margin-bottom: 18px; }
.foot a { color: var(--cream); }
@media (min-width: 900px) { .foot { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- motion ---------- */
.js .rise { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .rise { opacity: 1; transform: none; }
}

/* ---------- ambient media: a faint, pre-blurred job photo behind a section ---------- */
.amb { position: relative; isolation: isolate; overflow: hidden; }
.amb::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--amb) center / cover no-repeat;
  opacity: .3;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}

/* ---------- roofing ---------- */
.roof-grid { display: grid; gap: 18px; margin-top: 68px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .roof-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .roof-grid { grid-template-columns: repeat(4, 1fr); } }
.roof-strip { display: grid; gap: 12px; margin-top: 41px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .roof-strip { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.roof-strip figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-card); aspect-ratio: 3 / 4; border: 1px solid var(--glass-line); }
.roof-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.roof-strip figure:hover img { transform: scale(1.04); }
.roof-strip figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; text-transform: uppercase; font-weight: 500; }
.strip-note { margin: 14px 0 31px; font-size: 14px; color: var(--cream-2); }
@media (min-width: 900px) { .roof-strip figure { aspect-ratio: auto; height: 440px; } }
.strip-label { margin-top: 41px; margin-bottom: -21px; }
.card.type { padding: 0 0 24px; overflow: hidden; }
.card.type img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; }
.card.type > :not(img) { padding-inline: 24px; }
.foot-links { list-style: none; margin: 0 0 1em; padding: 0; }
