/* C3 Sewer & Drains landing pages — design system.
   Direction: warm charcoal + stone, full-bleed job photos, light condensed display type,
   mono "spec" labels, hairline rules. Orange (#FF6700) is reserved for the call button,
   focus rings, index numbers and thin rules — never large fills or body text on light bands.
   Tone classes (.tone-dark / .tone-light) re-scope the color tokens, so components use tokens only. */

@font-face { font-family: "Antonio"; src: url("/fonts/antonio-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Antonio"; src: url("/fonts/antonio-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Antonio"; src: url("/fonts/antonio-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  /* brand */
  --orange: #FF6700;
  --orange-hover: #FF8533;
  --charcoal: #0F0F0E;
  --charcoal-2: #1A1A19;
  --charcoal-3: #242423;
  --stone: #EDE8E0;
  --stone-muted: #A8A298;
  --paper: #EEEAE3;
  --paper-2: #E4DFD6;
  --ink: #141414;
  --ink-muted: #55524C;

  /* active tone (dark by default) */
  --bg: var(--charcoal);
  --surface: var(--charcoal-2);
  --surface-2: var(--charcoal-3);
  --text: var(--stone);
  --muted: var(--stone-muted);
  --rule: rgba(237, 232, 224, .13);
  --rule-strong: rgba(237, 232, 224, .28);
  --accent-text: var(--orange);          /* passes 4.5:1 on charcoal only */
  --field-bg: #121211;
  --field-border: rgba(237, 232, 224, .42); /* 3:1 against the card */

  /* type */
  --display: "Antonio", "Oswald", "Arial Narrow", sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* layout */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --radius-card: 4px;
  --util-h: 34px;
  --head-h: 68px;
  --lp-chrome: calc(var(--util-h) + var(--head-h));
  --bar-h: 0px;
}

.tone-light {
  --bg: var(--paper);
  --surface: #F6F3EE;
  --surface-2: var(--paper-2);
  --text: var(--ink);
  --muted: var(--ink-muted);
  --rule: rgba(20, 20, 20, .14);
  --rule-strong: rgba(20, 20, 20, .3);
  --accent-text: #A33F00;                /* dark orange: 5.6:1 on paper */
  --field-bg: #fff;
  --field-border: rgba(20, 20, 20, .5);
}
.tone-dark { /* explicit reset for nesting */
  --bg: var(--charcoal); --surface: var(--charcoal-2); --surface-2: var(--charcoal-3);
  --text: var(--stone); --muted: var(--stone-muted);
  --rule: rgba(237, 232, 224, .13); --rule-strong: rgba(237, 232, 224, .28);
  --accent-text: var(--orange);
  --field-bg: #121211; --field-border: rgba(237, 232, 224, .42);
}
.tone-dark.alt { --bg: var(--charcoal-2); --surface: var(--charcoal-3); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--charcoal); color: var(--stone);
  font: 400 17px/1.62 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .005em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
/* No orphans: headings balance their lines, body copy never leaves one word alone on the last line. */
h1, h2, h3, h4, .eyebrow, .lead, blockquote { text-wrap: balance; }
p, li, dd, figcaption, summary { text-wrap: pretty; }
h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.1; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.tone-light :focus-visible { outline-color: #A33F00; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--orange); color: var(--ink); padding: 10px 16px; font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 10px; }

.label, .eyebrow {
  font: 400 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.eyebrow { color: var(--accent-text); display: inline-block; margin-bottom: 14px; }
.idx { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--accent-text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius); border: 1px solid transparent;
  font: 600 15px/1.1 var(--body); letter-spacing: .04em; text-decoration: none; text-transform: uppercase;
  cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-call { background: var(--orange); color: var(--ink); }
.btn-call:hover { background: var(--orange-hover); }
.btn-call svg { width: 16px; height: 16px; flex: none; }
.btn-line { border-color: var(--rule-strong); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- utility bar + header ---------- */
.utility { background: #080807; border-bottom: 1px solid rgba(237,232,224,.08); height: var(--util-h); }
.utility .wrap { height: 100%; display: flex; align-items: center; gap: 22px; overflow: hidden; }
.utility span { font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--stone-muted); white-space: nowrap; }
.utility span:first-child { color: var(--stone); }
.utility .dot { width: 4px; height: 4px; background: var(--orange); border-radius: 50%; display: inline-block; vertical-align: middle; margin-right: 8px; }
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--head-h);
  background: rgba(15, 15, 14, .94); border-bottom: 1px solid rgba(237,232,224,.1);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }
.head-cta { display: flex; align-items: center; gap: 10px; }
.head-cta .btn { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.head-meta { font: 400 11px/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--stone-muted); text-align: right; margin-right: 8px; }

/* ---------- hero ---------- */
.lp-hero { position: relative; isolation: isolate; color: var(--stone); background: var(--charcoal); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, center); }
/* Background loop over the photo: fades in once it is actually playing, so the photo is the first paint and the fallback. */
.hero-media .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, center); opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.hero-media .hero-video.playing { opacity: 1; }
.lp-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,10,9,.94) 0%, rgba(10,10,9,.86) 42%, rgba(10,10,9,.62) 70%, rgba(10,10,9,.72) 100%),
    linear-gradient(0deg, rgba(10,10,9,.75) 0%, rgba(10,10,9,0) 40%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: clamp(28px, 4vw, 64px);
  align-items: center; min-height: calc(100svh - var(--lp-chrome));
  padding-top: clamp(20px, 3.4vh, 48px); padding-bottom: clamp(20px, 3.4vh, 48px);
}
.hero-copy { max-width: 660px; }
.hero-copy .eyebrow { margin-bottom: clamp(10px, 1.8vh, 18px); }
.hero-copy h1 { font-size: clamp(40px, min(6.2vw, 8.4vh), 88px); line-height: .98; font-weight: 500; }
.hero-copy h1 .l2 { display: block; color: var(--orange); }
.lead-lg { font-size: clamp(16px, min(1.35vw, 2.2vh), 19px); color: #D9D3C9; margin: clamp(14px, 2.4vh, 26px) 0 clamp(16px, 2.8vh, 30px); max-width: 600px; }
.lead-sm { display: none; }
.hero-checks { list-style: none; padding: 0; margin: clamp(14px, 2.6vh, 28px) 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-checks li { font: 400 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--stone); display: flex; align-items: center; gap: 8px; }
.hero-checks li::before { content: ""; width: 14px; height: 1px; background: var(--orange); }

/* quote form */
.quote-card {
  background: rgba(20, 20, 19, .92); border: 1px solid rgba(237,232,224,.16); border-top: 2px solid var(--orange);
  border-radius: var(--radius-card); padding: clamp(18px, 2.6vh, 28px) clamp(18px, 2vw, 28px);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.quote-card h2 { font-size: clamp(24px, min(2.3vw, 3.6vh), 32px); }
.form-sub { color: var(--stone-muted); font-size: 14px; margin: 6px 0 0; }
.lead-form { margin-top: clamp(12px, 2vh, 20px); display: grid; gap: clamp(8px, 1.3vh, 12px); }
.lead-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field label { display: block; font: 400 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--stone); margin-bottom: 5px; }
.field label .req { color: var(--stone-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: clamp(42px, 5.6vh, 48px); padding: 10px 12px; border-radius: var(--radius);
  background: var(--field-bg); color: var(--stone); border: 1px solid var(--field-border);
  font: 400 16px/1.2 var(--body);
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--stone) 50%), linear-gradient(135deg, var(--stone) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus { border-color: var(--orange); outline: 2px solid var(--orange); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #FF8A80; }
.err { display: block; min-height: 0; font-size: 13px; color: #FFB4A8; margin-top: 3px; }
.err:empty { display: none; }
.lead-form .btn-call { width: 100%; min-height: 52px; font-size: 16px; margin-top: 4px; }
.form-status { margin: 0; font-size: 14px; color: #FFB4A8; }
.form-status:empty { display: none; }
.form-alt { margin: 2px 0 0; text-align: center; font-size: 14px; color: var(--stone-muted); }
.form-alt a { color: var(--stone); font-weight: 600; }
.form-note { margin: 0; font-size: 12px; color: var(--stone-muted); text-align: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- sections ---------- */
.section { background: var(--bg); color: var(--text); padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--muted); max-width: 520px; margin: 0; }
.section-head.stack { grid-template-columns: 1fr; gap: 16px; }

/* stats strip */
.stats { background: var(--bg); color: var(--text); border-bottom: 1px solid var(--rule); }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: clamp(22px, 3vw, 34px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--rule); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font: 500 clamp(30px, 3.4vw, 44px)/1 var(--display); text-transform: uppercase; }
.stats span { display: block; margin-top: 8px; font: 400 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* split block: image + text */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.flip .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); }
.split-media figcaption { margin-top: 10px; }
.split-body h2 { margin-bottom: 20px; }
.split-body > p { color: var(--muted); }
.signs { list-style: none; padding: 0; margin: 28px 0 32px; border-top: 1px solid var(--rule); }
.signs li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.signs h3 { font-size: 21px; margin-bottom: 4px; }
.signs p { margin: 0; color: var(--muted); font-size: 16px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.ticks li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--rule); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 25px; width: 16px; height: 1px; background: var(--accent-text); }

/* service grid (umbrella page) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.svc-card { background: var(--bg); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: background-color .2s ease; min-height: 200px; }
.svc-card:hover { background: var(--surface); }
.svc-card h3 { font-size: 26px; }
.svc-card p { margin: 0; color: var(--muted); font-size: 16px; flex: 1; }
.svc-card .more { font: 400 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }

/* price + factor cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--rule); border-radius: var(--radius-card); padding: clamp(22px, 2.4vw, 30px); background: var(--surface); }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.price { font: 500 clamp(40px, 4vw, 54px)/1 var(--display); margin: 14px 0 8px; display: block; }
.price small { display: block; font: 400 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.factor-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; border-top: 1px solid var(--rule); }
.factor-list li { padding: 18px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 44px 1fr; gap: 10px; }
.factor-list b { display: block; font-weight: 600; }
.factor-list span { color: var(--muted); font-size: 16px; }
.price-note { margin-top: 22px; font-size: 14px; color: var(--muted); }
.alert {
  border: 1px solid var(--rule-strong); border-left: 2px solid var(--orange); padding: 16px 20px; margin-top: 28px; border-radius: var(--radius);
}
.alert p { margin: 0; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.steps li { padding: 28px 24px 0 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.steps .idx { display: block; margin-bottom: 18px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 16px; margin: 0; }

/* reviews + values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-bottom: clamp(48px, 6vw, 80px); }
.values h3 { margin: 12px 0 10px; }
.values p { color: var(--muted); margin: 0; font-size: 16px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { margin: 0; border: 1px solid var(--rule); border-radius: var(--radius-card); padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; background: var(--surface); }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.review blockquote p { margin: 0; }
.stars { color: var(--orange); letter-spacing: 3px; font-size: 14px; display: block; margin-bottom: 14px; }
.review figcaption { display: flex; justify-content: space-between; gap: 10px; font: 400 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; }
.review figcaption b { color: var(--text); font-weight: 400; }
.rating-line { margin-top: 26px; font-size: 15px; color: var(--muted); }
.rating-line a { color: var(--text); }

/* area */
.chips { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: 8px 12px; font: 400 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hours { font: 400 13px/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* faq */
.faq { border-top: 1px solid var(--rule); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 600 18px/1.4 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--accent-text), var(--accent-text)) center / 14px 1.5px no-repeat, linear-gradient(var(--accent-text), var(--accent-text)) center / 1.5px 14px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: var(--muted); max-width: 760px; }
.faq .answer p:last-child { margin: 0; }

/* cta band */
.cta-band { text-align: left; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: end; }
.cta-band h2 { font-size: clamp(36px, 5vw, 68px); }
.cta-band p { margin: 16px 0 0; color: var(--muted); max-width: 620px; }

/* footer */
.site-footer { background: #080807; color: var(--stone-muted); padding: 64px 0 calc(32px + var(--bar-h)); font-size: 15px; border-top: 1px solid rgba(237,232,224,.08); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.foot-grid.site { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.site-footer h2 { font: 400 11px/1.3 var(--mono); letter-spacing: .12em; color: var(--stone); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--stone-muted); text-decoration: none; }
.site-footer a:hover { color: var(--stone); text-decoration: underline; }
.site-footer .foot-logo { height: 46px; width: auto; margin-bottom: 18px; }
.site-footer .foot-call { color: var(--stone); font: 500 28px/1 var(--display); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; min-height: 44px; }
.site-footer .foot-call svg { width: 20px; height: 20px; flex: none; color: var(--orange); }
.foot-legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(237,232,224,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.foot-legal ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }

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

/* utility pages */
.page-band { padding: clamp(56px, 8vw, 100px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--rule); }
.page-band h1 { font-size: clamp(42px, 6vw, 80px); }
.page-band p { color: var(--muted); max-width: 640px; margin: 18px 0 0; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 40px 0 14px; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--text); }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =================================================================== full site (www) */
.accent { color: var(--orange); }

/* header + main nav */
.site-header.with-nav .wrap { justify-content: flex-start; }
.site-header.with-nav .brand, .site-header.with-nav .head-cta { position: relative; z-index: 2; }
.main-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; height: var(--head-h); }
.nav-list > li > a { display: flex; align-items: center; min-height: 44px; padding: 0 9px; font: 400 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--stone); text-decoration: none; white-space: nowrap; }
.nav-list > li > a:hover, .nav-list a[aria-current] { color: var(--orange); }
.sub-toggle { width: 26px; height: 44px; margin-left: -8px; padding: 0; background: none; border: 0; color: var(--stone-muted); cursor: pointer; display: grid; place-items: center; }
.sub-toggle svg { width: 13px; height: 13px; transition: transform .2s ease; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.sub-menu { display: none; position: absolute; top: 100%; left: -12px; min-width: 240px; background: var(--charcoal-2); border: 1px solid rgba(237,232,224,.14); border-top: 2px solid var(--orange); padding: 18px 22px 16px; box-shadow: 0 24px 48px rgba(0,0,0,.45); }
.has-sub:hover:not(.dismiss) .sub-menu, .has-sub.open .sub-menu { display: block; }
.sub-menu.mega { width: 660px; grid-template-columns: repeat(3, 1fr); gap: 6px 28px; }
.has-sub:hover:not(.dismiss) .sub-menu.mega, .has-sub.open .sub-menu.mega { display: grid; }
.sub-h { margin: 0 0 6px; font: 400 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--stone-muted); }
.sub-menu ul { list-style: none; margin: 0; padding: 0; }
.sub-menu a { display: block; padding: 8px 0; color: var(--stone); text-decoration: none; font: 400 15px/1.3 var(--body); }
.sub-menu a:hover, .sub-menu a[aria-current] { color: var(--orange); }
.sub-all { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 10px; border-top: 1px solid rgba(237,232,224,.12); }
.sub-all a { display: inline-flex; align-items: center; gap: 8px; font: 400 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.sub-all svg { width: 14px; height: 14px; }
.nav-cta, .nav-toggle { display: none; }
.site-header.with-nav .head-cta { margin-left: 14px; }
.nav-toggle { width: 44px; height: 44px; padding: 0; border: 1px solid rgba(237,232,224,.28); border-radius: var(--radius); background: transparent; color: var(--stone); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* page hero (interior + home) */
.page-hero { position: relative; isolation: isolate; color: var(--stone); background: var(--charcoal); overflow: hidden; }
.page-hero .hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, center); animation: settle 1.8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,10,9,.93) 0%, rgba(10,10,9,.82) 45%, rgba(10,10,9,.5) 75%, rgba(10,10,9,.62) 100%), linear-gradient(0deg, rgba(10,10,9,.8) 0%, rgba(10,10,9,0) 45%); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); gap: clamp(28px, 4vw, 72px); align-items: end;
  min-height: min(calc(100svh - var(--lp-chrome)), 780px); padding-top: clamp(40px, 8vh, 100px); padding-bottom: clamp(32px, 6vh, 72px); }
.page-hero.tall .page-hero-grid { min-height: calc(100svh - var(--lp-chrome)); }
.page-hero .hero-copy { max-width: 720px; }
.spec { background: rgba(15,15,14,.8); border: 1px solid rgba(237,232,224,.16); border-top: 2px solid var(--orange); border-radius: var(--radius-card); padding: 20px 24px 8px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.spec-h { margin: 0 0 8px; font: 400 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stone-muted); }
.spec ul { list-style: none; margin: 0; padding: 0; }
.spec li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(237,232,224,.12); }
.spec li span { font: 400 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--stone-muted); }
.spec li b { font: 500 22px/1 var(--display); text-transform: uppercase; color: var(--stone); text-align: right; white-space: nowrap; }
.page-band .eyebrow a { color: inherit; }
.post-band h1 { font-size: clamp(36px, 5vw, 66px); max-width: 20ch; }

/* tiles (services, cities, posts) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tiles-4 { grid-template-columns: repeat(4, 1fr); }
.tiles-2 { grid-template-columns: repeat(2, 1fr); }
.tiles-1 { grid-template-columns: minmax(0, 520px); }
.tile { display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-card); overflow: hidden; transition: border-color .2s ease; }
.tile:hover { border-color: var(--rule-strong); }
.tile-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.tiles-2 .tile-media { aspect-ratio: 16 / 9; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.tile:hover .tile-media img { transform: scale(1.045); }
.tile-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tile-body h3 { font-size: clamp(24px, 2vw, 28px); }
.tile.post .tile-body h3 { font-size: 22px; line-height: 1.12; }
.tile-body p { margin: 0; color: var(--muted); font-size: 15.5px; flex: 1; }
.tile .more { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); font: 400 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.tile .more span { display: inline-flex; align-items: center; gap: 8px; }
.tile .more svg { width: 14px; height: 14px; }
.tile-price { color: var(--text); }

/* old-site copy sections */
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card.num .idx { display: block; margin-bottom: 14px; }
.card.num h3 { font-size: 23px; }
.card.num p, .card.num li { color: var(--muted); font-size: 16px; }
.card.num p + p { margin-top: 10px; }
.head-copy p { color: var(--muted); margin: 0 0 12px; max-width: 560px; }
.head-copy p:last-child { margin-bottom: 0; }
.split:has(.copy) { align-items: start; }
.split-body.copy h3 { font-size: 23px; margin: 30px 0 10px; }
.split-body.copy p, .split-body.copy li { color: var(--muted); }
.split-body.copy a, .head-copy a, .card a { color: var(--text); }
.split-body.copy .btn-call, .head-copy .btn-call, .card .btn-call { color: var(--ink); }
.split:has(.copy) .split-media { position: sticky; top: calc(var(--head-h) + 28px); margin: 0; }
.split-media { margin: 0; }
.link-list { list-style: none; padding: 0; margin: 22px 0 28px; border-top: 1px solid var(--rule); }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; color: var(--text); }
.link-list a:hover { color: var(--accent-text); }
.link-list svg { width: 16px; height: 16px; flex: none; color: var(--accent-text); }
.link-list.cols { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; border-top: 0; margin: 0; }
.link-list.cols li:nth-child(-n+2) a { border-top: 1px solid var(--rule); }

/* map */
.map-wrap { aspect-ratio: 4 / 3; border: 1px solid var(--rule); border-radius: var(--radius-card); overflow: hidden; background: var(--surface); }
.map { display: block; width: 100%; height: 100%; border: 0; }
.split.area { align-items: center; }

/* gallery */
.g-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.g-item { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-card); background: var(--surface-2); }
.g-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.g-item:hover img { transform: scale(1.035); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; background: linear-gradient(rgba(10,10,9,0), rgba(10,10,9,.9) 60%); color: #EDE8E0; font: 400 11px/1.45 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.g-more { margin-top: 28px; }
.g-group + .g-group { margin-top: clamp(48px, 6vw, 80px); }
.g-h { font-size: clamp(28px, 3vw, 40px); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.map-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 56px; }
.map-cols .g-h { font-size: 26px; }

/* quote band */
.quote-split { align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--rule); }
.contact-list li { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.contact-list svg { width: 18px; height: 18px; flex: none; color: var(--accent-text); }
.contact-list a { color: var(--text); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.form-card { color: var(--text); background: var(--charcoal-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
.form-title { font-size: clamp(26px, 2.4vw, 32px); }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.field textarea:focus { border-color: var(--orange); outline: 2px solid var(--orange); outline-offset: 0; }

/* faq layout */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-wrap .faq { max-width: none; }
.faq-more { margin: 28px 0 0; }

/* reviews wall */
.reviews.masonry { display: block; columns: 3 300px; column-gap: 16px; }
.reviews.masonry .review { break-inside: avoid; margin-bottom: 16px; }
.cat-chips { margin: 0; }
.cat-chips li { padding: 0; }
.cat-chips a { display: block; padding: 13px 14px; text-decoration: none; color: var(--text); }
.cat-chips a:hover { color: var(--accent-text); }

/* articles */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.post-body { max-width: 760px; }
.post-body h2 { font-size: clamp(28px, 3vw, 38px); margin: 44px 0 14px; }
.post-body h3 { font-size: 23px; margin: 30px 0 10px; }
.post-body ul, .post-body ol { padding-left: 1.2em; margin: 0 0 1em; }
.post-body li { margin-bottom: 6px; }
.post-body p, .post-body li { color: var(--muted); }
.post-figure { margin: 0 0 36px; }
.post-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-card); }
.post-aside { position: sticky; top: calc(var(--head-h) + 28px); display: grid; gap: 16px; }
.aside-card { border: 1px solid var(--rule); background: var(--surface); padding: 22px; border-radius: var(--radius-card); }
.aside-card > .btn { width: 100%; margin-top: 10px; }
.aside-card p { color: var(--muted); font-size: 15px; }
.aside-h { font: 500 30px/1 var(--display); text-transform: uppercase; color: var(--text) !important; margin: 0 0 10px; }
.aside-card .link-list { margin: 0; }

@media (max-width: 1320px) {
  .site-header.with-nav .head-quote { display: none; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: grid; }
  .main-nav { position: fixed; left: 0; right: 0; top: var(--nav-top, 102px); bottom: 0; z-index: 1; display: none; overflow-y: auto;
    background: var(--charcoal); padding: 8px var(--gutter) calc(32px + var(--bar-h)); border-top: 1px solid rgba(237,232,224,.12); }
  body.nav-open { overflow: hidden; }
  body.nav-open .main-nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li { display: grid; grid-template-columns: 1fr auto; align-items: center; height: auto; border-bottom: 1px solid rgba(237,232,224,.12); }
  .nav-list > li > a { font: 500 26px/1.1 var(--display); letter-spacing: .01em; padding: 14px 0; min-height: 56px; }
  .sub-toggle { width: 56px; height: 56px; margin: 0; }
  .sub-toggle svg { width: 18px; height: 18px; }
  .sub-menu, .sub-menu.mega { position: static; grid-column: 1 / -1; width: auto; min-width: 0; border: 0; background: none; box-shadow: none; padding: 0 0 18px; }
  .has-sub:hover:not(.open) .sub-menu, .has-sub:hover:not(.open) .sub-menu.mega { display: none; }
  .sub-menu.mega { grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .sub-menu a { font-size: 17px; padding: 10px 0; }
  .nav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
  .site-header.with-nav .head-cta { margin-left: auto; }
  .tiles-4 { grid-template-columns: repeat(2, 1fr); }
  .map-cols { grid-template-columns: 1fr 1fr; }
}
/* ---------- responsive ---------- */
@media (max-height: 760px) and (min-width: 921px) {
  .form-sub { display: none; }
}
@media (max-height: 620px) and (min-width: 921px) {
  .hero-checks, .form-note { display: none; }
  .lead-lg { margin-bottom: 14px; }
}
@media (max-width: 1100px) {
  .head-meta { display: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  :root { --head-h: 62px; --bar-h: 64px; }
  .page-hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 0; padding-bottom: 32px; gap: 8px; align-items: start; }
  .page-hero .hero-copy { min-height: calc(100svh - var(--lp-chrome) - var(--bar-h)); display: flex; flex-direction: column; justify-content: center; padding: 28px 0; }
  .page-hero:not(.tall) .hero-copy { min-height: min(calc(100svh - var(--lp-chrome) - var(--bar-h)), 620px); }
  .page-hero::before { background: linear-gradient(180deg, rgba(10,10,9,.58) 0%, rgba(10,10,9,.8) 50%, rgba(10,10,9,.95) 100%); }
  .lead-lg.keep { display: block; font-size: 17px; margin: 16px 0 22px; }
  .tiles, .tiles-2, .g-grid { grid-template-columns: repeat(2, 1fr); }
  .g-strip { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap, .article-grid { grid-template-columns: 1fr; }
  .post-aside { position: static; }
  .split:has(.copy) .split-media { position: relative; top: auto; }
  .link-list.cols { grid-template-columns: 1fr; }
  .link-list.cols li:nth-child(2) a { border-top: 0; }
  .foot-grid.site { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .page-hero .hero-copy h1 { font-size: clamp(34px, min(11vw, 7.6vh), 72px); }
  .brand img { height: 36px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 0; padding-bottom: 32px; gap: 0; align-items: start; }
  .hero-copy { min-height: calc(100svh - var(--lp-chrome) - var(--bar-h)); display: flex; flex-direction: column; justify-content: center; padding: 28px 0; max-width: none; }
  .hero-copy h1 { font-size: clamp(40px, min(11vw, 7.6vh), 72px); }
  .lead-lg { display: none; }
  .lead-sm { display: block; font-size: 17px; color: #D9D3C9; margin: 16px 0 22px; max-width: 560px; }
  .lp-hero::before { background: linear-gradient(180deg, rgba(10,10,9,.78) 0%, rgba(10,10,9,.88) 55%, rgba(10,10,9,.97) 100%); }
  .section-head, .split, .cta-band .wrap { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .split-media img { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li { padding-bottom: 28px; }
  .values, .reviews { grid-template-columns: 1fr; }
  .stats ul { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .mobile-bar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    height: var(--bar-h); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(10,10,9,.97); border-top: 1px solid rgba(237,232,224,.14);
  }
  .mobile-bar .btn { min-height: 48px; padding: 8px 10px; font-size: 14px; }
  html { scroll-padding-bottom: var(--bar-h); }
}
@media (max-width: 600px) {
  .hero-copy .hero-quote { display: none; }
  .tiles, .tiles-2, .tiles-4, .map-cols { grid-template-columns: 1fr; }
  .g-grid { grid-template-columns: 1fr 1fr; }
  .sub-menu.mega { grid-template-columns: 1fr; }
  .nav-cta { grid-template-columns: 1fr; }
  .head-cta .head-quote { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .factor-list { grid-template-columns: 1fr; }
  .lead-form .row2 { grid-template-columns: 1fr; }
  .utility span:nth-child(n+3) { display: none; }
}
@media (max-width: 380px) {
  .brand img { height: 30px; }
  .head-cta .btn { padding: 10px 10px; font-size: 13px; gap: 6px; }
  .head-cta .btn svg { display: none; }
  .utility span:nth-child(n+2) { display: none; }
}
@media (max-height: 600px) and (max-width: 920px) {
  .hero-checks { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-hero .hero-media img { animation: none; }
  .hero-media .hero-video { display: none; }
  .tile-media img, .g-item img, .sub-toggle svg { transition: none; }
  .tile:hover .tile-media img, .g-item:hover img { transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .svc-card, .faq summary::after { transition: none; }
}

/* ---- No orphaned grid items (site-standards no-orphan rule). The builder stamps every card grid with
   .cg + .n<count>; columns follow the count so no card sits alone on a last row at any width.
   <560: one column (photos: two). 560-899: two columns, an odd last card spans the row.
   >=900: three per row on a 6-track grid; a remainder of 1 turns the last four into 2+2, a remainder of 2
   makes the last two half-width. >=1100: 4 and 8 go four across. */
.cg.cg { grid-template-columns: 1fr; }
@media (max-width: 559px) {
  .g-grid.cg.cg { grid-template-columns: repeat(2, 1fr); }
  .g-grid.cg > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 560px) and (max-width: 899px) {
  .cg.cg { grid-template-columns: repeat(2, 1fr); }
  .cg > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cg > :last-child:nth-child(odd) .tile-media { aspect-ratio: 21 / 9; }
}
@media (min-width: 900px) {
  .cg.cg { grid-template-columns: repeat(2, 1fr); }
  .cg.cg:not(.n2) { grid-template-columns: repeat(6, 1fr); }
  .cg:not(.n2) > * { grid-column: span 2; }
  .cg.n4 > *, .cg.n7 > :nth-last-child(-n+4), .cg.n10 > :nth-last-child(-n+4), .cg.n13 > :nth-last-child(-n+4),
  .cg.n5 > :nth-last-child(-n+2), .cg.n8 > :nth-last-child(-n+2), .cg.n11 > :nth-last-child(-n+2), .cg.n14 > :nth-last-child(-n+2) { grid-column: span 3; }
}
@media (min-width: 1100px) {
  .cg.cg.n4, .cg.cg.n8 { grid-template-columns: repeat(4, 1fr); }
  .cg.n4 > *, .cg.n8 > *, .cg.n8 > :nth-last-child(-n+2) { grid-column: auto; }
}

/* Short inline lists: stack instead of leaving one item on its own line. */
@media (max-width: 768px) { .hero-checks { flex-direction: column; gap: 8px; } }
@media (max-width: 600px) { .foot-legal ul { flex-direction: column; gap: 0; } .foot-legal ul a { display: inline-block; padding: 5px 0; } }
@media (max-width: 1180px) { .page-hero .hero-checks { flex-direction: column; gap: 8px; } }

/* ---- How it works: the price-first promise is its own orange panel, tied to the highlighted step 03. */
.steps-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-bottom: clamp(32px, 4.5vw, 56px); }
.promise { background: var(--orange); color: var(--ink); padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-card); }
.promise-k { font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; color: var(--ink); }
.promise-big { font: 500 clamp(30px, 3.5vw, 48px)/1.02 var(--display); text-transform: uppercase; margin: 0 0 22px; color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--stone); }
.btn-dark:hover { background: #000; }
.btn-dark svg { width: 16px; height: 16px; flex: none; }
.steps.steps-v2 { border-top: 0; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.steps.steps-v2 .step { position: relative; padding: 22px 22px 26px; border: 1px solid var(--rule-strong); border-radius: var(--radius-card); background: var(--surface); }
.step-n { display: block; margin-bottom: 18px; font: 500 clamp(56px, 6vw, 84px)/.9 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--muted); }
.steps.steps-v2 .step-key { border-color: var(--orange); box-shadow: inset 0 4px 0 var(--orange); }
.step-key .step-n { color: var(--accent-text); -webkit-text-stroke: 0; }
.step-tag { position: absolute; top: 22px; right: 20px; background: var(--orange); color: var(--ink); font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 9px; border-radius: 2px; }
@media (max-width: 900px) {
  .steps-top { grid-template-columns: 1fr; align-items: start; }
  .steps.steps-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .steps.steps-v2 { grid-template-columns: 1fr; } .step-n { font-size: 56px; } }
