:root {
  --navy: #103a2a;
  --navy-deep: #08261b;
  --green: #164c32;
  --green-bright: #256d45;
  --ice: #e89542;
  --snow: #f5f1e7;
  --white: #ffffff;
  --slate: #42584a;
  --line: #cbd3c7;
  --stone: #c99a63;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy-deep);
  background: var(--snow);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 86px;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: .8rem clamp(1rem, 4vw, 4.5rem);
  color: var(--white);
  background: rgba(3,27,46,.97);
  border-bottom: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; justify-content: center; width: 220px; min-height: 75px; padding: .25rem; }
.brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
nav { display: flex; justify-content: center; gap: 2rem; }
nav a { text-decoration: none; font-weight: 700; font-size: .92rem; }
.header-call { padding: .8rem 1.05rem; color: var(--white); border: 1px solid var(--ice); text-decoration: none; font-weight: 800; }
.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: stretch;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5,29,19,.96) 0%, rgba(8,38,27,.84) 45%, rgba(8,38,27,.30) 75%, rgba(8,38,27,.20) 100%),
    url('assets/flathead-mountain-road-v2.png') center/cover no-repeat;
  overflow: hidden;
}
.hero-copy { align-self: center; padding: clamp(4.5rem, 9vw, 8rem) clamp(1.3rem, 7vw, 8rem); }
.eyebrow { margin: 0 0 1rem; color: var(--ice); font-weight: 850; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.services .eyebrow, .approach .eyebrow { color: var(--green); }
h1, h2, h3 { margin-top: 0; line-height: 1.06; letter-spacing: -.035em; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
h1 { margin-bottom: 1.6rem; font-size: clamp(3.4rem, 7vw, 7.6rem); max-width: 900px; }
h1 span { color: var(--ice); }
.hero-lead { max-width: 700px; margin: 0; font-size: clamp(1.08rem, 1.7vw, 1.35rem); color: #ecf3e8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; padding: .75rem 1.2rem; text-decoration: none; font-weight: 850; }
.button-primary { color: var(--navy-deep); background: var(--ice); }
.button-secondary { color: var(--white); border: 1px solid rgba(255,255,255,.55); }
.terrain-panel {
  min-width: 280px;
  align-self: center;
  margin-right: clamp(1rem, 5vw, 5rem);
  padding: 2rem;
  border-left: 1px solid rgba(255,255,255,.26);
  background: rgba(8,38,27,.72);
  backdrop-filter: blur(8px);
}
.terrain-panel > p { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ice); }
.terrain-stat { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.terrain-stat strong { color: var(--ice); font-size: 1.25rem; }
.terrain-stat span { font-size: 1.15rem; font-weight: 700; }
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 3rem; padding: 1.15rem 2rem; color: var(--navy-deep); background: var(--stone); border-top: 5px solid var(--green); font-size: .82rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.services { max-width: 1260px; margin: 0 auto; padding: 7rem 1.25rem; }
.section-heading { max-width: 770px; margin-bottom: 3rem; }
.section-heading h2, .project-fit h2, .approach h2, .contact h2 { font-size: clamp(2.3rem, 4.8vw, 4.8rem); }
.section-heading > p:last-child { color: var(--slate); font-size: 1.15rem; }
.service-card { display: grid; grid-template-columns: 110px 1fr; gap: 2rem; padding: 3.4rem 2rem; border-top: 1px solid var(--line); background: rgba(255,255,255,.45); }
.service-card:nth-of-type(even) { background: #e6ebe2; }
.service-card:last-child { border-bottom: 1px solid var(--line); }
.service-number { color: var(--ice); font-weight: 900; font-size: 2rem; }
.service-label { margin: 0 0 .5rem; color: var(--green); font-weight: 850; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; }
.service-card h3 { margin-bottom: 1rem; font-size: clamp(2rem, 3.5vw, 3.5rem); }
.service-card p, .service-card li { color: var(--slate); }
.service-card ul { display: flex; flex-wrap: wrap; gap: .65rem 2rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.service-card li { position: relative; padding-left: 1.15rem; font-weight: 700; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; background: var(--green); }
.project-fit { padding: 7rem clamp(1.25rem, 7vw, 8rem); color: white; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); border-top: 8px solid var(--stone); }
.project-fit > div:first-child { max-width: 880px; }
.fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 3rem; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); }
.fit-grid > div { padding: 2rem; background: var(--navy); }
.fit-grid strong { display: block; margin-bottom: .8rem; color: var(--ice); font-size: 1.15rem; }
.fit-grid p { margin: 0; color: #e9f1e8; }
.approach { padding: 7rem clamp(1.25rem, 7vw, 8rem); background: var(--snow); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; }
.approach-grid p { margin: 0; color: var(--slate); font-size: 1.2rem; }
.contact { display: grid; grid-template-columns: 1.3fr .7fr; gap: 4rem; padding: 7rem clamp(1.25rem, 7vw, 8rem); color: white; background: var(--green); }
.contact > div:first-child { max-width: 820px; }
.contact > div:first-child > p:last-child { color: #e9f1e8; font-size: 1.15rem; }
.contact-card { align-self: center; padding: 2rem; color: var(--navy-deep); background: var(--snow); box-shadow: 12px 12px 0 #043e29; }
.contact-card p { margin: 0; }
.contact-card .contact-name { font-size: 1.4rem; font-weight: 900; }
.contact-card a { display: block; margin-top: 1rem; color: var(--navy); font-size: 1.08rem; font-weight: 850; }
.contact-card .service-area { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--slate); }
footer { display: grid; grid-template-columns: 200px 1fr auto; align-items: center; gap: 2rem; padding: 2rem clamp(1.25rem, 4vw, 4rem); color: #e9f1e8; background: var(--navy-deep); font-size: .84rem; }
footer img { width: 190px; height: auto; object-fit: contain; }
footer p { margin: 0; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .terrain-panel { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0 1.3rem 2.5rem; border: 0; }
  .terrain-panel > p { grid-column: 1 / -1; }
  .terrain-stat { grid-template-columns: 42px 1fr; margin-right: 1rem; }
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid, .contact { grid-template-columns: 1fr; gap: 2rem; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { min-height: 70px; padding: .6rem 1rem; }
  .brand { width: 150px; min-height: 55px; }
  .header-call { padding: .55rem .7rem; font-size: .76rem; }
  .hero { min-height: auto; }
  .hero-copy { padding-top: 4.5rem; padding-bottom: 3.2rem; }
  h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .terrain-panel { grid-template-columns: 1fr; padding-bottom: 2rem; }
  .terrain-stat { margin-right: 0; }
  .service-card { grid-template-columns: 1fr; gap: .5rem; }
  .service-card ul { display: block; }
  .service-card li { margin-bottom: .65rem; }
  .fit-grid { grid-template-columns: 1fr; }
  .services, .project-fit, .approach, .contact { padding-top: 5rem; padding-bottom: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Western Montana presentation */
body { background: #f6f5f0; color: #17271d; font-family: Arial, Helvetica, sans-serif; }
.site-header { position: relative; min-height: 108px; grid-template-columns: 280px 1fr auto; background: #fff; color: #163122; border-bottom: 0; backdrop-filter: none; }
.brand { width: 260px; min-height: 90px; }
nav a, .header-call { text-transform: uppercase; letter-spacing: .07em; font-weight: 900; }
.header-call { border: 0; border-bottom: 3px solid #e89542; padding: .6rem 0; color: #163122; }
.hero { min-height: 670px; display: block; background: linear-gradient(90deg,rgba(4,25,16,.92),rgba(4,25,16,.67) 44%,rgba(4,25,16,.1) 85%),url('assets/mountain-mulching-hero.png') center/cover no-repeat; }
.hero-copy { max-width: 950px; padding-top: 7rem; padding-bottom: 8rem; }
h1, h2, h3 { font-family: Arial, Helvetica, sans-serif; font-weight: 900; text-transform: uppercase; }
h1 { font-size: clamp(3.6rem,7.5vw,8rem); letter-spacing: -.06em; }
h1 span { color: #f5b477; }
.eyebrow { color: #e89542; }
.hero-lead { color: #f0f2e9; }
.button-primary { background: #e89542; color: #10291d; }
.button-secondary { border-color: #fff; }
.terrain-panel { display: none; }
.trust-strip { justify-content: space-around; background: #e5e8dd; border-top: 5px solid #e89542; }
.services { max-width: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; padding: 6rem clamp(1.25rem,7vw,8rem); background: #d6ddd1; }
.section-heading { grid-column: 1/-1; max-width: 900px; margin: 0 0 2.5rem; }
.section-heading .eyebrow, .approach .eyebrow { color: #1d5b38; }
.section-heading h2, .project-fit h2, .approach h2, .contact h2 { letter-spacing: -.05em; }
.service-card, .service-card:nth-of-type(even) { display: block; min-height: 390px; padding: 2.5rem; background: #fff; border: 0; }
.service-image { display: block; width: calc(100% + 5rem); height: clamp(220px,26vw,380px); margin: -2.5rem -2.5rem 2rem; object-fit: cover; }
.service-card .service-number { color: #a75b26; font-size: .9rem; letter-spacing: .15em; }
.service-card h3 { margin-top: 2rem; }
.service-card p, .service-card li { color: #4c5f52; }
.service-card ul { display: block; margin-top: 1.2rem; }
.service-card li { margin-bottom: .4rem; }
.project-fit { background: #0b2b1c; border-top: 0; }
.fit-grid > div { background: #123c28; }
.approach { background: linear-gradient(90deg,rgba(4,28,18,.92),rgba(4,28,18,.56)),url('assets/flathead-mountain-road-v2.png') center/cover no-repeat; color: #fff; }
.approach .eyebrow { color: #f5b477; }
.approach-grid p { color: #e9eee6; }
.contact { background: #164c32; }
.contact-card { box-shadow: 12px 12px 0 #0b3020; }
footer { background: #08261b; }
@media (max-width: 980px) { .site-header { grid-template-columns: 1fr auto; } .brand { width: 200px; } .hero { min-height: 600px; } }
@media (max-width: 640px) { .site-header { min-height: 88px; gap: .5rem; } .brand { width: 150px; min-height: 60px; } .hero { min-height: 650px; background-position: 63% center; } .hero-copy { padding-top: 5rem; } h1 { font-size: clamp(3rem,14vw,5rem); } .services { grid-template-columns: 1fr; } .service-card { min-height: 0; } .service-image { height: 240px; } }

/* User-provided project photos */
.project-fit { position: relative; isolation: isolate; background: #0b2b1c; }
.project-fit::before { content: ""; position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 43%; background: linear-gradient(90deg,#0b2b1c 0%,rgba(11,43,28,.15) 55%),url('assets/right-fit-photo.jpeg') center/cover no-repeat; }
.project-fit > * { position: relative; z-index: 1; }
.fit-grid > div { background: rgba(18,60,40,.9); }
.approach { background: linear-gradient(90deg,#08261b 0%,rgba(8,38,27,.96) 48%,rgba(8,38,27,.2) 100%),url('assets/how-we-work-photo.jpeg') right center/auto 100% no-repeat #08261b; }
.contact { background: linear-gradient(90deg,rgba(8,38,27,.95),rgba(8,38,27,.8) 55%,rgba(8,38,27,.56)),url('assets/site-start-photo.jpeg') center/cover no-repeat; }
@media (max-width: 700px) { .project-fit::before { width: 100%; opacity: .5; } .approach { background: linear-gradient(90deg,rgba(8,38,27,.94),rgba(8,38,27,.7)),url('assets/how-we-work-photo.jpeg') center/cover no-repeat; } .contact { background-position: 52% center; } }
.mobile-call { display: none; }
@media (max-width: 640px) { body { padding-bottom: 70px; } .mobile-call { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; min-height: 66px; background: #e89542; color: #08261b; font-size: 1rem; font-weight: 900; text-decoration: none; box-shadow: 0 -5px 20px rgba(0,0,0,.23); } }
