/* ================================================================
   Cheshire Conservatory Roofs — main stylesheet
   Palette drawn from the client logo greens.
   ================================================================ */

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-var.woff2") format("woff2");
  font-weight: 300 700;
  font-stretch: normal;
  font-display: swap;
}
@font-face {
  font-family: "Albert Sans";
  src: url("../assets/fonts/albert-sans-var.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --pine: #161d10;
  --pine-2: #1e2916;
  --moss: #4a5930;
  --fern: #729442;
  --leaf: #85af43;
  --linen: #f4f1e7;
  --stone: #e9e4d3;
  --ink: #23281b;
  --ink-soft: #4c523f;
  --ember: #c9963f;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Albert Sans", "Segoe UI", Arial, sans-serif;
  --pad-x: clamp(1.25rem, 4.5vw, 4.5rem);
  --header-h: 96px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* NOTE: never set `scroll-behavior: smooth` here. It fights ScrollTrigger's
   pinning (the native smooth-scroll is still animating when the pin engages,
   so it overshoots into the pinned gallery). Smooth anchor scrolling is done
   in main.js with GSAP ScrollToPlugin instead, which is pin-aware. */
html { scroll-behavior: auto; }

body {
  font-family: var(--body);
  font-weight: 400;
  color: var(--ink);
  background: var(--linen);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* height:auto keeps the intrinsic ratio when the width/height attributes are
   present for layout stability. Components that crop set their own height. */
img, video { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--pine); color: var(--linen); padding: .75rem 1.25rem;
}
.skip-link:focus { left: 0; }

h1, h2, h3 { font-family: var(--display); font-optical-sizing: auto; font-weight: 420; line-height: 1.08; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  padding: .95rem 1.9rem; border-radius: 999px;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 2.4rem; font-size: 1.08rem; }
.btn-solid { background: var(--linen); color: var(--pine); }
.btn-solid:hover { background: #fff; }
.btn-ghost { border: 1.5px solid rgba(244, 241, 231, .55); color: var(--linen); }
.btn-ghost:hover { border-color: var(--linen); background: rgba(244,241,231,.08); }
.btn-green { background: var(--leaf); color: var(--pine); }
.btn-green:hover { background: #93bd52; }
.btn-outline { border: 1.5px solid var(--moss); color: var(--ink); }
.btn-outline:hover { background: rgba(74,89,48,.08); }

/* ---------- section titles ---------- */
.section-title {
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  letter-spacing: -.01em;
  margin-bottom: 1.4rem;
}
.section-title .line { display: block; }
.section-title .line { padding: .08em .12em .18em; margin: -.08em -.12em -.18em; }
.line-green { color: var(--fern); font-style: italic; font-weight: 380; }
.section-title.centered { text-align: center; }
.on-dark { color: var(--linen); }
.lead { font-size: 1.16rem; line-height: 1.65; }
.lead.on-dark, .check-list.on-dark li { color: rgba(244,241,231,.86); }

.check-list { list-style: none; margin: 1.5rem 0 1.75rem; }
.check-list li {
  position: relative; padding-left: 2rem; margin-bottom: .7rem; color: var(--ink-soft);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .32em;
  width: 14px; height: 9px;
  border-left: 3px solid var(--leaf); border-bottom: 3px solid var(--leaf);
  transform: rotate(-48deg);
}

.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--moss); font-weight: 650; text-decoration: none;
  border-bottom: 2px solid var(--leaf); padding-bottom: .15rem;
}
.text-link .arrow { transition: transform .25s ease; }
.text-link:hover .arrow { transform: translateX(5px); }

/* ================= HEADER ================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: linear-gradient(rgba(16,22,11,.82), rgba(16,22,11,.55) 70%, transparent);
  transition: background-color .35s ease;
}
.site-header.is-solid { background: #10160b; box-shadow: 0 2px 24px rgba(0,0,0,.28); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem var(--pad-x);
  gap: 2rem;
}
.brand-logo { height: 72px; width: auto; transition: height .35s ease; }
.site-header.is-solid .brand-logo { height: 54px; }
.main-nav { display: flex; align-items: center; gap: clamp(.85rem, 1.6vw, 1.7rem); }
.nav-item { position: relative; }
.nav-link {
  color: var(--linen); text-decoration: none; font-weight: 550; font-size: .95rem;
  font-family: var(--body); line-height: 1.4;
  position: relative; padding: .3rem 0;
  display: inline-flex; align-items: center; gap: .34rem;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--leaf); transition: width .28s ease;
}
.nav-link:hover::after, .nav-item.is-open > .nav-link::after { width: 100%; }
.nav-link.is-current::after { width: 100%; background: rgba(133,175,67,.5); }
.nav-link .caret { transition: transform .28s ease; opacity: .75; }
.nav-item.is-open > .nav-link .caret { transform: rotate(180deg); opacity: 1; }

/* dropdown panels */
.nav-menu {
  position: absolute; top: calc(100% + 1.1rem); left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #10160b; border: 1px solid rgba(133,175,67,.24); border-radius: 10px;
  padding: 1rem; min-width: 270px;
  opacity: 0; visibility: hidden; pointer-events: none;
  box-shadow: 0 28px 64px rgba(0,0,0,.5);
  transition: opacity .26s ease, transform .26s ease, visibility .26s;
}
.nav-menu-wide { min-width: 540px; }
/* invisible bridge so the pointer can travel from the trigger to the panel */
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -1.1rem; height: 1.1rem; }
.nav-item.is-open .nav-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .8rem; }
.nav-menu a {
  display: block; padding: .52rem .65rem; border-radius: 5px;
  color: rgba(244,241,231,.82); text-decoration: none; font-size: .91rem; line-height: 1.35;
  transition: background-color .2s ease, color .2s ease;
}
.nav-menu a:hover { background: rgba(133,175,67,.15); color: var(--linen); }
.nav-menu-feature {
  grid-column: 1 / -1; margin-top: .55rem; padding-top: .85rem !important;
  border-top: 1px solid rgba(244,241,231,.13);
  color: var(--leaf) !important; font-weight: 650;
}
.nav-menu-feature:hover { background: rgba(133,175,67,.15); }
.header-cta { display: flex; align-items: center; gap: 1.2rem; }
.phone-link {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--linen); text-decoration: none; font-weight: 700; font-size: 1.02rem;
  border: 1.5px solid rgba(244,241,231,.4); border-radius: 999px; padding: .55rem 1.15rem;
  transition: border-color .25s ease, background-color .25s ease;
}
.phone-link:hover { border-color: var(--leaf); background: rgba(133,175,67,.14); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .5rem;
}
.nav-toggle span { width: 26px; height: 2.5px; background: var(--linen); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--pine);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: calc(var(--header-h) + 1.2rem) var(--pad-x) 3rem;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav nav { display: flex; flex-direction: column; max-width: 34rem; margin: 0 auto; }
.mobile-nav > nav > a, .m-trigger {
  color: var(--linen); text-decoration: none;
  font-family: var(--display); font-size: 1.55rem; font-weight: 420; line-height: 1.3;
  padding: .78rem 0; border-bottom: 1px solid rgba(244,241,231,.12);
  background: none; border-left: 0; border-right: 0; border-top: 0;
  text-align: left; cursor: pointer; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.m-trigger svg { transition: transform .3s ease; opacity: .7; flex: none; }
.m-trigger[aria-expanded="true"] svg { transform: rotate(180deg); opacity: 1; }
.m-panel { padding: .4rem 0 .9rem; }
.m-panel[hidden] { display: none; }
.m-panel a {
  display: block; color: rgba(244,241,231,.78); text-decoration: none;
  font-size: 1rem; padding: .58rem 0 .58rem 1rem;
  border-left: 2px solid rgba(133,175,67,.3);
}
.m-panel a:hover, .m-panel a:focus-visible { color: var(--leaf); }
.mobile-nav .mobile-phone {
  font-family: var(--body); font-size: 1.05rem; font-weight: 700; color: var(--leaf);
  border-bottom: 0; margin-top: 1.2rem;
  border: 1.5px solid rgba(133,175,67,.5); border-radius: 999px;
  justify-content: center; padding: .9rem 1.5rem;
}

/* ================= HERO ================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  color: var(--linen);
  overflow: hidden; /* keeps the parallax media inside the hero, off the band below */
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
/* Video is taller than its frame so the parallax never exposes an edge. */
.hero-video { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(14,19,9,.87) 0%, rgba(14,19,9,.62) 45%, rgba(14,19,9,.25) 100%),
    linear-gradient(rgba(14,19,9,.25), transparent 30%, transparent 70%, rgba(14,19,9,.55));
}
.hero-content {
  position: relative; z-index: 2;
  padding: calc(var(--header-h) + 4rem) var(--pad-x) 6rem;
  max-width: 1200px;
}
.hero-chevrons { margin-bottom: 1.8rem; }
.hero-chevrons .chev { stroke-dasharray: 130; stroke-dashoffset: 0; }
.hero-title {
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  font-weight: 440;
  letter-spacing: -.015em;
  margin-bottom: 1.6rem;
}
.hero-title .line { display: block; padding: .16em .1em .24em; margin: -.16em -.1em -.24em; }
.hero-title .line-accent { color: var(--leaf); font-style: italic; font-weight: 380; }
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 46ch;
  color: rgba(244,241,231,.88); margin-bottom: 2.4rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: var(--pad-x); z-index: 2;
  display: flex; align-items: center; gap: .8rem;
  color: rgba(244,241,231,.6); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
}
.hero-scroll i {
  width: 60px; height: 1.5px; background: rgba(244,241,231,.35); position: relative; overflow: hidden; display: block;
}
.hero-scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--leaf);
  transform: translateX(-100%); animation: scrollhint 2.2s ease-in-out infinite;
}
@keyframes scrollhint { 50% { transform: translateX(0); } 100% { transform: translateX(101%); } }

/* ================= TRUST BAND ================= */
.trust-band {
  position: relative; z-index: 2;
  background:
    linear-gradient(rgba(17,23,12,.94), rgba(17,23,12,.96)),
    url("../assets/img/texture-tiles.jpg") center / cover no-repeat;
  color: var(--linen); padding: 3.6rem var(--pad-x);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem;
  max-width: 1400px; margin: 0 auto;
}
.trust-item { border-left: 2px solid rgba(133,175,67,.5); padding-left: 1.4rem; }
.trust-num {
  display: block; font-family: var(--display); font-weight: 380;
  font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: 1.1; color: var(--leaf);
}
.trust-label { color: rgba(244,241,231,.75); font-size: .98rem; line-height: 1.45; display: block; margin-top: .35rem; }

/* ================= INTRO ================= */
.intro { padding: clamp(5rem, 9vw, 8.5rem) var(--pad-x); background: var(--linen); }
.intro-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
  max-width: 1400px; margin: 0 auto;
}
.intro-text p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.intro-text .lead { color: var(--ink); }
.intro-media { position: relative; padding-bottom: 4.5rem; }

.framed-image { position: relative; }
.framed-image img { border-radius: 4px; box-shadow: 0 24px 60px rgba(22,29,16,.22); }
.frame-outline {
  position: absolute; inset: -14px 14px 14px -14px;
  border: 2px solid var(--leaf); border-radius: 4px; z-index: -1;
}
.frame-chevron { position: absolute; top: -30px; right: -12px; }
.framed-offset {
  position: absolute; right: -8px; bottom: 0; width: 52%;
  border: 6px solid var(--linen); border-radius: 6px;
  box-shadow: 0 18px 44px rgba(22,29,16,.28);
}
.framed-offset img { border-radius: 2px; box-shadow: none; }

/* ================= SERVICES ================= */
.services { background: var(--stone); padding: clamp(5rem, 9vw, 8.5rem) var(--pad-x); }
.services-head {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem; align-items: end; max-width: 1400px; margin: 0 auto 3.5rem;
}
.services-intro { color: var(--ink-soft); font-size: 1.1rem; padding-bottom: .5rem; }
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1400px; margin: 0 auto;
}
.svc-card {
  background: var(--linen); border-radius: 6px; overflow: hidden;
  box-shadow: 0 10px 34px rgba(22,29,16,.1);
  display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 22px 54px rgba(22,29,16,.18); }
.svc-media { overflow: hidden; aspect-ratio: 8 / 5; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .svc-media img { transform: scale(1.05); }
.svc-body { padding: 1.8rem 2rem 2rem; }
.svc-body h3 { font-size: 1.65rem; margin-bottom: .7rem; }
.svc-body p { color: var(--ink-soft); margin-bottom: 1.2rem; }

/* ================= SYSTEMS BAND ================= */
.systems-band {
  background: var(--linen); padding: 3rem var(--pad-x);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.5rem 4rem;
}
.systems-copy { color: var(--ink-soft); font-size: 1.05rem; }
.systems-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 3rem; }
.systems-logos img { height: 52px; width: auto; mix-blend-mode: multiply; }

/* ================= REEL ================= */
.reel { background: var(--pine); }
.reel-pin { position: relative; }
.reel-stage { position: relative; height: 100svh; overflow: hidden; }
.reel-slide { position: absolute; inset: 0; opacity: 0; }
.reel-slide.is-active { opacity: 1; }
.reel-slide img { width: 100%; height: 100%; object-fit: cover; }
.reel-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(14,19,9,.32), transparent 35%, transparent 60%, rgba(14,19,9,.72));
}
.reel-slide figcaption {
  position: absolute; left: var(--pad-x); bottom: 3.2rem; z-index: 2; color: var(--linen);
}
.reel-cap-title { display: block; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 420; padding-bottom: .15em; }
.reel-cap-sub { display: block; color: rgba(244,241,231,.75); font-size: 1.02rem; }
.reel-ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.reel-heading {
  position: absolute; top: calc(var(--header-h) + 1.5rem); left: var(--pad-x);
  color: var(--linen);
}
.reel-heading h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 420;
  padding: .05em .1em .2em; margin: -.05em -.1em -.2em;
}
.reel-progress {
  position: absolute; right: var(--pad-x); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: .9rem; pointer-events: auto;
}
.reel-dot {
  width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid rgba(244,241,231,.55);
  background: transparent; cursor: pointer; padding: 0;
  transition: background-color .25s ease, transform .25s ease, border-color .25s ease;
}
.reel-dot.is-active { background: var(--leaf); border-color: var(--leaf); transform: scale(1.25); }
.reel-counter {
  position: absolute; right: var(--pad-x); bottom: 3.2rem; color: var(--linen);
  font-family: var(--display); font-size: 1.5rem; display: flex; align-items: baseline; gap: .4rem;
}
.reel-total { color: rgba(244,241,231,.5); font-size: 1rem; }

/* ================= QUOTE ================= */
.quote { background: var(--stone); padding: clamp(5rem, 9vw, 8.5rem) var(--pad-x) 0; }
.quote-head {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem; align-items: end; max-width: 1400px; margin: 0 auto 3.5rem;
}
.quote-intro { color: var(--ink-soft); font-size: 1.1rem; padding-bottom: .5rem; }
.quote-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1400px; margin: 0 auto;
  align-items: start;
}
.b-group { border: 0; margin-bottom: 2.2rem; }
.b-group legend {
  font-weight: 700; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--moss); margin-bottom: 1rem;
}
.b-options { display: grid; gap: .9rem; }
.b-shapes { grid-template-columns: repeat(4, 1fr); }
.b-sizes, .b-systems { grid-template-columns: repeat(3, 1fr); }
.b-opt input { position: absolute; opacity: 0; }
.b-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .5rem;
  background: var(--linen); border: 2px solid transparent; border-radius: 6px;
  padding: 1.1rem 1.2rem; cursor: pointer; height: 100%;
  color: var(--ink-soft);
  transition: border-color .25s ease, transform .2s ease, box-shadow .25s ease, color .25s ease;
  box-shadow: 0 4px 16px rgba(22,29,16,.07);
}
.b-card svg { width: 52px; height: 36px; color: var(--moss); }
.b-card strong { color: var(--ink); font-size: 1.05rem; }
.b-card span:not(.b-price) { font-size: .9rem; line-height: 1.4; }
.b-shapes .b-card { align-items: center; text-align: center; }
.b-shapes .b-card span { color: var(--ink); font-weight: 600; font-size: .95rem; }
.b-opt:hover .b-card { transform: translateY(-2px); }
.b-opt input:checked + .b-card { border-color: var(--leaf); box-shadow: 0 8px 24px rgba(74,89,48,.18); color: var(--ink-soft); }
.b-opt input:checked + .b-card svg { color: var(--leaf); }
.b-opt input:focus-visible + .b-card { outline: 3px solid var(--leaf); outline-offset: 2px; }

.quote-result {
  position: sticky; top: calc(var(--header-h) + 1rem);
  background: var(--pine); color: var(--linen); border-radius: 8px;
  padding: 2.6rem 2.4rem; text-align: center;
  box-shadow: 0 26px 60px rgba(22,29,16,.3);
}
.result-chevron { margin: 0 auto 1.2rem; display: block; }
.result-label { color: rgba(244,241,231,.7); font-size: 1rem; margin-bottom: .6rem; }
.result-figure {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .6rem;
  color: #fff; margin-bottom: 1.2rem; line-height: 1.2;
}
.result-figure .result-dash { font-family: var(--body); font-size: 1rem; color: rgba(244,241,231,.6); }
#priceLow, #priceHigh { color: var(--leaf); }
.result-note { font-size: .92rem; color: rgba(244,241,231,.65); margin-bottom: 1.8rem; line-height: 1.55; }
.result-ctas { display: flex; flex-direction: column; gap: .8rem; }
.result-ctas .btn-solid { background: var(--leaf); color: var(--pine); }
.result-ctas .btn-solid:hover { background: #93bd52; }
.result-ctas .btn-outline { border-color: rgba(244,241,231,.4); color: var(--linen); }
.result-ctas .btn-outline:hover { background: rgba(244,241,231,.08); }

.quote-media { position: relative; max-width: 1400px; margin: clamp(3.5rem, 6vw, 5.5rem) auto 0; padding-bottom: clamp(5rem, 9vw, 8.5rem); }
.quote-video { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 8px; box-shadow: 0 26px 60px rgba(22,29,16,.25); }
.quote-media-cap {
  margin-top: 1.1rem; color: var(--ink-soft); font-size: 1rem; font-style: italic; font-family: var(--display);
}

/* ================= HONEST ================= */
.honest { background: var(--pine-2); padding: clamp(5rem, 9vw, 8.5rem) var(--pad-x); }
.honest-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
  max-width: 1400px; margin: 0 auto;
}
.framed-dark .frame-outline { border-color: var(--fern); }
.honest-text .check-list li { color: rgba(244,241,231,.86); }
.honest-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }

/* ================= PROCESS ================= */
.process {
  background: var(--linen); padding: clamp(5rem, 9vw, 8.5rem) var(--pad-x);
  position: relative; overflow: hidden;
}
.process::before {
  content: ""; position: absolute; right: -6%; bottom: -4%; width: 46vw; height: 30vw;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 42'%3E%3Cpath d='M3 39 48 7l46 32' fill='none' stroke='%234a5930' stroke-width='6'/%3E%3Cpath d='M66 8l44 31' fill='none' stroke='%23729442' stroke-width='6'/%3E%3Cpath d='M83 8l44 31' fill='none' stroke='%2385af43' stroke-width='6'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .07; pointer-events: none;
}
.process .section-title, .process-track { position: relative; z-index: 1; }
.process .section-title { margin-bottom: 3.5rem; }
.process-track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1400px; margin: 0 auto; list-style: none;
  counter-reset: step;
}
.step {
  background: #fff; border-radius: 6px; padding: 2.2rem 1.9rem 2rem;
  box-shadow: 0 10px 30px rgba(22,29,16,.08);
  border-top: 3px solid var(--leaf);
}
.step-num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--pine); color: var(--leaf);
  font-family: var(--display); font-size: 1.3rem; margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.step p { color: var(--ink-soft); font-size: .98rem; }

/* ================= VIDEO TESTIMONIALS ================= */
.films {
  background:
    linear-gradient(rgba(20,27,14,.93), rgba(20,27,14,.96)),
    url("../assets/img/texture-slate.jpg") center / cover no-repeat;
  padding: clamp(5rem, 9vw, 8.5rem) var(--pad-x);
  color: var(--linen);
}
.films-head {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem; align-items: end; max-width: 1400px; margin: 0 auto 3.5rem;
}
.films-intro { color: rgba(244,241,231,.78); font-size: 1.1rem; padding-bottom: .5rem; }
.films-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1400px; margin: 0 auto;
}
.film { display: flex; flex-direction: column; }
.film-media {
  position: relative; display: block; overflow: hidden;
  border-radius: 6px; aspect-ratio: 16 / 9;
  box-shadow: 0 18px 44px rgba(0,0,0,.4);
}
.film-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.film-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(14,19,9,.1), rgba(14,19,9,.45));
  transition: background-color .3s ease;
}
.film-media:hover img { transform: scale(1.06); }
/* bottom-left, so the button never covers the speaker's face */
.film-play {
  position: absolute; left: .9rem; bottom: .9rem; z-index: 2;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--leaf); color: var(--pine);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transition: transform .3s ease, background-color .3s ease;
}
.film-play svg { margin-left: 3px; }
.film-media:hover .film-play, .film-media:focus-visible .film-play { transform: scale(1.1); background: #93bd52; }
.film-time {
  position: absolute; right: .9rem; bottom: 1.5rem; z-index: 2;
  background: rgba(14,19,9,.72); color: var(--linen);
  font-size: .82rem; font-weight: 600; padding: .25rem .6rem; border-radius: 4px;
}
.film-body { padding: 1.5rem .2rem 0; display: flex; flex-direction: column; gap: 1rem; }
.film-body p {
  font-family: var(--display); font-size: 1.4rem; font-weight: 400; line-height: 1.35;
  color: var(--linen);
}
.film-body cite { font-style: normal; font-weight: 700; color: var(--leaf); font-size: .98rem; }
.film-body cite::before { content: ""; display: block; width: 34px; height: 2px; background: rgba(133,175,67,.55); margin-bottom: .7rem; }

/* lightbox */
.film-modal {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(10,14,7,.95);
  display: grid; place-items: center; padding: var(--pad-x);
}
.film-modal[hidden] { display: none; }
.film-modal-inner { width: min(1100px, 100%); }
.film-modal video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; display: block; }
.film-close {
  position: absolute; top: 1.4rem; right: 1.4rem;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(244,241,231,.12); color: var(--linen);
  border: 1px solid rgba(244,241,231,.28);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .25s ease;
}
.film-close:hover { background: rgba(244,241,231,.22); }

/* ================= AREAS ================= */
.areas { background: var(--linen); padding: 4.5rem 0 5rem; overflow: hidden; }
.areas-lede { text-align: center; color: var(--ink-soft); margin-bottom: 1.8rem; font-size: 1.05rem; }
.areas-marquee { white-space: nowrap; }
.areas-row { display: inline-flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem; will-change: transform; }
.areas-row span {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(1.9rem, 3.4vw, 3rem); color: var(--moss);
  padding-bottom: .18em;
}
.areas-row i { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); flex: none; }

/* ================= FINAL CTA ================= */
.cta-final {
  background:
    linear-gradient(rgba(16,22,11,.9), rgba(16,22,11,.9)),
    url("../assets/img/texture-slate.jpg") center / cover no-repeat;
  color: var(--linen);
  padding: clamp(5.5rem, 10vw, 9rem) var(--pad-x);
  text-align: center;
}
.cta-inner { max-width: 900px; margin: 0 auto; }
.cta-chevrons { margin: 0 auto 1.6rem; display: block; }
.cta-title {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 430;
  padding: .05em .1em .2em; margin: -.05em -.1em calc(1.2rem - .2em);
}
.cta-sub { color: rgba(244,241,231,.8); font-size: 1.12rem; margin-bottom: 2.4rem; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2.6rem; }
.cta-address { font-style: normal; color: rgba(244,241,231,.55); font-size: .95rem; }

/* ================= FOOTER ================= */
.site-footer { background: var(--pine); color: rgba(244,241,231,.8); padding: 4.5rem var(--pad-x) 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.25fr 1.7fr 1.1fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem); max-width: 1400px; margin: 0 auto 2.5rem;
  align-items: start;
}
/* multi-column flow rather than grid, so wrapped items don't leave row gaps */
.footer-links-grid { columns: 2; column-gap: 1.4rem; }
.footer-links-grid a { break-inside: avoid; }
.footer-col-wide .footer-links-grid a { font-size: .93rem; }
.footer-h3-gap { margin-top: 1.9rem; }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 1.6rem;
  max-width: 1400px; margin: 0 auto 1.8rem;
  padding-top: 1.8rem; border-top: 1px solid rgba(244,241,231,.14);
}
.footer-nav a { color: rgba(244,241,231,.8); text-decoration: none; font-size: .95rem; font-weight: 550; }
.footer-nav a:hover { color: var(--leaf); }
.footer-brand img { height: 100px; width: auto; margin-bottom: 1.3rem; }
.footer-brand p { font-size: .95rem; line-height: 1.6; color: rgba(244,241,231,.6); }
.footer-col h3 {
  font-family: var(--body); font-size: .88rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--leaf); margin-bottom: 1.2rem;
}
.footer-col a { display: block; color: rgba(244,241,231,.8); text-decoration: none; margin-bottom: .65rem; font-size: .97rem; }
.footer-col a:hover { color: var(--leaf); }
.footer-addr { font-size: .92rem; color: rgba(244,241,231,.55); margin-top: 1rem; line-height: 1.6; }
.footer-bottom {
  max-width: 1400px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .92rem; color: rgba(244,241,231,.55);
}
.samson-credit a { color: var(--leaf); text-decoration: none; font-weight: 650; }
.samson-credit a:hover { text-decoration: underline; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1240px) {
  .b-shapes { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu-wide { min-width: 460px; }
}

@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .phone-link span { display: none; }
  .phone-link { padding: .6rem; border-radius: 50%; }
  .brand-logo { height: 58px; }
  .site-header.is-solid .brand-logo { height: 48px; }

  .intro-grid, .honest-grid { grid-template-columns: 1fr; }
  .honest-grid .honest-media { order: 2; }
  .services-head, .quote-head { grid-template-columns: 1fr; gap: 1rem; align-items: start; }
  .services-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-result { position: static; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .films-head { grid-template-columns: 1fr; gap: 1rem; align-items: start; }
  .films-grid { grid-template-columns: 1fr; max-width: 32rem; }
  .film-play { width: 64px; height: 64px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .quote-video { aspect-ratio: 16 / 10; }
  .reel-progress { right: 1.1rem; }
  .reel-slide figcaption { bottom: 4.5rem; }
  .reel-counter { display: none; }
}

@media (max-width: 560px) {
  .b-sizes, .b-systems { grid-template-columns: 1fr; }
  .b-shapes { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas .btn { width: 100%; }
  .framed-offset { width: 62%; right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
}

/* ================= STATIC FALLBACK (reduced motion / no JS) ================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reel-stage { height: auto; display: flex; flex-direction: column; }
  .reel-ui { position: static; order: -1; pointer-events: auto; padding: 3.5rem var(--pad-x) 1rem; }
  .reel-heading { position: static; color: var(--linen); }
  .reel-progress, .reel-counter { display: none; }
  .reel-slide { position: relative; opacity: 1; }
  .reel-slide img { height: 62vh; object-fit: cover; }
  .reel-slide figcaption { left: var(--pad-x); bottom: 1.8rem; }
  .areas-marquee { white-space: normal; padding: 0 var(--pad-x); }
  .areas-row { flex-wrap: wrap; justify-content: center; row-gap: .6rem; }
}

.no-js .reel-stage { height: auto; display: flex; flex-direction: column; }
.no-js .reel-ui { position: static; order: -1; pointer-events: auto; padding: 3.5rem var(--pad-x) 1rem; }
.no-js .reel-heading { position: static; color: var(--linen); }
.no-js .reel-progress, .no-js .reel-counter { display: none; }
.no-js .reel-slide { position: relative; opacity: 1; }
.no-js .reel-slide img { height: 62vh; object-fit: cover; }
.no-js .reel-slide figcaption { left: var(--pad-x); bottom: 1.8rem; }
.no-js .areas-marquee { white-space: normal; padding: 0 var(--pad-x); }
.no-js .areas-row { flex-wrap: wrap; justify-content: center; row-gap: .6rem; }
