/* =========================================================
   Douglas-Electric — "Copper Ridge" design (DE-CMS theme, from mockup 1)
   ========================================================= */
:root {
  --pitch: #0A0C09;
  --soil: #12150F;
  --soil-2: #181C14;
  --cream: #F2ECDD;
  --cream-70: rgba(242, 236, 221, .72);
  --cream-50: rgba(242, 236, 221, .55);
  --line: rgba(242, 236, 221, .12);
  --line-2: rgba(242, 236, 221, .2);
  --copper: #B87333;
  --hot: #E9A45C;
  --arc: #FFF6E2;

  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec-pad: clamp(88px, 11vw, 168px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pitch);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
em { font-style: italic; }

::selection { background: var(--copper); color: var(--pitch); }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--hot); color: var(--pitch); padding: 10px 16px; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.mono {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
}

.ul { border-bottom: 1px solid rgba(233, 164, 92, .5); transition: color .2s, border-color .2s; }
.ul:hover { color: var(--hot); border-color: var(--hot); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s, border-color .3s, box-shadow .4s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg[aria-hidden] { transform: translateX(3px); }
.btn-copper {
  background: linear-gradient(135deg, var(--hot), var(--copper));
  color: var(--pitch);
  box-shadow: 0 0 0 0 rgba(233, 164, 92, 0), inset 0 1px 0 rgba(255, 246, 226, .4);
}
.btn-copper:hover { box-shadow: 0 0 36px 2px rgba(233, 164, 92, .35), inset 0 1px 0 rgba(255, 246, 226, .5); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--cream); background: rgba(242, 236, 221, .02); }
.btn-ghost:hover { border-color: var(--hot); color: var(--arc); box-shadow: 0 0 28px rgba(233, 164, 92, .15); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* blur lives on a pseudo-element so the header doesn't become the containing block of the fixed mobile nav */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 12, 9, .55);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: background .3s;
}
.site-header.scrolled { border-color: var(--line); }
.site-header.scrolled::before, body.menu-open .site-header::before { background: rgba(10, 12, 9, .94); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: none; display: block; padding: 4px 0; }
.brand img { width: 128px; height: auto; transition: opacity .2s; }
.brand:hover img { opacity: .85; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.nav a {
  position: relative; font-size: 14px; font-weight: 500; color: var(--cream-70);
  padding: 6px 0; transition: color .2s;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--hot); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  box-shadow: 0 0 8px var(--hot);
}
.nav ul a:hover, .nav ul a.active { color: var(--arc); }
.nav ul a:hover::after, .nav ul a.active::after { transform: scaleX(1); }
.nav-mobile-call { display: none; }
.btn-call { min-height: 44px; padding: 0 18px; font-size: 14px; border-color: rgba(233, 164, 92, .45); color: var(--hot); }
.btn-call:hover { background: var(--hot); color: var(--pitch); box-shadow: 0 0 28px rgba(233, 164, 92, .35); }
.btn-call svg { width: 16px; height: 16px; }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  min-height: max(680px, calc(100svh - var(--header-h)));
  display: flex; flex-direction: column;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(184, 115, 51, .14), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(184, 115, 51, .08), transparent 60%),
    var(--pitch);
}
.hero::before { /* fine grid, like a PCB substrate */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(242, 236, 221, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 236, 221, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute; width: 60vmax; height: 60vmax; right: -18vmax; top: -24vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 164, 92, .16), transparent 60%);
  filter: blur(20px); pointer-events: none;
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .55; transform: scale(1.06); } }

.hero-inner { position: relative; z-index: 2; padding-top: clamp(56px, 10vh, 120px); padding-bottom: 24px; }
.eyebrow { flex-wrap: wrap; display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--hot); margin-bottom: 32px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 4px rgba(233, 164, 92, .15), 0 0 16px var(--hot); animation: pulse 2.4s ease-in-out infinite; flex: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(233, 164, 92, 0), 0 0 6px var(--hot); } }

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: clamp(46px, 8.4vw, 128px);
  line-height: .98;
  letter-spacing: -.025em;
  color: var(--cream);
  max-width: 13ch;
}
.hero-title em {
  font-weight: 300;
  background: linear-gradient(100deg, var(--hot) 10%, var(--arc) 45%, var(--copper) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%;
  animation: sheen 8s ease-in-out infinite;
  padding-right: .06em;
}
@keyframes sheen { 50% { background-position: 100% 0; } }
.hero-sub { max-width: 560px; margin: 32px 0 40px; font-size: clamp(17px, 1.4vw, 19px); color: var(--cream-70); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.ridge { position: relative; z-index: 1; margin-top: auto; height: clamp(200px, 30vw, 360px); margin-top: auto; pointer-events: none; }
.ridge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.r-far { fill: rgba(184, 115, 51, .06); stroke: rgba(184, 115, 51, .25); stroke-width: 1; stroke-dasharray: 2 6; }
.traces path { fill: none; stroke: var(--copper); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; opacity: .75; }
.traces #t1 { stroke-width: 2.2; opacity: 1; }
.vias circle { fill: var(--pitch); stroke: var(--hot); stroke-width: 2; }
.pads circle { fill: none; stroke: var(--copper); stroke-width: 2; }
.spark { fill: none; stroke: var(--arc); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 34 966; stroke-dashoffset: 1000; animation: flow 6s linear infinite; }
.spark.s2 { stroke: var(--hot); animation-duration: 4.5s; animation-delay: -1.5s; }
.spark.s3 { stroke: var(--hot); animation-duration: 5.2s; animation-delay: -3s; }
@keyframes flow { to { stroke-dashoffset: 0; } }

.trust { position: relative; z-index: 2; border-top: 1px solid var(--line); background: rgba(10, 12, 9, .7); backdrop-filter: blur(6px); }
.trust-list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 20px; padding-bottom: 20px; font-size: 14px; color: var(--cream); font-weight: 500; }
.trust-list li { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.trust-list li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--copper); margin-right: 18px; margin-left: -28px; display: none; }
.trust-list .mono { color: var(--cream-50); font-size: 10.5px; }
.stars-inline { color: var(--hot); letter-spacing: 2px; font-size: 13px; }

/* ---------- Stats ---------- */
.stats { border-bottom: 1px solid var(--line); background: var(--soil); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(40px, 5vw, 64px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 5.4vw, 80px); line-height: 1; letter-spacing: -.02em; margin-bottom: 14px; color: var(--arc); white-space: nowrap; }
.stat-num sup { font-size: .42em; color: var(--hot); vertical-align: top; position: relative; top: .25em; margin-left: 4px; }
.stat-num .pre { font-style: italic; font-size: .5em; color: var(--cream-70); }
.stat-label { font-size: 14px; color: var(--cream-50); margin: 0; max-width: 22ch; }

/* ---------- Sections ---------- */
.section { padding: var(--sec-pad) 0; position: relative; }
.sec-head { margin-bottom: clamp(48px, 6vw, 88px); max-width: 760px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head.center .sec-num { justify-content: center; }
.sec-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.sec-head.split .sec-lede { max-width: 400px; margin: 0; }
.sec-num { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-50); margin-bottom: 26px; }
.sec-num span { color: var(--hot); }
.sec-num::after { content: ""; width: 56px; height: 1px; background: linear-gradient(90deg, var(--copper), transparent); order: 1; }
.sec-num span + * { order: 2; }
.sec-title {
  font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144;
  font-size: clamp(36px, 5vw, 68px); line-height: 1.04; letter-spacing: -.02em; color: var(--cream);
}
.sec-title em { color: var(--hot); font-weight: 300; }
.sec-lede { margin-top: 24px; font-size: 18px; color: var(--cream-70); max-width: 560px; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc {
  position: relative; padding: clamp(28px, 3vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 21, 15, 0), rgba(18, 21, 15, 0));
  transition: background .5s var(--ease);
  overflow: hidden;
}
.svc::before { /* copper trace that lights on hover */
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--hot), transparent);
  transform: translateX(-100%); transition: transform .8s var(--ease); opacity: .9;
}
.svc:hover { background: linear-gradient(180deg, rgba(184, 115, 51, .08), rgba(18, 21, 15, .4)); }
.svc:hover::before { transform: translateX(0); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.svc-idx { font-family: var(--mono); font-size: 12px; color: var(--cream-50); letter-spacing: .12em; }
.svc-ico { width: 48px; height: 48px; fill: none; stroke: var(--copper); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s, filter .3s; }
.svc:hover .svc-ico { stroke: var(--hot); filter: drop-shadow(0 0 6px rgba(233, 164, 92, .6)); }
.svc h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.1; margin-bottom: 20px; letter-spacing: -.01em; }
.svc ul li { position: relative; padding: 9px 0 9px 20px; font-size: 15px; color: var(--cream-70); border-top: 1px solid rgba(242, 236, 221, .07); line-height: 1.45; }
.svc ul li::before { content: ""; position: absolute; left: 0; top: 17px; width: 7px; height: 7px; border: 1.5px solid var(--copper); border-radius: 50%; }

/* ---------- Feature sections ---------- */
.feature { background: var(--soil); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.feature-gen { background: var(--pitch); border-top: 0; }
.feature-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature-grid.reverse .feature-copy { order: 2; }
.feature-copy > p { color: var(--cream-70); font-size: 18px; max-width: 540px; }
.feature .sec-head { margin-bottom: 32px; }
.checklist { margin-top: 32px; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--cream-70); }
.checklist strong { color: var(--cream); font-weight: 600; }
.checklist svg { width: 22px; height: 22px; color: var(--hot); margin-top: 2px; }

.feature-art {
  margin: 0; position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 70% 10%, rgba(233, 164, 92, .12), transparent 55%),
    linear-gradient(rgba(242, 236, 221, .03) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(90deg, rgba(242, 236, 221, .03) 1px, transparent 1px) 0 0 / 26px 26px,
    var(--pitch);
  padding: 16px;
}
.feature-gen .feature-art { background-color: var(--soil); }
.feature-art::before, .feature-art::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid var(--copper); }
.feature-art::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.feature-art::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.feature-art svg { width: 100%; height: auto; }
.feature-art figcaption { color: var(--cream-50); padding: 12px 6px 4px; border-top: 1px solid var(--line); font-size: 10.5px; }
.art-hill { fill: rgba(184, 115, 51, .07); stroke: rgba(184, 115, 51, .35); stroke-dasharray: 2 5; }
.art-ground { fill: rgba(10, 12, 9, .6); }
.art-line { fill: none; stroke: var(--cream); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; opacity: .85; }
.art-line rect { fill: none; }
.art-beam { fill: url(#moon); fill: rgba(255, 246, 226, .07); }
.art-trace { fill: none; stroke: var(--copper); stroke-width: 2; stroke-linejoin: round; }
.art-spark { fill: none; stroke: var(--arc); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 40 960; stroke-dashoffset: 1000; animation: flow 4s linear infinite; filter: drop-shadow(0 0 4px var(--hot)); }
.art-spark.gen { animation-duration: 3s; }
.art-spark.gen2 { animation-duration: 3s; animation-delay: -1.4s; stroke: var(--hot); }
.art-via circle { fill: var(--pitch); stroke: var(--hot); stroke-width: 2; }
.art-label text { font-family: var(--mono); font-size: 11px; fill: var(--cream-50); letter-spacing: .1em; text-anchor: middle; }
.art-label.big text { font-size: 12px; text-anchor: start; fill: var(--hot); }
.sw-arm { stroke: var(--hot); stroke-width: 2.5; }

.gen-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 36px 0 36px; }
.gen-card { background: var(--pitch); padding: 24px; transition: background .4s; }
.gen-card:hover { background: rgba(184, 115, 51, .07); }
.gen-card .mono { color: var(--hot); }
.gen-card h3 { font-family: var(--serif); font-size: 22px; margin: 10px 0 8px; }
.gen-card p { font-size: 14.5px; color: var(--cream-70); margin: 0; line-height: 1.55; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(64px, 8vw, 112px); }
.about-copy .lead { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; color: var(--cream); font-weight: 300; }
.about-copy p { color: var(--cream-70); max-width: 600px; }
.about .sec-head { margin-bottom: 36px; }
.crew { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.crew-card { display: flex; align-items: center; gap: 18px; padding: 22px; background: var(--pitch); transition: background .3s; }
.crew-card:hover { background: var(--soil); }
.crew-card.owner { padding: 32px 26px; background: linear-gradient(120deg, rgba(184, 115, 51, .14), rgba(18, 21, 15, .9) 70%); }
.crew-row { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 1px; }
.crew-row .crew-card { flex-direction: column; align-items: flex-start; gap: 14px; }
.monogram {
  flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--hot);
  border: 1px solid var(--copper);
  background: radial-gradient(circle at 30% 30%, rgba(233, 164, 92, .2), transparent 70%);
  box-shadow: 0 0 0 6px rgba(184, 115, 51, .08);
}
.monogram.sm { width: 44px; height: 44px; font-size: 20px; box-shadow: none; }
.crew-name { font-family: var(--serif); font-size: 24px; margin: 0 0 2px; line-height: 1.2; }
.crew-row .crew-name { font-size: 20px; }
.crew-role { color: var(--cream-50); margin: 0; font-size: 10.5px; }

.pillars { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); border-top: 1px solid var(--line-2); }
.pillar { padding: 32px 24px 8px 0; position: relative; }
.pillar + .pillar { padding-left: 24px; border-left: 1px solid var(--line); }
.pillar::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--pitch); border: 1.5px solid var(--hot); }
.pillar + .pillar::before { left: -4px; }
.pillar .mono { color: var(--hot); font-size: 12px; text-transform: none; font-family: var(--serif); font-style: italic; letter-spacing: 0; font-size: 18px; }
.pillar h3 { font-family: var(--serif); font-size: 22px; line-height: 1.15; margin: 10px 0 12px; }
.pillar p { font-size: 14.5px; color: var(--cream-70); line-height: 1.55; }

/* ---------- Process ---------- */
.process { background: var(--soil); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 32px; position: relative; counter-reset: s; }
.steps::before { /* the bus line */
  content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--copper), var(--hot) 50%, var(--copper));
  opacity: .6;
}
.steps::after { /* the travelling current */
  content: ""; position: absolute; top: 6px; left: 0; width: 80px; height: 8px; border-radius: 8px;
  background: radial-gradient(ellipse, var(--arc), rgba(233, 164, 92, .6) 40%, transparent 70%);
  animation: bus 5s linear infinite;
}
@keyframes bus { from { left: -80px; } to { left: 100%; } }
.steps { overflow: hidden; padding-top: 2px; }
.step { position: relative; padding-top: 44px; }
.step-node { position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--soil); border: 2px solid var(--hot); box-shadow: 0 0 14px rgba(233, 164, 92, .5); }
.step .mono { color: var(--hot); margin-bottom: 14px; }
.step h3 { font-family: var(--serif); font-size: 28px; line-height: 1.1; margin-bottom: 14px; }
.step p:last-child { color: var(--cream-70); font-size: 15px; }

/* ---------- Projects ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.proj { grid-column: span 6; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--soil); transition: border-color .4s, transform .5s var(--ease), box-shadow .5s; }
.proj-a { grid-column: span 7; }
.proj-b { grid-column: span 5; }
.proj-c { grid-column: span 5; }
.proj-d { grid-column: span 7; }
.proj-full { grid-column: 1 / -1; }
.proj:hover { border-color: rgba(233, 164, 92, .5); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(233, 164, 92, .35); }
.proj-art {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(233, 164, 92, .22), transparent 55%),
    linear-gradient(rgba(242, 236, 221, .04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(242, 236, 221, .04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(160deg, #1b1f16, #0d0f0b);
}
.proj-b .proj-art, .proj-c .proj-art { aspect-ratio: 4 / 3; }
.proj-art svg { position: absolute; inset: 8% 6%; width: 88%; height: 84%; fill: none; stroke: var(--copper); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s, filter .4s; }
.proj:hover .proj-art svg { stroke: var(--hot); filter: drop-shadow(0 0 6px rgba(233, 164, 92, .5)); }
.proj-art::after { content: "Illustration · photo to come"; position: absolute; right: 12px; top: 12px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-50); border: 1px solid var(--line); padding: 4px 8px; border-radius: 99px; background: rgba(10, 12, 9, .6); }
.proj-body { padding: 24px 26px 26px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 20px; }
.proj-body .mono { grid-column: 1 / -1; color: var(--hot); margin: 0; }
.proj-body h3 { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.proj-val { margin: 0; font-family: var(--serif); font-size: 22px; color: var(--arc); text-align: right; line-height: 1.1; }
.proj-val span { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-50); margin-top: 4px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--soil); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.agg { display: flex; align-items: center; gap: 20px; padding: 18px 26px; border: 1px solid var(--line-2); border-radius: 999px; }
.agg-score { font-family: var(--serif); font-size: 52px; line-height: 1; margin: 0; color: var(--arc); font-weight: 300; }
.agg-stars { display: flex; gap: 3px; margin: 0 0 6px; color: var(--hot); }
.agg-stars svg { width: 18px; height: 18px; }
.agg .mono { margin: 0; color: var(--cream-70); }

.rv-shell { position: relative; }
.rv-shell::before, .rv-shell::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(24px, 8vw, 140px); z-index: 2; pointer-events: none; }
.rv-shell::before { left: 0; background: linear-gradient(90deg, var(--soil), transparent); }
.rv-shell::after { right: 0; background: linear-gradient(270deg, var(--soil), transparent); }
.rv-track {
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab; outline-offset: -2px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.rv-track::-webkit-scrollbar { display: none; }
.rv-track.dragging { cursor: grabbing; user-select: none; }
.rv-list { display: flex; gap: 20px; width: max-content; padding: 8px var(--gutter) 8px; }
.rv {
  position: relative; flex: none; width: clamp(290px, 82vw, 420px);
  display: flex; flex-direction: column;
  padding: 30px 30px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(242, 236, 221, .035), rgba(242, 236, 221, .01)), var(--pitch);
  transition: border-color .4s, box-shadow .4s;
}
.rv::before { content: "“"; position: absolute; right: 22px; top: 6px; font-family: var(--serif); font-size: 110px; line-height: 1; color: rgba(184, 115, 51, .18); pointer-events: none; }
.rv:hover { border-color: rgba(233, 164, 92, .45); box-shadow: 0 0 40px -12px rgba(233, 164, 92, .35); }
.rv-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.rv-stars { display: flex; gap: 2px; color: var(--hot); }
.rv-stars svg { width: 15px; height: 15px; }
.rv-src { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-70); border: 1px solid var(--line-2); padding: 3px 9px; border-radius: 99px; margin-right: 44px; }
.rv-text { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.5; font-weight: 300; color: var(--cream); }
.rv-text p { margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.rv.open .rv-text p { -webkit-line-clamp: unset; line-clamp: unset; display: block; }
.rv-more { align-self: flex-start; margin-top: 10px; padding: 4px 0; background: none; border: 0; border-bottom: 1px solid rgba(233, 164, 92, .5); color: var(--hot); font-size: 13px; font-weight: 600; cursor: pointer; }
.rv-more:hover { color: var(--arc); }
.rv-more[hidden] { display: none; }
.rv-name { margin: auto 0 0; padding-top: 22px; font-weight: 600; font-size: 15px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rv-role { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-50); font-weight: 400; }
.rv-controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 32px; }
.rv-hint { margin: 0; color: var(--cream-50); font-size: 10.5px; }
.rv-btns { display: flex; gap: 10px; }
.rv-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; cursor: pointer; transition: border-color .3s, color .3s, box-shadow .3s; }
.rv-btn svg { width: 18px; height: 18px; }
.rv-btn:hover { border-color: var(--hot); color: var(--hot); box-shadow: 0 0 20px rgba(233, 164, 92, .25); }
.ic-pause { width: 12px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.rv-btn[aria-pressed="true"] .ic-pause { border: 0; width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.area .sec-head { margin-bottom: 40px; }
.area-lists { display: grid; gap: 36px; }
.area-lists h3 { color: var(--cream-50); margin-bottom: 16px; font-size: 11px; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; color: var(--cream-70); transition: border-color .3s, color .3s; }
.towns li:hover { border-color: var(--copper); color: var(--cream); }
.towns.core li { border-color: rgba(184, 115, 51, .5); color: var(--cream); background: rgba(184, 115, 51, .07); }
.towns.core li:first-child { background: var(--hot); color: var(--pitch); border-color: var(--hot); font-weight: 600; }
.area-map { margin: 0; }
.area-map svg { width: 100%; height: auto; max-width: 560px; margin: 0 auto; }
.area-map figcaption { text-align: center; color: var(--cream-50); margin-top: 12px; font-size: 10.5px; }
.rings circle { fill: none; stroke: var(--line-2); stroke-dasharray: 2 6; }
.rings circle:first-child { fill: rgba(184, 115, 51, .06); stroke: rgba(184, 115, 51, .5); stroke-dasharray: none; }
.ring-labels text { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; fill: var(--cream-50); text-anchor: middle; }
.spokes path { fill: none; stroke: var(--copper); stroke-width: 1.4; stroke-linejoin: round; opacity: .8; }
.map-spark { fill: none; stroke: var(--arc); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 60 940; stroke-dashoffset: 1000; animation: flow 3.6s linear infinite; filter: drop-shadow(0 0 4px var(--hot)); }
.map-spark.d2 { animation-delay: -1.2s; }
.map-spark.d3 { animation-delay: -2.4s; }
.nodes circle { fill: var(--pitch); stroke: var(--hot); stroke-width: 1.6; }
.node-labels text, .hub-label, .ring-labels text { paint-order: stroke; stroke: var(--pitch); stroke-width: 5px; stroke-linejoin: round; }
.node-labels text { font-family: var(--sans); font-size: 12px; fill: var(--cream); font-weight: 500; }
.hub { fill: var(--hot); }
.hub-glow { fill: rgba(233, 164, 92, .25); animation: hub 2.6s ease-in-out infinite; transform-origin: 250px 250px; }
@keyframes hub { 50% { transform: scale(1.5); opacity: .2; } }
.hub-label { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; fill: var(--hot); text-anchor: middle; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq .sec-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.acc { border-top: 1px solid var(--line-2); }
.acc details { border-bottom: 1px solid var(--line-2); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.25; transition: color .25s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--hot); }
.plus { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 50%; transition: transform .4s var(--ease), border-color .3s, background .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.acc details[open] .plus { transform: rotate(180deg); border-color: var(--hot); background: rgba(233, 164, 92, .1); color: var(--hot); }
.acc details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc details[open] summary { color: var(--hot); }
.acc-body { padding: 0 56px 28px 0; color: var(--cream-70); }
.acc-body p { margin: 0; }
.acc details[open] .acc-body { animation: fadeDown .45s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(184, 115, 51, .14), transparent 60%),
    var(--soil);
  border-top: 1px solid var(--line);
}
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact .sec-head { margin-bottom: 40px; }
.big-phone { display: inline-flex; flex-direction: column; font-family: var(--serif); font-size: clamp(36px, 4.4vw, 58px); line-height: 1.05; color: var(--arc); font-weight: 300; letter-spacing: -.01em; transition: color .3s, text-shadow .3s; margin-bottom: 40px; }
.big-phone .mono { color: var(--hot); margin-bottom: 10px; font-size: 11px; }
.big-phone:hover { color: var(--hot); text-shadow: 0 0 30px rgba(233, 164, 92, .4); }
.info-list { margin: 0; border-top: 1px solid var(--line); }
.info-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list dt { color: var(--cream-50); padding-top: 4px; }
.info-list dd { margin: 0; font-size: 15.5px; overflow-wrap: anywhere; }

.form-card { position: relative; background: var(--pitch); border: 1px solid var(--line-2); border-radius: 6px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.form-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--hot), transparent); }
.form-kicker { color: var(--hot); margin-bottom: 28px; }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 8px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--cream-70); margin-bottom: 8px; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--cream);
  background: rgba(242, 236, 221, .03); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 13px 14px; transition: border-color .25s, box-shadow .25s, background .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(242, 236, 221, .32); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(242, 236, 221, .32); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--hot); box-shadow: 0 0 0 3px rgba(233, 164, 92, .18); background: rgba(233, 164, 92, .04); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #E07A5F; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--hot); border-bottom: 1.5px solid var(--hot); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select { padding-right: 40px; cursor: pointer; }
.field select option { background: var(--soil); color: var(--cream); }
.err { min-height: 20px; margin: 6px 0 4px; font-size: 12.5px; color: #F0A08A; }
.form-note { margin: 14px 0 0; font-size: 12.5px; color: var(--cream-50); text-align: center; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success:focus { outline: none; }
.form-success h3 { font-family: var(--serif); font-size: 40px; margin: 24px 0 12px; }
.form-success p { color: var(--cream-70); max-width: 420px; margin: 0 auto 28px; }
.ok-bolt { width: 84px; height: 84px; margin: 0 auto; }
.ok-bolt circle { fill: rgba(233, 164, 92, .08); stroke: var(--hot); stroke-width: 1.5; stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw 1.2s var(--ease) forwards; }
.ok-bolt path { fill: var(--hot); opacity: 0; animation: pop .5s .7s var(--ease) forwards; filter: drop-shadow(0 0 8px var(--hot)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); transform-origin: center; } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--pitch); padding: 0 0 32px; border-top: 1px solid var(--line); }
.footer-ridge { height: 80px; margin-bottom: 56px; }
.footer-ridge svg { width: 100%; height: 100%; }
.footer-ridge path { fill: none; stroke: var(--copper); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.f-brand img { width: 170px; height: auto; margin-bottom: 22px; }
.f-brand p { font-size: 14px; color: var(--cream-70); }
.f-tag { font-family: var(--serif); font-size: 22px !important; color: var(--hot) !important; }
.site-footer h2 { color: var(--cream-50); margin-bottom: 18px; font-size: 11px; }
.site-footer ul li { margin-bottom: 10px; font-size: 14.5px; color: var(--cream-70); overflow-wrap: anywhere; }
.site-footer ul a { transition: color .2s; }
.site-footer ul a:hover { color: var(--hot); }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--cream-50); }
.footer-base p { margin: 0; }
.to-top { color: var(--cream-70); transition: color .2s; font-size: 10.5px; }
.to-top:hover { color: var(--hot); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav ul { gap: 18px; }
  .nav a { font-size: 13.5px; }
  .pillars { grid-template-columns: repeat(3, 1fr); row-gap: 8px; }
  .pillar:nth-child(4) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(4)::before { left: 0; }
}

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .brand img { width: 112px; }
  .burger {
    display: grid; place-items: center; position: relative; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line-2); background: transparent; cursor: pointer; flex: none;
  }
  .burger span { position: absolute; width: 18px; height: 1.5px; background: var(--cream); transition: transform .35s var(--ease); }
  .burger span:first-child { transform: translateY(-4px); }
  .burger span:last-child { transform: translateY(4px); }
  .burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  .btn-call { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    background: var(--pitch);
    scrollbar-width: thin; scrollbar-color: var(--copper) transparent;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 16px var(--gutter) 32px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
    overflow-y: auto;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul li { border-bottom: 1px solid var(--line); }
  .nav ul a { display: block; padding: 13px 0; font-family: var(--serif); font-size: clamp(24px, 6.5vw, 30px); font-weight: 300; color: var(--cream); }
  .nav ul a::after { display: none; }
  .nav-mobile-call { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; font-family: var(--serif); font-size: 26px; color: var(--hot); }
  .nav-mobile-call svg { width: 22px; height: 22px; }
  body.menu-open { overflow: hidden; }

  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feature-grid, .about-grid, .area-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-grid.reverse .feature-copy { order: 0; }
  .feature-art { max-width: 640px; }
  .faq .sec-head { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .steps::before, .steps::after { display: none; }
  .step { padding-top: 40px; border-top: 1px solid rgba(233, 164, 92, .4); }
  .step-node { top: -9px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .btn-call span { display: none; }
  .btn-call { width: 46px; min-height: 46px; padding: 0; }
  .trust-list { justify-content: flex-start; gap: 10px 22px; font-size: 13px; }
  .svc-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj, .proj-a, .proj-b, .proj-c, .proj-d { grid-column: auto; }
  .proj-b .proj-art, .proj-c .proj-art { aspect-ratio: 16 / 9; }
  .pillars { grid-template-columns: 1fr; border-top: 0; }
  .pillar, .pillar + .pillar { padding: 24px 0 16px 28px; border-left: 1px solid var(--line-2); }
  .pillar::before, .pillar + .pillar::before { left: -4px; top: 32px; }
  .pillar:nth-child(4) { padding-left: 28px; border-left: 1px solid var(--line-2); }
  .pillar:nth-child(4)::before { left: -4px; }
  .crew-row { grid-template-columns: 1fr; }
  .crew-row .crew-card { flex-direction: row; align-items: center; }
  .steps { grid-template-columns: 1fr; }
  .row.two { grid-template-columns: 1fr; }
  .rv-controls { flex-direction: column-reverse; align-items: flex-start; }
  .agg { padding: 14px 20px; }
  .agg-score { font-size: 42px; }
  .info-list > div { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .acc-body { padding-right: 0; }
  .gen-cards { grid-template-columns: 1fr; }
  .stat-label { font-size: 13px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(3) { border-left: 0; padding-left: 0; padding-right: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
}


/* =========================================================
   Photos (AI-generated placeholders) + emergency elements
   Every photo sits on a CSS fallback so a missing file still looks designed.
   ========================================================= */
img.ph { color: transparent; font-size: 0; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
img.ph.missing { opacity: 0; }
.ph-fallback, .svc-photo, .rb, .gen-photo, .about-photo {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(233, 164, 92, .2), transparent 55%),
    linear-gradient(rgba(242, 236, 221, .04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(242, 236, 221, .04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(160deg, #1b1f16, #0d0f0b);
}

/* emergency bar */
.emerg-bar { position: relative; z-index: 101; background: linear-gradient(90deg, #2a1a0c, #3a2410 50%, #2a1a0c); border-bottom: 1px solid rgba(233, 164, 92, .35); font-size: 13px; }
.emerg-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.emerg-bar p { margin: 0; display: flex; align-items: center; gap: 10px; color: var(--cream); }
.emerg-bar strong { font-weight: 600; color: var(--arc); }
.emerg-bar .hide-sm { color: var(--cream-70); }
.emerg-bar a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--hot); white-space: nowrap; padding: 6px 0; }
.emerg-bar a svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.emerg-bar a:hover { color: var(--arc); }
.emerg-bar a:hover svg { transform: translateX(3px); }
.live { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #FF8A3D; box-shadow: 0 0 0 0 rgba(255, 138, 61, .6); animation: live 1.8s ease-out infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(255, 138, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 138, 61, 0); } }
.trust-emerg { color: var(--hot); font-weight: 600; }

/* hero photo */
.hero-photo {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--hero-img, none) center 60% / cover no-repeat;
  opacity: .42;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.35) 0%, #000 45%, rgba(0,0,0,.6) 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.35) 0%, #000 45%, rgba(0,0,0,.6) 80%, transparent 100%);
}
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,9,.92) 0%, rgba(10,12,9,.55) 50%, rgba(10,12,9,.15) 100%); }

/* service card photos */
.svc { padding-top: 0; }
.svc-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; margin: 0 calc(clamp(28px, 3vw, 44px) * -1) clamp(24px, 2.4vw, 32px); border-bottom: 1px solid var(--line); }
.svc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,12,9,.55)); pointer-events: none; }
.svc-photo img.ph { filter: saturate(.85) contrast(1.05); }
.svc:hover .svc-photo img.ph { transform: scale(1.05); }
.svc-top { margin-bottom: 20px; align-items: center; }
.svc-ico { width: 40px; height: 40px; }

.svc-emerg {
  margin-top: 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  padding: 28px clamp(24px, 3vw, 40px); border: 1px solid rgba(233, 164, 92, .4); border-radius: var(--radius);
  background: linear-gradient(110deg, rgba(184, 115, 51, .18), rgba(18, 21, 15, .6) 60%);
  transition: box-shadow .4s, border-color .4s;
}
.svc-emerg:hover { border-color: var(--hot); box-shadow: 0 0 50px -10px rgba(233, 164, 92, .4); }
.svc-emerg-ico { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--hot); color: var(--hot); box-shadow: 0 0 24px rgba(233, 164, 92, .3); }
.svc-emerg-ico svg { width: 26px; height: 26px; }
.svc-emerg-copy { display: flex; flex-direction: column; gap: 4px; }
.svc-emerg-copy .mono { color: var(--hot); }
.svc-emerg-copy strong { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.svc-emerg-sub { color: var(--cream-70); font-size: 15px; }
.svc-emerg-cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--pitch); background: linear-gradient(135deg, var(--hot), var(--copper)); padding: 14px 22px; border-radius: 999px; white-space: nowrap; }
.svc-emerg-cta svg { width: 18px; height: 18px; }

/* rural photo band */
.rural-band { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; margin-top: clamp(56px, 7vw, 96px); }
.rb { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.rb-a { aspect-ratio: auto; }
.rb figcaption { position: absolute; left: 14px; bottom: 14px; z-index: 1; color: var(--arc); background: rgba(10,12,9,.7); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 99px; font-size: 10px; border: 1px solid var(--line-2); }
.rb:hover img.ph { transform: scale(1.04); }

/* generator figure */
.gen-figure { margin: 0; position: relative; padding-bottom: 150px; }
.gen-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.gen-figure .gen-art { position: absolute; right: -16px; bottom: 0; width: 48%; padding: 10px; background-color: rgba(10,12,9,.92); backdrop-filter: blur(8px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.gen-cap { margin: 4px 4px 2px; color: var(--cream-50); font-size: 9.5px; }

/* about photo */
.about-side { display: grid; gap: 20px; }
.about-photo { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.about-photo img.ph { filter: saturate(.85); }

/* project photos over line-art fallback */
.proj-art img.ph { z-index: 1; }
.proj:hover .proj-art img.ph { transform: scale(1.04); }
.proj-art::after { z-index: 2; content: "Placeholder image"; }

/* process background */
.process { overflow: hidden; }
.process > .wrap { position: relative; z-index: 1; }
.process-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--process-img, none) center / cover no-repeat;
  opacity: .16; filter: saturate(.7);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

/* contact + footer emergency */
.info-emerg dd strong { color: var(--hot); font-weight: 600; }
.f-emerg { color: var(--hot) !important; font-weight: 600; }

@media (max-width: 1080px) {
  .gen-figure { padding-bottom: 0; }
  .gen-figure .gen-art { position: relative; right: auto; width: 100%; margin-top: 16px; }
  .rural-band { grid-template-columns: 1fr 1fr; }
  .rb-a { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .about-side { max-width: 640px; }
}
@media (max-width: 760px) {
  .emerg-bar .hide-sm { display: none; }
  .emerg-bar { font-size: 12px; }
  .svc-emerg { grid-template-columns: 1fr; gap: 18px; }
  .svc-emerg-cta { justify-self: start; }
  .rural-band { grid-template-columns: 1fr; }
  .rb, .rb-a { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) { .emerg-bar .hide-xs { display: none; } }
@media (max-width: 400px) {
  .emerg-bar strong { font-size: 11.5px; }
  .emerg-inner { gap: 8px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .spark, .art-spark, .map-spark, .steps::after { display: none; }
  .live { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .ok-bolt circle { stroke-dashoffset: 0; }
  .ok-bolt path { opacity: 1; }
}

/* equal-height project rows on desktop */
@media (min-width: 761px) {
  .proj { display: flex; flex-direction: column; }
  .proj .proj-art, .proj-b .proj-art, .proj-c .proj-art { aspect-ratio: auto; height: clamp(240px, 27vw, 390px); }
  .proj-body { flex: 1; }
}


/* ==========================================================
   Reviews — endless auto-scroll marquee (pauses on hover/focus/touch)
   ========================================================== */
.rv-loop {
  --rv-gap: 20px;
  position: relative; overflow: hidden; padding: 12px 0 36px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.rv-loop__track {
  display: flex; width: max-content;
  animation: rv-loop var(--rv-dur, 90s) linear infinite;
  will-change: transform;
}
.rv-loop:hover .rv-loop__track,
.rv-loop:focus-within .rv-loop__track,
.rv-loop.is-paused .rv-loop__track { animation-play-state: paused; }
.rv-loop__set {
  display: flex; flex: none; align-items: stretch;
  gap: var(--rv-gap); padding: 0 var(--rv-gap) 0 0; margin: 0; list-style: none;
}
.rv-loop__set > * { flex-shrink: 0; scroll-snap-align: none; }
@keyframes rv-loop { to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
  .rv-loop { overflow-x: auto; scrollbar-width: none; }
  .rv-loop__track { animation: none; padding-left: var(--gutter, 20px); }
  .rv-loop__set[aria-hidden="true"] { display: none; }
}


/* ==========================================================
   CMS additions — states the static mockup never needed
   ========================================================== */
.brand-text { font-family: var(--serif); font-size: 26px; color: var(--cream); }

/* rural photo band adapts to 1–3+ photos */
.rural-band--1 { grid-template-columns: 1fr; }
.rural-band--1 .rb-a { aspect-ratio: 21 / 9; }
.rural-band--2 { grid-template-columns: 1.4fr 1fr; }
.rural-band--2 .rb-a { aspect-ratio: 4 / 3; }
.rural-cta { margin-top: 32px; }

.gen-figure.no-photo { padding-bottom: 0; }
.gen-figure.no-photo .gen-art { position: relative; right: auto; width: 100%; }

/* form: server messages + captcha */
.form-alert { margin: 0 0 18px; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; border: 1px solid; }
.form-alert--error { color: #F3B4A2; border-color: rgba(224, 122, 95, .55); background: rgba(224, 122, 95, .08); }
.form-alert--ok { color: var(--arc); border-color: rgba(233, 164, 92, .5); background: rgba(233, 164, 92, .08); }
.captcha-row { display: flex; gap: 12px; align-items: stretch; }
.captcha-img { height: 52px; width: auto; border-radius: var(--radius); border: 1px solid var(--line-2); cursor: pointer; flex: none; background: var(--cream); }
.captcha-row input { flex: 1; min-width: 0; }
.captcha-refresh { background: none; border: 0; padding: 0; margin-left: 8px; font-size: 12px; color: var(--hot); cursor: pointer; }
.form-success:not([hidden]) { display: block; }

/* standard pages (privacy, anything added under Pages) */
.page-hero { position: relative; padding: clamp(72px, 10vw, 140px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 70% 80% at 80% 0%, rgba(184, 115, 51, .14), transparent 60%), var(--pitch); }
.page-hero .sec-num a { color: var(--cream-70); }
.page-hero .sec-lede { margin-bottom: 32px; }
.page-hero--404 { min-height: 60vh; display: flex; align-items: center; }
.page-section { padding-top: clamp(48px, 6vw, 88px); }
.page-wrap { max-width: 860px; }
.prose { color: var(--cream-70); font-size: 17px; }
.prose + .prose { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.prose h2, .prose h3 { font-family: var(--serif); color: var(--cream); font-weight: 400; line-height: 1.2; margin: 1.6em 0 .6em; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); }
.prose h3 { font-size: 22px; }
.prose a { color: var(--hot); border-bottom: 1px solid rgba(233, 164, 92, .5); }
.prose ul, .prose ol { margin: 0 0 1em 1.2em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.page-form { margin-top: 56px; max-width: 640px; }
