:root {
  --ink: #122019;
  --forest: #204f3b;
  --forest-dark: #14362a;
  --brand-orange: #eb6b31;
  --clay: var(--brand-orange);
  --clay-dark: var(--brand-orange);
  --sand: #f4f0e7;
  --paper: #fffdf8;
  --line: #d7d0c3;
  --muted: #5f695f;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(18, 32, 25, 0.12);
  --radius: 1.25rem;
  --max: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #2a78d1; outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .75rem 1rem; color: var(--white); background: var(--ink); }
.skip-link:focus { top: 1rem; }
.shell { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(215, 208, 195, .85);
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 4.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-logo-frame {
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  background: var(--brand-orange);
  -webkit-mask: url('/assets/3-peaks-logo-formal.svg') center / contain no-repeat;
  mask: url('/assets/3-peaks-logo-formal.svg') center / contain no-repeat;
}
.brand strong { display: block; font-size: 1.12rem; letter-spacing: .05em; text-transform: uppercase; }
.brand span { display: block; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 1.35rem; }
.desktop-nav > a { font-size: .88rem; font-weight: 720; text-decoration: none; }
.desktop-nav > a:not(.button):hover { color: var(--clay-dark); }
.menu-button { display: none; border: 1px solid var(--line); border-radius: .7rem; background: var(--paper); padding: .65rem; }
.menu-button svg { width: 1.35rem; height: 1.35rem; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .74rem 1.15rem; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 800; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-2px); background: var(--forest-dark); }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--sand); }
.button.clay { border-color: var(--clay); background: var(--clay); }
.button.clay:hover { background: var(--clay); box-shadow: 0 .65rem 1.4rem rgba(235, 107, 49, .25); }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

.hero { overflow: hidden; padding: 4.4rem 0 3.7rem; background: var(--sand); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr); align-items: center; gap: 3.4rem; }
.eyebrow { margin: 0 0 .85rem; color: var(--clay-dark); font-size: .76rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
h1 { max-width: 13ch; font-size: clamp(3.2rem, 8vw, 7.1rem); font-weight: 900; }
h2 { max-width: 18ch; font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 880; }
h3 { font-size: 1.45rem; line-height: 1.1; }
.lead { max-width: 42rem; margin: 1.35rem 0 0; color: #405047; font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.micro { margin-top: 1rem; color: var(--muted); font-size: .83rem; }
.hero-project { position: relative; min-height: 29rem; margin: 0; overflow: hidden; border: 1px solid #bfc8bf; border-radius: 2rem; background: var(--forest); box-shadow: var(--shadow); isolation: isolate; }
.hero-project::after { content: ""; position: absolute; z-index: 1; inset: 42% 0 0; background: linear-gradient(to bottom, transparent, rgba(18, 32, 25, .86)); pointer-events: none; }
.hero-project-after { width: 100%; height: 100%; min-height: 29rem; object-fit: cover; object-position: center; }
.hero-project figcaption { position: absolute; z-index: 2; right: 1.5rem; bottom: 1.5rem; left: 1.5rem; color: var(--white); }
.hero-project figcaption span, .hero-project figcaption strong { display: block; }
.hero-project figcaption span { margin-bottom: .28rem; color: #ffe5d8; font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hero-project figcaption strong { max-width: 18rem; font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.2; text-wrap: balance; }
.hero-before { position: absolute; z-index: 2; top: 1.1rem; right: 1.1rem; width: min(40%, 10.5rem); height: clamp(7rem, 15vw, 8.25rem); overflow: hidden; border: 3px solid var(--paper); border-radius: 1rem; background: var(--paper) url('/assets/media/commercial-storage-cleanout-before-eaton-co.jpg') center 62% / cover no-repeat; box-shadow: 0 12px 32px rgba(18, 32, 25, .3); }
.hero-before span { position: absolute; top: .5rem; left: .5rem; padding: .32rem .5rem; border-radius: 999px; background: rgba(18, 32, 25, .9); color: var(--white); font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

.signal-bar { border-block: 1px solid var(--line); background: var(--white); }
.signals { display: grid; grid-template-columns: repeat(3, 1fr); }
.signal { padding: 1.25rem; text-align: center; font-weight: 800; }
.signal + .signal { border-left: 1px solid var(--line); }

.section { padding: 5.8rem 0; }
.section.alt { background: var(--sand); }
.section.dark { color: var(--white); background: var(--forest-dark); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr); align-items: end; gap: clamp(2rem, 5vw, 4rem); margin-bottom: 2.4rem; }
.section-head > div { min-width: 0; }
.section-head p { max-width: 34rem; margin: 0; color: var(--muted); text-wrap: pretty; }
.section-head > p { justify-self: end; }
.dark .section-head p { color: #c9d8cf; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { min-height: 18rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.card.compact { min-height: 16rem; }
.card p { margin: .8rem 0 0; color: var(--muted); }
.card .number { color: var(--clay-dark); font-size: .76rem; font-weight: 850; letter-spacing: .13em; }
.card-link { align-self: flex-start; font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: .3rem; }
.card-link:hover { color: var(--clay-dark); }

.proof-section { background: var(--white); }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.project-photo { position: relative; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sand); }
.project-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.project-photo figcaption { position: absolute; top: 1rem; left: 1rem; padding: .45rem .7rem; border-radius: 999px; background: rgba(18, 32, 25, .88); color: var(--white); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.proof-note { margin-bottom: 0; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.split > *, .content-grid > * { min-width: 0; }
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.step-num { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--clay); font-size: .78rem; font-weight: 900; }
.step p { margin: .45rem 0 0; color: var(--muted); }
.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.pill { padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: .85rem; font-weight: 750; text-decoration: none; }
a.pill:hover { border-color: var(--clay); color: var(--clay-dark); }

.quote-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; padding: 2.4rem; border-radius: 1.6rem; background: var(--clay); color: var(--white); }
.quote-panel h2 { max-width: 15ch; }
.quote-panel p { max-width: 42rem; margin: 1rem 0 0; }
.quote-panel .button { border-color: var(--white); background: var(--white); color: var(--ink); }

.page-hero { padding: 4.2rem 0; border-bottom: 1px solid var(--line); background: var(--sand); }
.page-hero h1 { max-width: 15ch; font-size: clamp(3rem, 7vw, 6rem); }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.content-block { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
.content-block p, .content-block li { color: var(--muted); }
.content-block ul { padding-left: 1.1rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 850; }
.faq p { max-width: 48rem; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 3.5rem; }
.contact-card { padding: 1.6rem; border-radius: var(--radius); background: var(--forest-dark); color: var(--white); }
.contact-card a { font-size: 1.6rem; font-weight: 900; }
.contact-card p { color: #d5e1da; }
.prototype-note { padding: .9rem 1rem; border-left: 4px solid var(--clay); background: var(--sand); color: var(--ink); font-size: .88rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 850; }
.optional-label { color: var(--muted); font-size: .72rem; font-weight: 650; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #aeb7af; border-radius: .7rem; background: var(--white); padding: .85rem; color: var(--ink); }
.field textarea { min-height: 8rem; resize: vertical; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-disclosure { margin: 1rem 0 0; color: var(--muted); font-size: .78rem; }
.prototype-receipt { margin-top: 1.25rem; padding: 1.1rem; border: 1px solid #9bb2a4; border-radius: 1rem; background: #edf5ef; color: var(--forest-dark); }
.prototype-receipt > strong, .prototype-receipt > span, .prototype-receipt > small { display: block; }
.prototype-receipt > span { margin-top: .2rem; font-size: .88rem; }
.prototype-receipt dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 1rem 0; }
.prototype-receipt dl div { min-width: 0; padding: .7rem; border-radius: .7rem; background: rgba(255,255,255,.72); }
.prototype-receipt dt { color: var(--muted); font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.prototype-receipt dd { overflow-wrap: anywhere; margin: .2rem 0 0; font-size: .83rem; font-weight: 800; }
.prototype-receipt small { color: var(--muted); }

.site-footer { padding: 3rem 0; border-top: 1px solid var(--line); background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 2rem; }
.site-footer a { color: #e3eee7; }
.site-footer p { color: #aebcb4; }
.footer-links { display: grid; gap: .55rem; align-content: start; }
.footer-choice { width: fit-content; border: 0; padding: 0; color: #e3eee7; background: transparent; text-decoration: underline; cursor: pointer; }
.footer-label { color: #93a59b; font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.fine-print { margin: 2rem 0 0; padding-top: 1.2rem; border-top: 1px solid #34463c; color: #93a59b; font-size: .78rem; }

.consent-panel { position: fixed; z-index: 30; right: 1rem; bottom: 1rem; left: 1rem; max-width: 68rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; margin-inline: auto; padding: 1.2rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); box-shadow: var(--shadow); }
.consent-panel strong { display: block; font-size: 1rem; }
.consent-panel p { max-width: 48rem; margin: .35rem 0 0; color: var(--muted); font-size: .85rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.consent-actions .button { min-height: 2.7rem; font-size: .82rem; cursor: pointer; }
.legal-copy { max-width: 52rem; }
.legal-copy h2 { max-width: none; margin-top: 2.2rem; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.legal-copy p, .legal-copy li { color: var(--muted); }
.legal-copy ul { padding-left: 1.2rem; }
.receipt-card { max-width: 46rem; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }

@media (max-width: 860px) {
  .menu-button { min-width: 3rem; min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; }
  .desktop-nav { position: absolute; inset: 4.8rem 1rem auto; display: none; flex-direction: column; align-items: stretch; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); box-shadow: var(--shadow); }
  .desktop-nav[data-open="true"] { display: flex; }
  .hero-grid, .split, .contact-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 2.4rem; }
  .split, .contact-layout { gap: 2.2rem; }
  .hero-project, .hero-project-after { min-height: 24rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 1rem; }
  .section-head > p { justify-self: start; }
  .quote-panel { grid-template-columns: 1fr; }
  .consent-panel { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .shell { width: min(calc(100% - 1.35rem), var(--max)); }
  .brand .brand-tagline { display: none; }
  .nav-wrap { min-height: 4.25rem; }
  .desktop-nav { inset: 4.25rem .675rem auto; }
  .hero { padding: 3.2rem 0; }
  .hero-project, .hero-project-after { min-height: 22rem; }
  .hero-project { border-radius: 1.35rem; }
  .hero-project figcaption { right: 1.1rem; bottom: 1.1rem; left: 1.1rem; }
  .hero-before { top: .8rem; right: .8rem; width: 38%; }
  h1 { font-size: clamp(3rem, 17vw, 4.4rem); }
  .page-hero { padding: 3.5rem 0; }
  .page-hero h1 { font-size: clamp(2.9rem, 14vw, 4rem); }
  .lead { font-size: 1.05rem; }
  .signals { grid-template-columns: 1fr; }
  .signal + .signal { border-left: 0; border-top: 1px solid var(--line); }
  .grid-3, .content-grid, .form-grid, .footer-grid, .before-after { grid-template-columns: 1fr; }
  .grid-3 > :last-child:nth-child(odd) { grid-column: auto; }
  .card, .card.compact { min-height: auto; }
  .card { padding: 1.3rem; }
  .button-row .button, .quote-panel .button { width: 100%; }
  .button-row .button { flex: 1 1 100%; }
  .project-photo { aspect-ratio: 4 / 5; }
  .contact-card { padding: 1.35rem; }
  .contact-card a { font-size: 1.35rem; }
  .field input, .field select, .field textarea { min-height: 3rem; font-size: 1rem; }
  .prototype-receipt dl { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .section { padding: 3.75rem 0; }
  .quote-panel { padding: 1.6rem; }
  .site-footer { padding: 2.5rem 0; }
  .consent-panel { right: .675rem; bottom: .675rem; left: .675rem; gap: 1rem; padding: 1rem; }
  .consent-actions { display: grid; grid-template-columns: 1fr; }
  .consent-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
