/* Layout: an illustrated Front Range scene (Pikes Peak, Garden of the Gods fins, ponderosa) opens the page;
   below it, sun-bleached granite sections on topo-map texture and a red-rock band for reviews.
   Dark mode turns the hero sky to dusk with alpenglow on the peak. */
:root {
  --bg: #f4efe4;           /* sun-bleached granite */
  --surface: #fffcf5;
  --alt: #ebe3d2;
  --ink: #1f2a22;
  --muted: #5b6457;
  --line: #d9cfba;
  --pine: #21402e;         /* ponderosa */
  --pine-deep: #17301f;
  --pine-ink: #f4efe4;
  --pine-muted: #b9c8b1;
  --rock: #b0482a;         /* Garden of the Gods sandstone */
  --rock-deep: #8c3519;
  --rock-ink: #fdf2e9;
  --grass: #e3a933;        /* sunlit blue grama */
  --grass-ink: #1f2a22;
  --sky-top: #1b5888;
  --sky-mid: #3f82b4;
  --sky-low: #a8d0e4;
  --sun: #fff3cf;
  --range-far: #86a9c2;
  --range-mid: #4f7393;
  --snow: #f8faf9;
  --hill: #2c5039;
  --tree: #1d3a29;
  --blade: #4a7a4f;
  --focus: #1f6fd1;
  --ok: #2c6a3c;
  --bad: #a3372b;
  --topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' fill='none' stroke='%23ddd3bd' stroke-width='1.2'%3E%3Cpath d='M182 62c62 2 112 42 108 104s-52 112-120 108-102-50-98-110 48-104 110-102z'/%3E%3Cpath d='M180 96c42 0 76 28 74 70s-36 76-80 74-68-34-66-74 30-70 72-70z'/%3E%3Cpath d='M178 128c24 0 44 16 42 40s-20 44-46 42-38-20-36-42 16-40 40-40z'/%3E%3Cpath d='M-30 30c60 14 104-26 156-44M210 372c40-34 96-24 160-56M-12 320c46-22 74-66 64-120M300 -8c-10 40 20 70 70 76'/%3E%3C/svg%3E");
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --stencil: "Big Shoulders Stencil Display", "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121814; --surface: #1a221c; --alt: #161e18; --ink: #efe8da; --muted: #a9b2a4; --line: #2e3a31;
    --pine: #1a3424; --pine-deep: #10241a; --pine-ink: #efe8da; --pine-muted: #a7b9a0;
    --rock: #a9482b; --rock-deep: #6e2a16; --rock-ink: #fdf0e6; --grass: #ebb646; --grass-ink: #16201a;
    --sky-top: #101a33; --sky-mid: #3a3f6b; --sky-low: #e0896a; --sun: #ffc98f;
    --range-far: #4d4c74; --range-mid: #34385d; --snow: #f4cdb8; --hill: #1f3a29; --tree: #132a1c; --blade: #2f5538;
    --focus: #7fb2e8; --ok: #8fd09f; --bad: #f29a8d;
    --topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' fill='none' stroke='%23263128' stroke-width='1.2'%3E%3Cpath d='M182 62c62 2 112 42 108 104s-52 112-120 108-102-50-98-110 48-104 110-102z'/%3E%3Cpath d='M180 96c42 0 76 28 74 70s-36 76-80 74-68-34-66-74 30-70 72-70z'/%3E%3Cpath d='M178 128c24 0 44 16 42 40s-20 44-46 42-38-20-36-42 16-40 40-40z'/%3E%3Cpath d='M-30 30c60 14 104-26 156-44M210 372c40-34 96-24 160-56M-12 320c46-22 74-66 64-120M300 -8c-10 40 20 70 70 76'/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121814; --surface: #1a221c; --alt: #161e18; --ink: #efe8da; --muted: #a9b2a4; --line: #2e3a31;
  --pine: #1a3424; --pine-deep: #10241a; --pine-ink: #efe8da; --pine-muted: #a7b9a0;
  --rock: #a9482b; --rock-deep: #6e2a16; --rock-ink: #fdf0e6; --grass: #ebb646; --grass-ink: #16201a;
  --sky-top: #101a33; --sky-mid: #3a3f6b; --sky-low: #e0896a; --sun: #ffc98f;
  --range-far: #4d4c74; --range-mid: #34385d; --snow: #f4cdb8; --hill: #1f3a29; --tree: #132a1c; --blade: #2f5538;
  --focus: #7fb2e8; --ok: #8fd09f; --bad: #f29a8d;
  --topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' fill='none' stroke='%23263128' stroke-width='1.2'%3E%3Cpath d='M182 62c62 2 112 42 108 104s-52 112-120 108-102-50-98-110 48-104 110-102z'/%3E%3Cpath d='M180 96c42 0 76 28 74 70s-36 76-80 74-68-34-66-74 30-70 72-70z'/%3E%3Cpath d='M178 128c24 0 44 16 42 40s-20 44-46 42-38-20-36-42 16-40 40-40z'/%3E%3Cpath d='M-30 30c60 14 104-26 156-44M210 372c40-34 96-24 160-56M-12 320c46-22 74-66 64-120M300 -8c-10 40 20 70 70 76'/%3E%3C/svg%3E");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--pine-deep);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 0.92; letter-spacing: 0.005em; }
h2 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); }
h3 { font-family: var(--body); font-size: 1.12rem; font-weight: 700; line-height: 1.25; }
p { margin: 0; }

.wrap {
  max-width: 1160px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.draft-note { background: var(--grass); color: var(--grass-ink); font-size: 0.875rem; font-weight: 600; }
.draft-note .wrap { padding-block: 8px; }

.kicker, .eyebrow {
  font-family: var(--stencil); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 1rem; color: var(--rock);
}

/* Header */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: var(--pine-deep); color: var(--pine-ink);
}
.topbar-row { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 1.7rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.02em; }
.brand img { height: 46px; width: auto; }
@media (max-width: 480px) { .brand img { height: 38px; } }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--pine-muted); }
.nav a:hover { color: var(--pine-ink); }
.call { text-decoration: none; font-weight: 700; background: var(--grass); color: var(--grass-ink); padding: 9px 14px; border-radius: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 780px) {
  .nav { display: none; }
  .call { margin-left: auto; }
}

/* Hero: sky gradient behind the copy, illustrated range along the bottom */
.hero {
  --scene-h: clamp(210px, 30vw, 420px);
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-low) 100%);
  padding-top: clamp(44px, 7vw, 92px);
  padding-bottom: calc(var(--scene-h) * 0.72);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.hero-grid:has(.sign) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); align-items: center; }
@media (max-width: 880px) { .hero-grid:has(.sign) { grid-template-columns: 1fr; } }
.hero-copy { min-width: 0; max-width: 44rem; display: flex; flex-direction: column; gap: 18px; }
.hero .eyebrow { color: var(--sun); }
.hero h1 { font-size: clamp(3.4rem, 10vw, 7.4rem); color: #fff; text-shadow: 0 2px 24px rgb(0 0 0 / 0.18); }
.hero h1 .eyebrow { display: block; line-height: 1.4; margin-bottom: 18px; text-shadow: none; }
.lede { font-size: 1.18rem; max-width: 36rem; color: rgb(255 255 255 / 0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.scene { position: absolute; left: 0; bottom: -1px; width: 100%; height: var(--scene-h); z-index: 1; }
.scene .sun { fill: var(--sun); opacity: 0.9; }
.scene .far { fill: var(--range-far); }
.scene .peak { fill: var(--range-mid); }
.scene .snow { fill: var(--snow); }
.scene .rock { fill: var(--rock); }
.scene .rock2 { fill: var(--rock-deep); }
.scene .hills { fill: var(--hill); }
.scene .trees { fill: var(--tree); }
.scene .meadow { fill: var(--bg); }

/* The company sign hangs in the sky beside the headline */
.sign { margin: 8px 0 0; justify-self: end; width: 100%; max-width: 440px; transform: rotate(-2deg); filter: drop-shadow(0 18px 30px rgb(0 0 0 / 0.35)); }
.sign img { width: 100%; height: auto; }
@media (max-width: 880px) { .sign { display: none; } }

.btn { display: inline-block; font: 700 1rem/1 var(--body); text-decoration: none; padding: 16px 22px; border-radius: 4px; border: 2px solid transparent; cursor: pointer; }
.btn-gold { background: var(--grass); color: var(--grass-ink); box-shadow: 0 3px 0 color-mix(in srgb, var(--grass) 60%, black); }
.btn-gold:hover { background: color-mix(in srgb, var(--grass) 88%, white); }
.btn-gold:active { transform: translateY(2px); box-shadow: 0 1px 0 color-mix(in srgb, var(--grass) 60%, black); }
.btn-ghost { border-color: rgb(255 255 255 / 0.55); color: #fff; background: rgb(0 0 0 / 0.12); }
.btn-ghost:hover { border-color: #fff; }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt { background: var(--alt); }
.topo { background-color: var(--bg); background-image: var(--topo); background-size: 360px 360px; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 44px; max-width: 46rem; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 1.08rem; }

.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 18px; }
.services li {
  min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.services p { color: var(--muted); }
/* A lone card on the last row of three stretches across instead of leaving a gap */
@media (min-width: 1040px) {
  .services li:last-child:nth-child(3n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; }
  .services li:last-child:nth-child(3n+1) .icon { grid-row: span 2; }
}
.icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--pine); color: var(--grass); margin-bottom: 4px; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Gallery: first photo leads, the rest fill in */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); grid-auto-flow: dense; gap: 14px; }
@media (min-width: 900px) { .gallery li:first-child { grid-column: span 2; grid-row: span 2; } }
.shot { all: unset; box-sizing: border-box; position: relative; display: block; width: 100%; height: 100%; cursor: zoom-in; border-radius: 6px; overflow: hidden; background: var(--line); }
.shot:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.shot img { width: 100%; height: 100%; min-height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s ease; }
.shot:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .shot img { transition: none; } .shot:hover img { transform: none; } }
.shot > span:last-child {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font-weight: 600; font-size: 0.95rem;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.62));
}
.shot-empty { cursor: default; display: flex; flex-direction: column; background: transparent; border-radius: 6px; }
.shot-empty .ph {
  aspect-ratio: 4 / 3; max-width: 100%; flex: 1; border-radius: 6px; display: grid; place-items: center;
  border: 2px dashed var(--line); color: var(--muted); font-size: 0.92rem; background-color: var(--surface);
  background-image: var(--topo); background-size: 240px 240px;
}
.shot-empty > span:last-child { position: static; background: none; color: var(--muted); padding: 8px 2px 0; }

/* Steps: trail-marker numbers on a dashed trail line */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 32px; counter-reset: step; position: relative; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; min-width: 0; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  font-family: var(--display); font-weight: 900; font-size: 1.9rem; line-height: 1;
  background: var(--rock); color: var(--rock-ink); border: 4px solid var(--alt); box-shadow: 0 0 0 2px var(--rock);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: 66px; right: -20px; border-top: 2px dashed color-mix(in srgb, var(--rock) 55%, transparent);
}
@media (max-width: 1000px) { .steps li::after { display: none; } }
.steps p { color: var(--muted); }

/* Red-rock band with reviews */
.rock-band { background: var(--rock); color: var(--rock-ink); background-image: linear-gradient(160deg, var(--rock) 40%, var(--rock-deep)); }
.rock-band .kicker { color: var(--grass); }
.rock-band h2 { color: var(--rock-ink); }
.rock-band .section-head p:not(.kicker) { color: color-mix(in srgb, var(--rock-ink) 82%, transparent); }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.reviews blockquote {
  margin: 0; height: 100%; background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 6px; padding: 26px; display: flex; flex-direction: column; gap: 16px; justify-content: space-between;
}
.reviews blockquote::before { content: "“"; font-family: var(--display); font-weight: 900; font-size: 4.2rem; line-height: 0.5; color: var(--grass); padding-top: 14px; }
.reviews blockquote p { font-size: 1.08rem; flex: 1; }
.reviews footer { font-weight: 700; font-size: 0.92rem; color: color-mix(in srgb, var(--rock-ink) 80%, transparent); }

/* Quote */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
@media (max-width: 880px) { .quote-grid { grid-template-columns: 1fr; } }
.quote-info { display: flex; flex-direction: column; gap: 16px; }
.quote-info > p:not(.kicker) { color: var(--muted); }
.contact { margin: 8px 0 0; display: flex; flex-direction: column; gap: 12px; }
.contact div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; }
.contact dt { font-family: var(--stencil); font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.contact dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.area-title { margin-top: 16px; }
.areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.areas li { background: var(--pine); color: var(--pine-ink); border-radius: 3px; padding: 6px 12px 6px 10px; font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.areas li::before { content: ""; width: 8px; height: 8px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grass); }

.quote-form {
  background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--rock); border-radius: 6px;
  padding: clamp(20px, 4vw, 32px); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 14px 34px rgb(0 0 0 / 0.07);
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 700; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  border-radius: 4px; padding: 11px 12px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.quote-form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 12px 14px; border-radius: 4px; font-weight: 600; border: 1px solid currentColor; }
.notice-ok { color: var(--ok); }
.notice-bad { color: var(--bad); }

/* Footer with a ridgeline edge */
.site-foot { position: relative; background: var(--pine-deep); color: var(--pine-muted); font-size: 0.92rem; margin-top: clamp(30px, 4vw, 50px); }
.site-foot::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(30px, 4vw, 50px); background: var(--pine-deep);
  clip-path: polygon(0 100%, 0 70%, 7% 50%, 13% 64%, 22% 30%, 30% 52%, 38% 18%, 44% 34%, 51% 0, 58% 30%, 66% 22%, 74% 56%, 83% 40%, 91% 62%, 100% 46%, 100% 100%);
}
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-block: 26px 32px; }
.site-foot strong { color: var(--pine-ink); font-family: var(--display); font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.02em; }
.foot-links { display: flex; gap: 16px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); color: #fff; }
.lightbox::backdrop { background: rgb(0 0 0 / 0.86); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox p { text-align: center; padding-top: 10px; }
.lb-close { position: fixed; top: calc(16px + env(safe-area-inset-top, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); font: 700 0.95rem var(--body); background: #fff; color: #111; border: 0; border-radius: 4px; padding: 8px 14px; cursor: pointer; }

/* Announcement bar, turned on from the admin */
.announce { background: var(--rock); color: var(--rock-ink); font-weight: 600; font-size: 0.95rem; text-align: center; }
.announce .wrap { padding-block: 9px; }

/* Gallery filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 24px; }
.chip { font: 600 0.92rem/1 var(--body); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--pine); }
.chip[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: var(--pine-ink); }

/* ---------- Homepage polish ---------- */

/* Foreground grass and a gentle rise-in of the landscape on load */
.scene .blades { fill: var(--blade); }
@media (prefers-reduced-motion: no-preference) {
  .scene .far, .scene .peak, .scene .snow, .scene .rock, .scene .hills, .scene .trees, .scene .sun {
    animation: rise 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .scene .peak, .scene .snow { animation-delay: 0.08s; }
  .scene .rock { animation-delay: 0.18s; }
  .scene .hills, .scene .trees { animation-delay: 0.28s; }
  .scene .sun { animation-duration: 2.2s; }
  .scene .blades path { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 4.5s ease-in-out infinite alternate; }
  .scene .blades path:nth-child(2) { animation-duration: 5.6s; animation-delay: -1.5s; }
  .scene .blades path:nth-child(3) { animation-duration: 3.8s; animation-delay: -0.7s; }
}
@keyframes rise { from { transform: translateY(36px); } }
@keyframes sway { from { transform: skewX(-5deg); } to { transform: skewX(4deg); } }

/* Highlights strip: a card that overlaps the bottom of the hero */
.highlights { position: relative; z-index: 3; margin-top: clamp(-56px, -4vw, -28px); }
.highlights ul {
  list-style: none; margin: 0; padding: 18px clamp(16px, 3vw, 28px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 16px 36px rgb(0 0 0 / 0.1);
}
.highlights li { display: flex; align-items: center; gap: 10px; font-weight: 700; min-width: 0; }
.tick { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--pine); color: var(--grass); }
.tick svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.highlights + .section { padding-top: clamp(48px, 7vw, 88px); }

/* Livelier service cards */
.services li { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.services li:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--pine) 45%, var(--line)); box-shadow: 0 14px 28px rgb(0 0 0 / 0.08); }
.services li:hover .icon { background: var(--grass); color: var(--pine); }
.icon { transition: background 0.2s ease, color 0.2s ease; }
@media (prefers-reduced-motion: reduce) { .services li, .icon { transition: none; } .services li:hover { transform: none; } }

/* Curved hill edge on top of a colored band */
.hill-top { position: relative; }
.hill-top::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(22px, 3.6vw, 52px);
  background: var(--hill-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V38C180 8 360 4 560 26S940 50 1120 24C1260 6 1360 10 1440 22V60Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V38C180 8 360 4 560 26S940 50 1120 24C1260 6 1360 10 1440 22V60Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.section-alt.hill-top { --hill-color: var(--alt); }
.rock-band.hill-top { --hill-color: var(--rock); }
.cta-band { --hill-color: var(--pine); }

/* Mid-page call to action */
.cta-band { background: var(--pine); color: var(--pine-ink); padding-block: clamp(44px, 6vw, 72px); overflow: visible; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta-copy { display: flex; flex-direction: column; gap: 10px; max-width: 40rem; min-width: 0; }
.cta-band h2 { color: var(--pine-ink); font-size: clamp(2rem, 4.6vw, 3.2rem); }
.cta-band p { color: var(--pine-muted); font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Tap-to-call bar on phones (replaces the header call button there) */
.mobile-bar { display: none; }
@media (max-width: 780px) {
  .topbar .call { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
    background: var(--pine-deep); box-shadow: 0 -6px 20px rgb(0 0 0 / 0.18);
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  }
  .mobile-bar .btn { text-align: center; padding: 14px 10px; white-space: nowrap; }
  .mobile-bar:has(> :only-child) { grid-template-columns: 1fr; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
