/* M&S Materials LLC — one-page preview built to the operator's mockup (2026-10-07).
   Colours from the mockup; proportions are the mockup's scaled to 1440px. */
@font-face { font-family: "Fira Sans"; font-weight: 400; font-display: swap; src: url("assets/fira-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 500; font-display: swap; src: url("assets/fira-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 600; font-display: swap; src: url("assets/fira-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 700; font-display: swap; src: url("assets/fira-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 800; font-display: swap; src: url("assets/fira-sans-800.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 600; font-display: swap; src: url("assets/caveat-600.woff2") format("woff2"); }
/* Metric-matched fallback so the swap does not reflow the hero headline. */
@font-face { font-family: "Fira Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 104%; ascent-override: 90%; descent-override: 26%; }

:root {
  --ink: #141a16;
  --text: #2b332d;
  --muted: #535d55;
  --forest: #17331f;       /* estimate band */
  --forest-2: #1f4a2c;     /* brand green */
  --foot: #142a1c;
  --lime: #a6d070;         /* headline accent on dark */
  --lime-ink: #3f6b26;     /* kicker on light */
  --orange: #c4500f;       /* button fill (white text passes AA) */
  --orange-2: #e2621f;     /* button top light */
  --orange-hover: #d65a14;
  --brown: #6b4423;
  --cream: #f7f5ee;
  --paper: #fbfaf6;
  --white: #fff;
  --line: #e2e0d6;
  --field: #d4d6cc;
  --on-dark: #f3f1e8;
  --on-dark-muted: #cdd4c9;
  --error: #a3261a;
  --sans: "Fira Sans", "Fira Fallback", system-ui, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  --gutter: clamp(18px, 3.4vw, 56px);
  --wrap: 1300px;
  --radius: 10px;
  --shadow: 0 14px 34px -18px rgba(12, 30, 18, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.55 var(--sans); }
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange-2); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 60; padding: 10px 16px; background: var(--white); color: var(--ink); border-radius: 8px; }
.skip:focus { top: 12px; }

.kicker { font-weight: 700; font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; color: var(--lime-ink); }
.kicker--lime { color: var(--lime); }
.script { font-family: var(--script); font-weight: 600; line-height: 1.05; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: .7em 1.35em; border-radius: 8px; border: 2px solid transparent; font: 700 1.05rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, border-color .18s; }
.btn svg { font-size: 1.1em; transition: transform .18s var(--ease); }
.btn--orange { background: linear-gradient(180deg, var(--orange-2) -40%, var(--orange) 70%); color: var(--white); box-shadow: 0 10px 22px -12px rgba(170, 64, 8, .9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--orange:hover { background: var(--orange-hover); transform: translateY(-2px); }
.btn--orange:hover svg { transform: translateX(3px); }
.btn--ghost { border-color: rgba(255,255,255,.85); color: var(--white); background: rgba(10, 22, 14, .35); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn--lg { min-height: 56px; padding-inline: 1.5em; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn--line { background: var(--white); border-color: var(--field); color: var(--ink); font-size: .95rem; min-height: 44px; }
.btn--line:hover { border-color: var(--forest-2); }
@media (prefers-reduced-motion: reduce) { .btn, .btn svg { transition: none; } .btn:hover, .btn:hover svg { transform: none; } }

/* Header */
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 24px; padding: 10px var(--gutter); background: rgba(251, 250, 246, .97); border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px -16px rgba(10, 30, 18, .5); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest-2); }
.brand__mark { width: 74px; height: 40px; }
.brand__txt { display: grid; line-height: 1; }
.brand__txt b { font-size: 2.15rem; font-weight: 800; letter-spacing: -.01em; color: var(--forest); }
.brand__txt > span { font-size: 1.12rem; font-weight: 700; color: var(--forest); margin-top: 1px; }
.brand__txt small { margin-top: 4px; padding-top: 3px; border-top: 1px solid currentColor; font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: clamp(16px, 2.4vw, 40px); margin-inline: auto; }
.nav a { position: relative; padding: 10px 0; font-weight: 500; font-size: .98rem; text-decoration: none; color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--forest-2); transform: scaleX(0); transition: transform .2s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a[aria-current] { color: var(--forest-2); font-weight: 600; }
.top__call { min-height: 50px; font-size: 1.08rem; }

/* Hero */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--forest); min-height: clamp(560px, 43vw, 680px); display: flex; align-items: center; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; object-position: 60% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 20, 12, .9) 0%, rgba(8, 20, 12, .78) 32%, rgba(8, 20, 12, .25) 58%, rgba(8, 20, 12, 0) 72%), linear-gradient(0deg, rgba(8, 20, 12, .5), rgba(8, 20, 12, 0) 30%); }
.hero__in { position: relative; width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding-block: clamp(40px, 5vw, 72px); }
.hero__copy { max-width: 780px; }
.hero__lede { max-width: 32em; }
.hero h1 { margin-top: 14px; font-weight: 800; font-size: clamp(2.35rem, 1.1rem + 3.4vw, 4rem); line-height: 1.06; letter-spacing: -.012em; text-wrap: balance; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero__lede { margin-top: 18px; max-width: 34em; font-size: clamp(1.05rem, .95rem + .35vw, 1.25rem); color: var(--on-dark); text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 30px; font-weight: 600; font-size: .95rem; }
.hero__proof li { display: flex; align-items: center; gap: 10px; padding-inline: 18px; border-left: 1px solid rgba(255,255,255,.35); }
.hero__proof li:first-child { padding-left: 0; border: 0; }
.hero__proof svg { font-size: 1.5rem; color: var(--lime); }
.hero__script { position: absolute; right: 0; bottom: clamp(26px, 3.5vw, 52px); font-size: clamp(1.8rem, 1rem + 1.6vw, 2.6rem); transform: rotate(-8deg); text-align: right; text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.hero__script::after { content: ""; display: block; width: 70%; height: 4px; margin: 6px 0 0 auto; border-radius: 4px; background: var(--orange-2); transform: rotate(-2deg); }
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .8s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .hero__copy > :nth-child(5) { animation-delay: .32s; }
  .hero__media img { animation: settle 1.6s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { transform: scale(1.05); } }

/* Services */
.services { position: relative; padding: clamp(56px, 6vw, 84px) 0 clamp(70px, 8vw, 110px); background: var(--paper); overflow: hidden; }
.sec-head { text-align: center; max-width: 820px; margin: 0 auto clamp(28px, 3vw, 40px); }
.sec-head h2 { margin-top: 10px; font-weight: 800; font-size: clamp(1.8rem, 1.1rem + 2vw, 2.65rem); line-height: 1.12; color: var(--ink); text-wrap: balance; }
.sec-head p:last-child { margin-top: 10px; color: var(--muted); font-size: 1.08rem; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.4vw, 22px); }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow), 0 0 0 1px rgba(20, 40, 25, .05); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -20px rgba(12, 30, 18, .55), 0 0 0 1px rgba(20, 40, 25, .06); }
.card__img { aspect-ratio: 16 / 9; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__icon { display: grid; place-items: center; width: 54px; height: 54px; margin: -27px 0 0 18px; border-radius: 50%; border: 4px solid var(--white); color: var(--white); font-size: 1.45rem; position: relative; }
.card__icon--green { background: var(--forest-2); }
.card__icon--brown { background: var(--brown); }
.card__icon--orange { background: var(--orange); }
.card h3 { margin: 14px 20px 8px; font-weight: 700; font-size: 1.2rem; line-height: 1.2; color: var(--ink); }
.card p { margin: 0 20px; color: var(--muted); font-size: .97rem; }
.card__link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: auto 20px 20px; padding-top: 18px; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--forest); }
.card__link svg { transition: transform .2s var(--ease); }
.card__link:hover svg { transform: translateX(4px); }
.card__link::before { content: ""; position: absolute; inset: 0; }
@media (prefers-reduced-motion: reduce) { .card, .card__img img, .card__link svg { transition: none; } .card:hover, .card:hover .card__img img { transform: none; } }

.why { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(220px, 1fr) 3fr; gap: 28px; align-items: center; margin-top: clamp(36px, 4vw, 56px); }
.why__head h2 { margin-top: 6px; font-weight: 800; font-size: 1.55rem; line-height: 1.15; color: var(--forest); text-transform: uppercase; }
.why__head p:last-child { margin-top: 6px; color: var(--muted); }
.why__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__list li { display: flex; gap: 12px; align-items: flex-start; }
.why__list svg { font-size: 2.1rem; color: var(--forest-2); }
.why__list span { display: grid; font-size: .92rem; color: var(--muted); line-height: 1.4; }
.why__list b { color: var(--ink); font-size: 1.02rem; line-height: 1.25; margin-bottom: 4px; }
.pines { position: absolute; left: 0; width: 100%; pointer-events: none; }
.pines--services { bottom: 0; height: clamp(90px, 10vw, 150px); color: var(--forest-2); opacity: .07; }

/* Estimate */
.estimate { position: relative; padding: clamp(56px, 6vw, 90px) 0; background: radial-gradient(120% 90% at 0% 0%, #22482d 0%, var(--forest) 55%, #10261a 100%); color: var(--on-dark); overflow: hidden; }
.pines--estimate { bottom: 0; height: 45%; color: #0b1d12; opacity: .55; }
.estimate__in { position: relative; display: grid; grid-template-columns: 1fr 1.18fr; gap: clamp(28px, 4vw, 70px); align-items: center; }
.estimate h2 { margin-top: 12px; font-weight: 800; font-size: clamp(2rem, 1.2rem + 2.4vw, 3rem); line-height: 1.07; color: var(--white); }
.estimate__lede { margin-top: 16px; font-size: 1.15rem; max-width: 28em; }
.ticks { display: grid; gap: 10px; margin-top: 22px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ticks svg { color: var(--lime); font-size: 1.3rem; }
.estimate__script { margin-top: 26px; margin-left: clamp(0px, 10vw, 180px); font-size: 1.9rem; color: var(--white); transform: rotate(-8deg); width: max-content; }
.estimate__script::after { content: ""; display: block; width: 60%; height: 3px; margin: 4px 0 0 30%; border-radius: 3px; background: var(--orange-2); }

.panel { background: var(--white); color: var(--text); border-radius: 14px; padding: clamp(20px, 2.4vw, 32px); box-shadow: 0 30px 60px -28px rgba(0,0,0,.6); }
.panel__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.panel__head > svg { font-size: 2.4rem; color: var(--forest-2); }
.panel__head h3 { font-weight: 700; font-size: 1.45rem; color: var(--ink); line-height: 1.2; }
.panel__head p { color: var(--muted); font-size: .95rem; margin-top: 2px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-items: start; }
.field { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.field i { color: var(--error); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1.5px solid var(--field); border-radius: 8px; background: #fcfcfa; font: 400 1rem/1.3 var(--sans); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(31, 74, 44, .18); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field--msg { grid-column: span 1; }
.form__msg, .form .btn { grid-column: 1 / -1; }
.form__msg { color: var(--error); font-weight: 600; font-size: .95rem; }
.form .btn { margin-top: 6px; min-height: 54px; font-size: 1.12rem; }
.done { display: grid; gap: 12px; }
.done__h { font-weight: 800; font-size: 1.3rem; color: var(--forest); }
.done a { color: var(--forest-2); font-weight: 600; }
.done__text { margin: 0; padding: 14px; background: var(--cream); border-radius: 8px; font: 400 .92rem/1.5 var(--sans); white-space: pre-wrap; }
.done__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Contact */
.contact { position: relative; padding: clamp(48px, 5vw, 72px) 0; background: var(--cream); overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0 0 0 48%; background:
  repeating-radial-gradient(circle at 78% 40%, transparent 0 22px, rgba(31, 74, 44, .07) 22px 23px),
  linear-gradient(115deg, transparent 52%, rgba(120, 160, 190, .16) 52% 56%, transparent 56%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.contact__in { position: relative; display: grid; grid-template-columns: 1fr 1.25fr auto; gap: clamp(24px, 4vw, 60px); align-items: center; }
.contact h2 { margin-top: 10px; font-weight: 800; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.6rem); color: var(--ink); }
.contact__copy p:last-child { margin-top: 10px; color: var(--muted); max-width: 30em; }
.contact__list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list svg { font-size: 1.6rem; color: var(--forest-2); margin-top: 2px; }
.contact__list span { display: grid; gap: 2px; line-height: 1.3; min-width: 0; }
.contact__list b { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.contact__list a { text-decoration: none; display: inline-block; min-height: 24px; }
.contact__list a:hover b { color: var(--forest-2); text-decoration: underline; text-underline-offset: 3px; }
.contact__list small { color: var(--muted); font-size: .85rem; }
.contact__script { font-size: 1.9rem; color: var(--forest); transform: rotate(-8deg); text-align: center; }

/* Footer */
.foot { position: relative; background: var(--foot); color: var(--on-dark); padding: clamp(40px, 4vw, 56px) 0 26px; overflow: hidden; }
.pines--foot { top: 0; height: 70%; color: #0d1f14; opacity: .7; transform: scaleY(-1); }
.foot .wrap { position: relative; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.16); }
.brand--foot, .brand--foot .brand__txt b, .brand--foot .brand__txt > span { color: var(--white); }
.foot__tag { font-weight: 600; }
.foot__lic { display: flex; flex-wrap: wrap; font-weight: 600; font-size: .95rem; }
.foot__lic span + span { margin-left: 16px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.4); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; font-size: .82rem; color: var(--on-dark-muted); }

/* Scroll reveal (transform/opacity only) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
  .why__list { grid-template-columns: repeat(2, 1fr); }
  .contact__in { grid-template-columns: 1fr 1.4fr; }
  .contact__script { display: none; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .top { justify-content: space-between; }
  .estimate__in { grid-template-columns: 1fr; }
  .estimate__script { display: none; }
  .contact__in { grid-template-columns: 1fr; }
  .hero__script { display: none; }
}
@media (max-width: 759px) {
  .hero { min-height: auto; align-items: flex-end; }
  .hero::before { background: linear-gradient(0deg, rgba(8, 20, 12, .94) 0%, rgba(8, 20, 12, .82) 50%, rgba(8, 20, 12, .35) 80%, rgba(8, 20, 12, .15) 100%); }
  .hero__media img { object-position: 70% 30%; }
  .hero__in { padding-top: 160px; padding-bottom: 32px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__proof { display: grid; gap: 10px; }
  .hero__proof li { padding: 0; border: 0; }
  .form { grid-template-columns: 1fr; }
  .contact__list { grid-template-columns: 1fr; }
  .foot__row { flex-direction: column; align-items: flex-start; }
  .foot__lic { flex-direction: column; gap: 4px; }
  .foot__lic span + span { margin: 0; padding: 0; border: 0; }
}
@media (max-width: 560px) {
  .cards, .why__list { grid-template-columns: 1fr; }
  .brand__mark { width: 52px; height: 30px; }
  .brand__txt b { font-size: 1.6rem; }
  .brand__txt > span { font-size: .9rem; }
  .brand__txt small { display: none; }
  .top { gap: 10px; padding-block: 8px; }
  .top__call { min-height: 44px; padding: .6em .8em; }
}
@media (max-width: 420px) {
  .top__call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .top__call svg { font-size: 1.3em; }
}
