:root {
  --ember-red: #E24B4A;
  --canyon-night: #1C1208;
  --ochre: #BA7517;
  --ponderosa-green: #27500A;
  --dusk-sky: #4A6A7C;
  --parchment: #F5F0E8;
  --border-soft: rgba(28, 18, 8, 0.15);
  --shadow-soft: 0 18px 35px rgba(28, 18, 8, 0.08);
  --stopmotion-bg: #FFF8CD;
  --header-height: 4.8rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  background: var(--parchment);
  color: var(--canyon-night);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
iframe {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

section {
  padding: 5.5rem 1.5rem;
}

.section-dark {
  background: var(--canyon-night);
  color: var(--parchment);
}

.section-light {
  background: var(--parchment);
  color: var(--canyon-night);
}

.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 1.5rem;
  z-index: 20;
  background: rgba(255, 248, 205, 0.85);
  backdrop-filter: blur(10px);
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--canyon-night);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  height: 4rem;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 1.3rem;
  white-space: nowrap;
  color: var(--ember-red);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: rgba(28, 18, 8, 0.82);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--dusk-sky);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 0.6rem;
  background: var(--ember-red);
  color: white;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(226, 75, 74, 0.24);
}

.hero-scroll {
  position: relative;
  height: 300vh;
}

.hero-scrub-spacer {
  display: none;
}

.hero {
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  padding: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: var(--stopmotion-bg);
  z-index: 0;
}

.hero-video-panel {
  position: relative;
  z-index: 1;
  justify-self: start;
  align-self: stretch;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 3rem 3rem 3.75rem 2.5rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ochre);
  font-weight: 700;
}

.hero h1 .highlight {
  color: var(--ember-red);
}

.hero h1,
.section-heading h2,
.about-copy h2,
.service-area-copy h2,
.contact-intro h2 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0;
}

.hero .eyebrow {
  font-size: 1rem;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.75rem);
  max-width: 12ch;
  color: var(--canyon-night);
}

.hero-subheading {
  color: rgba(28, 18, 8, 0.78);
  max-width: 40rem;
  font-size: 1.3rem;
  margin: 1.2rem 0 0;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
  color: var(--canyon-night);
  font-size: 1.1rem;
}

.hero-stats div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-stats div:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1rem;
  background: rgba(28, 18, 8, 0.3);
}

.hero-video {
  display: block;
  object-fit: contain;
  background: var(--stopmotion-bg);
}

.section-heading,
.service-grid,
.gallery-grid,
.testimonial-grid,
.about-grid,
.service-area,
.faq-list,
.contact {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 42rem;
}

.section-heading h2,
.about-copy h2,
.service-area-copy h2,
.contact-intro h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  color: inherit;
}

.service-grid,
.gallery-grid,
.testimonial-grid {
  display: grid;
  gap: 1.4rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: white;
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--ochre);
  border-radius: 1.2rem;
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.service-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.18rem;
}

.service-card p {
  margin: 0;
  color: rgba(28, 18, 8, 0.8);
}

.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.gallery-label {
  margin: 0;
  font-weight: 700;
  color: var(--parchment);
}

.image-comparison {
  position: relative;
  height: 20rem;
  border-radius: 1.4rem;
  overflow: hidden;
  background: var(--parchment);
  cursor: ew-resize;
  box-shadow: var(--shadow-soft);
}

.image-comparison__before,
.image-comparison__after,
.image-comparison__overlay {
  position: absolute;
  inset: 0;
}

.image-comparison__before {
  background: linear-gradient(90deg, rgba(255,255,255,0.35), rgba(115,115,115,0.2)), #8a8a8a;
}

.image-comparison__after {
  background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(39, 80, 10, 0.22)), var(--ponderosa-green);
}

.image-comparison__overlay {
  background: linear-gradient(180deg, rgba(28, 18, 8, 0.1), rgba(28, 18, 8, 0.28));
  clip-path: inset(0 0 0 var(--split, 50%));
}

.image-comparison__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 2px;
  background: white;
  transform: translateX(-50%);
}

.image-comparison__handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  background: white;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.image-comparison__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  justify-content: space-between;
  color: white;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.cta-strip {
  padding: 2.2rem 1.5rem;
  background: var(--ember-red);
  color: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-strip p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.button-light {
  background: white;
  color: var(--ember-red);
  box-shadow: none;
}

.about-grid,
.service-area {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.about-photo {
  min-height: 22rem;
  border-radius: 1.4rem;
  background: linear-gradient(135deg, rgba(28, 18, 8, 0.12), rgba(186, 117, 23, 0.18));
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(28, 18, 8, 0.78);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.about-copy p {
  color: rgba(28, 18, 8, 0.82);
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  background: var(--parchment);
  color: var(--canyon-night);
  border-radius: 1.2rem;
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.testimonial-card p {
  margin-top: 0;
  font-style: italic;
}

.stars {
  color: var(--ochre);
  letter-spacing: 0.16em;
  margin-bottom: 0.6rem;
}

.testimonial-card span {
  display: block;
  color: rgba(28, 18, 8, 0.7);
}

.service-area-map iframe {
  width: 100%;
  min-height: 21rem;
  border: 0;
  border-radius: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.service-area-copy ul {
  padding-left: 1.2rem;
  color: rgba(28, 18, 8, 0.82);
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  border: 1px solid rgba(245, 240, 232, 0.16);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--parchment);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  text-align: left;
  cursor: pointer;
}

.faq-chevron {
  color: var(--ember-red);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.2rem;
}

.faq-item.open .faq-answer {
  max-height: 9rem;
  padding: 0 1.2rem 1rem;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 0.95rem;
  background: white;
  border-radius: 1.4rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--canyon-night);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid rgba(28, 18, 8, 0.14);
  border-radius: 0.9rem;
  padding: 0.78rem 0.9rem;
  background: var(--parchment);
  color: var(--canyon-night);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ochre);
  box-shadow: 0 0 0 3px rgba(186, 117, 23, 0.18);
}

.button-cta {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.site-footer {
  padding: 1.25rem 1.5rem 1.6rem;
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand {
  font-weight: 800;
}

.footer-tagline {
  color: rgba(245, 240, 232, 0.78);
}

@media (max-width: 900px) {
  .hero-scroll {
    height: auto;
  }

  .hero {
    position: sticky;
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .hero-scrub-spacer {
    display: block;
    height: 45vh;
  }

  .hero,
  .about-grid,
  .service-area,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-video-panel {
    justify-self: stretch;
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    background: var(--stopmotion-bg);
    padding: 2.5rem 1.5rem 3rem;
  }

  .service-grid,
  .gallery-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .service-grid,
  .gallery-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
  }

  .logo-mark {
    height: 2.6rem;
  }

  .logo-text {
    font-size: 1rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .nav-cta {
    padding: 0.6rem 0.85rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .site-nav {
    display: none;
  }

  .hero-content {
    padding-bottom: 2.4rem;
  }

  .hero-stats {
    flex-direction: column;
  }

  .hero-stats div:not(:last-child)::after {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}


/* Scroll-triggered fade-in */
.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.service-grid > .reveal:nth-child(2),
.gallery-grid > .reveal:nth-child(2),
.testimonial-grid > .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.service-grid > .reveal:nth-child(3),
.gallery-grid > .reveal:nth-child(3),
.testimonial-grid > .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Hover interactions */
.nav-cta,
.button,
.logo,
.service-card,
.testimonial-card,
.about-photo,
.image-comparison,
.faq-item,
.service-area-map,
.contact-form input,
.contact-form select,
.contact-form textarea,
.reveal {
  transition: transform 0.4s ease, box-shadow 0.25s ease, border-color 0.25s ease,
    background 0.25s ease, color 0.25s ease, opacity 0.5s ease;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(226, 75, 74, 0.32);
}

.button-light:hover {
  background: var(--parchment);
}

.logo:hover {
  opacity: 0.8;
}

.service-card,
.testimonial-card,
.about-photo,
.image-comparison,
.service-area-map {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease,
    opacity 0.5s ease;
}

.service-card:hover,
.testimonial-card:hover,
.about-photo:hover,
.image-comparison:hover,
.service-area-map:hover {
  transform: translateY(-8px) scale(1.045);
  box-shadow: 0 26px 46px rgba(28, 18, 8, 0.2);
}

.faq-item:hover {
  border-color: rgba(226, 75, 74, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.faq-question:hover {
  color: var(--ember-red);
}


.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: var(--ochre);
}
